This page is under construction
Archives/bf1942/levels/SG_Clean_Sweep.rfa
bf1942/levels/SG_Clean_Sweep/objects/F302/Physics.con
rem *** F302Engine ***
ObjectTemplate.create Engine F302Engine
ObjectTemplate.setNetworkableInfo F302_engine_info
ObjectTemplate.loadSoundScript Sounds/F302Engine.ssc
rem -------------------------------------------
ObjectTemplate.addTemplate F302LandingGearback1
ObjectTemplate.setPosition -2.9926/-0.373381/-5.91169
ObjectTemplate.addTemplate F302LandingGearback2
ObjectTemplate.setPosition 2.9926/-0.373381/-5.91169
ObjectTemplate.addTemplate F302LandingGearfront
ObjectTemplate.setPosition 0.0/0.258504/-1.37625
ObjectTemplate.addTemplate F302Hatch1
ObjectTemplate.setPosition 0.169675/0.0764517/-2.4578
rem -------------------------------------------------
ObjectTemplate.setMinRotation -0.3/0/0
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 10000/0/5000
ObjectTemplate.setAcceleration 5000/0/10000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 35
ObjectTemplate.setDifferential 7
ObjectTemplate.SetGearDownHeight 300
ObjectTemplate.SetGearUpHeight 23
ObjectTemplate.SetGearDownEngineInput 0.55
ObjectTemplate.SetGearUpEngineInput 0.95

ObjectTemplate.setNoPropellerEffectAtSpeed 200

rem *** F302VTOLEngine ***
ObjectTemplate.create Engine F302VTOLEngine
ObjectTemplate.setNetworkableInfo F302_engine_info
ObjectTemplate.loadSoundScript Sounds/F302Engine.ssc
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/5000
ObjectTemplate.setMaxSpeed 0/0/900
ObjectTemplate.setAcceleration 0/0/-5000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 50
ObjectTemplate.setDifferential 5
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 150


rem *** f302wheelleft ***
ObjectTemplate.create SimpleObject f302wheelleft
ObjectTemplate.geometry F302_Lwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 0
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** f302wheelright ***
ObjectTemplate.create SimpleObject f302wheelright
ObjectTemplate.geometry F302_Rwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 0
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_dummy
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** f302wheelbackspring ***
ObjectTemplate.create Spring f302wheelbackspring
rem ObjectTemplate.geometry F302_Bwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_dummy
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** f302wheelleft ***
ObjectTemplate.create Spring f302wheelleft1
ObjectTemplate.geometry F302_LIwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** f302wheelright ***
ObjectTemplate.create Spring f302wheelright1
ObjectTemplate.geometry F302_RIwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
ObjectTemplate.setStrength 24
ObjectTemplate.setDamping 12

rem *** F302FlapLeftMiddle ***
ObjectTemplate.create Wing F302FlapLeftMiddle
ObjectTemplate.setNetworkableInfo F302_wing_info
rem ObjectTemplate.geometry F302_Lwing_In_m1
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/120/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 2.564/0.135/-0.895
ObjectTemplate.setFlapLift 4
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

rem *** F302FlapRightMiddle ***
ObjectTemplate.create Wing F302FlapRightMiddle
ObjectTemplate.setNetworkableInfo F302_wing_info
rem ObjectTemplate.geometry F302_Rwing_In_m1
ObjectTemplate.setMinRotation 0/-2/0
ObjectTemplate.setMaxRotation 0/2/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/120/0
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -2.52/0.145/-0.895
ObjectTemplate.setFlapLift 4
ObjectTemplate.setRegulateToLift 4.91
ObjectTemplate.setWingToRegulatorRatio 1

rem *** F302FlapLeftOuter ***
ObjectTemplate.create Wing F302FlapLeftOuter
ObjectTemplate.setNetworkableInfo F302_wing_info
ObjectTemplate.loadSoundScript ../Common/Sounds/wheeLeft.ssc
rem ObjectTemplate.geometry F302_Lwing_Out_m1
ObjectTemplate.setMinRotation 0/-30/0
ObjectTemplate.setMaxRotation 0/30/0
ObjectTemplate.setMaxSpeed 0/120/0
ObjectTemplate.setAcceleration 0/-120/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 0.5/0/-0.90
ObjectTemplate.setWingLift 1.85
ObjectTemplate.setFlapLift 1.7

rem *** F302FlapRightOuter ***
ObjectTemplate.create Wing F302FlapRightOuter
ObjectTemplate.setNetworkableInfo F302_wing_info
ObjectTemplate.loadSoundScript ../Common/Sounds/HullRight.ssc
rem ObjectTemplate.geometry F302_Rwing_Out_m1
ObjectTemplate.setMinRotation 0/-30/0
ObjectTemplate.setMaxRotation 0/30/0
ObjectTemplate.setMaxSpeed 0/120/0
ObjectTemplate.setAcceleration 0/120/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -0.5/0/-0.90
ObjectTemplate.setWingLift 1.85
ObjectTemplate.setFlapLift 1.7

rem *** F302FlapTailLeft ***
ObjectTemplate.create Wing F302FlapTailLeft
ObjectTemplate.setNetworkableInfo F302_wing_info
rem ObjectTemplate.geometry F302_Bwing_left_m1
ObjectTemplate.setMinRotation 0/-10/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.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.5

rem *** F302FlapTailRight ***
ObjectTemplate.create Wing F302FlapTailRight
ObjectTemplate.setNetworkableInfo F302_wing_info
rem ObjectTemplate.geometry F302_Bwing_right_m1
ObjectTemplate.setMinRotation 0/-10/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.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.5

rem *** F302Rudder ***
ObjectTemplate.create Wing F302Rudder
ObjectTemplate.setNetworkableInfo F302_wing_info
rem ObjectTemplate.geometry F302_Bwing_Top_m1
ObjectTemplate.setMinRotation 0/-15/0
ObjectTemplate.setMaxRotation 0/15/0
ObjectTemplate.setMaxSpeed 0/60/0
ObjectTemplate.setAcceleration 0/60/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/-0.5/0
ObjectTemplate.setWingLift 1.0
ObjectTemplate.setFlapLift 1.0

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

rem *** f302_floater ***
ObjectTemplate.create FloatingBundle f302_floater
ObjectTemplate.setNetworkableInfo F302_waterEngineInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setHullHeight 300000
ObjectTemplate.setFloatMaxLift 2.45
ObjectTemplate.setFloatMinLift 2.45
ObjectTemplate.SetDragModifier 0
ObjectTemplate.setMinRotation 0/5/0
ObjectTemplate.setMaxRotation 0/5/0
ObjectTemplate.setMaxSpeed 0/50/0
ObjectTemplate.setAcceleration 0/50/0
ObjectTemplate.setInputToPitch 0
ObjectTemplate.setAutomaticReset 1