This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/SU39/Physics.con
rem *** SU39_Engine ***
ObjectTemplate.create Engine SU39_Engine
ObjectTemplate.setnetworkableInfo SU39_engine_info
ObjectTemplate.loadSoundScript ../../../../../objects/Vehicles/Air/Engines/Sounds//Jumo004Engine.ssc
rem -------------------------------------
ObjectTemplate.addTemplate SU39_LandingGearF
ObjectTemplate.setPosition -0.093/0.288/6.583


ObjectTemplate.addTemplate SU39_LandingGearL
ObjectTemplate.setPosition -1.05/0.059/3.446

ObjectTemplate.addTemplate SU39_GearCoverL
ObjectTemplate.setPosition -0.8/-0.233/3.688

ObjectTemplate.addTemplate SU39_GearCoverR
ObjectTemplate.setPosition 0.8/-0.233/3.688


ObjectTemplate.addTemplate SU39_LandingGearR
ObjectTemplate.setPosition 1.039/0.059/3.446

ObjectTemplate.addTemplate lodme262Propeller
ObjectTemplate.setPosition 0.85/0.452/2.016

ObjectTemplate.addTemplate lodme262Propeller
ObjectTemplate.setPosition -0.85/0.452/2.016



ObjectTemplate.addTemplate AirSight_PBP-1
ObjectTemplate.setPosition 0.008/1.362/10.25
ObjectTemplate.addTemplate PlaneAltimeter
ObjectTemplate.setPosition 0.008/1.362/10.25
rem -------------------------------------
ObjectTemplate.setminRotation 0/0/-1000
ObjectTemplate.setmaxRotation 0/0/3000
ObjectTemplate.setmaxSpeed 0/0/1200
ObjectTemplate.setacceleration 0/0/800
ObjectTemplate.setinputToRoll c_PIThrottle
ObjectTemplate.setautomaticReset 1
ObjectTemplate.setengineType c_ETPlane
ObjectTemplate.settorque 85
ObjectTemplate.setdifferential 5
ObjectTemplate.setgearUp 0.7
ObjectTemplate.setgearDown 0.3
ObjectTemplate.setnoPropellerEffectAtSpeed 70


rem *** SU39_BodyWing ***
ObjectTemplate.create Wing SU39_BodyWing
ObjectTemplate.setpitchOffset 1.5
ObjectTemplate.setpositionOffset 0/0/0
ObjectTemplate.setwingLift 6


rem *** SU39_BodyWingVertical ***
ObjectTemplate.create Wing SU39_BodyWingVertical
ObjectTemplate.setautomaticReset 1
ObjectTemplate.setpositionOffset 0/0/-0.6
ObjectTemplate.setwingLift 3
ObjectTemplate.setflapLift 0

rem *** SU39_Rudder ***
ObjectTemplate.create Wing SU39_Rudder
ObjectTemplate.setnetworkableInfo SU39_wing_info
ObjectTemplate.geometry SU39_Rud_m1
ObjectTemplate.setminRotation 0/-20/0
ObjectTemplate.setmaxRotation 0/20/0
ObjectTemplate.setmaxSpeed 0/0/0
ObjectTemplate.setacceleration 0/-55/0
ObjectTemplate.setinputToPitch c_PIYaw
ObjectTemplate.setautomaticReset 1
ObjectTemplate.setwingLift 1.5
ObjectTemplate.setflapLift 1.2



rem *** SU39_R_Elevator ***
ObjectTemplate.create Wing SU39_R_Elevator
ObjectTemplate.setnetworkableInfo SU39_wing_info
ObjectTemplate.setminRotation 0/-20/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/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setwingLift 4.4
ObjectTemplate.setflapLift 4.2


rem *** SU39_L_Airleron ***
ObjectTemplate.create Wing SU39_L_Airleron
ObjectTemplate.setnetworkableInfo SU39_wing_info
ObjectTemplate.loadSoundScript ../Common/Sounds/HullLeft.ssc
ObjectTemplate.geometry SU39_L_Flap_m1
ObjectTemplate.setminRotation 0/-30/0
ObjectTemplate.setmaxRotation 0/30/0
ObjectTemplate.setmaxSpeed 0/120/0
ObjectTemplate.setacceleration 0/-80/0
ObjectTemplate.setinputToPitch c_PIRoll
ObjectTemplate.setautomaticReset 1
ObjectTemplate.setwingLift 1.5
ObjectTemplate.setflapLift 1.0


rem *** SU39_R_Airleron ***
ObjectTemplate.create Wing SU39_R_Airleron
ObjectTemplate.setnetworkableInfo SU39_wing_info
ObjectTemplate.loadSoundScript ../Common/Sounds/HullRight.ssc
ObjectTemplate.geometry SU39_R_Flap_m1
ObjectTemplate.setminRotation 0/-30/0
ObjectTemplate.setmaxRotation 0/30/0
ObjectTemplate.setmaxSpeed 0/120/0
ObjectTemplate.setacceleration 0/80/0
ObjectTemplate.setinputToPitch c_PIRoll
ObjectTemplate.setautomaticReset 1
ObjectTemplate.setwingLift 1.5
ObjectTemplate.setflapLift 1.0





rem *** SU39_WheelLeft ***
ObjectTemplate.create Spring SU39_WheelLeft
ObjectTemplate.geometry SU39_L_Whl_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 15
ObjectTemplate.setdamping 7.5

rem *** SU39_WheelRight ***
ObjectTemplate.create Spring SU39_WheelRight
ObjectTemplate.geometry SU39_R_Whl_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 15
ObjectTemplate.setdamping 7.5

rem *** SU39_WheelFront ***
ObjectTemplate.create Spring SU39_WheelFront
ObjectTemplate.geometry SU39_Fnt_Whl_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 15
ObjectTemplate.setdamping 7.5