This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/BMP3/Physics.con

rem *** BMP3_Floater ***
ObjectTemplate.create FloatingBundle BMP3_Floater
ObjectTemplate.setHullHeight 1.0
ObjectTemplate.setFloatMaxLift 6
ObjectTemplate.setFloatMinLift 6


rem *** BMP2_WaterEngine ***
ObjectTemplate.create Engine BMP3EngineWater
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 3.5
ObjectTemplate.setDifferential 2.8

rem *** BMP2_RudderStern ***
ObjectTemplate.create Wing BMP3_RudderStern
ObjectTemplate.setMinRotation 0/-15/0
ObjectTemplate.setMaxRotation 0/15/0
ObjectTemplate.setMaxSpeed 0/36/0
ObjectTemplate.setAcceleration 0/-72/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 0
ObjectTemplate.setFlapLift 2

rem *** BMP2_RudderAft ***
ObjectTemplate.create Wing BMP3_RudderAft
ObjectTemplate.setMinRotation 0/-15/0
ObjectTemplate.setMaxRotation 0/15/0
ObjectTemplate.setMaxSpeed 0/36/0
ObjectTemplate.setAcceleration 0/72/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 0
ObjectTemplate.setFlapLift 2


rem *** BMP3_Engine ***
ObjectTemplate.create Engine BMP3EngineLand
ObjectTemplate.setNetworkableInfo BMP3_EngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Land/Engines/Sounds/HL120Engine.ssc
ObjectTemplate.hasMobilePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMP3_TreadL
ObjectTemplate.setPosition -0.1/0/0
ObjectTemplate.addTemplate BMP3_TreadR
ObjectTemplate.setPosition 0.1/0/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 8.6
ObjectTemplate.setDifferential 4.8
ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.45
ObjectTemplate.setGearChangeTime 0.05





Rem ======================================
Rem ======= Wheels =======
Rem ======================================


rem *** BMP3_WheelDummy ***
ObjectTemplate.create Spring BMP3_WheelDummy
ObjectTemplate.geometry Bmp3_Whl_2_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setstrength 0
ObjectTemplate.setdamping 0

rem *** BMP3_WheelDust ***
ObjectTemplate.create Spring BMP3_WheelDust
ObjectTemplate.geometry Bmp3_Whl_2_m1
ObjectTemplate.setnetworkableInfo SpringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setstrength 14
ObjectTemplate.setdamping 6
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustPanzL
ObjectTemplate.addTemplate e_wdustPanz
rem -------------------------------------

rem *** BMP3_WheelNoDust ***
ObjectTemplate.create Spring BMP3_WheelNoDust
ObjectTemplate.geometry Bmp3_Whl_2_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setstrength 14
ObjectTemplate.setdamping 6