This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/Air/Cobra/Physics.con
rem *** CobraWheel ***
ObjectTemplate.create Spring CobraWheel
ObjectTemplate.geometry ve_nullwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFDummyGrip
ObjectTemplate.setStrength 10
ObjectTemplate.setDamping 5
ObjectTemplate.createInvisible 1

rem *** Cobra Main Engine ***
ObjectTemplate.create Engine CobraMainEngine
ObjectTemplate.networkableInfo CobraMainEngineInfo
ObjectTemplate.loadSoundScript Sounds/AH64Engine.ssc
ObjectTemplate.addTemplate CobraTopProp
ObjectTemplate.setPosition 0/0/1.798
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/50
ObjectTemplate.setMaxRotation 0/0/1000
ObjectTemplate.setMaxSpeed 0/0/9500
ObjectTemplate.setAcceleration 0/0/15000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque .1
ObjectTemplate.setDifferential .1
ObjectTemplate.setNoPropellerEffectAtSpeed 50

rem *** Cobra Tail Engine ***
ObjectTemplate.create Engine CobraTailEngine
ObjectTemplate.networkableInfo CobraTailEngineInfo
ObjectTemplate.addTemplate CobraRearProp
ObjectTemplate.setPosition 0.782/1.662/-0.108
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/50
ObjectTemplate.setMaxRotation 0/0/500
ObjectTemplate.setMaxSpeed 0/0/1
ObjectTemplate.setAcceleration 0/0/100
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 0
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque .1
ObjectTemplate.setDifferential .1
ObjectTemplate.setNoPropellerEffectAtSpeed 100