This page is under construction
Archives/bf1942/levels/Operation_Tanne_Ost_001.rfa
bf1942/levels/Operation_Tanne_Ost/Objects/Vehicles/Land/R75/Objects.con


rem *** R75 ***
ObjectTemplate.create PlayerControlObject R75
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.setNetworkableInfo R75BodyInfo
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 2500
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.exitTimer 0.75
ObjectTemplate.hitpoints 40
ObjectTemplate.maxhitpoints 40
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 10
ObjectTemplate.hpLostWhileCriticalDamage 2
ObjectTemplate.explosionForceMod 20
ObjectTemplate.hpLostWhileUpSideDown 5
ObjectTemplate.hpLostWhileDamageFromWater 5
rem ObjectTemplate.addArmorEffect 30 e_WillyDamage 0/1.7/0
rem ObjectTemplate.addArmorEffect 10 e_WillyFire 0/0.5/0.8
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 R75
rem -------------------------------------
ObjectTemplate.addTemplate lodR75
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.5/0/-0.8 0/0/0
ObjectTemplate.GUIIndex 26
ObjectTemplate.setVehicleIcon "Vehicle/empty.dds"
ObjectTemplate.setVehicleIconPos 65/75
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTR75
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_common_16x16.dds"

rem *** lodR75 ***
ObjectTemplate.create LodObject lodR75
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate R75Complex
ObjectTemplate.addTemplate R75Simple
ObjectTemplate.addTemplate R75Wreck
rem -------------------------------------
ObjectTemplate.lodSelector R75LodSelector


rem *** R75Complex ***
ObjectTemplate.create Bundle R75Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodR75Cockpit
rem ObjectTemplate.setPosition 0/0.6/-0.999
ObjectTemplate.addTemplate R75Camera
ObjectTemplate.setPosition -0.38/0.95/-1
ObjectTemplate.addTemplate R75Seat
ObjectTemplate.setPosition -0.5/.75/-0.25
rem ObjectTemplate.setPosition 0/0/0
rem ObjectTemplate.setPosition -0.399/0.6/-0.75
ObjectTemplate.addTemplate R75Entry
ObjectTemplate.setPosition 0/0/1
ObjectTemplate.addTemplate R75Entry
ObjectTemplate.setPosition 0/0/-1
ObjectTemplate.addTemplate R75PassengerPCO
ObjectTemplate.setPosition 0/0.3/-0.6
ObjectTemplate.addTemplate R75Engine
ObjectTemplate.setPosition 0/0.5/0
ObjectTemplate.addTemplate R75SteeringDummy
ObjectTemplate.setPosition -0.51/0.45/0.55
ObjectTemplate.setRotation 180/-65/180
ObjectTemplate.addTemplate R75Horn
rem -------------------------------------
ObjectTemplate.addTemplate R75_attachRightFoot
ObjectTemplate.setPosition -0.269/0.05/0.1
ObjectTemplate.setRotation -110.068/-5.98/-69.78
ObjectTemplate.addTemplate R75_attachLeftFoot
ObjectTemplate.setPosition -0.699/0.06/0.08
ObjectTemplate.setRotation -80.219/1.859/-84.09

rem *** lodR75Cockpit ***
ObjectTemplate.create LodObject lodR75Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate R75CockpitExternal
ObjectTemplate.addTemplate R75CockpitInternal
ObjectTemplate.setPosition -.015/0/0.1
rem ObjectTemplate.setPosition -0.5/.5/1
rem ObjectTemplate.setRotation 0/-90/0
rem -------------------------------------
ObjectTemplate.lodSelector R75CockpitSelector1


rem *** R75CockpitExternal ***
ObjectTemplate.create SimpleObject R75CockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry R75_cycle_M1


rem *** R75CockpitInternal ***
ObjectTemplate.create Bundle R75CockpitInternal
ObjectTemplate.geometry BMWR75_cycle_1P_M1


rem *** R75CockpitSelector ***
LodSelectorTemplate.create DistCompareSelector R75CockpitSelector1
rem LodSelectorTemplate.create DistanceSelector R75CockpitSelector
LodSelectorTemplate.addLodDistance 3.05
LodSelectorTemplate.addLodComparison 0.5


rem *** R75Camera ***
ObjectTemplate.create Camera R75Camera
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 *** R75Camera2 ***
ObjectTemplate.create Camera R75Camera2
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setContinousRotationSpeed 0/0/0
ObjectTemplate.setInputToYaw c_PINone
ObjectTemplate.setInputToPitch c_PINone
ObjectTemplate.setInputToRoll c_PINone
ObjectTemplate.setHasTarget 0


rem *** R75Seat ***
ObjectTemplate.create SeatObject R75Seat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInHanomag


rem *** R75Entry ***
ObjectTemplate.create EntryPoint R75Entry
ObjectTemplate.setEntryRadius 2.3


rem *** R75PassengerPCO ***
ObjectTemplate.create PlayerControlObject R75PassengerPCO
ObjectTemplate.setNetworkableInfo R75BodyInfo
ObjectTemplate.aiTemplate R75_sideMG
rem -------------------------------------
ObjectTemplate.addTemplate R75Entry
ObjectTemplate.setPosition 0/-0.3/1.6
ObjectTemplate.addTemplate R75Entry
ObjectTemplate.setPosition 0/-0.3/-0.4
ObjectTemplate.addTemplate R75_Browning_console
ObjectTemplate.setPosition 0.15/0.2/0.2
ObjectTemplate.addTemplate R75PassengerSeat
ObjectTemplate.setPosition 0.135/.22/0.131
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 1.5/0/-0.8 0/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.setVehicleIcon "Vehicle/empty.dds"
ObjectTemplate.setVehicleIconPos 35/85
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTScoutCar
ObjectTemplate.setToolTipType TTR75
ObjectTemplate.hasRestrictedExit 1

rem *** R75_Browning_console ***
ObjectTemplate.create Bundle R75_Browning_console
rem -------------------------------------
ObjectTemplate.addTemplate R75_browning_holder
ObjectTemplate.setPosition 0/0/0.3
ObjectTemplate.setRotation 180/0/0
ObjectTemplate.addTemplate R75_browning_assembly
ObjectTemplate.setPosition 0/0.01/0.399


ObjectTemplate.create Bundle R75_browning_holder
ObjectTemplate.geometry R75_MGun_con_M1
rem -------------------------------------


ObjectTemplate.create RotationalBundle R75_browning_assembly
ObjectTemplate.networkableInfo R75TurretInfo
ObjectTemplate.addTemplate R75_browning_hinge
ObjectTemplate.setMinRotation -13/0/0
ObjectTemplate.setMaxRotation 70/0/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setContinousRotationSpeed 0/0/0
ObjectTemplate.setInputToYaw 4
ObjectTemplate.setInputToRoll c_PINone


ObjectTemplate.create RotationalBundle R75_browning_hinge
ObjectTemplate.networkableInfo R75TurretInfo
rem -------------------------------------
ObjectTemplate.addTemplate MG42_unlimited
ObjectTemplate.setPosition 0/0.09/0.2
rem ObjectTemplate.setPosition 0/0.1/-0.799
ObjectTemplate.addTemplate R75Camera2
ObjectTemplate.setPosition 0/0.29/-0.1
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-9/0
ObjectTemplate.setMaxRotation 0/9/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/5000/0
ObjectTemplate.setContinousRotationSpeed 0/0/0
ObjectTemplate.setInputToPitch 5
ObjectTemplate.setInputToRoll c_PINone

rem *** R75PassengerSeat ***
ObjectTemplate.create SeatObject R75PassengerSeat
rem ObjectTemplate.seatFlags c_SeatShowHalfBodySoldier
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInKubelwagen
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInKubelwagen

rem *** R75FrontWheelR ***
ObjectTemplate.create RotationalBundle R75FrontWheelR
ObjectTemplate.setNetworkableInfo R75SteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate R75FrontSpringR
ObjectTemplate.setPosition 0/-0.599/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 *** R75FrontWheelL ***
ObjectTemplate.create RotationalBundle R75FrontWheelL
ObjectTemplate.setNetworkableInfo R75SteeringInfo
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate R75FrontSpringL
ObjectTemplate.setPosition 0/-0.599/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 *** R75SteeringDummy ***
ObjectTemplate.create Bundle R75SteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate R75_forks_M1


rem *** lodR75Steering ***
ObjectTemplate.create LodObject lodR75Steering
rem -------------------------------------
ObjectTemplate.addTemplate R75HighRSteering
ObjectTemplate.setPosition 0/-0.7/-0.5
ObjectTemplate.addTemplate R75LowSteering
ObjectTemplate.setPosition 0/-0.7/-0.5
rem -------------------------------------
ObjectTemplate.lodSelector R75SteeringSelector


rem *** R75HighRSteering ***
ObjectTemplate.create SimpleObject R75HighRSteering
ObjectTemplate.geometry BMWR75_forks_1P_M1


rem *** R75LowSteering ***
ObjectTemplate.create SimpleObject R75LowSteering
ObjectTemplate.geometry BMWR75_forks_M1


LodSelectorTemplate.create DistanceSelector R75SteeringSelector
LodSelectorTemplate.addLodDistance 12


rem *** R75Simple ***
ObjectTemplate.create SimpleObject R75Simple
ObjectTemplate.geometry R75_Hull_L1


rem *** R75Wreck ***
ObjectTemplate.create SimpleObject R75Wreck
ObjectTemplate.geometry Wreck_R75_m1


rem *** R75LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 R75LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135


rem *** Motorcycle forks ***
ObjectTemplate.create RotationalBundle R75_forks_M1
ObjectTemplate.setNetworkableInfo R75SteeringInfo
rem ObjectTemplate.geometry R75_forks_M1
rem -------------------------------------
ObjectTemplate.addTemplate lodR75Steering
ObjectTemplate.setPosition 0/0.7/0.5

ObjectTemplate.addTemplate R75_throttleControl
ObjectTemplate.setPosition 0.4/-0.045/0.345
ObjectTemplate.addTemplate R75_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 R75_throttleControl
rem -------------------------------------
ObjectTemplate.addTemplate R75_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 R75_attachRightHand
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0/0/0 96.633/-37.887/-59.629

ObjectTemplate.create AnimatedBundle R75_attachRightFoot
ObjectTemplate.addSkeletonIK Bip01_R_Foot 0/0/0 0/0/0

ObjectTemplate.create AnimatedBundle R75_attachLeftHand
ObjectTemplate.addSkeletonIK Bip01_L_Hand 0/0/0 76.515/40.205/-38.802
rem ObjectTemplate.addSkeletonIK Bip01_L_Hand 0/0/0 0/0/0

ObjectTemplate.create AnimatedBundle R75_attachLeftFoot
ObjectTemplate.addSkeletonIK Bip01_L_Foot 0/0/0 0/0/0

beginrem
ObjectTemplate.create FireArms HDBrowning
ObjectTemplate.setNetworkableInfo Vehicle_Browning_Info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.geometry HDBro_Body_m1
ObjectTemplate.aiTemplate Browning
ObjectTemplate.projectileTemplate Browning_Projectile
ObjectTemplate.setTracerTemplate Tracer_Projectile CRD_NONE/2/0/0
ObjectTemplate.projectilePosition 0/0/1
ObjectTemplate.magSize 500
ObjectTemplate.numOfMag 1
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 0.1
ObjectTemplate.recoilSpeed 50.0
ObjectTemplate.roundOfFire 10
ObjectTemplate.autoReload 1
ObjectTemplate.addDevFire 0

Rem *** Deviation Begin *****

ObjectTemplate.velocity 1000
ObjectTemplate.setFireDev 0.7 0.3 0.048
ObjectTemplate.setMinDev 0.5

Rem *** Deviation End *****
ObjectTemplate.fireInCameraDof 1
objectTemplate.heatAddWhenFire 0.04
objectTemplate.coolDownPerSec 0.4
objectTemplate.timeDelayOnOverHeat 2

ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.12/0.08/-0.68 -30/80/90
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.12/0.08/-0.68 30/-100/-90

ObjectTemplate.addTemplate e_MuzzHeavy
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/0.1/0.8
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate e_Shell1250mm
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/0.12/0.16
ObjectTemplate.setRotation 0/0/0

rem *** Sound Browning ***
ObjectTemplate.loadSoundScript Sounds/Browning.ssc
endrem