This page is under construction
archives/bf1942/levels/Pacific_Railroad.rfa
bf1942/levels/Pacific_Railroad/AI/StrategicAreas.con
rem *******************************************************
rem Pacific Sun - AI'10 by Lotte|EoD
rem *******************************************************

if v_arg1 == host

rem *** Create strategic areas ***
aiStrategicArea.create NVA_Base 419.9/790.8 433.2/804.1 70
aiStrategicArea.create US_Camp 581.3/201.6 594.6/214.9 70
aiStrategicArea.create Train_Station 225.6/506.9 242.3/523.6 100
aiStrategicArea.create Train_Depot 694.5/494.8 706.5/506.8 100
aiStrategicArea.create Train_Supply 488.9/529.9 502.2/543.2 100
aiStrategicArea.create House 460.6/469.7 470.6/479.7 100


aiStrategicArea.setActive NVA_Base
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour US_Camp
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 2 0
aiStrategicArea.vehicleSearchRadius 100.0

aiStrategicArea.setActive US_Camp
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 100.0

aiStrategicArea.setActive Train_Station
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
aiStrategicArea.addNeighbour US_Camp
aiStrategicArea.addNeighbour Train_Depot
aiStrategicArea.addNeighbour Train_Supply
aiStrategicArea.addNeighbour House
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Train_Depot
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
aiStrategicArea.addNeighbour US_Camp
aiStrategicArea.addNeighbour Train_Station
aiStrategicArea.addNeighbour Train_Supply
aiStrategicArea.addNeighbour House
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Train_Supply
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
aiStrategicArea.addNeighbour US_Camp
aiStrategicArea.addNeighbour Train_Station
aiStrategicArea.addNeighbour Train_Depot
aiStrategicArea.addNeighbour House
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive House
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
aiStrategicArea.addNeighbour US_Camp
aiStrategicArea.addNeighbour Train_Station
aiStrategicArea.addNeighbour Train_Depot
aiStrategicArea.addNeighbour Train_Supply
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

endIf