This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/KA52/Physics.con
rem *** KA52DummyEngine ***
ObjectTemplate.create Engine KA52DummyTopEngine
rem -------------------------------------
ObjectTemplate.addTemplate ka52topprop
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate AirSight_PBP-1
ObjectTemplate.setPosition -0.446/0.26/5.505
ObjectTemplate.addTemplate PlaneAltimeter
ObjectTemplate.setPosition -0.446/-0.26/5.505
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/5000
ObjectTemplate.setMaxRotation 0/0/5000
ObjectTemplate.setMaxSpeed 0/0/500
ObjectTemplate.setAcceleration 0/0/100
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque .1
ObjectTemplate.setDifferential 0
ObjectTemplate.setNoPropellerEffectAtSpeed 50

rem *** KA52DummyEngine ***
ObjectTemplate.create Engine KA52DummyTopEngine2
rem -------------------------------------
ObjectTemplate.addTemplate ka52topprop2
ObjectTemplate.setRotation 0/0/60
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/5000
ObjectTemplate.setMaxRotation 0/0/5000
ObjectTemplate.setMaxSpeed 0/0/500
ObjectTemplate.setAcceleration 0/0/100
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque .1
ObjectTemplate.setDifferential 0
ObjectTemplate.setNoPropellerEffectAtSpeed 50


rem *** KA52HoverEngine1 ***
ObjectTemplate.create Engine KA52HoverEngine1
ObjectTemplate.setNetworkableInfo KA52_engine_info
rem -------------------------------------

rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/1000
ObjectTemplate.setMaxRotation 0/0/5000
ObjectTemplate.setMaxSpeed 0/0/9500
ObjectTemplate.setAcceleration 0/0/25000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 21.5
ObjectTemplate.setDifferential 6.3

rem *** KA52HoverEngine2 ***
ObjectTemplate.create Engine KA52HoverEngine2
ObjectTemplate.setNetworkableInfo KA52_engine_info
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/1000
ObjectTemplate.setMaxRotation 0/0/5000
ObjectTemplate.setMaxSpeed 0/0/9500
ObjectTemplate.setAcceleration 0/0/25000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 21.5
ObjectTemplate.setDifferential 6.3

rem *** KA52HoverEngine3 ***
ObjectTemplate.create Engine KA52HoverEngine3
ObjectTemplate.setNetworkableInfo KA52_engine_info
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Air/Flettner/Sounds/FlettnerEngine.ssc
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/1000
ObjectTemplate.setMaxRotation 0/0/5000
ObjectTemplate.setMaxSpeed 0/0/9500
ObjectTemplate.setAcceleration 0/0/25000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 21.5
ObjectTemplate.setDifferential 6.3

rem *** KA52GearEngine ***
ObjectTemplate.create Engine KA52GearEngine
ObjectTemplate.setNetworkableInfo KA52_engine_info
rem -------------------------------------
ObjectTemplate.addTemplate ka52rightgearrot
ObjectTemplate.setPosition 1.0988/-.3848/-.7995
ObjectTemplate.addTemplate ka52leftgearrot
ObjectTemplate.setPosition -1.0988/-.3848/-.7995
rem -------------------------------------
ObjectTemplate.setMaxRotation 0/0/1000
ObjectTemplate.setMaxSpeed 0/0/1000
ObjectTemplate.setAcceleration 0/0/18000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 3.3
ObjectTemplate.setDifferential 1
ObjectTemplate.setGearUp 0.9
ObjectTemplate.setGearDown 0.7

rem *** KA52RearFlap ***
ObjectTemplate.create Wing KA52DiveFlap
ObjectTemplate.setNetworkableInfo KA52_wing_info
ObjectTemplate.setMinRotation 0/-3/0
ObjectTemplate.setMaxRotation 0/3/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/-90/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setWingLift 0.3
ObjectTemplate.setFlapLift 0.3

rem *** KA52_Vertical_Wing ***
ObjectTemplate.create Wing KA52_Wing_Front
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 0.6
ObjectTemplate.setFlapLift 0.0

rem *** KA52_Vertical_Wing ***
ObjectTemplate.create Wing KA52_Wing_Rear
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 1
ObjectTemplate.setFlapLift 0.0

rem *** KA52_Body_Wing ***
ObjectTemplate.create Wing KA52_Wing_Right
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 1.2
ObjectTemplate.setFlapLift 0.0

rem *** KA52_Body_Wing ***
ObjectTemplate.create Wing KA52_Wing_Left
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 1.2
ObjectTemplate.setFlapLift 0.0

rem *** ka52tirer ***
ObjectTemplate.create spring ka52tirer
ObjectTemplate.geometry KA52_rightwheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setstrength 50
ObjectTemplate.setdamping 7


rem *** ka52tirel ***
ObjectTemplate.create spring ka52tirel
ObjectTemplate.geometry KA52_leftwheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setstrength 50
ObjectTemplate.setdamping 7



rem *** ka52fronttire ***
ObjectTemplate.create spring ka52fronttire
ObjectTemplate.geometry KA52_frontwheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setstrength 50
ObjectTemplate.setdamping 8