This page is under construction
Archives/bf1942/levels/=F_R=dangerous_canyon.rfa
bf1942/levels/=F_R=dangerous_canyon/Objects/BMW-R35/Objects.con
rem *** BMW-R35 ***
ObjectTemplate.create PlayerControlObject BMW-R35
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo BMW-R35BodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.damageFromWater 1
ObjectTemplate.drag 1.5
ObjectTemplate.mass 2000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 1000
ObjectTemplate.maxhitpoints 1000
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 10
ObjectTemplate.hpLostWhileCriticalDamage 2
ObjectTemplate.explosionForceMod 20
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.addArmorEffect 30 e_mbikeDamage -0.5/1.5/-1
ObjectTemplate.addArmorEffect 10 e_mbikeFire -0.5/0.5/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/1.2/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.aiTemplate BMW-R35
rem -------------------------------------
ObjectTemplate.addTemplate lodBMW-R35
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.5/0/-0.8 0/0/0
ObjectTemplate.GUIIndex 26
ObjectTemplate.setVehicleIcon "Vehicle/Icon_BMW-R35.tga"
ObjectTemplate.setVehicleIconPos 65/75
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTScoutCar
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_motorcycle_16x16.dds"

rem *** lodBMW-R35 ***
ObjectTemplate.create LodObject lodBMW-R35
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R35Complex
ObjectTemplate.addTemplate BMW-R35Simple
ObjectTemplate.addTemplate BMW-R35Wreck
rem -------------------------------------
ObjectTemplate.lodSelector BMW-R35LodSelector


rem *** BMW-R35Complex ***
ObjectTemplate.create Bundle BMW-R35Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodBMW-R35Cockpit
ObjectTemplate.addTemplate BMW-R35Entry
ObjectTemplate.setPosition 0/0/1
ObjectTemplate.addTemplate BMW-R35Entry
ObjectTemplate.setPosition 0/0/-1

ObjectTemplate.addTemplate BMW-R35Seat
ObjectTemplate.setPosition 0/0.75/-0.25
ObjectTemplate.addTemplate BMW-R35_attachRightFoot
ObjectTemplate.setPosition 0.215/0.05/-0.05
ObjectTemplate.setRotation -110.068/-5.98/-69.78
ObjectTemplate.addTemplate BMW-R35_attachLeftFoot
ObjectTemplate.setPosition -0.215/0.06/-0.05
ObjectTemplate.setRotation -80.219/1.859/-84.09

ObjectTemplate.addTemplate BMW-R35Camera
ObjectTemplate.setPosition 0/0.95/-1

ObjectTemplate.addTemplate BMW-R35Engine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate BMW-R35SteeringDummy
ObjectTemplate.setPosition 0/0.434/0.585
ObjectTemplate.setRotation 0/-115/0
ObjectTemplate.addTemplate BMW-R35Horn
ObjectTemplate.addTemplate BMW-R35FrontUp
ObjectTemplate.setPosition 0/-0.2/0.8
ObjectTemplate.setRotation 0/90/0

ObjectTemplate.addTemplate BMW-R35PassengerPCO
ObjectTemplate.setPosition 0/0.05/-0.6
rem -------------------------------------


rem *** lodBMW-R35Cockpit ***
ObjectTemplate.create LodObject lodBMW-R35Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R35CockpitExternal
ObjectTemplate.addTemplate BMW-R35CockpitInternal
ObjectTemplate.setPosition 0/0/0.1
rem -------------------------------------
ObjectTemplate.lodSelector BMW-R35CockpitSelector1


rem *** BMW-R35CockpitExternal ***
ObjectTemplate.create SimpleObject BMW-R35CockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry BMW-R35_cycle_M1


rem *** BMW-R35CockpitInternal ***
ObjectTemplate.create Bundle BMW-R35CockpitInternal
ObjectTemplate.geometry BMW-R35_cycle_1P_M1


rem *** BMW-R35CockpitSelector ***
LodSelectorTemplate.create DistCompareSelector BMW-R35CockpitSelector1
LodSelectorTemplate.addLodDistance 3.05
LodSelectorTemplate.addLodComparison 0.5


rem *** BMW-R35Camera ***
ObjectTemplate.create Camera BMW-R35Camera
ObjectTemplate.setMinRotation -110/-40/0
ObjectTemplate.setMaxRotation 110/10/0
ObjectTemplate.setPivotPosition 0/0.25/0.3
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem *** BMW-R35Seat ***
ObjectTemplate.create SeatObject BMW-R35Seat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInHanomag


rem *** BMW-R35Entry ***
ObjectTemplate.create EntryPoint BMW-R35Entry
ObjectTemplate.setEntryRadius 2.3


rem *** BMW-R35FrontWheel ***
ObjectTemplate.create RotationalBundle BMW-R35FrontWheel
ObjectTemplate.setNetworkableInfo BMW-R35SteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R35FrontSpring
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -30/0/0
ObjectTemplate.setMaxRotation 30/0/0
ObjectTemplate.setMaxSpeed 200/0/0
ObjectTemplate.setAcceleration 200/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1

rem *** BMW-R352Wheel ***
ObjectTemplate.create RotationalBundle BMW-R352Wheel
ObjectTemplate.setNetworkableInfo BMW-R35SteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R352Spring
ObjectTemplate.setPosition 0.55/0/0
ObjectTemplate.addTemplate BMW-R352Spring
ObjectTemplate.setPosition -0.55/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -30/0/-20
ObjectTemplate.setMaxRotation 30/0/20
ObjectTemplate.setMaxSpeed 70/0/30
ObjectTemplate.setAcceleration 70/0/30
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1



rem *** BMW-R35SteeringDummy ***
ObjectTemplate.create Bundle BMW-R35SteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R35_forks_M1


rem *** lodBMW-R35Steering ***
ObjectTemplate.create LodObject lodBMW-R35Steering
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R35HighRSteering
ObjectTemplate.setPosition 0/-0.7/-0.5
ObjectTemplate.addTemplate BMW-R35LowSteering
ObjectTemplate.setPosition 0/-0.7/-0.5
rem -------------------------------------
ObjectTemplate.lodSelector BMW-R35SteeringSelector


rem *** BMW-R35HighRSteering ***
ObjectTemplate.create SimpleObject BMW-R35HighRSteering
ObjectTemplate.geometry BMW-R35_forks_1P_M1


rem *** BMW-R35LowSteering ***
ObjectTemplate.create SimpleObject BMW-R35LowSteering
ObjectTemplate.geometry BMW-R35_forks_M1


LodSelectorTemplate.create DistanceSelector BMW-R35SteeringSelector
LodSelectorTemplate.addLodDistance 12


rem *** BMW-R35Simple ***
ObjectTemplate.create SimpleObject BMW-R35Simple
ObjectTemplate.geometry BMW-R35_Hull_L1


rem *** BMW-R35Wreck ***
ObjectTemplate.create SimpleObject BMW-R35Wreck
ObjectTemplate.geometry Wreck_BMW-R35_m1


rem *** BMW-R35LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 BMW-R35LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135


rem *** Motorcycle forks ***
ObjectTemplate.create RotationalBundle BMW-R35_forks_M1
ObjectTemplate.setNetworkableInfo BMW-R35SteeringInfo
rem ObjectTemplate.geometry BMW-R35_forks_M1
rem -------------------------------------
ObjectTemplate.addTemplate lodBMW-R35Steering
ObjectTemplate.setPosition 0/0.7/0.5

ObjectTemplate.addTemplate BMW-R35_throttleControl
ObjectTemplate.setPosition 0.4/-0.045/0.345
ObjectTemplate.addTemplate BMW-R35_attachLeftHand
ObjectTemplate.setPosition -0.344/-0.045/0.345
rem -------------------------------------
ObjectTemplate.setHasCollisionPhysics 0
ObjectTemplate.setMinRotation 0/0/-30
ObjectTemplate.setMaxRotation 0/0/30
ObjectTemplate.setMaxSpeed 0/0/200
ObjectTemplate.setAcceleration 0/0/200
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1
rem -------------------------------------

ObjectTemplate.create RotationalBundle BMW-R35_throttleControl
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R35_attachRightHand
rem -------------------------------------
ObjectTemplate.setMinRotation -10/0/0
ObjectTemplate.setMaxRotation 30/0/0
ObjectTemplate.setMaxSpeed 200/0/0
ObjectTemplate.setAcceleration 200/0/0
ObjectTemplate.setInputToYaw c_PIThrottle
ObjectTemplate.setAutomaticReset 1

ObjectTemplate.create AnimatedBundle BMW-R35_attachRightHand
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0/0/0 96.633/-37.887/-59.629

ObjectTemplate.create AnimatedBundle BMW-R35_attachRightFoot
ObjectTemplate.addSkeletonIK Bip01_R_Foot 0/0/0 0/0/0

ObjectTemplate.create AnimatedBundle BMW-R35_attachLeftHand
ObjectTemplate.addSkeletonIK Bip01_L_Hand 0/0/0 76.515/40.205/-38.802

ObjectTemplate.create AnimatedBundle BMW-R35_attachLeftFoot
ObjectTemplate.addSkeletonIK Bip01_L_Foot 0/0/0 0/0/0

ObjectTemplate.create AnimatedBundle BMW-R35HandDummy
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.3/0.2/0.6 0/180/90
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.3/0.2/0.6 0/0/-90

rem *** BMW-R35PassengerPCO ***
ObjectTemplate.create PlayerControlObject BMW-R35PassengerPCO
ObjectTemplate.setNetworkableInfo BMW-R35BodyInfo
ObjectTemplate.aiTemplate BMW-R35Passenger
rem -------------------------------------
ObjectTemplate.addTemplate BMW-R35Entry
ObjectTemplate.setPosition 0/0/1
ObjectTemplate.addTemplate BMW-R35Entry
ObjectTemplate.setPosition 0/0/-1
ObjectTemplate.addTemplate BMW-R35Seat
ObjectTemplate.setPosition 0/0.75/-0.25
ObjectTemplate.addTemplate BMW-R35HandDummy
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate BMW-R35_attachRightFoot
ObjectTemplate.setPosition 0.215/0.05/-0.05
ObjectTemplate.setRotation -110.068/-5.98/-69.78
ObjectTemplate.addTemplate BMW-R35_attachLeftFoot
ObjectTemplate.setPosition -0.215/0.06/-0.05
ObjectTemplate.setRotation -80.219/1.859/-84.09
ObjectTemplate.addTemplate BMW-R35Camera
ObjectTemplate.setPosition 0/0.95/-1
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.5/0/-0.8 0/0/0
ObjectTemplate.GUIIndex 26
ObjectTemplate.setVehicleIcon "Vehicle/Icon_BMW-R35.tga"
ObjectTemplate.setVehicleIconPos 41/54
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTScoutCar
ObjectTemplate.hasRestrictedExit 1