This page is under construction
Archives/bf1942/levels/Battle_of_Britain.rfa
bf1942/levels/Battle_of_Britain/Objects/West_Harwick_RadarTower/objects.con
ObjectTemplate.create PlayerControlObject West_Harwick_RadarTower
ObjectTemplate.setSoldierExitLocation 0.01/-2.898/-6.598 180/0/0
ObjectTemplate.networkableInfo RadarTower_BodyInfo
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
objectTemplate.criticalDamage 20
ObjectTemplate.hpLostWhileCriticalDamage 2
ObjectTemplate.mass 4500
ObjectTemplate.HasArmor 1
ObjectTemplate.HitPoints 600
ObjectTemplate.MaxHitPoints 600
ObjectTemplate.Material 45
ObjectTemplate.timetoliveafterdeath 5
rem -------------------------------------
ObjectTemplate.addTemplate lodRadarTower
rem -------------------------------------
ObjectTemplate.addArmorEffect 400 e_KatyushaDamage -3.699/4.7/-4.498
ObjectTemplate.addArmorEffect 200 e_KatyushaDamage -3.699/4.7/-4.498
ObjectTemplate.addArmorEffect 200 e_KatyushaDamage 0/9.4/-4.298
ObjectTemplate.addArmorEffect 20 e_KatyushaFire -3.599/5.15/-4.398
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/-1/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/-1/5
ObjectTemplate.addArmorEffect 0 e_ScrapMetal_RadarTower 0/8/0
ObjectTemplate.addArmorEffect 0 e_ScrapAABase -4.599/0.1/3
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/-1/0
ObjectTemplate.damageFromWater 1
rem -------------------------------------
Objecttemplate.GUIIndex 79
ObjectTemplate.setVehicleIcon "Vehicle/Radar_Icon.tga"
ObjectTemplate.setVehicleIconPos 75/80
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABIconOnly
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType AAGun
ObjectTemplate.setToolTipType TTAAGun
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_Radar_32x32.tga"
ObjectTemplate.aiTemplate RadarTower
ObjectTemplate.hasRestrictedExit 1
rem -------------------------------------
ObjectTemplate.addTemplate RadarTower_SW_AISpawn

ObjectTemplate.addTemplate RadarTower_SW_SoldierSpawn
ObjectTemplate.setPosition 0/0/-18.598
ObjectTemplate.addTemplate RadarTower_SW_SoldierSpawn
ObjectTemplate.setPosition -4.789/0/-17.198
ObjectTemplate.addTemplate RadarTower_SW_SoldierSpawn
ObjectTemplate.setPosition 4.789/0/-17.198
ObjectTemplate.addTemplate RadarTower_SW_SoldierSpawn
ObjectTemplate.setPosition -9.189/0/-12.898
ObjectTemplate.addTemplate RadarTower_SW_SoldierSpawn
ObjectTemplate.setPosition 9.189/0/-12.898

rem ObjectTemplate.addTemplate Allies_WestAirfield_Spawn
rem ObjectTemplate.setPosition 141.918/2.408/-224.438
rem ObjectTemplate.setPosition 157.918/2.408/-267.439
rem Spawn Position - RadarTower position
rem Position calculations 861.993 - 1075.91/105.416 - 103.008/1516.8 - 1263.36
rem Then multiply the x and y offsets by -1 because of the 180 rotation

ObjectTemplate.addTemplate RadarTowerSonar
ObjectTemplate.setPosition 0/9/-4.25
ObjectTemplate.sonarPos 1


rem *** RadarTower_SW_SoldierSpawn ***
ObjectTemplate.create SpawnPoint RadarTower_SW_SoldierSpawn
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 75

ObjectTemplate.create SpawnPoint RadarTower_SW_AISpawn
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 65
ObjectTemplate.setAIEnterOnSpawn 1