This page is under construction
Archives/bf1942/levels/SG_Boarding_Party.rfa
bf1942/levels/SG_Boarding_Party/objects/DeathGlider/Physics.con
rem *** DgEngine ***
ObjectTemplate.create Engine DgEngine
ObjectTemplate.setNetworkableInfo Dg_engine_info
ObjectTemplate.loadSoundScript Sounds/DGEngine.ssc
rem -----------------------------------------
ObjectTemplate.addTemplate DgLandingGearRight
ObjectTemplate.setPosition -1.42/-2.665/-1.702
ObjectTemplate.addTemplate DgLandingGearRight
ObjectTemplate.setPosition -1.42/-2.665/-5.702
ObjectTemplate.addTemplate DgLandingGearLeft
ObjectTemplate.setPosition 1.42/-2.665/-1.702
ObjectTemplate.addTemplate DgLandingGearLeft
ObjectTemplate.setPosition 1.42/-2.665/-5.702
rem -----------------------------------------
ObjectTemplate.setMinRotation -0.3/0/0
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 10000/0/5000
ObjectTemplate.setAcceleration 5000/0/10000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 35
ObjectTemplate.setDifferential 7
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 04
ObjectTemplate.setNoPropellerEffectAtSpeed 200

rem *** DgVTOLEngine ***
ObjectTemplate.create Engine DgVTOLEngine
ObjectTemplate.setNetworkableInfo Dg_engine_info
ObjectTemplate.loadSoundScript Sounds/deathglider.ssc
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/5000
ObjectTemplate.setMaxSpeed 0/0/900
ObjectTemplate.setAcceleration 0/0/-5000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 50
ObjectTemplate.setDifferential 5
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 150

rem *** DgWheelLeft ***
ObjectTemplate.create Spring DgWheelLeft
ObjectTemplate.geometry Dg_Lwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** DgWheelRight ***
ObjectTemplate.create Spring DgWheelRight
ObjectTemplate.geometry Dg_Rwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** DgWheelBackSpring ***
ObjectTemplate.create Spring DgWheelBackSpring
ObjectTemplate.geometry Dg_Bwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** DgFlapLeftMiddle ***
ObjectTemplate.create Wing DgFlapLeftMiddle
ObjectTemplate.setNetworkableInfo Dg_wing_info
ObjectTemplate.geometry Dg_Lwing_In_m1
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/120/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 2.564/0.135/-0.895
ObjectTemplate.setFlapLift 4
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

rem *** DgFlapRightMiddle ***
ObjectTemplate.create Wing DgFlapRightMiddle
ObjectTemplate.setNetworkableInfo Dg_wing_info
ObjectTemplate.geometry Dg_Rwing_In_m1
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/120/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -2.52/0.145/-0.895
ObjectTemplate.setFlapLift 4
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

rem *** DgFlapLeftOuter ***
ObjectTemplate.create Wing DgFlapLeftOuter
ObjectTemplate.setNetworkableInfo Dg_wing_info
ObjectTemplate.loadSoundScript ../Common/Sounds/wheeLeft.ssc
ObjectTemplate.geometry Dg_Lwing_Out_m1
ObjectTemplate.setMinRotation 0/-30/0
ObjectTemplate.setMaxRotation 0/30/0
ObjectTemplate.setMaxSpeed 0/120/0
ObjectTemplate.setAcceleration 0/-120/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 0.5/0/-0.90
ObjectTemplate.setWingLift 1.85
ObjectTemplate.setFlapLift 1.7

rem *** DgFlapRightOuter ***
ObjectTemplate.create Wing DgFlapRightOuter
ObjectTemplate.setNetworkableInfo Dg_wing_info
ObjectTemplate.loadSoundScript ../Common/Sounds/HullRight.ssc
ObjectTemplate.geometry Dg_Rwing_Out_m1
ObjectTemplate.setMinRotation 0/-30/0
ObjectTemplate.setMaxRotation 0/30/0
ObjectTemplate.setMaxSpeed 0/120/0
ObjectTemplate.setAcceleration 0/120/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -0.5/0/-0.90
ObjectTemplate.setWingLift 1.85
ObjectTemplate.setFlapLift 1.7

rem *** DgFlapTailLeft ***
ObjectTemplate.create Wing DgFlapTailLeft
ObjectTemplate.setNetworkableInfo Dg_wing_info
ObjectTemplate.geometry Dg_Bwing_left_m1
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/20/0
ObjectTemplate.setMaxSpeed 0/60/0
ObjectTemplate.setAcceleration 0/-60/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.5

rem *** DgFlapTailRight ***
ObjectTemplate.create Wing DgFlapTailRight
ObjectTemplate.setNetworkableInfo Dg_wing_info
ObjectTemplate.geometry Dg_Bwing_right_m1
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/20/0
ObjectTemplate.setMaxSpeed 0/60/0
ObjectTemplate.setAcceleration 0/-60/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset -0.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.5

rem *** DgRudder ***
ObjectTemplate.create Wing DgRudder
ObjectTemplate.setNetworkableInfo Dg_wing_info
ObjectTemplate.geometry Dg_Bwing_Top_m1
ObjectTemplate.setMinRotation 0/-15/0
ObjectTemplate.setMaxRotation 0/15/0
ObjectTemplate.setMaxSpeed 0/60/0
ObjectTemplate.setAcceleration 0/60/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/-0.5/0
ObjectTemplate.setWingLift 1.0
ObjectTemplate.setFlapLift 1.0

rem *** DgBodyWingVertical ***
ObjectTemplate.create Wing DgBodyWingVertical
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/-0.1
ObjectTemplate.setWingLift 2
ObjectTemplate.setFlapLift 0

rem *** Dg_FLoater ***
ObjectTemplate.create FloatingBundle Dg_FLoater
ObjectTemplate.setNetworkableInfo Dg_waterEngineInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setHullHeight 300000
ObjectTemplate.setFloatMaxLift 10
ObjectTemplate.setFloatMinLift 10
ObjectTemplate.SetDragModifier 0
ObjectTemplate.setMinRotation 0/5/0
ObjectTemplate.setMaxRotation 0/5/0
ObjectTemplate.setMaxSpeed 0/50/0
ObjectTemplate.setAcceleration 0/50/0
ObjectTemplate.setInputToPitch 0
ObjectTemplate.setAutomaticReset 1