This page is under construction
archives/bf1942/levels/fht_operation_dracula-1945.rfa
bf1942/levels/fht_operation_dracula-1945/Objects/SBD/Physics.con
rem *** SBDEngine ***
ObjectTemplate.create Engine SBDEngine
ObjectTemplate.setNetworkableInfo SBDEngineInfo
ObjectTemplate.loadSoundScript ../Engines/Sounds/CycloneEngine.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodSBDPropeller
ObjectTemplate.addTemplate SBDGear1
ObjectTemplate.setPosition 1.59/-0.529/-2.047
ObjectTemplate.addTemplate SBDGear2
ObjectTemplate.setPosition -1.589/-0.529/-2.047
ObjectTemplate.addTemplate SBDGearHatchR
ObjectTemplate.setPosition 1.588/-0.631/-2.05
ObjectTemplate.setRotation 0/0/130
ObjectTemplate.addTemplate SBDGearHatchL
ObjectTemplate.setPosition -1.587/-0.631/-2.05
ObjectTemplate.setRotation 0/0/-129.999
rem -------------------------------------
ObjectTemplate.setMinRotation -0.3/0/-1000
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 1000/0/500
ObjectTemplate.setAcceleration 30/0/700
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 14.25
ObjectTemplate.setDifferential 5
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 70

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

ObjectTemplate.create Wing SBDAirbreak
ObjectTemplate.setNetworkableInfo SBDWingInfo
ObjectTemplate.geometry SBD-6_flap_mid_m1
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/30/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 0/0.347/0.792
ObjectTemplate.setFlapLift 2
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

ObjectTemplate.create Wing SBDFlapR
ObjectTemplate.geometry SBD-6_flap_right_M1
ObjectTemplate.networkableInfo SBDWingInfo
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/30/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -2.926/0.083/0.553
ObjectTemplate.setFlapLift 1
ObjectTemplate.setRegulateToLift 4.91
objectTemplate.setWingToRegulatorRatio 1

ObjectTemplate.create Wing SBDFlapL
ObjectTemplate.geometry SBD-6_flap_left_M1
ObjectTemplate.networkableInfo SBDWingInfo
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/30/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 2.925/0.083/0.553
ObjectTemplate.setFlapLift 1
ObjectTemplate.setRegulateToLift 4.91
objectTemplate.setWingToRegulatorRatio 1

rem *** SBDRudderFR ***
ObjectTemplate.create Wing SBDRudderFR
ObjectTemplate.setNetworkableInfo SBDWingInfo
ObjectTemplate.loadSoundScript ../Common/Sounds/HullRight.ssc
ObjectTemplate.geometry SBD-6_wing_rod_right_M1
ObjectTemplate.setMinRotation 0/-13/0
ObjectTemplate.setMaxRotation 0/13/0
ObjectTemplate.setMaxSpeed 0/13/0
ObjectTemplate.setAcceleration 0/26/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -1.5/0/0.104
ObjectTemplate.setWingLift 0.9
ObjectTemplate.setFlapLift 0.9

rem *** SBDRudderFL ***
ObjectTemplate.create Wing SBDRudderFL
ObjectTemplate.setNetworkableInfo SBDWingInfo
ObjectTemplate.loadSoundScript ../Common/Sounds/HullLeft.ssc
ObjectTemplate.geometry SBD-6_wing_rod_left_M1
ObjectTemplate.setMinRotation 0/-13/0
ObjectTemplate.setMaxRotation 0/13/0
ObjectTemplate.setMaxSpeed 0/13/0
ObjectTemplate.setAcceleration 0/-26/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 1.5/0/0.104
ObjectTemplate.setWingLift 0.9
ObjectTemplate.setFlapLift 0.9

rem *** SBDRudderRL ***
ObjectTemplate.create Wing SBDRudderRL
ObjectTemplate.setNetworkableInfo SBDWingInfo
ObjectTemplate.geometry SBD-6_fus_rod_left_M1
ObjectTemplate.setMinRotation 0/-13/0
ObjectTemplate.setMaxRotation 0/13/0
ObjectTemplate.setMaxSpeed 0/13/0
ObjectTemplate.setAcceleration 0/-26/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.7

rem *** SBDRudderRR ***
ObjectTemplate.create Wing SBDRudderRR
ObjectTemplate.setNetworkableInfo SBDWingInfo
ObjectTemplate.geometry SBD-6_fus_rod_right_M1
ObjectTemplate.setMinRotation 0/-13/0
ObjectTemplate.setMaxRotation 0/13/0
ObjectTemplate.setMaxSpeed 0/13/0
ObjectTemplate.setAcceleration 0/-26/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset -0.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.7

rem *** SBDRudderRC ***
ObjectTemplate.create Wing SBDRudderRC
ObjectTemplate.setNetworkableInfo SBDWingInfo
ObjectTemplate.geometry SBD-6_fus_rod_mid_M1
ObjectTemplate.setMinRotation 0/-13/0
ObjectTemplate.setMaxRotation 0/13/0
ObjectTemplate.setMaxSpeed 0/13/0
ObjectTemplate.setAcceleration 0/26/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 0.75
ObjectTemplate.setFlapLift 0.75

rem *** SBDBackWheel ***
ObjectTemplate.create Spring SBDBackWheel
ObjectTemplate.geometry SBD-6_backwheel_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** SBDWheel1 ***
ObjectTemplate.create Spring SBDWheel1
ObjectTemplate.geometry SBD-6_whe_right_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
rem -------------------------------------
ObjectTemplate.addTemplate e_WaterTouchPlane
ObjectTemplate.addTemplate e_wdustPlane
ObjectTemplate.addTemplate e_wdustPlaneL
rem -------------------------------------
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** SBDWheel2 ***
ObjectTemplate.create Spring SBDWheel2
ObjectTemplate.geometry SBD-6_whe_left_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
rem -------------------------------------
ObjectTemplate.addTemplate e_WaterTouchPlane
ObjectTemplate.addTemplate e_wdustPlane
ObjectTemplate.addTemplate e_wdustPlaneL
rem -------------------------------------
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12