This page is under construction
Archives/bf1942/levels/Escape_from_Leyte.rfa
bf1942/levels/Escape_from_Leyte/Objects/A6M3a/Physics.con
rem *** mobility +-0% ***

rem ----- A6M3aEngine -----
ObjectTemplate.create Engine A6M3aEngine
ObjectTemplate.setNetworkableInfo A6M3a_engine_info
ObjectTemplate.loadSoundScript ../Engines/Sounds/SakaeEngine.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodA6M3aPropeller
ObjectTemplate.addTemplate A6M3aLandingGearLeft
ObjectTemplate.setPosition -1.692/-0.4/-1.529
ObjectTemplate.addTemplate A6M3aLandingGearRight
ObjectTemplate.setPosition 1.693/-0.4/-1.529
ObjectTemplate.addTemplate A6M3aLandingGearBack
ObjectTemplate.setPosition 0.031/-0.211/-7.642

ObjectTemplate.addTemplate PlaneAltimeter
ObjectTemplate.setPosition 0/-0.009/2.295
ObjectTemplate.addTemplate AirSight_type98_y
ObjectTemplate.setPosition 0/-0.009/2.295
rem -------------------------------------
ObjectTemplate.setMinRotation -0.3/0/-1000
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 1000/0/800
ObjectTemplate.setAcceleration 100/0/900
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 32.02
ObjectTemplate.setDifferential 5.12
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 70

rem ----- A6M3aEngineNW -----
ObjectTemplate.create Engine A6M3aEngineNW
ObjectTemplate.setNetworkableInfo A6M3a_engine_info
ObjectTemplate.loadSoundScript ../Engines/Sounds/SakaeEngine.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodA6M3aPropeller
ObjectTemplate.addTemplate A6M3aLandingGearLeft
ObjectTemplate.setPosition -1.692/-0.4/-1.529
ObjectTemplate.addTemplate A6M3aLandingGearRight
ObjectTemplate.setPosition 1.693/-0.4/-1.529
ObjectTemplate.addTemplate A6M3aLandingGearBack
ObjectTemplate.setPosition 0.031/-0.211/-7.642

ObjectTemplate.addTemplate PlaneAltimeter
ObjectTemplate.setPosition 0/-0.009/2.295
ObjectTemplate.addTemplate AirSight_type98_y
ObjectTemplate.setPosition 0/-0.009/2.295
rem -------------------------------------
ObjectTemplate.setMinRotation -0.3/0/-1000
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 1000/0/800
ObjectTemplate.setAcceleration 100/0/900
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 32.02
ObjectTemplate.setDifferential 5.12
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 70

rem ----- A6M3aWheelLeft -----
ObjectTemplate.create Spring A6M3aWheelLeft
ObjectTemplate.geometry A6M3a_wheel_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

rem ----- A6M3aWheelRight -----
ObjectTemplate.create Spring A6M3aWheelRight
ObjectTemplate.geometry A6M3a_wheel_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 ----- A6M3aWheelBackSpring -----
ObjectTemplate.create Spring A6M3aWheelBackSpring
ObjectTemplate.geometry A6M3a_wheel_back_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem ----- A6M3aBodyWingVertical -----
ObjectTemplate.create Wing A6M3aBodyWingVertical
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/-0.1
ObjectTemplate.setWingLift 1.5
ObjectTemplate.setFlapLift 0

rem ----- A6M3aWingL -----
ObjectTemplate.create Wing A6M3aWingL
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/-0.1
ObjectTemplate.setWingLift 1.5
ObjectTemplate.setFlapLift 0

rem ----- A6M3aWingR -----
ObjectTemplate.create Wing A6M3aWingR
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/-0.1
ObjectTemplate.setWingLift 1.5
ObjectTemplate.setFlapLift 0

rem ----- A6M3aFlapTailLeft -----
ObjectTemplate.create Wing A6M3aFlapTailLeft
ObjectTemplate.setNetworkableInfo A6M3a_wing_info
ObjectTemplate.geometry A6M3a_tailflap_left_m1
ObjectTemplate.setMinRotation 0/-12.5/0
ObjectTemplate.setMaxRotation 0/12.5/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.setWingLift 0.6
ObjectTemplate.setFlapLift 0.58
ObjectTemplate.rememberExcessInput 1
rem *** 0.1/2 (L/R) ***

rem ----- A6M3aFlapTailRight -----
ObjectTemplate.create Wing A6M3aFlapTailRight
ObjectTemplate.setNetworkableInfo A6M3a_wing_info
ObjectTemplate.geometry A6M3a_tailflap_right_m1
ObjectTemplate.setMinRotation 0/-12.5/0
ObjectTemplate.setMaxRotation 0/12.5/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.setWingLift 0.6
ObjectTemplate.setFlapLift 0.58
ObjectTemplate.rememberExcessInput 1
rem *** 0.1/2 (L/R) ***

rem ----- A6M3aRudder -----
ObjectTemplate.create Wing A6M3aRudder
ObjectTemplate.setNetworkableInfo A6M3a_wing_info
ObjectTemplate.geometry A6M3a_tail_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.5/0
rem ObjectTemplate.setWingLift 1.5
rem ObjectTemplate.setFlapLift 1.5
ObjectTemplate.setWingLift 1.2
ObjectTemplate.setFlapLift 2.0

rem ----- A6M3aFlapLeftInner -----
ObjectTemplate.create Wing A6M3aFlapLeftInner
ObjectTemplate.setNetworkableInfo A6M3a_wing_info
ObjectTemplate.geometry A6M3a_flap_left_lo_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 1.616/0.339/0.797
ObjectTemplate.setFlapLift 3
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

rem ----- A6M3aFlapRightInner -----
ObjectTemplate.create Wing A6M3aFlapRightInner
ObjectTemplate.setNetworkableInfo A6M3a_wing_info
ObjectTemplate.geometry A6M3a_flap_right_lo_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 -1.613/0.339/0.797
ObjectTemplate.setFlapLift 3
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

rem ----- A6M3aFlapLeftOuter -----
ObjectTemplate.create Wing A6M3aFlapLeftOuter
ObjectTemplate.setNetworkableInfo A6M3a_wing_info
ObjectTemplate.loadSoundScript ../Common/Sounds/HullLeft.ssc
ObjectTemplate.geometry A6M3a_flap_left_up_m1
ObjectTemplate.setMinRotation 0/-12/0
ObjectTemplate.setMaxRotation 0/12/0
ObjectTemplate.setMaxSpeed 0/12/0
ObjectTemplate.setAcceleration 0/-24/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 0.45/0/0.83
rem ObjectTemplate.setWingLift 1.5
ObjectTemplate.setFlapLift 2.0

rem ----- A6M3aFlapRightOuter -----
ObjectTemplate.create Wing A6M3aFlapRightOuter
ObjectTemplate.setNetworkableInfo A6M3a_wing_info
ObjectTemplate.loadSoundScript ../Common/Sounds/HullRight.ssc
ObjectTemplate.geometry A6M3a_flap_right_up_m1
ObjectTemplate.setMinRotation 0/-12/0
ObjectTemplate.setMaxRotation 0/12/0
ObjectTemplate.setMaxSpeed 0/12/0
ObjectTemplate.setAcceleration 0/24/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -0.45/0/0.83
rem ObjectTemplate.setWingLift 1.5
ObjectTemplate.setFlapLift 2.0