This page is under construction
Archives/bf1942/levels/aragon-1938.rfa
bf1942/levels/aragon-1938/Objects/maxim/Physics.con
rem *** Engine maximEngine ***
ObjectTemplate.create Engine maximEngine
ObjectTemplate.setNetworkableInfo maximEngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.hasMobilePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate maximInvis_Whel
ObjectTemplate.setPosition -0.963/-0.1/2
ObjectTemplate.addTemplate maximInvis_Whel
ObjectTemplate.setPosition 0.963/-0.1/2

ObjectTemplate.addTemplate maxim_WheelL
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate maxim_WheelR
ObjectTemplate.setPosition 0/0/0

ObjectTemplate.addTemplate maximInvis_Whel
ObjectTemplate.setPosition -0.963/-0.1/-2
ObjectTemplate.addTemplate maximInvis_Whel
ObjectTemplate.setPosition 0.963/-0.1/-2
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
rem mobile gun
ObjectTemplate.setTorque 100
rem ObjectTemplate.setTorque 10
ObjectTemplate.setDifferential 1.36
rem mobile gun
rem ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.45
ObjectTemplate.setGearChangeTime 0.05

rem *** maxim_GunnerTraverseEngine ***
ObjectTemplate.create Engine maximTraverseEngine
ObjectTemplate.loadSoundScript ../Common/Sounds/Traverse_Lightgun.ssc
ObjectTemplate.setNetworkableInfo Zis2mobileEngineInfo
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-1
ObjectTemplate.setMaxRotation 0/0/1
ObjectTemplate.setMaxSpeed 0/0/10
ObjectTemplate.setAcceleration 0/0/10
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.RememberExcessInput 0
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 3.0
ObjectTemplate.setDifferential 1.0

rem *** maxim_WheelL ***
ObjectTemplate.create Spring maxim_WheelL
ObjectTemplate.geometry maxim_wheelL_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
ObjectTemplate.addTemplate e_wdirtWheel
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** maxim_WhelR ***
ObjectTemplate.create Spring maxim_WheelR
ObjectTemplate.geometry maxim_wheelR_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
ObjectTemplate.addTemplate e_wdirtWheel
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** maximInvis_Whel ***
ObjectTemplate.create Spring maximInvis_Whel
ObjectTemplate.geometry maxim_wheelR
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.CreateInvisible 1
rem -------------------------------------
ObjectTemplate.setStrength 25
ObjectTemplate.setDamping 2.5