This page is under construction
Archives/bf1942/levels/Berlin-1945.rfa
bf1942/levels/Berlin-1945/Objects/Ammobox/Objects.con
rem ===== COMPRESS = COMMON
rem
rem *** Ammobox ***
rem
ObjectTemplate.create Bundle Ammobox
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.aiTemplate Ammobox_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
objectTemplate.cullRadiusScale 3.0
rem -------------------------------------
ObjectTemplate.addTemplate box_base
ObjectTemplate.setPosition 0/-0.9/0
ObjectTemplate.addTemplate AmmoboxSupplyDepot
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate AmmoboxVehicleSupplyDepot
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
rem ***********************************************
rem *** AmmoboxSupplyDepot
rem addAmmoType 1 Bullets
rem addAmmoType 2 HandGrenade
rem addAmmoType 3 Bazooka,Panzershreck,Piat
rem addAmmoType 4 Panzerfaust
rem addAmmoType 5 Flamethrower
rem addAmmoType 6 SmokeGrenade
rem addAmmoType 7 KampfPistole/KneeMortar
rem addAmmoType 11 DeployWeapons
ObjectTemplate.create SupplyDepot AmmoboxSupplyDepot
ObjectTemplate.radius 3
ObjectTemplate.team 0
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 1 400 15 1
ObjectTemplate.addAmmoType 2 10 1.2 0.2
ObjectTemplate.addAmmoType 3 10 1.2 0.001
ObjectTemplate.addAmmoType 4 6 1.2 0.001
ObjectTemplate.addAmmoType 5 100 5 0.5
ObjectTemplate.addAmmoType 6 1 0.5 0.01
ObjectTemplate.addAmmoType 7 20 1.2 0.2
ObjectTemplate.addAmmoType 11 1 0.5 0.01
ObjectTemplate.workOnVehicles 0
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc
rem ***********************************************
rem *** AmmoboxSupplyDepot
rem addAmmoType 0 Cannons
rem addAmmoType 1 AutoCannons
rem addAmmoType 2 TankFlamethrower
rem addAmmoType 3 ShipCannons
rem addAmmoType 4 SelectableCannons2
rem addAmmoType 5 SelectableCannons3
rem addAmmoType 6 SelectableCannons4/WillyHorn
rem addAmmoType 7 AxisAirBomb
rem addAmmoType 8 AxisAirCannons
rem addAmmoType 9 AlliesAirBomb
rem addAmmoType 10 AlliesAirCannons
rem addAmmoType 13 AlliesTorpedos
rem addAmmoType 14 AxisTorpedos
rem *** AmmoboxVehicleSupplyDepot ***
ObjectTemplate.create SupplyDepot AmmoboxVehicleSupplyDepot
ObjectTemplate.radius 10
ObjectTemplate.team 2
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 0 -1 5 0
ObjectTemplate.addAmmoType 1 -1 15 0
ObjectTemplate.addAmmoType 2 -1 40 0
ObjectTemplate.addAmmoType 4 -1 5 0
ObjectTemplate.addAmmoType 5 -1 5 0
ObjectTemplate.addAmmoType 6 -1 5 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc
rem *** adhoc_base ***
ObjectTemplate.create SimpleObject box_base
ObjectTemplate.geometry Ammobox_m1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 10
rem
rem *** Ammobox ***
rem
ObjectTemplate.create Bundle Ammobox
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.aiTemplate Ammobox_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
objectTemplate.cullRadiusScale 3.0
rem -------------------------------------
ObjectTemplate.addTemplate box_base
ObjectTemplate.setPosition 0/-0.9/0
ObjectTemplate.addTemplate AmmoboxSupplyDepot
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate AmmoboxVehicleSupplyDepot
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
rem ***********************************************
rem *** AmmoboxSupplyDepot
rem addAmmoType 1 Bullets
rem addAmmoType 2 HandGrenade
rem addAmmoType 3 Bazooka,Panzershreck,Piat
rem addAmmoType 4 Panzerfaust
rem addAmmoType 5 Flamethrower
rem addAmmoType 6 SmokeGrenade
rem addAmmoType 7 KampfPistole/KneeMortar
rem addAmmoType 11 DeployWeapons
ObjectTemplate.create SupplyDepot AmmoboxSupplyDepot
ObjectTemplate.radius 3
ObjectTemplate.team 0
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 1 400 15 1
ObjectTemplate.addAmmoType 2 10 1.2 0.2
ObjectTemplate.addAmmoType 3 10 1.2 0.001
ObjectTemplate.addAmmoType 4 6 1.2 0.001
ObjectTemplate.addAmmoType 5 100 5 0.5
ObjectTemplate.addAmmoType 6 1 0.5 0.01
ObjectTemplate.addAmmoType 7 20 1.2 0.2
ObjectTemplate.addAmmoType 11 1 0.5 0.01
ObjectTemplate.workOnVehicles 0
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc
rem ***********************************************
rem *** AmmoboxSupplyDepot
rem addAmmoType 0 Cannons
rem addAmmoType 1 AutoCannons
rem addAmmoType 2 TankFlamethrower
rem addAmmoType 3 ShipCannons
rem addAmmoType 4 SelectableCannons2
rem addAmmoType 5 SelectableCannons3
rem addAmmoType 6 SelectableCannons4/WillyHorn
rem addAmmoType 7 AxisAirBomb
rem addAmmoType 8 AxisAirCannons
rem addAmmoType 9 AlliesAirBomb
rem addAmmoType 10 AlliesAirCannons
rem addAmmoType 13 AlliesTorpedos
rem addAmmoType 14 AxisTorpedos
rem *** AmmoboxVehicleSupplyDepot ***
ObjectTemplate.create SupplyDepot AmmoboxVehicleSupplyDepot
ObjectTemplate.radius 10
ObjectTemplate.team 2
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 0 -1 5 0
ObjectTemplate.addAmmoType 1 -1 15 0
ObjectTemplate.addAmmoType 2 -1 40 0
ObjectTemplate.addAmmoType 4 -1 5 0
ObjectTemplate.addAmmoType 5 -1 5 0
ObjectTemplate.addAmmoType 6 -1 5 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc
rem *** adhoc_base ***
ObjectTemplate.create SimpleObject box_base
ObjectTemplate.geometry Ammobox_m1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.sinkInToLandAfterDeathSpeed 10