This page is under construction
Archives/bf1942/levels/ABF_Moon.rfa
bf1942/levels/ABF_Moon/objects/Vehicles/Land/Kubelwagen/Physics.con
rem *** KubelwagenEngine ***
ObjectTemplate.create Engine KubelwagenEngine
ObjectTemplate.setNetworkableInfo KubelwagenEngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/KubelwagenEngine.ssc
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate KubelwagenFrontWheelL
ObjectTemplate.setPosition -0.8/0.11/1.2
ObjectTemplate.addTemplate KubelwagenFrontWheelR
ObjectTemplate.setPosition 0.8/0.11/1.2
ObjectTemplate.addTemplate KubelwagenBackSpringR
ObjectTemplate.setPosition 0.85/-0.800/-1.230
ObjectTemplate.addTemplate KubelwagenBackSpringL
ObjectTemplate.setPosition -0.85/-0.800/-1.230
rem -------------------------------------
ObjectTemplate.setMinRotation -1/0/-1
ObjectTemplate.setMaxRotation 1/0/1
ObjectTemplate.setMaxSpeed 10/0/10
ObjectTemplate.setAcceleration 10/0/10
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETCar
ObjectTemplate.setTorque 30.5
ObjectTemplate.setDifferential 40.5
ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.4
ObjectTemplate.setGearChangeTime 0.05
rem *** KubelwagenFrontSpringL ***
ObjectTemplate.create Spring KubelwagenFrontSpringL
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry Kubelwagen_WheelL_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
ObjectTemplate.addTemplate e_wdirtWheel
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 5
rem *** KubelwagenFrontSpringR ***
ObjectTemplate.create Spring KubelwagenFrontSpringR
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry Kubelwagen_WheelR_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
ObjectTemplate.addTemplate e_wdirtWheel
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 5
rem *** KubelwagenBackSpringR ***
ObjectTemplate.create Spring KubelwagenBackSpringR
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry Kubelwagen_WheelR_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
ObjectTemplate.addTemplate e_wdirtWheel
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 5
rem *** KubelwagenBackSpringL ***
ObjectTemplate.create Spring KubelwagenBackSpringL
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry Kubelwagen_WheelL_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
ObjectTemplate.addTemplate e_wdirtWheel
rem -------------------------------------
ObjectTemplate.setStrength 20
ObjectTemplate.setDamping 5