This page is under construction
archives/bf1942/levels/Battle_of_the_Bulge.rfa
bf1942/levels/Battle_of_the_Bulge/AI/StrategicAreas.con
rem *******************************************************
rem Battle of the Bulge - AI'10 by Lotte|EoD
rem *******************************************************

if v_arg1 == host

rem *** Create strategic areas ***
aiStrategicArea.create Vietcong_Armored_Column 814.7/1066.5 824.7/1076.5 10
aiStrategicArea.create American_Fuel 634.9/272.1 669.9/307.1 150
aiStrategicArea.create American_Outpost 963.7/741.6 993.7/771.6 75
aiStrategicArea.create Village 845.9/564.5 860.9/579.5 100
aiStrategicArea.create Bridgebunker 634.7/608.8 649.7/623.8 50
aiStrategicArea.create Hill 736.3/856.3 751.3/871.3 50

rem *** Build strategic areas ***

aiStrategicArea.setActive Vietcong_Armored_Column
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Hill
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 2 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Bridgebunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Vietcong_Armored_Column
aiStrategicArea.addNeighbour American_Fuel
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour Hill
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Hill
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Vietcong_Armored_Column
aiStrategicArea.addNeighbour American_Outpost
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour Bridgebunker
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive American_Outpost
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Vietcong_Armored_Column
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour Hill
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive American_Fuel
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour Bridgebunker
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Village
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour American_Fuel
aiStrategicArea.addNeighbour American_Outpost
aiStrategicArea.addNeighbour Bridgebunker
aiStrategicArea.addNeighbour Hill
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

endIf