This page is under construction
Archives/bf1942/levels/Battle_of_Britain.rfa
bf1942/levels/battle_of_britain/Objects/Clacton_RadarTower/objects.con
ObjectTemplate.create PlayerControlObject Clacton_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 6.6/0.1/3
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_W_AISpawn

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


rem ObjectTemplate.addTemplate Allies_WestAirfield_Spawn
rem ObjectTemplate.setPosition -432.503/2.406/-131.068
rem ObjectTemplate.setPosition -410.004/2.406/-170.569
rem Spawn Position - RadarTower position
rem Position calculations 861.993 - 507.988/105.416 - 103.01/1516.8 - 1360.23
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_W_SoldierSpawn ***
ObjectTemplate.create SpawnPoint RadarTower_W_SoldierSpawn
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 57

ObjectTemplate.create SpawnPoint RadarTower_W_AISpawn
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 67
ObjectTemplate.setAIEnterOnSpawn 1