This page is under construction
archives/bf1942/levels/fht_operation_torch-1942.rfa
bf1942/levels/fht_operation_torch-1942/Objects/M3A1GB/Objects.con
Var v_is_coop
console.useRelativePaths 0
run bf1942/game/is_coop.con
console.useRelativePaths 1
rem *** M3A1Halftrack ***
ObjectTemplate.create PlayerControlObject M3A1GB
ObjectTemplate.NameTagOffset 0/-0.4/1
ObjectTemplate.setNetworkableInfo M3A1HalftrackBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 3
ObjectTemplate.explosionDamage 2
ObjectTemplate.exitTimer 1
ObjectTemplate.drag 1.8
ObjectTemplate.mass 10000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.hitpoints 150
ObjectTemplate.maxhitpoints 150
ObjectTemplate.material 30
ObjectTemplate.criticalDamage 10
if v_is_coop == True
ObjectTemplate.hpLostWhileCriticalDamage 1
else
ObjectTemplate.hpLostWhileCriticalDamage 0
endIf
ObjectTemplate.explosionForceMod 13
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 50 e_M3a1Damage 0/0.5/2.5
ObjectTemplate.addArmorEffect 10 e_M3a1Fire 0/0.7/3
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.timetoliveafterdeath 25
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.damageFromWater 0
ObjectTemplate.aiTemplate M3A1Halftrack
rem -------------------------------------
ObjectTemplate.addTemplate lodM3A1Halftrack
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 22
ObjectTemplate.submarineData 1 0.03 10.0 1.5 1.8 1.0 5
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 40/81
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_MG42deploy.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
ObjectTemplate.hasRestrictedExit 1
rem *** lodM3A1Halftrack ***
ObjectTemplate.create LodObject lodM3A1Halftrack
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackComplex
ObjectTemplate.addTemplate M3A1HalftrackSimple
ObjectTemplate.addTemplate M3A1HalftrackWreck
rem -------------------------------------
ObjectTemplate.lodSelector M3A1HalftrackLodSelector
rem *** M3A1HalftrackComplex ***
ObjectTemplate.create Bundle M3A1HalftrackComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodM3A1HalftrackCockpit
ObjectTemplate.addTemplate M3A1HalftrackSeat
ObjectTemplate.setPosition -0.45647/0.175236/0.775697
ObjectTemplate.addTemplate M3A1HalftrackCamera
ObjectTemplate.setPosition -0.486714/0.620351/0.670119
ObjectTemplate.addTemplate M3A1HalftrackEntry
ObjectTemplate.setPosition 0/0.13/2
ObjectTemplate.addTemplate M3A1HalftrackEntry
ObjectTemplate.setPosition 0.0/0.13/0
ObjectTemplate.addTemplate M3A1HalftrackBrowning_PCO1
ObjectTemplate.setPosition 0.5/1.25/0.67
ObjectTemplate.addTemplate M3A1HalftrackSupplyDepot
ObjectTemplate.setPosition 0/0/-1.1
ObjectTemplate.addTemplate M3A1Halftrack_Passanger_PCO2
ObjectTemplate.addTemplate M3A1Halftrack_Passanger_PCO3
ObjectTemplate.addTemplate M3A1Halftrack_Passanger_PCO4
ObjectTemplate.addTemplate M3A1Halftrack_Passanger_PCO5
ObjectTemplate.addTemplate M3A1HalftrackWheel1
ObjectTemplate.setPosition -0.45/0.15/3
ObjectTemplate.addTemplate M3A1HalftrackWheel1
ObjectTemplate.setPosition 0.45/0.15/3
ObjectTemplate.setRotation -180/0/0
ObjectTemplate.addTemplate M3A1HalftrackEngine
ObjectTemplate.addTemplate M3A1HalftrackSteeringDummy
ObjectTemplate.setPosition -0.496096/-0.0529948/1.69605
ObjectTemplate.setRotation 0.0/45.0/0.0
ObjectTemplate.addTemplate M3A1GBGunBarrel
ObjectTemplate.setPosition 0/0.0/-3.5
ObjectTemplate.setRotation 180/0/0
rem -------------------------------------
rem *** lodM3A1HalftrackCockpit ***
ObjectTemplate.create LodObject lodM3A1HalftrackCockpit
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackCockpitExternal
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate M3A1HalftrackCockpitInternal
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.lodSelector M3A1HalftrackCockpitSelector
rem *** M3A1HalftrackCockpitExternal ***
ObjectTemplate.create SimpleObject M3A1HalftrackCockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry M3A1Halftrack_Hull_M1
rem *** M3A1HalftrackCockpitInternal ***
ObjectTemplate.create SimpleObject M3A1HalftrackCockpitInternal
ObjectTemplate.geometry M3A1Halftrack_1P_M1
rem *** M3A1HalftrackCockpitSelector ***
LodSelectorTemplate.create DistCompareSelector M3A1HalftrackCockpitSelector
LodSelectorTemplate.addLodDistance 3
LodSelectorTemplate.addLodComparison 0.5
rem *** M3A1HalftrackSeat ***
ObjectTemplate.create SeatObject M3A1HalftrackSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
rem *** M3A1HalftrackCamera ***
ObjectTemplate.create Camera M3A1HalftrackCamera
ObjectTemplate.setMinRotation -115/-25/0
ObjectTemplate.setMaxRotation 115/20/0
ObjectTemplate.setPivotPosition 0/0.15/0.2
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** M3A1HalftrackEntry ***
ObjectTemplate.create EntryPoint M3A1HalftrackEntry
ObjectTemplate.setEntryRadius 3.5
rem *** M3A1HalftrackBrowning_PCO1 ***
ObjectTemplate.create PlayerControlObject M3A1HalftrackBrowning_PCO1
ObjectTemplate.setNetworkableInfo M3A1HalftrackBodyInfo
ObjectTemplate.aiTemplate M3A1HalftrackTopMG
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry
ObjectTemplate.setPosition -0.5/-1.12/1.33
ObjectTemplate.addTemplate M3A1HalftrackEntry
ObjectTemplate.setPosition -0.5/-1.12/-0.67
ObjectTemplate.addTemplate M3A1HalftrackBrowning_Holder
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.5/-1.249/-0.667 180/0/0
ObjectTemplate.GUIIndex 23
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 30/70
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
ObjectTemplate.hasRestrictedExit 1
rem *** M3A1HalftrackBrowning_Holder ***
ObjectTemplate.create RotationalBundle M3A1HalftrackBrowning_Holder
ObjectTemplate.setNetworkableInfo M3A1HalftrackBrowningHolderInfo
ObjectTemplate.loadSoundScript Sounds/M3A1HalftrackTurret.ssc
ObjectTemplate.geometry M3A1Halftrack_Browning_console_M1
rem -------------------------------------
ObjectTemplate.addTemplate M3A1Halftrack_Browning_console
ObjectTemplate.setPosition 0/0.129/-0.709
ObjectTemplate.addTemplate M3A1HalftrackBrowningSeat
ObjectTemplate.setPosition 0/-0.4/0
ObjectTemplate.setRotation -180/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition 0/-0.4/0
ObjectTemplate.setRotation -180/0/0
rem -------------------------------------
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1
rem *** M3A1Halftrack_Browning_console ***
ObjectTemplate.create RotationalBundle M3A1Halftrack_Browning_console
ObjectTemplate.setNetworkableInfo M3A1HalftrackBrowningConsoleInfo
ObjectTemplate.geometry M3A1Halftrack_MGun_mount_M1
rem -------------------------------------
ObjectTemplate.addTemplate BrenV
ObjectTemplate.setPosition 0/0.1/0.0
ObjectTemplate.setRotation -180/0/0
ObjectTemplate.addTemplate M3A1HalftrackCamera2
ObjectTemplate.setPosition -0.1/0/-0.5
ObjectTemplate.setRotation -180/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-6/0
ObjectTemplate.setMaxRotation 0/45/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/-5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1
rem *** M3A1HalftrackCamera2 ***
ObjectTemplate.create Camera M3A1HalftrackCamera2
ObjectTemplate.setPivotPosition 0/0.3/-1
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** M3A1HalftrackBrowningSeat ***
ObjectTemplate.create SeatObject M3A1HalftrackBrowningSeat
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
rem *** M3A1HalftrackFrontDoor ***
rem ObjectTemplate.create RotationalBundle M3A1HalftrackFrontDoor
rem ObjectTemplate.geometry M3A1Halftrack_Door1_M1
rem ObjectTemplate.setMaxSpeed 60/60/60
rem *** M3A1HalftrackBackDoor ***
rem ObjectTemplate.create RotationalBundle M3A1HalftrackBackDoor
rem ObjectTemplate.geometry M3A1Halftrack_Door2_M1
rem ObjectTemplate.setMaxSpeed 60/60/60
rem *** M3A1HalftrackSupplyDepot ***
ObjectTemplate.create SupplyDepot M3A1HalftrackSupplyDepot
ObjectTemplate.radius 1.3
ObjectTemplate.team 0
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 1 100 15 0
ObjectTemplate.addAmmoType 2 4 1.2 0
ObjectTemplate.addAmmoType 3 4 1.2 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc
rem *** M3A1Halftrack_Passanger_PCO2 ***
ObjectTemplate.create PlayerControlObject M3A1Halftrack_Passanger_PCO2
ObjectTemplate.NameTagOffset 0/0.2/0
ObjectTemplate.setNetworkableInfo M3A1HalftrackPassengerInfo
ObjectTemplate.aiTemplate M3A1HalftrackPassenger3
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry3
ObjectTemplate.setPosition 0/0/-2.599
ObjectTemplate.addTemplate M3A1HalftrackPassangerCamera
ObjectTemplate.setPosition -0.549/0.65/-0.299
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M3A1HalftrackPassengerSeat
ObjectTemplate.setPosition -0.549/0.85/-0.299
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition -0.549/0.85/-0.299
ObjectTemplate.setRotation 90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/-3.2 180/0/0
ObjectTemplate.GUIIndex 48
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 39/53
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
rem *** M3A1HalftrackEntry3 ***
ObjectTemplate.create EntryPoint M3A1HalftrackEntry3
ObjectTemplate.setEntryRadius 2.6
spawnPointManager.group 74
spawnPointManager.groupTeam 2
spawnPointManager.groupIcon test1.tga
rem *** M3A1_SoldierSpawn ***
ObjectTemplate.create SpawnPoint M3A1_SoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 54
ObjectTemplate.setGroup 74
ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
rem *** M3A1HalftrackPassangerCamera ***
ObjectTemplate.create Camera M3A1HalftrackPassangerCamera
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 500/0/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMenuSelect3
ObjectTemplate.setInputToRoll c_PIMenuSelect3
rem *** M3A1HalftrackPassengerSeat ***
ObjectTemplate.create SeatObject M3A1HalftrackPassengerSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInM3a1
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInM3a1
rem *** M3A1Halftrack_Passanger_PCO3 ***
ObjectTemplate.create PlayerControlObject M3A1Halftrack_Passanger_PCO3
ObjectTemplate.NameTagOffset 0/0.4/0
ObjectTemplate.setNetworkableInfo M3A1HalftrackPassengerInfo
ObjectTemplate.aiTemplate M3A1HalftrackPassenger4
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry3
ObjectTemplate.setPosition 0/0/-2.599
ObjectTemplate.addTemplate M3A1HalftrackPassangerCamera
ObjectTemplate.setPosition 0.55/0.65/-0.829
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M3A1HalftrackPassengerSeat
ObjectTemplate.setPosition 0.55/0.85/-0.829
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition 0.55/0.85/-0.829
ObjectTemplate.setRotation -89.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/-3.2 180/0/0
ObjectTemplate.GUIIndex 49
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 22/59
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
rem *** M3A1Halftrack_Passanger_PCO4 ***
ObjectTemplate.create PlayerControlObject M3A1Halftrack_Passanger_PCO4
ObjectTemplate.NameTagOffset 0/0.6/0
ObjectTemplate.setNetworkableInfo M3A1HalftrackPassengerInfo
ObjectTemplate.aiTemplate M3A1HalftrackPassenger5
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry3
ObjectTemplate.setPosition 0/0/-2.599
ObjectTemplate.addTemplate M3A1HalftrackPassangerCamera
ObjectTemplate.setPosition -0.549/0.65/-1.359
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M3A1HalftrackPassengerSeat
ObjectTemplate.setPosition -0.549/0.85/-1.359
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition -0.549/0.85/-1.359
ObjectTemplate.setRotation 90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/-3.2 180/0/0
ObjectTemplate.GUIIndex 50
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 32/46
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
rem *** M3A1Halftrack_Passanger_PCO5 ***
ObjectTemplate.create PlayerControlObject M3A1Halftrack_Passanger_PCO5
ObjectTemplate.NameTagOffset 0/0.8/0
ObjectTemplate.setNetworkableInfo M3A1HalftrackPassengerInfo
ObjectTemplate.aiTemplate M3A1HalftrackPassenger6
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry3
ObjectTemplate.setPosition 0/0/-2.599
ObjectTemplate.addTemplate M3A1HalftrackPassangerCamera
ObjectTemplate.setPosition 0.55/0.65/-1.899
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M3A1HalftrackPassengerSeat
ObjectTemplate.setPosition 0.55/0.85/-1.899
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition 0.55/0.85/-1.899
ObjectTemplate.setRotation -89.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/-3.2 180/0/0
ObjectTemplate.GUIIndex 51
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 16/50
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
rem *** M3A1HalftrackWheel1 ***
ObjectTemplate.create RotationalBundle M3A1HalftrackWheel1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackSpring1
ObjectTemplate.setPosition -0.299/-0.999/0
rem -------------------------------------
ObjectTemplate.setMinRotation -40/0/0
ObjectTemplate.setMaxRotation 40/0/0
ObjectTemplate.setMaxSpeed 80/0/0
ObjectTemplate.setAcceleration 80/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1
rem *** M3A1HalftrackTrackL ***
ObjectTemplate.create AnimatedBundle M3A1HalftrackTrackL
ObjectTemplate.loadSoundScript Sounds/M3A1HalftrackTrack.ssc
ObjectTemplate.geometry M3A1HalftrackTrackL
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/M3A1.ske
ObjectTemplate.setAnimatedTextureSpeed 0.01/0
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackWheel4Left
ObjectTemplate.setPosition -0.974/-0.519/0.6
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4Right
ObjectTemplate.setPosition 0.975/-0.519/0.6
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4LeftDummy
ObjectTemplate.setPosition -0.974/-0.519/0.3
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4RightDummy
ObjectTemplate.setPosition 0.975/-0.519/0.3
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4LeftBack
ObjectTemplate.setPosition -0.974/-0.519/-0.499
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4RightBack
ObjectTemplate.setPosition 0.975/-0.519/-0.499
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4Left
ObjectTemplate.setPosition -0.974/-0.519/-0.799
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4Right
ObjectTemplate.setPosition 0.975/-0.519/-0.799
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel2
ObjectTemplate.setPosition -0.999/0.18/1.08
ObjectTemplate.addTemplate M3A1HalftrackWheel2
ObjectTemplate.setPosition 1/0.18/1.08
ObjectTemplate.addTemplate M3A1HalftrackWheel2
ObjectTemplate.setPosition -0.999/0.15/-1.189
ObjectTemplate.addTemplate M3A1HalftrackWheel2
ObjectTemplate.setPosition 1/0.15/-1.189
ObjectTemplate.addTemplate M3A1HalftrackWheel3
ObjectTemplate.setPosition -1.089/0.4/-0.074
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0
ObjectTemplate.addTemplate M3A1HalftrackWheel3
ObjectTemplate.setPosition 1.09/0.4/-0.074
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0
rem -------------------------------------
rem ***************Added Steering******************Rad
rem *** M3A1HalftrackSteeringDummy ***
ObjectTemplate.create AnimatedBundle M3A1HalftrackSteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackSteering
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.24/-0.1/-0.82 -80/60/50
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.26/-0.1/-0.82 -80/-60/50
rem *** M3A1HalftrackSteering ***
ObjectTemplate.create RotationalBundle M3A1HalftrackSteering
ObjectTemplate.setNetworkableInfo M3A1HalftrackSteeringInfo
rem -------------------------------------
ObjectTemplate.addTemplate lodM3A1HalftrackSteering
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-60
ObjectTemplate.setMaxRotation 0/0/60
ObjectTemplate.setMaxSpeed 0/0/180
ObjectTemplate.setAcceleration 0/0/-180
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1
rem *** lodM3A1HalftrackSteering ***
ObjectTemplate.create LodObject lodM3A1HalftrackSteering
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackHighRSteering
ObjectTemplate.addTemplate M3A1HalftrackLowSteering
rem -------------------------------------
ObjectTemplate.lodSelector M3A1HalftrackSteeringSelector
rem *** M3A1HalftrackHighRSteering ***
ObjectTemplate.create SimpleObject M3A1HalftrackHighRSteering
ObjectTemplate.geometry M3A1Halftrack_1P_Steering_M1
rem *** M3A1HalftrackLowSteering ***
ObjectTemplate.create SimpleObject M3A1HalftrackLowSteering
ObjectTemplate.geometry M3A1Halftrack_Steering_M1
rem *** M3A1HalftrackSteeringSelector ***
LodSelectorTemplate.create DistanceSelector M3A1HalftrackSteeringSelector
LodSelectorTemplate.addLodDistance 10
rem *****************End Added Steering ***************Rad
rem *** M3A1HalftrackSimple ***
ObjectTemplate.create SimpleObject M3A1HalftrackSimple
ObjectTemplate.geometry M3A1Halftrack_Hull_L1
rem *** M3A1HalftrackWreck ***
ObjectTemplate.create SimpleObject M3A1HalftrackWreck
ObjectTemplate.geometry Wreck_M3A1Halftrack_m1
rem *** M3A1HalftrackLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 M3A1HalftrackLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135
console.useRelativePaths 0
run bf1942/game/is_coop.con
console.useRelativePaths 1
rem *** M3A1Halftrack ***
ObjectTemplate.create PlayerControlObject M3A1GB
ObjectTemplate.NameTagOffset 0/-0.4/1
ObjectTemplate.setNetworkableInfo M3A1HalftrackBodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 3
ObjectTemplate.explosionDamage 2
ObjectTemplate.exitTimer 1
ObjectTemplate.drag 1.8
ObjectTemplate.mass 10000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 1
ObjectTemplate.hitpoints 150
ObjectTemplate.maxhitpoints 150
ObjectTemplate.material 30
ObjectTemplate.criticalDamage 10
if v_is_coop == True
ObjectTemplate.hpLostWhileCriticalDamage 1
else
ObjectTemplate.hpLostWhileCriticalDamage 0
endIf
ObjectTemplate.explosionForceMod 13
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 50 e_M3a1Damage 0/0.5/2.5
ObjectTemplate.addArmorEffect 10 e_M3a1Fire 0/0.7/3
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.timetoliveafterdeath 25
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.damageFromWater 0
ObjectTemplate.aiTemplate M3A1Halftrack
rem -------------------------------------
ObjectTemplate.addTemplate lodM3A1Halftrack
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 22
ObjectTemplate.submarineData 1 0.03 10.0 1.5 1.8 1.0 5
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 40/81
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_MG42deploy.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
ObjectTemplate.hasRestrictedExit 1
rem *** lodM3A1Halftrack ***
ObjectTemplate.create LodObject lodM3A1Halftrack
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackComplex
ObjectTemplate.addTemplate M3A1HalftrackSimple
ObjectTemplate.addTemplate M3A1HalftrackWreck
rem -------------------------------------
ObjectTemplate.lodSelector M3A1HalftrackLodSelector
rem *** M3A1HalftrackComplex ***
ObjectTemplate.create Bundle M3A1HalftrackComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodM3A1HalftrackCockpit
ObjectTemplate.addTemplate M3A1HalftrackSeat
ObjectTemplate.setPosition -0.45647/0.175236/0.775697
ObjectTemplate.addTemplate M3A1HalftrackCamera
ObjectTemplate.setPosition -0.486714/0.620351/0.670119
ObjectTemplate.addTemplate M3A1HalftrackEntry
ObjectTemplate.setPosition 0/0.13/2
ObjectTemplate.addTemplate M3A1HalftrackEntry
ObjectTemplate.setPosition 0.0/0.13/0
ObjectTemplate.addTemplate M3A1HalftrackBrowning_PCO1
ObjectTemplate.setPosition 0.5/1.25/0.67
ObjectTemplate.addTemplate M3A1HalftrackSupplyDepot
ObjectTemplate.setPosition 0/0/-1.1
ObjectTemplate.addTemplate M3A1Halftrack_Passanger_PCO2
ObjectTemplate.addTemplate M3A1Halftrack_Passanger_PCO3
ObjectTemplate.addTemplate M3A1Halftrack_Passanger_PCO4
ObjectTemplate.addTemplate M3A1Halftrack_Passanger_PCO5
ObjectTemplate.addTemplate M3A1HalftrackWheel1
ObjectTemplate.setPosition -0.45/0.15/3
ObjectTemplate.addTemplate M3A1HalftrackWheel1
ObjectTemplate.setPosition 0.45/0.15/3
ObjectTemplate.setRotation -180/0/0
ObjectTemplate.addTemplate M3A1HalftrackEngine
ObjectTemplate.addTemplate M3A1HalftrackSteeringDummy
ObjectTemplate.setPosition -0.496096/-0.0529948/1.69605
ObjectTemplate.setRotation 0.0/45.0/0.0
ObjectTemplate.addTemplate M3A1GBGunBarrel
ObjectTemplate.setPosition 0/0.0/-3.5
ObjectTemplate.setRotation 180/0/0
rem -------------------------------------
rem *** lodM3A1HalftrackCockpit ***
ObjectTemplate.create LodObject lodM3A1HalftrackCockpit
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackCockpitExternal
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate M3A1HalftrackCockpitInternal
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.lodSelector M3A1HalftrackCockpitSelector
rem *** M3A1HalftrackCockpitExternal ***
ObjectTemplate.create SimpleObject M3A1HalftrackCockpitExternal
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.geometry M3A1Halftrack_Hull_M1
rem *** M3A1HalftrackCockpitInternal ***
ObjectTemplate.create SimpleObject M3A1HalftrackCockpitInternal
ObjectTemplate.geometry M3A1Halftrack_1P_M1
rem *** M3A1HalftrackCockpitSelector ***
LodSelectorTemplate.create DistCompareSelector M3A1HalftrackCockpitSelector
LodSelectorTemplate.addLodDistance 3
LodSelectorTemplate.addLodComparison 0.5
rem *** M3A1HalftrackSeat ***
ObjectTemplate.create SeatObject M3A1HalftrackSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
rem *** M3A1HalftrackCamera ***
ObjectTemplate.create Camera M3A1HalftrackCamera
ObjectTemplate.setMinRotation -115/-25/0
ObjectTemplate.setMaxRotation 115/20/0
ObjectTemplate.setPivotPosition 0/0.15/0.2
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** M3A1HalftrackEntry ***
ObjectTemplate.create EntryPoint M3A1HalftrackEntry
ObjectTemplate.setEntryRadius 3.5
rem *** M3A1HalftrackBrowning_PCO1 ***
ObjectTemplate.create PlayerControlObject M3A1HalftrackBrowning_PCO1
ObjectTemplate.setNetworkableInfo M3A1HalftrackBodyInfo
ObjectTemplate.aiTemplate M3A1HalftrackTopMG
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry
ObjectTemplate.setPosition -0.5/-1.12/1.33
ObjectTemplate.addTemplate M3A1HalftrackEntry
ObjectTemplate.setPosition -0.5/-1.12/-0.67
ObjectTemplate.addTemplate M3A1HalftrackBrowning_Holder
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.5/-1.249/-0.667 180/0/0
ObjectTemplate.GUIIndex 23
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 30/70
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
ObjectTemplate.hasRestrictedExit 1
rem *** M3A1HalftrackBrowning_Holder ***
ObjectTemplate.create RotationalBundle M3A1HalftrackBrowning_Holder
ObjectTemplate.setNetworkableInfo M3A1HalftrackBrowningHolderInfo
ObjectTemplate.loadSoundScript Sounds/M3A1HalftrackTurret.ssc
ObjectTemplate.geometry M3A1Halftrack_Browning_console_M1
rem -------------------------------------
ObjectTemplate.addTemplate M3A1Halftrack_Browning_console
ObjectTemplate.setPosition 0/0.129/-0.709
ObjectTemplate.addTemplate M3A1HalftrackBrowningSeat
ObjectTemplate.setPosition 0/-0.4/0
ObjectTemplate.setRotation -180/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition 0/-0.4/0
ObjectTemplate.setRotation -180/0/0
rem -------------------------------------
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1
rem *** M3A1Halftrack_Browning_console ***
ObjectTemplate.create RotationalBundle M3A1Halftrack_Browning_console
ObjectTemplate.setNetworkableInfo M3A1HalftrackBrowningConsoleInfo
ObjectTemplate.geometry M3A1Halftrack_MGun_mount_M1
rem -------------------------------------
ObjectTemplate.addTemplate BrenV
ObjectTemplate.setPosition 0/0.1/0.0
ObjectTemplate.setRotation -180/0/0
ObjectTemplate.addTemplate M3A1HalftrackCamera2
ObjectTemplate.setPosition -0.1/0/-0.5
ObjectTemplate.setRotation -180/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-6/0
ObjectTemplate.setMaxRotation 0/45/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/-5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1
rem *** M3A1HalftrackCamera2 ***
ObjectTemplate.create Camera M3A1HalftrackCamera2
ObjectTemplate.setPivotPosition 0/0.3/-1
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
rem *** M3A1HalftrackBrowningSeat ***
ObjectTemplate.create SeatObject M3A1HalftrackBrowningSeat
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
rem *** M3A1HalftrackFrontDoor ***
rem ObjectTemplate.create RotationalBundle M3A1HalftrackFrontDoor
rem ObjectTemplate.geometry M3A1Halftrack_Door1_M1
rem ObjectTemplate.setMaxSpeed 60/60/60
rem *** M3A1HalftrackBackDoor ***
rem ObjectTemplate.create RotationalBundle M3A1HalftrackBackDoor
rem ObjectTemplate.geometry M3A1Halftrack_Door2_M1
rem ObjectTemplate.setMaxSpeed 60/60/60
rem *** M3A1HalftrackSupplyDepot ***
ObjectTemplate.create SupplyDepot M3A1HalftrackSupplyDepot
ObjectTemplate.radius 1.3
ObjectTemplate.team 0
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 1 100 15 0
ObjectTemplate.addAmmoType 2 4 1.2 0
ObjectTemplate.addAmmoType 3 4 1.2 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc
rem *** M3A1Halftrack_Passanger_PCO2 ***
ObjectTemplate.create PlayerControlObject M3A1Halftrack_Passanger_PCO2
ObjectTemplate.NameTagOffset 0/0.2/0
ObjectTemplate.setNetworkableInfo M3A1HalftrackPassengerInfo
ObjectTemplate.aiTemplate M3A1HalftrackPassenger3
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry3
ObjectTemplate.setPosition 0/0/-2.599
ObjectTemplate.addTemplate M3A1HalftrackPassangerCamera
ObjectTemplate.setPosition -0.549/0.65/-0.299
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M3A1HalftrackPassengerSeat
ObjectTemplate.setPosition -0.549/0.85/-0.299
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition -0.549/0.85/-0.299
ObjectTemplate.setRotation 90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/-3.2 180/0/0
ObjectTemplate.GUIIndex 48
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 39/53
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
rem *** M3A1HalftrackEntry3 ***
ObjectTemplate.create EntryPoint M3A1HalftrackEntry3
ObjectTemplate.setEntryRadius 2.6
spawnPointManager.group 74
spawnPointManager.groupTeam 2
spawnPointManager.groupIcon test1.tga
rem *** M3A1_SoldierSpawn ***
ObjectTemplate.create SpawnPoint M3A1_SoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 54
ObjectTemplate.setGroup 74
ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
rem *** M3A1HalftrackPassangerCamera ***
ObjectTemplate.create Camera M3A1HalftrackPassangerCamera
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 500/0/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMenuSelect3
ObjectTemplate.setInputToRoll c_PIMenuSelect3
rem *** M3A1HalftrackPassengerSeat ***
ObjectTemplate.create SeatObject M3A1HalftrackPassengerSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInM3a1
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInM3a1
rem *** M3A1Halftrack_Passanger_PCO3 ***
ObjectTemplate.create PlayerControlObject M3A1Halftrack_Passanger_PCO3
ObjectTemplate.NameTagOffset 0/0.4/0
ObjectTemplate.setNetworkableInfo M3A1HalftrackPassengerInfo
ObjectTemplate.aiTemplate M3A1HalftrackPassenger4
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry3
ObjectTemplate.setPosition 0/0/-2.599
ObjectTemplate.addTemplate M3A1HalftrackPassangerCamera
ObjectTemplate.setPosition 0.55/0.65/-0.829
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M3A1HalftrackPassengerSeat
ObjectTemplate.setPosition 0.55/0.85/-0.829
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition 0.55/0.85/-0.829
ObjectTemplate.setRotation -89.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/-3.2 180/0/0
ObjectTemplate.GUIIndex 49
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 22/59
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
rem *** M3A1Halftrack_Passanger_PCO4 ***
ObjectTemplate.create PlayerControlObject M3A1Halftrack_Passanger_PCO4
ObjectTemplate.NameTagOffset 0/0.6/0
ObjectTemplate.setNetworkableInfo M3A1HalftrackPassengerInfo
ObjectTemplate.aiTemplate M3A1HalftrackPassenger5
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry3
ObjectTemplate.setPosition 0/0/-2.599
ObjectTemplate.addTemplate M3A1HalftrackPassangerCamera
ObjectTemplate.setPosition -0.549/0.65/-1.359
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M3A1HalftrackPassengerSeat
ObjectTemplate.setPosition -0.549/0.85/-1.359
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition -0.549/0.85/-1.359
ObjectTemplate.setRotation 90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/-3.2 180/0/0
ObjectTemplate.GUIIndex 50
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 32/46
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
rem *** M3A1Halftrack_Passanger_PCO5 ***
ObjectTemplate.create PlayerControlObject M3A1Halftrack_Passanger_PCO5
ObjectTemplate.NameTagOffset 0/0.8/0
ObjectTemplate.setNetworkableInfo M3A1HalftrackPassengerInfo
ObjectTemplate.aiTemplate M3A1HalftrackPassenger6
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackEntry3
ObjectTemplate.setPosition 0/0/-2.599
ObjectTemplate.addTemplate M3A1HalftrackPassangerCamera
ObjectTemplate.setPosition 0.55/0.65/-1.899
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M3A1HalftrackPassengerSeat
ObjectTemplate.setPosition 0.55/0.85/-1.899
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M3A1_SoldierSpawn
ObjectTemplate.setPosition 0.55/0.85/-1.899
ObjectTemplate.setRotation -89.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0/0/-3.2 180/0/0
ObjectTemplate.GUIIndex 51
ObjectTemplate.setVehicleIcon "Vehicle/Icon_m3a1.tga"
ObjectTemplate.setVehicleIconPos 16/50
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTApc
rem *** M3A1HalftrackWheel1 ***
ObjectTemplate.create RotationalBundle M3A1HalftrackWheel1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackSpring1
ObjectTemplate.setPosition -0.299/-0.999/0
rem -------------------------------------
ObjectTemplate.setMinRotation -40/0/0
ObjectTemplate.setMaxRotation 40/0/0
ObjectTemplate.setMaxSpeed 80/0/0
ObjectTemplate.setAcceleration 80/0/0
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setAutomaticReset 1
rem *** M3A1HalftrackTrackL ***
ObjectTemplate.create AnimatedBundle M3A1HalftrackTrackL
ObjectTemplate.loadSoundScript Sounds/M3A1HalftrackTrack.ssc
ObjectTemplate.geometry M3A1HalftrackTrackL
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/M3A1.ske
ObjectTemplate.setAnimatedTextureSpeed 0.01/0
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackWheel4Left
ObjectTemplate.setPosition -0.974/-0.519/0.6
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4Right
ObjectTemplate.setPosition 0.975/-0.519/0.6
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4LeftDummy
ObjectTemplate.setPosition -0.974/-0.519/0.3
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4RightDummy
ObjectTemplate.setPosition 0.975/-0.519/0.3
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4LeftBack
ObjectTemplate.setPosition -0.974/-0.519/-0.499
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4RightBack
ObjectTemplate.setPosition 0.975/-0.519/-0.499
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4Left
ObjectTemplate.setPosition -0.974/-0.519/-0.799
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel4Right
ObjectTemplate.setPosition 0.975/-0.519/-0.799
ObjectTemplate.useAsBone 0/-0.25/0
ObjectTemplate.setBoneOriginOffset 0/-0.2/0
ObjectTemplate.addTemplate M3A1HalftrackWheel2
ObjectTemplate.setPosition -0.999/0.18/1.08
ObjectTemplate.addTemplate M3A1HalftrackWheel2
ObjectTemplate.setPosition 1/0.18/1.08
ObjectTemplate.addTemplate M3A1HalftrackWheel2
ObjectTemplate.setPosition -0.999/0.15/-1.189
ObjectTemplate.addTemplate M3A1HalftrackWheel2
ObjectTemplate.setPosition 1/0.15/-1.189
ObjectTemplate.addTemplate M3A1HalftrackWheel3
ObjectTemplate.setPosition -1.089/0.4/-0.074
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0
ObjectTemplate.addTemplate M3A1HalftrackWheel3
ObjectTemplate.setPosition 1.09/0.4/-0.074
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/0/0
rem -------------------------------------
rem ***************Added Steering******************Rad
rem *** M3A1HalftrackSteeringDummy ***
ObjectTemplate.create AnimatedBundle M3A1HalftrackSteeringDummy
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackSteering
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.24/-0.1/-0.82 -80/60/50
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.26/-0.1/-0.82 -80/-60/50
rem *** M3A1HalftrackSteering ***
ObjectTemplate.create RotationalBundle M3A1HalftrackSteering
ObjectTemplate.setNetworkableInfo M3A1HalftrackSteeringInfo
rem -------------------------------------
ObjectTemplate.addTemplate lodM3A1HalftrackSteering
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-60
ObjectTemplate.setMaxRotation 0/0/60
ObjectTemplate.setMaxSpeed 0/0/180
ObjectTemplate.setAcceleration 0/0/-180
ObjectTemplate.setInputToRoll c_PIYaw
ObjectTemplate.setAutomaticReset 1
rem *** lodM3A1HalftrackSteering ***
ObjectTemplate.create LodObject lodM3A1HalftrackSteering
rem -------------------------------------
ObjectTemplate.addTemplate M3A1HalftrackHighRSteering
ObjectTemplate.addTemplate M3A1HalftrackLowSteering
rem -------------------------------------
ObjectTemplate.lodSelector M3A1HalftrackSteeringSelector
rem *** M3A1HalftrackHighRSteering ***
ObjectTemplate.create SimpleObject M3A1HalftrackHighRSteering
ObjectTemplate.geometry M3A1Halftrack_1P_Steering_M1
rem *** M3A1HalftrackLowSteering ***
ObjectTemplate.create SimpleObject M3A1HalftrackLowSteering
ObjectTemplate.geometry M3A1Halftrack_Steering_M1
rem *** M3A1HalftrackSteeringSelector ***
LodSelectorTemplate.create DistanceSelector M3A1HalftrackSteeringSelector
LodSelectorTemplate.addLodDistance 10
rem *****************End Added Steering ***************Rad
rem *** M3A1HalftrackSimple ***
ObjectTemplate.create SimpleObject M3A1HalftrackSimple
ObjectTemplate.geometry M3A1Halftrack_Hull_L1
rem *** M3A1HalftrackWreck ***
ObjectTemplate.create SimpleObject M3A1HalftrackWreck
ObjectTemplate.geometry Wreck_M3A1Halftrack_m1
rem *** M3A1HalftrackLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 M3A1HalftrackLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135