This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/land/Shilka/Physics.con
rem *** ShilkaEngine ***
ObjectTemplate.create Engine ShilkaEngine
ObjectTemplate.setNetworkableInfo ShilkaEngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/ShilkaEngine.ssc
ObjectTemplate.hasMobilePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate ShilkaTrackL
ObjectTemplate.setPosition -.33/-0.699/.1
ObjectTemplate.addTemplate ShilkaTrackR
ObjectTemplate.setPosition .3/-0.699/.1
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 4.0
ObjectTemplate.setDifferential 4.0
ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.45
ObjectTemplate.setGearChangeTime 0.05
rem *** ShilkaWheelL3Dummy ***
ObjectTemplate.create Spring ShilkaWheelL3Dummy
ObjectTemplate.geometry Shilka_whe3L_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0
rem *** ShilkaWheelL3DummyMiddle ***
ObjectTemplate.create Spring ShilkaWheelL3DummyMiddle
ObjectTemplate.geometry Shilka_whe3L_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_treadDryDirt_PoE
ObjectTemplate.addTemplate e_treadsand_PoE
ObjectTemplate.addTemplate e_treadgrass_PoE
ObjectTemplate.addTemplate e_treadmud_PoE
ObjectTemplate.addTemplate e_treadStone_PoE
ObjectTemplate.addTemplate e_treadwetsand_PoE
ObjectTemplate.addTemplate e_treadwetgrass_PoE
ObjectTemplate.addTemplate e_treadwetdirt_PoE
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0
rem *** ShilkaWheelL3 ***
ObjectTemplate.create Spring ShilkaWheelL3
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry Shilka_whe3L_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setStrength 18
ObjectTemplate.setDamping 4
rem *** ShilkaWheelR3Dummy ***
ObjectTemplate.create Spring ShilkaWheelR3Dummy
ObjectTemplate.geometry Shilka_whe3R_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0
rem *** ShilkaWheelR3DummyMiddle ***
ObjectTemplate.create Spring ShilkaWheelR3DummyMiddle
ObjectTemplate.geometry Shilka_whe3R_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_treadDryDirt_PoE
ObjectTemplate.addTemplate e_treadsand_PoE
ObjectTemplate.addTemplate e_treadgrass_PoE
ObjectTemplate.addTemplate e_treadmud_PoE
ObjectTemplate.addTemplate e_treadStone_PoE
ObjectTemplate.addTemplate e_treadwetsand_PoE
ObjectTemplate.addTemplate e_treadwetgrass_PoE
ObjectTemplate.addTemplate e_treadwetdirt_PoE
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0
rem *** ShilkaWheelR3 ***
ObjectTemplate.create Spring ShilkaWheelR3
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry Shilka_whe3R_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setStrength 18
ObjectTemplate.setDamping 4