This page is under construction
Archives/bf1942/Levels/Raid_on_Agheila.rfa
Bf1942/Levels/Raid_on_Agheila/Objects/m4a1/Physics.con
rem *** M4A1Spring1 ***
ObjectTemplate.create Spring M4A1Spring1
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry M4A1_Wheel1_M1
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 28
ObjectTemplate.setDamping 7
rem *** M4A1Engine ***
ObjectTemplate.create Engine M4A1Engine
ObjectTemplate.setNetworkableInfo M4A1EngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/M4A1Engine.ssc
rem -------------------------------------
ObjectTemplate.addTemplate M3A1TrackL
ObjectTemplate.setPosition 0/-0.849/-0.949
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
ObjectTemplate.setDifferential 5
ObjectTemplate.setNumberOfGears 4
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.45
ObjectTemplate.setGearChangeTime 0.05