This page is under construction
Archives/bf1942/levels/Husky.rfa
bf1942/levels/Husky/Objects/SemoventeM40/Physics.con


rem *** SemoventeM40Engine ***
ObjectTemplate.create Engine SemoventeM40Engine
ObjectTemplate.setNetworkableInfo SemoventeM40EngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/m13_40Engine.ssc
ObjectTemplate.hasMobilePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate m13_40_Track_Left
ObjectTemplate.setPosition -0.5/0/0
ObjectTemplate.addTemplate m13_40_Track_Right
ObjectTemplate.setPosition 0.5/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -1/0/-1
ObjectTemplate.setMaxRotation 1/0/1
ObjectTemplate.setMaxSpeed 5/0/15
ObjectTemplate.setAcceleration 5/0/10
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETTank
ObjectTemplate.setTorque 2.66
ObjectTemplate.setDifferential 2.82
ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.45
ObjectTemplate.setGearChangeTime 0.05

rem *** m13_40_LwheelDummy ***
ObjectTemplate.create Spring m13_40_LwheelDummy
ObjectTemplate.geometry m13_40_Lwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** m13_40_Lwheel ***
ObjectTemplate.create Spring m13_40_Lwheel
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry m13_40_Lwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setStrength 18
ObjectTemplate.setDamping 4

rem *** m13_40_Lwheel_small ***
ObjectTemplate.create Spring m13_40_Lwheel_small
ObjectTemplate.geometry m13_40_Lwheel_small_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** m13_40_LwheelDummySmoke ***
ObjectTemplate.create Spring m13_40_LwheelDummySmoke
ObjectTemplate.geometry m13_40_Lwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustPanzL
ObjectTemplate.addTemplate e_wdustPanz
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** m13_40_FrontLeftwheel ***
ObjectTemplate.create Spring m13_40_FrontLeftwheel
ObjectTemplate.geometry m13_40_FLwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** m13_40_RearLeftwheel ***
ObjectTemplate.create Spring m13_40_RearLeftwheel
ObjectTemplate.geometry m13_40_RLwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem -------------------------------------
rem -------------------------------------
rem -------------------------------------

rem *** m13_40_RwheelDummy ***
ObjectTemplate.create Spring m13_40_RwheelDummy
ObjectTemplate.geometry m13_40_Rwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** m13_40_Rwheel ***
ObjectTemplate.create Spring m13_40_Rwheel
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry m13_40_Rwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setStrength 18
ObjectTemplate.setDamping 4

rem *** m13_40_Rwheel_small ***
ObjectTemplate.create Spring m13_40_Rwheel_small
ObjectTemplate.geometry m13_40_Rwheel_small_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** m13_40_RwheelDummySmoke ***
ObjectTemplate.create Spring m13_40_RwheelDummySmoke
ObjectTemplate.geometry m13_40_Rwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustPanzL
ObjectTemplate.addTemplate e_wdustPanz
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** m13_40_FrontRightwheel ***
ObjectTemplate.create Spring m13_40_FrontRightwheel
ObjectTemplate.geometry m13_40_FRwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0

rem *** m13_40_RearRightwheel ***
ObjectTemplate.create Spring m13_40_RearRightwheel
ObjectTemplate.geometry m13_40_RRwheel_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0