[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Ok, well Heres What Ive Got So Far...

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sun May 12, 2024 5:59 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: Sun Jan 06, 2008 12:49 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
rem *** UH-60DummyEngine ***
ObjectTemplate.create Engine UH-60DummyEngine
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.setNetworkableInfo UH-60_engine_info
ObjectTemplate.loadSoundScript Sounds/UH-60Engine.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodUH-60Propeller
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/50
ObjectTemplate.setMaxRotation 0/0/5000
ObjectTemplate.setMaxSpeed 0/0/9500
ObjectTemplate.setAcceleration 0/0/10050
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque .3
ObjectTemplate.setDifferential .1
ObjectTemplate.setNoPropellerEffectAtSpeed 50


rem *** UH-60DummyRearEngine ***
ObjectTemplate.create Engine UH-60DummyRearEngine
ObjectTemplate.setNetworkableInfo UH-60_engine_info
rem -------------------------------------
ObjectTemplate.addTemplate lodUH-60RearPropeller
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setrotation -90/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/50
ObjectTemplate.setMaxRotation 0/0/500
ObjectTemplate.setMaxSpeed 0/0/50
ObjectTemplate.setAcceleration 0/0/100
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque .3
ObjectTemplate.setDifferential .1
ObjectTemplate.setNoPropellerEffectAtSpeed 100

rem *** UH-60HoverEngine1 ***
ObjectTemplate.create Engine UH-60HoverEngine1
ObjectTemplate.setNetworkableInfo UH-60_engine_info
rem -------------------------------------
rem ObjectTemplate.addTemplate lodUH-60Propeller
rem ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -5000/-5000/2300
ObjectTemplate.setMaxRotation 5000/5000/5000
ObjectTemplate.setMaxSpeed 50/50/9500
ObjectTemplate.setAcceleration 400/0/800
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 14
ObjectTemplate.setDifferential 5
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 3000

rem *** UH-60HoverEngine2 ***
ObjectTemplate.create Engine UH-60HoverEngine2
ObjectTemplate.setNetworkableInfo UH-60_engine_info
rem -------------------------------------
rem ObjectTemplate.addTemplate lodUH-60Propeller
rem ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -5000/-5000/2300
ObjectTemplate.setMaxRotation 5000/5000/5000
ObjectTemplate.setMaxSpeed 50/50/9500
ObjectTemplate.setAcceleration 400/0/800
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 14
ObjectTemplate.setDifferential 5
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 3000

rem *** UH-60HoverEngine3 ***
ObjectTemplate.create Engine UH-60HoverEngine3
ObjectTemplate.setNetworkableInfo UH-60_engine_info
rem -------------------------------------
rem ObjectTemplate.addTemplate lodUH-60Propeller
rem ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -5000/-5000/2300
ObjectTemplate.setMaxRotation 5000/5000/5000
ObjectTemplate.setMaxSpeed 50/50/9500
ObjectTemplate.setAcceleration 400/0/800
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 14
ObjectTemplate.setDifferential 5
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 3000

rem *** UH-60RearFlap ***
ObjectTemplate.create RotationalBundle UH-60RearFlap
ObjectTemplate.setNetworkableInfo UH-60_body_info
ObjectTemplate.geometry UH-60_Flap
ObjectTemplate.setMinRotation 0/-30/0
ObjectTemplate.setMaxRotation 0/30/0
ObjectTemplate.setMaxSpeed 0/120/0
ObjectTemplate.setAcceleration 0/100/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
rem ObjectTemplate.setWingLift 0
rem ObjectTemplate.setFlapLift 200

rem *** UH-60WheelBackSpring ***
ObjectTemplate.create Spring UH-60WheelBackSpring
ObjectTemplate.geometry UH-60_whe_rear
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 70
ObjectTemplate.setDamping 12

rem *** UH-60WheelRightSpring ***
ObjectTemplate.create Spring UH-60WheelRightSpring
ObjectTemplate.geometry UH-60_whe_right
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 70
ObjectTemplate.setDamping 12

rem *** UH-60WheelLeftSpring ***
ObjectTemplate.create Spring UH-60WheelLeftSpring
ObjectTemplate.geometry UH-60_whe_left
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 70
ObjectTemplate.setDamping 12

rem *** UH-60HoverEngine4 ***
ObjectTemplate.create Engine UH-60HoverEngine4
ObjectTemplate.setNetworkableInfo UH-60_engine_info
rem -------------------------------------
rem ObjectTemplate.addTemplate lodUH-60Propeller
rem ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 50/50/50
ObjectTemplate.setMaxSpeed 10/10/10
ObjectTemplate.setAcceleration 500/0/1000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 18
ObjectTemplate.setDifferential 4
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 3000



This is the Physics.con from the UH-60 normal one. Now before i say anything im not sure that Everything i have changed here is serverside. I watched a bunch of videos concerning black hawks, and examined how they flew, and this is what ive come up with so far. tho this flys more like an airplane than a helicopter at the moment i was wondering a few things. Theres some crucial code that from looking at the MDT website you cant really get an idea of how it works or what it does. Currently im trying to make the wheels on the bottom of the black hawk not to spin so fast, the helicopter takes off down the runway unless you hit the backwards arrow key and take off upward. Slowing these down will prevent that. however i have no idea how to do this, Strength and Damping are 2 pieces of code i am clueless on.

Secondly it seems that in the AV8 Harrier 2 that they have in DC when you hit the backwards W key you take off vertically, however i cant find the code for that either, i attempted putting those same type of harrier engine coded correctly for the Blackhawk onto the Aircraft but it just went shooting off like an airplane. If anyone knows how the harrier has achieved the ability to take off and land vertically by hitting the W key please tell me it will be most helpful in continuing the edit of the blackhawks performance, and helicopters i do in the future.

One last thing is that no matter how much i edit the helicopters acceleration i cant seem to get it to stay on the runway long enough, it takes off in a matter of seconds, i wanna raise that time to at least a short period of time, not instantly like it is now.

So far from observation, you tube videos and such, this is the closest thing ive been able to get to a blackhawk flying, tho at the moment it seems to fly like an airplane it still has those helicopter characteristics, where tilting forward will make it go faster, tho in my case adding a horizontal engine has forced it to dive downward in some cases. Im trying to decide on how to balance then engines, should the forward engine be faster or slower than the Vertical hover engines? Its something thats taking alot of trys. Ill try and make a youtube video of my helicopters to show you what im talking about, it will be up probably in 10 to 15 minutes after i post this, but if you could lend me a hand and answer those following questions and explain what some of this crap means, it would be most helpful.

The You Tube Video -------------------------------------------------------------

http://youtube.com/watch?v=3Qq2a5xqnA8

------------------------------------------------------------------------

Thanx Archi


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jan 06, 2008 8:59 pm 
Offline

Joined: Mon Dec 10, 2007 12:29 am
Posts: 213
First off you probably mean the harrier has VTOL (Vertical Take Off and Landing) on the S key which is reverse thrust. If you want the reverse key on the Blackhawk to be VTOL then follow these steps:
1. Get the numbers for the upwards thrust on the normal Blackhawk
2. Move those numbers to the reverse thrust part (do not change them to negatives, or it will plummet to the Earth when you hit the S key)
3. Do whatever you were going to do to the thrust on the W key.
About how the harrier did it this is how:
1. They made the reverse engines face directly downward (270ยบ)
2. They changed the reverse thrust from a negative number to a positive number ( positive number changed it from downwards to upwards)


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Jan 07, 2008 2:30 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
Ok well figured out the Vertical Take off. Got that working real well, and the helicopters fly pretty much, at least from observation like a real black hawk. A few things it lacks are a rudder which would allow the helicopter to turn on command around the airfield, other than that they fly pretty well, and the bots seemed to do pretty well with them to. Other than the rudder these fly very nicely, much easier to hover now at least in my opinion.


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Jan 07, 2008 7:17 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Maby it's time for you to try a BF game with helicopter engines in it. ;-)

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Jan 07, 2008 11:57 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
but wheres the fun in that :razz:


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 256 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group