This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/land/M1A1/Objects.con
rem ******************************************
rem - DesertCombat
rem - Version .5f
rem - September 1st
rem - 2nd PCO (cupola gunner) MG made to rotate opposite of turret
rem ******************************************
rem fixed track bones, added deepfording - dhD 10/18/2003


rem *** M1A1 ***
ObjectTemplate.create PlayerControlObject M1A1
ObjectTemplate.setNetworkableInfo M1A1BodyInfo
ObjectTemplate.saveInSeparateFile 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.exitTimer 1
ObjectTemplate.drag 2
ObjectTemplate.mass 25000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 54
ObjectTemplate.speedMod 0.75
ObjectTemplate.criticalDamage 12
ObjectTemplate.hpLostWhileCriticalDamage 0.05
ObjectTemplate.explosionForceMod 6
ObjectTemplate.hpLostWhileUpSideDown 7
ObjectTemplate.hpLostWhileDamageFromWater 7
ObjectTemplate.addArmorEffect 50 e_PanzDamage 0/1/-2.3
ObjectTemplate.addArmorEffect 35 e_PanzDamage 0/1/-2.3
ObjectTemplate.addArmorEffect 35 e_warning_tank1 0/0/.4
ObjectTemplate.addArmorEffect 12 e_warning_tank2 0/0/.4
ObjectTemplate.addArmorEffect 12 e_PanzFire 0/1.3/-2.4
ObjectTemplate.addArmorEffect 12 e_ExFumeFact 0/1.5/-2.4
ObjectTemplate.addArmorEffect 0 e_ExplGas_tank 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.submarineData 0 0 0 100 110 1.5 5
ObjectTemplate.damageFromWater 0
ObjectTemplate.timetoliveafterdeath 60
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.aiTemplate M1A1
rem -------------------------------------
ObjectTemplate.addTemplate lodM1A1
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.5/0/0 0/0/0
ObjectTemplate.GUIIndex 74
ObjectTemplate.setVehicleIcon "Vehicle/Icon_M1A1.tga"
ObjectTemplate.setVehicleIconPos 68/61
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTHeavyTank
ObjectTemplate.setToolTipType TTHeavyTank
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"



rem *** lodM1A1 ***
ObjectTemplate.create LodObject lodM1A1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M1A1Complex
ObjectTemplate.addTemplate M1A1Simple
ObjectTemplate.addTemplate M1A1Wreck
rem -------------------------------------
ObjectTemplate.lodSelector M1A1LodSelector


rem *** M1A1Complex ***
ObjectTemplate.create Bundle M1A1Complex
ObjectTemplate.geometry M1A1_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 2
rem -------------------------------------
ObjectTemplate.addTemplate M1A1Entry
ObjectTemplate.setPosition 0/0/1.2
ObjectTemplate.addTemplate M1A1Entry
ObjectTemplate.setPosition 0/0/-1.2
ObjectTemplate.addTemplate M1A1Engine
ObjectTemplate.addTemplate M1A1Tower
ObjectTemplate.setPosition 0/-.38/.4
ObjectTemplate.addTemplate M1A1_Lights
rem -------------------------------------


rem *** M1A1Entry ***
ObjectTemplate.create EntryPoint M1A1Entry
ObjectTemplate.setEntryRadius 4.1


rem *** M1A1 Track Left ***
ObjectTemplate.create AnimatedBundle M1A1TrackL
ObjectTemplate.loadSoundScript Sounds/M1A1TrackL.ssc
ObjectTemplate.geometry M1A1_TrackL_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/M1A1/M1A1_Track_Right.ske
ObjectTemplate.setAnimatedTextureSpeed -0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate M1A1WheelL1
ObjectTemplate.setPosition -0.01/0.515/3.2
ObjectTemplate.addTemplate M1A1_BL
ObjectTemplate.setPosition -0.01/0.51/-3.17
ObjectTemplate.addTemplate M1A1WheelL3
ObjectTemplate.setPosition -0.01/-.03/2.20
ObjectTemplate.useAsBone 0/-0.1/0
ObjectTemplate.setBoneOriginOffset 0/-0.3/0
ObjectTemplate.addTemplate M1A1WheelL3Dummy
ObjectTemplate.setPosition -0.01/-.03/1.33
ObjectTemplate.useAsBone 0/-0.1/0
ObjectTemplate.setBoneOriginOffset 0/-0.3/0
ObjectTemplate.addTemplate M1A1WheelL3Dummy
ObjectTemplate.setPosition -0.01/-.03/.6
ObjectTemplate.useAsBone 0/-0.1/0
ObjectTemplate.setBoneOriginOffset 0/-0.3/0
ObjectTemplate.addTemplate M1A1WheelL3
ObjectTemplate.setPosition -0.01/-.03/-.13
ObjectTemplate.useAsBone 0/-0.1/0
ObjectTemplate.setBoneOriginOffset 0/-0.3/0
ObjectTemplate.addTemplate M1A1WheelL3DummySmoke
ObjectTemplate.setPosition -0.01/-.03/-.86
ObjectTemplate.useAsBone 0/-0.1/0
ObjectTemplate.setBoneOriginOffset 0/-0.3/0
ObjectTemplate.addTemplate M1A1WheelL3Dummy
ObjectTemplate.setPosition -0.01/-.03/-1.59
ObjectTemplate.useAsBone 0/-0.1/0
ObjectTemplate.setBoneOriginOffset 0/-0.3/0
ObjectTemplate.addTemplate M1A1WheelL3
ObjectTemplate.setPosition -0.01/-.03/-2.32
ObjectTemplate.useAsBone 0/-0.1/0
ObjectTemplate.setBoneOriginOffset 0/-0.3/0
rem -------------------------------------


rem *** M1A1WheelL1 ***
ObjectTemplate.create SimpleObject M1A1WheelL1
ObjectTemplate.geometry M1A1_WHeel_Left
ObjectTemplate.hasResponsePhysics 1


rem *** M1A1WheelL2 ***
ObjectTemplate.create SimpleObject M1A1WheelL2
ObjectTemplate.geometry M1A1_WHeel_Left
ObjectTemplate.hasResponsePhysics 1

rem *** M1A1_Lights***
ObjectTemplate.create SimpleObject M1A1_Lights
ObjectTemplate.geometry M1A1_Lights




rem *** M1A1 Track Right ***
ObjectTemplate.create AnimatedBundle M1A1TrackR
ObjectTemplate.loadSoundScript Sounds/M1A1TrackR.ssc
ObjectTemplate.geometry M1A1_TrackR_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.createSkeleton animations/M1A1/M1A1_Track_Right.ske
ObjectTemplate.setAnimatedTextureSpeed -0.006/0
rem -------------------------------------
ObjectTemplate.addTemplate M1A1WheelR1
ObjectTemplate.setPosition 0.01/0.515/3.2
ObjectTemplate.addTemplate M1A1_BR
ObjectTemplate.setPosition 0.01/0.51/-3.17
ObjectTemplate.addTemplate M1A1WheelR3
ObjectTemplate.setPosition 0.01/-.03/2.20
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/-0.1/0
ObjectTemplate.addTemplate M1A1WheelR3Dummy
ObjectTemplate.setPosition 0.01/-.03/1.33
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/-0.1/0
ObjectTemplate.addTemplate M1A1WheelR3Dummy
ObjectTemplate.setPosition 0.01/-.03/.6
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/-0.1/0
ObjectTemplate.addTemplate M1A1WheelR3
ObjectTemplate.setPosition 0.01/-.03/-.13
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/-0.1/0
ObjectTemplate.addTemplate M1A1WheelR3DummySmoke
ObjectTemplate.setPosition 0.01/-.03/-.86
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/-0.1/0
ObjectTemplate.addTemplate M1A1WheelR3Dummy
ObjectTemplate.setPosition 0.01/-.03/-1.59
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/-0.1/0
ObjectTemplate.addTemplate M1A1WheelR3
ObjectTemplate.setPosition 0.01/-.03/-2.32
ObjectTemplate.useAsBone 0/0/0
ObjectTemplate.setBoneOriginOffset 0/-0.1/0
rem -------------------------------------


rem *** M1A1WheelR1 ***
ObjectTemplate.create SimpleObject M1A1WheelR1
ObjectTemplate.geometry M1A1_WHeel_Right
ObjectTemplate.hasResponsePhysics 1

rem *** M1A1WheelR2 ***
ObjectTemplate.create SimpleObject M1A1WheelR2
ObjectTemplate.geometry M1A1_WHeel_Right
ObjectTemplate.hasResponsePhysics 1


rem *** M1A1Tower ***
ObjectTemplate.create RotationalBundle M1A1Tower
ObjectTemplate.setNetworkableInfo M1A1TurretInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/M1A1tower.ssc
ObjectTemplate.geometry M1A1_Tower_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M1A1GunBase
ObjectTemplate.setPosition .04/1.85/1.14
ObjectTemplate.addTemplate M1A1MG42_PCO1
rem ObjectTemplate.setPosition 0.55/2.2/.04
ObjectTemplate.setPosition .483/2.2/-0.492
ObjectTemplate.addTemplate supplies
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate rack
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMaxSpeed 35/25/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch
ObjectTemplate.setInputToRoll

rem *** supplies ***
ObjectTemplate.create SimpleObject supplies
ObjectTemplate.geometry M1A1_supplies_M1


rem *** rack ***
ObjectTemplate.create SimpleObject rack
ObjectTemplate.geometry M1A1_rack_M1

rem *** M1A1GunBase ***
ObjectTemplate.create RotationalBundle M1A1GunBase
ObjectTemplate.setNetworkableInfo M1A1GunInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/M1A1GunBase.ssc
rem -------------------------------------
ObjectTemplate.addTemplate lodM1A1Cockpit
ObjectTemplate.addTemplate M1A1GunBarrel
ObjectTemplate.setPosition -.02/0.025/0.8
ObjectTemplate.addTemplate Coaxial_MG42
ObjectTemplate.setPosition .27/-.06/0.5
ObjectTemplate.addTemplate M1A1Camera
ObjectTemplate.setPosition -0.789/0/.22
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-20/0
ObjectTemplate.setMaxRotation 0/5/0
ObjectTemplate.setMaxSpeed 15/20/0
ObjectTemplate.setAcceleration 0/1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem *** lodM1A1Cockpit ***
ObjectTemplate.create LodObject lodM1A1Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate M1A1CockpitExternal
ObjectTemplate.addTemplate M1A1CockpitInternal
ObjectTemplate.setPosition -0.785/-0.025/0.40
rem -------------------------------------
ObjectTemplate.lodSelector M1A1cockpitSelector


rem *** M1A1CockpitExternal ***
ObjectTemplate.create SimpleObject M1A1CockpitExternal
ObjectTemplate.geometry M1A1_Canon1_M1


rem *** M1A1CockpitInternal ***
ObjectTemplate.create SimpleObject M1A1CockpitInternal
ObjectTemplate.geometry 1p_T72_Gunner_m1


rem *** M1A1cockpitSelector ***
LodSelectorTemplate.create DistCompareSelector M1A1cockpitSelector
LodSelectorTemplate.addLodDistance 1
LodSelectorTemplate.addLodComparison 0.5


rem *** M1A1Camera ***
ObjectTemplate.create Camera M1A1Camera
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0


rem *** M1A1MG42_PCO1 ***
ObjectTemplate.create PlayerControlObject M1A1MG42_PCO1
ObjectTemplate.setNetworkableInfo M1A1BodyInfo
ObjectTemplate.aiTemplate M1A1TopMG
rem -------------------------------------
ObjectTemplate.addTemplate M1A1Entry
ObjectTemplate.setPosition 0.29/-1.9/0.98
ObjectTemplate.addTemplate M1A1Entry
ObjectTemplate.setPosition 0.29/-1.9/-1.42
ObjectTemplate.addTemplate M1A1MG42_Holder
rem ObjectTemplate.setPosition -0.067/.05/-0.532
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.8/-0.5/0 0/0/0
ObjectTemplate.GUIIndex 107
ObjectTemplate.setVehicleIcon "Vehicle/Icon_M1A1.tga"
ObjectTemplate.setVehicleIconPos 54/42
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTHeavyTank
ObjectTemplate.setToolTipType TTHeavyTank
ObjectTemplate.hasRestrictedExit 1


rem *** M1A1Entry2 ***
ObjectTemplate.create EntryPoint M1A1Entry2
ObjectTemplate.setEntryRadius 2.5


rem *** M1A1MG42_Holder ***
ObjectTemplate.create RotationalBundle M1A1MG42_Holder
ObjectTemplate.setNetworkableInfo M1A1TurretInfo
ObjectTemplate.loadSoundScript Sounds/M1A1Turret.ssc
ObjectTemplate.geometry M1A1_Mgun_con_m1
rem -------------------------------------
ObjectTemplate.addTemplate M1A1_MG42_console
ObjectTemplate.setPosition 0/0.14/-0.628
ObjectTemplate.addTemplate M1A1MG42Seat
ObjectTemplate.setPosition 0/-.3/0
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1


rem *** M1A1_MG42_console ***
ObjectTemplate.create RotationalBundle M1A1_MG42_console
ObjectTemplate.setNetworkableInfo M1A1GunInfo
ObjectTemplate.geometry M1A1_MGun_mount_M1
rem -------------------------------------
ObjectTemplate.addTemplate Browning
ObjectTemplate.setPosition 0/0.1/-.349
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate M1A1Camera2
ObjectTemplate.setPosition 0/0.4/0.5
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/55/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/-5000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1


rem *** M1A1Camera2 ***
ObjectTemplate.create Camera M1A1Camera2
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem *** M1A1MG42Seat ***
ObjectTemplate.create SeatObject M1A1MG42Seat
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
ObjectTemplate.seatFlags c_SeatIsOutside


rem *** M1A1Simple ***
ObjectTemplate.create SimpleObject M1A1Simple
ObjectTemplate.geometry M1A1_Hull_L1


rem *** M1A1Wreck ***
ObjectTemplate.create Bundle M1A1Wreck
ObjectTemplate.geometry Wreck_M1A1_M1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.addTemplate e_ExFumeFact
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/1/-2


rem *** M1A1LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 M1A1LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 200