This page is under construction
Archives/bf1942/Levels/Raid_on_Agheila.rfa
Bf1942/Levels/Raid_on_Agheila/Objects/m4a1/Objects.con
rem *** M4A1 Spawn Group
spawnPointManager.group 103
spawnPointManager.groupTeam 2
spawnPointManager.groupIcon test2.tga

rem *** M4A1 ***
ObjectTemplate.create PlayerControlObject M4A1
ObjectTemplate.NameTagOffset -0.5/1.15/1
ObjectTemplate.setNetworkableInfo M4A1BodyInfo
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 15000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 45
ObjectTemplate.criticalDamage 16
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 13
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 50 e_M3A1Damage 0/1.8/2.5
ObjectTemplate.addArmorEffect 16 e_M3A1Fire 0/1.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.damageFromWater 1
ObjectTemplate.aiTemplate M4A1
rem -------------------------------------
ObjectTemplate.addTemplate lodM4A1
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 22
ObjectTemplate.setVehicleIcon "Vehicle/Icon_M4A1.tga"
ObjectTemplate.setVehicleIconPos 80/86
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTM4A1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
ObjectTemplate.hasRestrictedExit 1


rem *** lodM4A1 ***
ObjectTemplate.create LodObject lodM4A1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M4A1Complex
ObjectTemplate.addTemplate M4A1Simple
ObjectTemplate.addTemplate M4A1Wreck
rem -------------------------------------
ObjectTemplate.lodSelector M4A1LodSelector


rem *** M4A1Complex ***
ObjectTemplate.create Bundle M4A1Complex
ObjectTemplate.geometry M4A1_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodM4A1Cockpit
ObjectTemplate.setPosition 0/1/0
ObjectTemplate.addTemplate M4A1Seat
ObjectTemplate.setPosition -0.518/1.1/0.85
ObjectTemplate.addTemplate M4A1Camera
ObjectTemplate.setPosition -0.609/1.64/1.42
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition 0/0/2
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition 0/0/-1.199

ObjectTemplate.addTemplate M4A1_SoldierSpawn
ObjectTemplate.setPosition 0/0/0

ObjectTemplate.addTemplate M4A1Browning_PCO1
ObjectTemplate.setPosition 0.5/2.05/0.67
ObjectTemplate.addTemplate M4A1SupplyDepot
ObjectTemplate.setPosition 0/1/-1.1
ObjectTemplate.addTemplate M4A1VehicleSupplyDepot
ObjectTemplate.setPosition 0/1/0
ObjectTemplate.addTemplate M4A1MortarPCO
ObjectTemplate.setPosition 0/0.7/-2.358
ObjectTemplate.setRotation -179.999/0/0

ObjectTemplate.addTemplate M4A1_Passanger_PCO2
ObjectTemplate.setPosition 0/0.8/0
ObjectTemplate.addTemplate M4A1_Passanger_PCO3
ObjectTemplate.setPosition 0/0.8/0
ObjectTemplate.addTemplate M4A1Wheel1
ObjectTemplate.setPosition -0.449/1.05/3
ObjectTemplate.addTemplate M4A1Wheel1
ObjectTemplate.setPosition 0.45/1.05/3
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate M4A1Engine
ObjectTemplate.setPosition 0/1/0
rem -------------------------------------


rem *** lodM4A1Cockpit ***
ObjectTemplate.create LodObject lodM4A1Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate M4A1CockpitExternal
ObjectTemplate.setPosition 0.1/-0.509/0.35
ObjectTemplate.addTemplate M4A1CockpitInternal
ObjectTemplate.setPosition 0/-0.009/0.35
rem -------------------------------------
ObjectTemplate.lodSelector M4A1CockpitSelector


rem *** M4A1CockpitExternal ***
ObjectTemplate.create SimpleObject M4A1CockpitExternal
ObjectTemplate.geometry 1P_M4A1_Driver_M1


rem *** M4A1CockpitInternal ***
ObjectTemplate.create SimpleObject M4A1CockpitInternal
ObjectTemplate.geometry 1P_M4A1_Driver_M1


rem *** M4A1CockpitSelector ***
LodSelectorTemplate.create DistCompareSelector M4A1CockpitSelector
LodSelectorTemplate.addLodDistance 3
LodSelectorTemplate.addLodComparison 0.5


rem *** M4A1Seat ***
ObjectTemplate.create SeatObject M4A1Seat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier


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


rem *** M4A1Entry ***
ObjectTemplate.create EntryPoint M4A1Entry
ObjectTemplate.setEntryRadius 3.5



rem *** M4A1Browning_PCO1 ***
ObjectTemplate.create PlayerControlObject M4A1Browning_PCO1
ObjectTemplate.setNetworkableInfo M4A1BodyInfo
ObjectTemplate.aiTemplate M4A1TopMG
rem -------------------------------------
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition -0.499/-2.0499/1.33
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition -0.499/-2.0499/-1.869
ObjectTemplate.addTemplate M4A1Browning_Holder
ObjectTemplate.setRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 23
ObjectTemplate.setVehicleIcon "Vehicle/Icon_M4A1.tga"
ObjectTemplate.setVehicleIconPos 61/80
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTM4A1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
ObjectTemplate.hasRestrictedExit 1

rem *** M4A1Browning_Holder ***
ObjectTemplate.create RotationalBundle M4A1Browning_Holder
ObjectTemplate.setNetworkableInfo M4A1BrowningHolderInfo
ObjectTemplate.loadSoundScript Sounds/M4A1Turret.ssc
ObjectTemplate.geometry M4A1_Browning_console_M1
rem -------------------------------------
ObjectTemplate.addTemplate M4A1_Browning_console
ObjectTemplate.setPosition 0/0.129/-0.709
ObjectTemplate.addTemplate M4A1BrowningSeat
ObjectTemplate.setPosition 0/-0.199/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 *** M4A1_Browning_console ***
ObjectTemplate.create RotationalBundle M4A1_Browning_console
ObjectTemplate.setNetworkableInfo M4A1BrowningConsoleInfo
ObjectTemplate.geometry M4A1_MGun_mount_M1
rem -------------------------------------
ObjectTemplate.addTemplate browning
ObjectTemplate.setPosition 0/0/-0.349
ObjectTemplate.setRotation -179.999/0/0
ObjectTemplate.addTemplate M4A1Camera2
ObjectTemplate.setPosition 0/0/-0.499
ObjectTemplate.setRotation -179.999/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 *** M4A1Camera2 ***
ObjectTemplate.create Camera M4A1Camera2
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 *** M4A1BrowningSeat ***
ObjectTemplate.create SeatObject M4A1BrowningSeat
ObjectTemplate.seatFlags c_SeatIsOutside
ObjectTemplate.seatFlags c_SeatShowStandingSoldier


rem *** M4A1SupplyDepot ***
ObjectTemplate.create SupplyDepot M4A1SupplyDepot
ObjectTemplate.radius 1.3
rem ObjectTemplate.team 0
ObjectTemplate.setHealth -1 4.0 0
ObjectTemplate.addAmmoType 1 -1 15 0
ObjectTemplate.addAmmoType 2 -1 1.2 0
ObjectTemplate.addAmmoType 3 -1 1.2 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc


rem *** M4A1VehicleSupplyDepot ***
ObjectTemplate.create SupplyDepot M4A1VehicleSupplyDepot
ObjectTemplate.radius 20
ObjectTemplate.team 2
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 0 -1 20 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc


rem *** M4A1MortarPCO ***
ObjectTemplate.create PlayerControlObject M4A1MortarPCO
ObjectTemplate.setNetworkableInfo M4A1BrowningHolderInfo
rem -------------------------------------
ObjectTemplate.addTemplate M4A1MortarBipod
ObjectTemplate.setRotation 180/0/0
ObjectTemplate.addTemplate M4A1Mortar_Horiz_Rot
ObjectTemplate.setPosition 0/0.5/0.12
ObjectTemplate.addTemplate M4A1MortarSeat
ObjectTemplate.setPosition -0.597/0.981/-0.405
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition 0/-0.7/-4.358
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition 0/-0.7/-1.159
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 2/0/0 0/0/0
ObjectTemplate.GUIIndex 47
ObjectTemplate.setVehicleIcon "Vehicle/Icon_M4A1.tga"
ObjectTemplate.setVehicleIconPos 53/66
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTM4A1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"

ObjectTemplate.hasRestrictedExit 1

ObjectTemplate.create SimpleObject M4A1MortarBipod
ObjectTemplate.geometry Mortar_Bipod_M1
ObjectTemplate.hasCollisionPhysics 1

rem *** M4A1MortarBase ***
ObjectTemplate.create RotationalBundle M4A1Mortar_Horiz_Rot
ObjectTemplate.setNetworkableInfo M4A1BrowningConsoleInfo
ObjectTemplate.loadSoundScript Sounds/M4A1Turret.ssc
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M4A1MortarPad
ObjectTemplate.setPosition 0/-0.499/-0.65
rem -------------------------------------
ObjectTemplate.setMinRotation -25/0/0
ObjectTemplate.setMaxRotation 25/0/0
ObjectTemplate.setMaxSpeed 20/25/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setAutomaticYawStabilization 1

rem *** M4A1MortarPad ***
ObjectTemplate.create Bundle M4A1MortarPad
ObjectTemplate.geometry Mortar_Pad_M1
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M4A1MortarVertical
rem ObjectTemplate.setRotation 0/-46/0

rem *** M4A1MortarVertical ***
ObjectTemplate.create RotationalBundle M4A1MortarVertical
ObjectTemplate.setNetworkableInfo M4A1BrowningConsoleInfo
ObjectTemplate.loadSoundScript Sounds/M4A1Turret.ssc
ObjectTemplate.hasCollisionPhysics 1
rem -------------------------------------
rem ObjectTemplate.addTemplate M4A1MortarBarrel
ObjectTemplate.addTemplate M4A1MortarFirearm
ObjectTemplate.addTemplate M4A1MortarSupport
ObjectTemplate.setPosition 0/-0.158/0.811
ObjectTemplate.setRotation 180/-20.5/0
ObjectTemplate.addTemplate M4A1MortarCamera
ObjectTemplate.setPosition -0.09/0.93/0.50
ObjectTemplate.setRotation 0/40/0
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-66/0
ObjectTemplate.setMaxRotation 0/-46/0
ObjectTemplate.setMaxSpeed 50/15/0
ObjectTemplate.setAcceleration 0/1000/0
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.setAutomaticPitchStabilization 1

ObjectTemplate.create SimpleObject M4A1MortarSupport
ObjectTemplate.geometry Mortar_Rotate_M1

ObjectTemplate.create SimpleObject M4A1MortarBarrel
ObjectTemplate.geometry Mortar_Barrel_M1
ObjectTemplate.hasCollisionPhysics 1

rem *** M4A1MortarSeat ***
ObjectTemplate.create SeatObject M4A1MortarSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInM3A1
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInM3A1

rem *** M4A1MortarCamera ***
ObjectTemplate.create Camera M4A1MortarCamera
ObjectTemplate.setMaxSpeed 0/0/0
ObjectTemplate.setAcceleration 0/0/0
rem ObjectTemplate.CVMExternTrace 1




rem *** M4A1_Passanger_PCO2 ***
ObjectTemplate.create PlayerControlObject M4A1_Passanger_PCO2
ObjectTemplate.NameTagOffset 0/0.2/0
ObjectTemplate.setNetworkableInfo M4A1PassengerInfo
ObjectTemplate.aiTemplate M4A1Passenger3
rem -------------------------------------
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition 0/-0.799/2
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition 0/-0.799/-1.199
ObjectTemplate.addTemplate M4A1PassangerCamera
ObjectTemplate.setPosition -0.549/0.65/-0.299
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate M4A1PassengerSeat
ObjectTemplate.setPosition -0.549/0.85/-0.299
ObjectTemplate.setRotation 90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 48
ObjectTemplate.setVehicleIcon "Vehicle/Icon_M4A1.tga"
ObjectTemplate.setVehicleIconPos 70/68
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTM4A1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
ObjectTemplate.hasRestrictedExit 1


rem *** M4A1PassangerCamera ***
ObjectTemplate.create Camera M4A1PassangerCamera
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 *** M4A1PassengerSeat ***
ObjectTemplate.create SeatObject M4A1PassengerSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInM3A1
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInM3A1


rem *** M4A1_Passanger_PCO3 ***
ObjectTemplate.create PlayerControlObject M4A1_Passanger_PCO3
ObjectTemplate.NameTagOffset 0/0.4/0
ObjectTemplate.setNetworkableInfo M4A1PassengerInfo
ObjectTemplate.aiTemplate M4A1Passenger4
rem -------------------------------------
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition 0/-0.799/2
ObjectTemplate.addTemplate M4A1Entry
ObjectTemplate.setPosition 0/-0.799/-1.199
ObjectTemplate.addTemplate M4A1PassangerCamera
ObjectTemplate.setPosition 0.55/0.65/-0.299
ObjectTemplate.setRotation -89.999/0/0
ObjectTemplate.addTemplate M4A1PassengerSeat
ObjectTemplate.setPosition 0.55/0.85/-0.299
ObjectTemplate.setRotation -89.999/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 2/0/0 0/0/0
ObjectTemplate.GUIIndex 49
ObjectTemplate.setVehicleIcon "Vehicle/Icon_M4A1.tga"
ObjectTemplate.setVehicleIconPos 48/75
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTM4A1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
ObjectTemplate.hasRestrictedExit 1


rem *** M4A1Wheel1 ***
ObjectTemplate.create RotationalBundle M4A1Wheel1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate M4A1Spring1
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 *** M4A1Simple ***
ObjectTemplate.create SimpleObject M4A1Simple
ObjectTemplate.geometry M4A1_Hull_L1


rem *** M4A1Wreck ***
ObjectTemplate.create SimpleObject M4A1Wreck
ObjectTemplate.geometry Wreck_M4A1_m1


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

rem *** M4A1_SoldierSpawn ***
ObjectTemplate.create SpawnPoint M4A1_SoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 103
ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0