This page is under construction
Archives/bf1942/Levels/Raid_on_Agheila.rfa
Bf1942/Levels/Raid_on_Agheila/Objects/MunitionsPanzer/Objects.con
rem *** MunitionsPanzer Spawn Group
spawnPointManager.group 102
spawnPointManager.groupTeam 1
spawnPointManager.groupIcon test2.tga

rem *** MunitionsPanzer ***
ObjectTemplate.create PlayerControlObject MunitionsPanzer
ObjectTemplate.NameTagOffset 0/1/0
ObjectTemplate.setNetworkableInfo MunitionsPanzerBodyInfo
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 50
ObjectTemplate.speedMod 1
ObjectTemplate.criticalDamage 12
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 13
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 50 e_PanzDamage 0/1.6/-1.999
ObjectTemplate.addArmorEffect 12 e_PanzFire 0/1.6/-1.899
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetalsmoke 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate MunitionsPanzer
rem ----------------------------------
ObjectTemplate.addTemplate lodMunitionsPanzer
rem ----------------------------------
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.GUIIndex 24
ObjectTemplate.setVehicleIcon "Vehicle/Icon_MunitionsPanzer.tga"
ObjectTemplate.setVehicleIconPos 91/98
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_landmine.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTMunitionsPanzer
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"
ObjectTemplate.hasRestrictedExit 1


rem *** MunitionsPanzer lod ***
ObjectTemplate.create LodObject lodMunitionsPanzer
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem ----------------------------------
ObjectTemplate.addTemplate MunitionsPanzerComplex
ObjectTemplate.addTemplate MunitionsPanzerSimple
ObjectTemplate.addTemplate MunitionsPanzerWreck
rem ----------------------------------
ObjectTemplate.lodselector MunitionsPanzerLodSelector


rem *** MunitionsPanzer with complete tree structure
ObjectTemplate.create Bundle MunitionsPanzerComplex
ObjectTemplate.geometry MunitionsPanzer_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodMunitionsPanzerCockpit
ObjectTemplate.setPosition 0.157/0.79/2.22
ObjectTemplate.addTemplate MunitionsPanzerCamera
ObjectTemplate.setPosition -0.384/0.85/2.12

ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition 0/0/1.2
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition 0/0/-1.2
ObjectTemplate.addTemplate MunitionsPanzerEngine
ObjectTemplate.setPosition 0/0/0

ObjectTemplate.addTemplate Landmine_Launcher
ObjectTemplate.setPosition 0/0.6/-3.299
ObjectTemplate.setRotation 180/0/0

ObjectTemplate.addTemplate MunitionsPanzer_Browning_PCO1
ObjectTemplate.setRotation -179.999/0/0

ObjectTemplate.addTemplate MunitionsPanzer_Passenger_PCO1
ObjectTemplate.setPosition -0.698/0.801/-1.998
ObjectTemplate.addTemplate MunitionsPanzer_Passenger_PCO2
ObjectTemplate.setPosition 0.699/0.801/-1.998
ObjectTemplate.addTemplate MunitionsPanzer_Passenger_PCO3
ObjectTemplate.setPosition -0.698/0.801/-1.098
ObjectTemplate.addTemplate MunitionsPanzer_Passenger_PCO4
ObjectTemplate.setPosition 0.699/0.801/-1.098
rem ----------------------------------
ObjectTemplate.addTemplate MunitionsPanzer_SoldierSpawn
ObjectTemplate.setPosition 0/0/1.2

ObjectTemplate.addTemplate MunitionsPanzerSupplyDepot
ObjectTemplate.setPosition 0/0.3/-1.699
ObjectTemplate.addTemplate MunitionsPanzerVehicleSupplyDepot
ObjectTemplate.setPosition 0/1/0



rem *** MunitionsPanzerEntry ***
ObjectTemplate.create EntryPoint MunitionsPanzerEntry
ObjectTemplate.setEntryRadius 3.6


rem *** MunitionsPanzer lod tree stucture
LodSelectorTemplate.create DistCompareSelector2 MunitionsPanzerLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135


rem *** MunitionsPanzer with no tree structure
ObjectTemplate.create SimpleObject MunitionsPanzerSimple
ObjectTemplate.geometry MunitionsPanzer_Hull_L1


rem *** MunitionsPanzer destroyed Lod
ObjectTemplate.create SimpleObject MunitionsPanzerWreck
ObjectTemplate.geometry Wreck_MunitionsPanzer_m1


rem ***
rem *** panzer Cockpit
rem ***

LodSelectorTemplate.create DistCompareSelector MunitionsPanzercockpitSelector
LodSelectorTemplate.addLodDistance 6
LodSelectorTemplate.addLodComparison 0.5

ObjectTemplate.create LodObject lodMunitionsPanzerCockpit
rem -----------------------------------------------------
ObjectTemplate.addTemplate MunitionsPanzerCockpitExternal
ObjectTemplate.addTemplate MunitionsPanzerCockpitInternal
rem -----------------------------------------------------
ObjectTemplate.lodselector MunitionsPanzercockpitSelector


ObjectTemplate.create SimpleObject MunitionsPanzerCockpitExternal
rem ObjectTemplate.geometry MunitionsPanzer_Gun_Base_M1
ObjectTemplate.hasCollisionPhysics 1


ObjectTemplate.create SimpleObject MunitionsPanzerCockpitInternal
ObjectTemplate.geometry 1P_PanzerIV_Gunner_M1


ObjectTemplate.create Camera MunitionsPanzerCamera

ObjectTemplate.create Camera MunitionsPanzerCamera2


ObjectTemplate.create PlayerControlObject MunitionsPanzer_Browning_PCO1
ObjectTemplate.NameTagOffset 0/0.7/0
ObjectTemplate.aiTemplate MunitionsPanzerTopMG
ObjectTemplate.networkableInfo MunitionsPanzerBodyInfo
ObjectTemplate.setSoldierExitLocation -2/0/0 0/0/0
ObjectTemplate.setPcoId 1
ObjectTemplate.GUIIndex 52
ObjectTemplate.setVehicleIcon "Vehicle/Icon_MunitionsPanzer.tga"
ObjectTemplate.setVehicleIconPos 71/77
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTMunitionsPanzer
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"

ObjectTemplate.hasRestrictedExit 1
rem ---------------------------------------------------
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition 0/0/1.2
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition 0/0/-1.2
ObjectTemplate.addTemplate MunitionsPanzerBrowningHolder
ObjectTemplate.setPosition -0.043/1.004/0.015
rem ---------------------------------------------------

rem ***
rem *** MunitionsPanzer BrowningHolder
rem ***
ObjectTemplate.create RotationalBundle MunitionsPanzerBrowningHolder
ObjectTemplate.networkableInfo MunitionsPanzerTurretInfo
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 90/0/0
ObjectTemplate.setAcceleration 5000/0/00
ObjectTemplate.AutomaticYawStabilization 1
ObjectTemplate.setInputToYaw 4
ObjectTemplate.setInputToPitch c_PINone
ObjectTemplate.setInputToRoll c_PINone
ObjectTemplate.loadSoundScript Sounds/MunitionsPanzerTurret.ssc
rem -------------------------------
ObjectTemplate.addTemplate MunitionsPanzerBrowningConsole
ObjectTemplate.setPosition 0/0.424/-0.747
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate MunitionsPanzerBrowningShield
ObjectTemplate.setPosition 0/0.33/-0.749
ObjectTemplate.setRotation 180/0/0
ObjectTemplate.addTemplate MunitionsPanzerBrowningSeat
ObjectTemplate.setPosition 0/-0.0/0
ObjectTemplate.setRotation 180/0/0
rem -------------------------------

rem *** MunitionsPanzerBrowningShield
ObjectTemplate.create SimpleObject MunitionsPanzerBrowningShield
ObjectTemplate.geometry MunitionsPanzer_Mgun_Shield_m1
ObjectTemplate.hasCollisionPhysics 1

rem *** MunitionsPanzer BrowningSeat
ObjectTemplate.create SeatObject MunitionsPanzerBrowningSeat
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
ObjectTemplate.seatFlags c_SeatIsOutside


rem *** MunitionsPanzerBrowningConsole
ObjectTemplate.create RotationalBundle MunitionsPanzerBrowningConsole
ObjectTemplate.networkableInfo MunitionsPanzerGunInfo
ObjectTemplate.setMinRotation 0/-10/0
ObjectTemplate.setMaxRotation 0/45/0
ObjectTemplate.setPivotPosition 0/0/0
ObjectTemplate.setMaxSpeed 0/90/0
ObjectTemplate.setAcceleration 0/-5000/0
ObjectTemplate.AutomaticPitchStabilization 1
ObjectTemplate.setInputToYaw c_PINone
ObjectTemplate.setInputToPitch 5
ObjectTemplate.setInputToRoll c_PINone
rem -------------------------------
ObjectTemplate.addTemplate MG42
ObjectTemplate.setPosition 0/-0.054/0.235
ObjectTemplate.setRotation 180/0/0
ObjectTemplate.addTemplate MunitionsPanzerCamera2
ObjectTemplate.setPosition 0/0.176/0.435
ObjectTemplate.setRotation 180/0/0
rem -------------------------------


rem *** MunitionsPanzer_Passenger_PCO1 ***
ObjectTemplate.create PlayerControlObject MunitionsPanzer_Passenger_PCO1
ObjectTemplate.NameTagOffset 0/-1/0
ObjectTemplate.setNetworkableInfo MunitionsPanzerPassengerInfo
ObjectTemplate.aiTemplate MunitionsPanzerPassenger1
rem -------------------------------------
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition 0.699/-0.800/3.198
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition 0.699/-0.800/0.798
ObjectTemplate.addTemplate MunitionsPanzer_PassangerCamera
ObjectTemplate.setPosition -0.060/0.05/0
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate MunitionsPanzer_PassangerSeat
ObjectTemplate.setRotation 90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -3/0/0 0/0/0
ObjectTemplate.GUIIndex 61
ObjectTemplate.setVehicleIcon "Vehicle/Icon_MunitionsPanzer.tga"
ObjectTemplate.setVehicleIconPos 66/55
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTMunitionsPanzer
ObjectTemplate.hasRestrictedExit 1

rem *** MunitionsPanzer_Passenger_PCO2 ***
ObjectTemplate.create PlayerControlObject MunitionsPanzer_Passenger_PCO2
ObjectTemplate.NameTagOffset 0/-1/0
ObjectTemplate.setNetworkableInfo MunitionsPanzerPassengerInfo
ObjectTemplate.aiTemplate MunitionsPanzerPassenger2
rem -------------------------------------
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition -0.698/-0.800/3.198
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition -0.698/-0.800/0.798
ObjectTemplate.addTemplate MunitionsPanzer_PassangerCamera
ObjectTemplate.setPosition -0.060/0.05/0
ObjectTemplate.setRotation -90/0/0
ObjectTemplate.addTemplate MunitionsPanzer_PassangerSeat
ObjectTemplate.setRotation -90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/0 0/0/0
ObjectTemplate.GUIIndex 61
ObjectTemplate.setVehicleIcon "Vehicle/Icon_MunitionsPanzer.tga"
ObjectTemplate.setVehicleIconPos 43/60
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTMunitionsPanzer
ObjectTemplate.hasRestrictedExit 1


rem *** MunitionsPanzer_Passenger_PCO3 ***
ObjectTemplate.create PlayerControlObject MunitionsPanzer_Passenger_PCO3
ObjectTemplate.NameTagOffset 0/-1/0
ObjectTemplate.setNetworkableInfo MunitionsPanzerPassengerInfo
ObjectTemplate.aiTemplate MunitionsPanzerPassenger3
rem -------------------------------------
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition 0.699/-0.800/2.298
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition 0.699/-0.800/-0.102
ObjectTemplate.addTemplate MunitionsPanzer_PassangerCamera
ObjectTemplate.setPosition -0.060/0.05/0
ObjectTemplate.setRotation 90/0/0
ObjectTemplate.addTemplate MunitionsPanzer_PassangerSeat
ObjectTemplate.setRotation 90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -3/0/0 0/0/0
ObjectTemplate.GUIIndex 61
ObjectTemplate.setVehicleIcon "Vehicle/Icon_MunitionsPanzer.tga"
ObjectTemplate.setVehicleIconPos 71/59
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTMunitionsPanzer
ObjectTemplate.hasRestrictedExit 1

rem *** MunitionsPanzer_Passenger_PCO4 ***
ObjectTemplate.create PlayerControlObject MunitionsPanzer_Passenger_PCO4
ObjectTemplate.NameTagOffset 0/-1/0
ObjectTemplate.setNetworkableInfo MunitionsPanzerPassengerInfo
ObjectTemplate.aiTemplate MunitionsPanzerPassenger4
rem -------------------------------------
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition -0.698/-0.800/2.298
ObjectTemplate.addTemplate MunitionsPanzerEntry
ObjectTemplate.setPosition -0.698/-0.800/-0.102
ObjectTemplate.addTemplate MunitionsPanzer_PassangerCamera
ObjectTemplate.setPosition -0.060/0.05/0
ObjectTemplate.setRotation -90/0/0
ObjectTemplate.addTemplate MunitionsPanzer_PassangerSeat
ObjectTemplate.setRotation -90/0/0
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 3/0/0 0/0/0
ObjectTemplate.GUIIndex 61
ObjectTemplate.setVehicleIcon "Vehicle/Icon_MunitionsPanzer.tga"
ObjectTemplate.setVehicleIconPos 47/65
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTApc
ObjectTemplate.setToolTipType TTMunitionsPanzer
ObjectTemplate.hasRestrictedExit 1

rem *** MunitionsPanzer_PassangerCamera ***
ObjectTemplate.create Camera MunitionsPanzer_PassangerCamera
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 180/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMenuSelect3
ObjectTemplate.setInputToRoll c_PIMenuSelect3

rem *** MunitionsPanzer_PassangerSeat ***
ObjectTemplate.create SeatObject MunitionsPanzer_PassangerSeat
ObjectTemplate.seatFlags c_SeatShowFullBodySoldier
ObjectTemplate.seatAnimationUpperBody Ub_PassengerInHanomag
ObjectTemplate.seatAnimationLowerBody Lb_PassengerInHanomag

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

rem *** MunitionsPanzerSupplyDepot ***
ObjectTemplate.create SupplyDepot MunitionsPanzerSupplyDepot
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 *** MunitionsPanzerVehicleSupplyDepot ***
ObjectTemplate.create SupplyDepot MunitionsPanzerVehicleSupplyDepot
ObjectTemplate.radius 20
ObjectTemplate.team 1
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 0 -1 20 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc