This page is under construction
Archives/bf1942/levels/=F_R=dangerous_canyon.rfa
bf1942/levels/=F_R=dangerous_canyon/Objects/BMW-R35/Physics.con
rem *** BMW-R35Engine ***
ObjectTemplate.create Engine BMW-R35Engine
ObjectTemplate.setNetworkableInfo BMW-R35EngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/BMWEngine.ssc
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R35FrontWheel
ObjectTemplate.setPosition 0/-0.1/0.784

ObjectTemplate.addTemplate BMW-R35BackSpring
ObjectTemplate.setPosition 0/-0.1/-0.774

ObjectTemplate.addTemplate BMW-R352Wheel
ObjectTemplate.setPosition 0/-0.1/0.2
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-2500
ObjectTemplate.setMaxRotation 0/0/7000
ObjectTemplate.setMaxSpeed 0/0/77000
ObjectTemplate.setAcceleration 0/0/56000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETCar
ObjectTemplate.setTorque 6.5
ObjectTemplate.setDifferential 7
ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.4
ObjectTemplate.setGearChangeTime 0.05

rem *** BMW-R35FrontSpring ***
ObjectTemplate.create Spring BMW-R35FrontSpring
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry BMW-R35_wheel_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
rem ObjectTemplate.Grip c_PGFRollGrip
rem ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.setPosition 0/-0.312/0
ObjectTemplate.addTemplate e_wdustWheelF
ObjectTemplate.setPosition 0/-0.312/0
ObjectTemplate.addTemplate e_wdustWheelFrost
ObjectTemplate.setPosition 0/-0.312/0
rem -------------------------------------
ObjectTemplate.setStrength 28
rem 28
ObjectTemplate.setDamping 7

rem *** BMW-R35BackSpring ***
ObjectTemplate.create Spring BMW-R35BackSpring
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry BMW-R35_wheel_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
rem ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.setPosition 0/-0.312/0
ObjectTemplate.addTemplate e_wdustWheelF
ObjectTemplate.setPosition 0/-0.312/0
ObjectTemplate.addTemplate e_wdustWheelFrost
ObjectTemplate.setPosition 0/-0.312/0
rem -------------------------------------
ObjectTemplate.setStrength 28
rem 28
ObjectTemplate.setDamping 7


rem *** BMW-R352Spring ***
ObjectTemplate.create Spring BMW-R352Spring
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry BMW-R35_wheel_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.setStrength 28
rem 25
ObjectTemplate.setDamping 6
ObjectTemplate.createInvisible 1