This page is under construction
Archives/bf1942/levels/Escape_from_Leyte.rfa
bf1942/levels/Escape_from_Leyte/Objects/FM-2/Physics.con
rem *** FM-2Engine ***
ObjectTemplate.create Engine FM-2Engine
ObjectTemplate.setNetworkableInfo Wildcat_engine_info
ObjectTemplate.loadSoundScript ../../../../../objects/Vehicles/Air/Engines/Sounds/CycloneEngine.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodF4F-3Propeller
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate F4F-3_Main_GearLeft
ObjectTemplate.setPosition -0.143/-0.48/-1.735
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3_Left_B_GearStrut1
ObjectTemplate.setPosition -0.003/-0.881/-1.748
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3_Left_B_GearStrut2
ObjectTemplate.setPosition -0.057/-0.846/-1.744
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate FM-2_Flap_L_base
rem ObjectTemplate.setPosition -2.547/0.097/-3.235
rem ObjectTemplate.setRotation 4.3/.293/-4.3
ObjectTemplate.setPosition -2.547/0.097/-3.215
ObjectTemplate.setRotation 4.3/.273/-4.3
ObjectTemplate.addTemplate FM-2_Flap_R_base
ObjectTemplate.setPosition 2.530/0.108/-3.208
ObjectTemplate.setRotation -4.3/.293/4
rem -----------------------------------------------
ObjectTemplate.addTemplate F4F-3_Main_GearRight
ObjectTemplate.setPosition 0.191/-0.48/-1.735
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3_Right_B_GearStrut1
ObjectTemplate.setPosition 0.029/-0.881/-1.748
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3_Right_B_GearStrut2
ObjectTemplate.setPosition 0.142/-0.846/-1.744
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3GearleverRotation
ObjectTemplate.setPosition 0.208/0.80/-2.776

ObjectTemplate.addTemplate PlaneAltimeter
ObjectTemplate.setPosition 0.011/0.412/1.397
ObjectTemplate.addTemplate AirSight_Mk-8
ObjectTemplate.setPosition 0.011/0.412/1.397
rem -------------------------------------
ObjectTemplate.setMinRotation -0.3/0/-1000
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 1000/0/1000
ObjectTemplate.setAcceleration 30/0/1500
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 30.58
ObjectTemplate.setDifferential 5.2
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 70
ObjectTemplate.setPositionOffset 0/0.25/0

rem *** FM-2_Flap_L ***
ObjectTemplate.create Wing FM-2_Flap_L
ObjectTemplate.setPitchOffset -3
ObjectTemplate.setPositionOffset 0/0/2
ObjectTemplate.setFlapLift 1

rem *** FM-2_Flap_R ***
ObjectTemplate.create Wing FM-2_Flap_R
ObjectTemplate.setPitchOffset -3
ObjectTemplate.setPositionOffset 0/0/2
ObjectTemplate.setFlapLift 1

rem *** FM-2LeftFlap ***
ObjectTemplate.create Wing FM-2LeftFlap
ObjectTemplate.setNetworkableInfo Wildcat_wing_info
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/30/0
ObjectTemplate.setPitchOffset -3
ObjectTemplate.setPositionOffset 1.862/0.264/0.15
ObjectTemplate.setFlapLift 0.3
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

rem *** FM-2RightFlap ***
ObjectTemplate.create Wing FM-2RightFlap
ObjectTemplate.setNetworkableInfo Wildcat_wing_info
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/30/0
ObjectTemplate.setPitchOffset -3
ObjectTemplate.setPositionOffset -1.863/0.264/0.15
ObjectTemplate.setFlapLift 0.3
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

rem *** FM-2Rudder ***
ObjectTemplate.create Wing FM-2Rudder
ObjectTemplate.setNetworkableInfo Wildcat_wing_info
ObjectTemplate.geometry FM-2_rudder
ObjectTemplate.setMinRotation 0/-13/0
ObjectTemplate.setMaxRotation 0/13/0
ObjectTemplate.setMaxSpeed 0/13.65/0
ObjectTemplate.setAcceleration 0/27.3/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/-0.5/0
ObjectTemplate.setWingLift 1.5
ObjectTemplate.setFlapLift 1.5

rem *** FM-2Elevator ***
ObjectTemplate.create Wing FM-2Elevator
ObjectTemplate.setNetworkableInfo Wildcat_wing_info
ObjectTemplate.geometry FM-2_elevator
ObjectTemplate.setMinRotation 0/-13/0
ObjectTemplate.setMaxRotation 0/13/0
ObjectTemplate.setMaxSpeed 0/13.65/0
ObjectTemplate.setAcceleration 0/-27.3/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.7

rem *** FM-2Engine_bomber ***
ObjectTemplate.create Engine FM-2Engine_bomber
ObjectTemplate.setNetworkableInfo Wildcat_engine_info
ObjectTemplate.loadSoundScript ../../../../../objects/Vehicles/Air/Engines/Sounds/CycloneEngine.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodF4F-3Propeller
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate F4F-3_Main_GearLeft
ObjectTemplate.setPosition -0.143/-0.48/-1.735
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3_Left_B_GearStrut1
ObjectTemplate.setPosition -0.003/-0.881/-1.748
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3_Left_B_GearStrut2
ObjectTemplate.setPosition -0.057/-0.846/-1.744
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate FM-2_Flap_L_base
rem ObjectTemplate.setPosition -2.547/0.097/-3.235
rem ObjectTemplate.setRotation 4.3/.293/-4.3
ObjectTemplate.setPosition -2.547/0.097/-3.215
ObjectTemplate.setRotation 4.3/.273/-4.3
ObjectTemplate.addTemplate FM-2_Flap_R_base
ObjectTemplate.setPosition 2.530/0.108/-3.208
ObjectTemplate.setRotation -4.3/.293/4
rem -----------------------------------------------
ObjectTemplate.addTemplate F4F-3_Main_GearRight
ObjectTemplate.setPosition 0.191/-0.48/-1.735
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3_Right_B_GearStrut1
ObjectTemplate.setPosition 0.029/-0.881/-1.748
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3_Right_B_GearStrut2
ObjectTemplate.setPosition 0.142/-0.846/-1.744
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate F4F-3GearleverRotation
ObjectTemplate.setPosition 0.208/0.80/-2.776

ObjectTemplate.addTemplate PlaneAltimeter
ObjectTemplate.setPosition 0.011/0.412/1.397
ObjectTemplate.addTemplate AirSight_Mk-8
ObjectTemplate.setPosition 0.011/0.412/1.397
rem -------------------------------------
ObjectTemplate.setMinRotation -0.3/0/-1000
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 1000/0/800
ObjectTemplate.setAcceleration 30/0/750
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 28.58
ObjectTemplate.setDifferential 4.97
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 67
ObjectTemplate.setPositionOffset 0/0.25/0