This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/BMP1/Physics.con
rem *** BMP1_WaterEngine ***
ObjectTemplate.create Engine BMP1_WaterEngine
ObjectTemplate.setNetworkableInfo BMP1_WaterEngineInfo
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Land/Engines/Sounds/LibertyL-12Engine.ssc
ObjectTemplate.setMinRotation 0/0/-5
ObjectTemplate.setMaxRotation 0/0/20
ObjectTemplate.setMaxSpeed 0/0/20
ObjectTemplate.setAcceleration 0/0/15
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETShip
ObjectTemplate.setTorque 1.5
ObjectTemplate.setDifferential 2.3
ObjectTemplate.setNoPropellerEffectAtSpeed 20

rem *** BMP1_RudderStern ***
ObjectTemplate.create Wing BMP1_RudderStern
ObjectTemplate.setMinRotation 0/-7/0
ObjectTemplate.setMaxRotation 0/7/0
ObjectTemplate.setMaxSpeed 0/18/0
ObjectTemplate.setAcceleration 0/-26/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 0
rem ObjectTemplate.setFlapLift 1.7
ObjectTemplate.setFlapLift 1

rem *** BMP1_RudderAft ***
ObjectTemplate.create Wing BMP1_RudderAft
ObjectTemplate.setMinRotation 0/-7/0
ObjectTemplate.setMaxRotation 0/7/0
ObjectTemplate.setMaxSpeed 0/18/0
ObjectTemplate.setAcceleration 0/26/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 0
ObjectTemplate.setFlapLift 1

rem *** BMP1_Floater ***
ObjectTemplate.create FloatingBundle BMP1_Floater
ObjectTemplate.setHullHeight 3.4
ObjectTemplate.setFloatMaxLift 3.4
ObjectTemplate.setFloatMinLift 3.2
ObjectTemplate.setSinkingSpeedMod 5
ObjectTemplate.SetDragModifier 0


rem *** BMP1_Engine ***
ObjectTemplate.create Engine BMP1_Engine
ObjectTemplate.setNetworkableInfo BMP1_EngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/BMP2Engine.ssc
ObjectTemplate.hasMobilePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMP1_TrackL
ObjectTemplate.setPosition -1.33/-0.35/0.1
ObjectTemplate.setRotation 0/-1.3/0
ObjectTemplate.addTemplate BMP1_TrackR
ObjectTemplate.setPosition 1.33/-0.35/0.1
ObjectTemplate.setRotation 0/-1.3/0
rem -------------------------------------
ObjectTemplate.setMinRotation -1/0/-1
ObjectTemplate.setMaxRotation 1/0/1
ObjectTemplate.setMaxSpeed 4/0/10
ObjectTemplate.setAcceleration 4/0/10
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETTank
ObjectTemplate.setTorque 5.21
ObjectTemplate.setDifferential 4.88
rem 13.81HP/t
rem 65km/h
ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.45
ObjectTemplate.setGearChangeTime 0.05


rem *** BMP1_WheelL1Dummy ***
ObjectTemplate.create Spring BMP1_WheelL1Dummy
ObjectTemplate.geometry BMP1_Left_Whe1_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** BMP1_WheelL2Dummy ***
ObjectTemplate.create Spring BMP1_WheelL2Dummy
ObjectTemplate.geometry BMP1_Left_Whe2_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** BMP1_WheelL2 ***
ObjectTemplate.create Spring BMP1_WheelL2
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry BMP1_Left_Whe2_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setStrength 15
ObjectTemplate.setDamping 6


rem *** BMP1_WheelL2DummySmoke ***
ObjectTemplate.create Spring BMP1_WheelL2DummySmoke
ObjectTemplate.geometry BMP1_Left_Whe2_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustPanzL
ObjectTemplate.addTemplate e_wdustPanz
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** BMP1_WheelL3Dummy ***
ObjectTemplate.create Spring BMP1_WheelL3Dummy
ObjectTemplate.geometry BMP1_Left_Whe3_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** BMP1_WheelR1Dummy ***
ObjectTemplate.create Spring BMP1_WheelR1Dummy
ObjectTemplate.geometry BMP1_Right_Whe1_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** BMP1_WheelR2Dummy ***
ObjectTemplate.create Spring BMP1_WheelR2Dummy
ObjectTemplate.geometry BMP1_Right_Whe2_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** BMP1_WheelR2 ***
ObjectTemplate.create Spring BMP1_WheelR2
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry BMP1_Right_Whe2_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setStrength 15
ObjectTemplate.setDamping 6


rem *** BMP1_WheelR2DummySmoke ***
ObjectTemplate.create Spring BMP1_WheelR2DummySmoke
ObjectTemplate.geometry BMP1_Right_Whe2_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustPanzL
ObjectTemplate.addTemplate e_wdustPanz
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** BMP1_WheelR3Dummy ***
ObjectTemplate.create Spring BMP1_WheelR3Dummy
ObjectTemplate.geometry BMP1_Right_Whe3_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0