This page is under construction
Archives/bf1942/levels/aragon-1938.rfa
bf1942/levels/aragon-1938/Objects/I-16/Physics.con
rem *** I-16Engine ***
ObjectTemplate.create Engine I-16Engine
ObjectTemplate.setNetworkableInfo I-16_Engine_Info
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Air/Swordfish/Sounds/SwordfishEngine.ssc

rem -------------------------------------------
ObjectTemplate.addTemplate lodI-16Propeller
ObjectTemplate.addTemplate I-16LandinggearLeft
ObjectTemplate.setPosition -1.283/-0.21/-1.013
ObjectTemplate.addTemplate I-16LandinggearRight
ObjectTemplate.setPosition 1.283/-0.21/-1.013

ObjectTemplate.addTemplate PlaneAltimeter
ObjectTemplate.setPosition -0.0199/0.0041/0.087

ObjectTemplate.addTemplate AirSight_PBP-1
ObjectTemplate.setPosition -0.0199/0.0041/0.087
rem -------------------------------------------
ObjectTemplate.setMinRotation -0.3/0/-3000
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 1188/0/500
ObjectTemplate.setAcceleration 594/0/891
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 25.0
ObjectTemplate.setDifferential 3.84
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.2
ObjectTemplate.setNoPropellerEffectAtSpeed 70

rem *** I-16BodyWingVertical ***
ObjectTemplate.create Wing I-16BodyWingVertical
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/-0.1
ObjectTemplate.setWingLift 1.5
ObjectTemplate.setFlapLift 0

rem *** I-16AileronLeft ***
ObjectTemplate.create Wing I-16AileronLeft
ObjectTemplate.setNetworkableInfo I-16_Wing_Info
ObjectTemplate.loadSoundScript ../Common/Sounds/HullLeft.ssc
ObjectTemplate.geometry I-16_Aileron_Left_m1
ObjectTemplate.setMinRotation 0/-27.5/0
ObjectTemplate.setMaxRotation 0/27.5/0
ObjectTemplate.setMaxSpeed 0/110/0
ObjectTemplate.setAcceleration 0/-104/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 0/0/1.7
ObjectTemplate.setWingLift 2.49
ObjectTemplate.setFlapLift 1.34

rem *** I-16AileronRight ***
ObjectTemplate.create Wing I-16AileronRight
ObjectTemplate.setNetworkableInfo I-16_Wing_Info
ObjectTemplate.loadSoundScript ../Common/Sounds/HullRight.ssc
ObjectTemplate.geometry I-16_Aileron_Right_m1
ObjectTemplate.setMinRotation 0/-27.5/0
ObjectTemplate.setMaxRotation 0/27.5/0
ObjectTemplate.setMaxSpeed 0/110/0
ObjectTemplate.setAcceleration 0/104/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 0/0/1.7
ObjectTemplate.setWingLift 2.49
ObjectTemplate.setFlapLift 1.34

rem *** I-16ElevatorLeft ***
ObjectTemplate.create Wing I-16ElevatorLeft
ObjectTemplate.setNetworkableInfo I-16_Wing_Info
ObjectTemplate.geometry I-16_Elevator_Left_m1
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/20/0
ObjectTemplate.setMaxSpeed 0/60/0
ObjectTemplate.setAcceleration 0/-52/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 1.68
ObjectTemplate.setFlapLift 1.34

rem *** I-16ElevatorRight ***
ObjectTemplate.create Wing I-16ElevatorRight
ObjectTemplate.setNetworkableInfo I-16_Wing_Info
ObjectTemplate.geometry I-16_Elevator_Right_m1
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/20/0
ObjectTemplate.setMaxSpeed 0/60/0
ObjectTemplate.setAcceleration 0/-52/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset -0.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 1.68
ObjectTemplate.setFlapLift 1.34

rem *** I-16Rudder ***
ObjectTemplate.create Wing I-16Rudder
ObjectTemplate.setNetworkableInfo I-16_Wing_Info
ObjectTemplate.geometry I-16_Rudder_m1
ObjectTemplate.setMinRotation 0/-15/0
ObjectTemplate.setMaxRotation 0/15/0
ObjectTemplate.setMaxSpeed 0/60/0
ObjectTemplate.setAcceleration 0/59/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/-0.5/0
ObjectTemplate.setWingLift 1.64
ObjectTemplate.setFlapLift 1.09

rem *** I-16WheelLeft ***
ObjectTemplate.create Spring I-16WheelLeft
ObjectTemplate.geometry I-16_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 *** I-16WheelRight ***
ObjectTemplate.create Spring I-16WheelRight
ObjectTemplate.geometry I-16_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 *** I-16WheelBackSpring ***
ObjectTemplate.create Spring I-16WheelBackSpring
ObjectTemplate.geometry I-16_Wheel_Rear_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12