This page is under construction
Archives/bf1942/Levels/Raid_on_Agheila.rfa
Bf1942/Levels/Raid_on_Agheila/Objects/Flettner/Physics.con
rem *** Flettner_Engine ***
ObjectTemplate.create Engine Flettner_Engine
ObjectTemplate.setNetworkableInfo FlettnerEngineInfo
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-200
ObjectTemplate.setMaxRotation 0/0/200
ObjectTemplate.setMaxSpeed 0/0/200
ObjectTemplate.setAcceleration 0/0/200
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 13
ObjectTemplate.setDifferential 5.5
ObjectTemplate.setNoPropellerEffectAtSpeed 60
rem *** Flettner_HoverEngine ***
ObjectTemplate.create Engine Flettner_HoverEngine
ObjectTemplate.setNetworkableInfo FlettnerEngineInfo
ObjectTemplate.loadSoundScript Sounds/FlettnerEngine.ssc
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/40
ObjectTemplate.setMaxRotation 0/0/100
ObjectTemplate.setMaxSpeed 0/0/100
ObjectTemplate.setAcceleration 0/0/750
ObjectTemplate.setAutomaticReset 0
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 20
ObjectTemplate.setDifferential 12
ObjectTemplate.setNoPropellerEffectAtSpeed 30
rem *** Flettner_TailEngine ***
ObjectTemplate.create Engine Flettner_TailEngine
ObjectTemplate.setNetworkableInfo FlettnerEngineInfo
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-10
ObjectTemplate.setMaxRotation 0/0/10
ObjectTemplate.setMaxSpeed 0/0/50
ObjectTemplate.setAcceleration 0/0/1000
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.RememberExcessInput 0
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 7
ObjectTemplate.setDifferential 1.0
ObjectTemplate.setNoPropellerEffectAtSpeed 2
rem *** Flettner_LeftRotor ***
ObjectTemplate.create Engine Flettner_LeftRotor
rem -------------------------------------
ObjectTemplate.addTemplate lodFlettner_Rotary
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 13/0/-45
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/150
ObjectTemplate.setMaxRotation 0/0/150
ObjectTemplate.setMaxSpeed 0/0/1000
ObjectTemplate.setAcceleration 0/0/500
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 0.001
ObjectTemplate.setDifferential 0
ObjectTemplate.setNoPropellerEffectAtSpeed 1
ObjectTemplate.create Engine Flettner_RightRotor
rem -------------------------------------
ObjectTemplate.addTemplate lodFlettner_Rotary
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation -13/0/45
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-150
ObjectTemplate.setMaxRotation 0/0/-150
ObjectTemplate.setMaxSpeed 0/0/1000
ObjectTemplate.setAcceleration 0/0/-500
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 0.001
ObjectTemplate.setDifferential 0
ObjectTemplate.setNoPropellerEffectAtSpeed 1
ObjectTemplate.create Spring FlettnerWheelFront
ObjectTemplate.geometry Flettner_FrontWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.create Spring FlettnerWheelRight
ObjectTemplate.geometry Flettner_RightWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFContactGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.create Spring FlettnerInvisibleWheel
ObjectTemplate.geometry Flettner_FrontWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFrollGrip
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.setCreateInvisible 1
ObjectTemplate.create Spring FlettnerWheelLeft
ObjectTemplate.geometry Flettner_LeftWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFContactGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.create Wing FlettnerRudder
ObjectTemplate.setNetworkableInfo FlettnerWingInfo
ObjectTemplate.setMinRotation 0/-5/0
ObjectTemplate.setMaxRotation 0/5/0
ObjectTemplate.setMaxSpeed 0/100/0
ObjectTemplate.setAcceleration 0/100/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 0
ObjectTemplate.setWingLift 2
ObjectTemplate.setFlapLift 3
ObjectTemplate.create Engine Flettner_Engine
ObjectTemplate.setNetworkableInfo FlettnerEngineInfo
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-200
ObjectTemplate.setMaxRotation 0/0/200
ObjectTemplate.setMaxSpeed 0/0/200
ObjectTemplate.setAcceleration 0/0/200
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 13
ObjectTemplate.setDifferential 5.5
ObjectTemplate.setNoPropellerEffectAtSpeed 60
rem *** Flettner_HoverEngine ***
ObjectTemplate.create Engine Flettner_HoverEngine
ObjectTemplate.setNetworkableInfo FlettnerEngineInfo
ObjectTemplate.loadSoundScript Sounds/FlettnerEngine.ssc
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/40
ObjectTemplate.setMaxRotation 0/0/100
ObjectTemplate.setMaxSpeed 0/0/100
ObjectTemplate.setAcceleration 0/0/750
ObjectTemplate.setAutomaticReset 0
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 20
ObjectTemplate.setDifferential 12
ObjectTemplate.setNoPropellerEffectAtSpeed 30
rem *** Flettner_TailEngine ***
ObjectTemplate.create Engine Flettner_TailEngine
ObjectTemplate.setNetworkableInfo FlettnerEngineInfo
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-10
ObjectTemplate.setMaxRotation 0/0/10
ObjectTemplate.setMaxSpeed 0/0/50
ObjectTemplate.setAcceleration 0/0/1000
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.RememberExcessInput 0
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 7
ObjectTemplate.setDifferential 1.0
ObjectTemplate.setNoPropellerEffectAtSpeed 2
rem *** Flettner_LeftRotor ***
ObjectTemplate.create Engine Flettner_LeftRotor
rem -------------------------------------
ObjectTemplate.addTemplate lodFlettner_Rotary
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 13/0/-45
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/150
ObjectTemplate.setMaxRotation 0/0/150
ObjectTemplate.setMaxSpeed 0/0/1000
ObjectTemplate.setAcceleration 0/0/500
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 0.001
ObjectTemplate.setDifferential 0
ObjectTemplate.setNoPropellerEffectAtSpeed 1
ObjectTemplate.create Engine Flettner_RightRotor
rem -------------------------------------
ObjectTemplate.addTemplate lodFlettner_Rotary
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation -13/0/45
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-150
ObjectTemplate.setMaxRotation 0/0/-150
ObjectTemplate.setMaxSpeed 0/0/1000
ObjectTemplate.setAcceleration 0/0/-500
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 0.001
ObjectTemplate.setDifferential 0
ObjectTemplate.setNoPropellerEffectAtSpeed 1
ObjectTemplate.create Spring FlettnerWheelFront
ObjectTemplate.geometry Flettner_FrontWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.create Spring FlettnerWheelRight
ObjectTemplate.geometry Flettner_RightWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFContactGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.create Spring FlettnerInvisibleWheel
ObjectTemplate.geometry Flettner_FrontWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFrollGrip
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.setCreateInvisible 1
ObjectTemplate.create Spring FlettnerWheelLeft
ObjectTemplate.geometry Flettner_LeftWheel
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFContactGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 7
ObjectTemplate.create Wing FlettnerRudder
ObjectTemplate.setNetworkableInfo FlettnerWingInfo
ObjectTemplate.setMinRotation 0/-5/0
ObjectTemplate.setMaxRotation 0/5/0
ObjectTemplate.setMaxSpeed 0/100/0
ObjectTemplate.setAcceleration 0/100/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 0
ObjectTemplate.setWingLift 2
ObjectTemplate.setFlapLift 3