This page is under construction
Archives/bf1942/levels/aberdeen.rfa
bf1942/levels/aberdeen/AI/StrategicAreas.con
rem *** Aberdeen Coop by Arc D'Wraith ***
rem *** Based on Ai Coding Tutorial - Part 18 ***



if v_arg1 == host



aiStrategicArea.create AX_Base 53/100 78/125 197

aiStrategicArea.create AX_Waypoint 353/192 433/272 10


aiStrategicArea.create CP_South 637/210 652/225 210

aiStrategicArea.create CP_West 369/418.5 384/433.5 199


aiStrategicArea.create CP_Centre 517/451 532/466 198


aiStrategicArea.create CP_East 632/543 647/558 199

aiStrategicArea.create CP_North 385/753 400/768 210


aiStrategicArea.create AL_Waypoint 546/694 606/754 10

aiStrategicArea.create AL_Base 872.27/888.88 897.27/913.88 197






aiStrategicArea.setActive AX_Base
AIStrategicArea.addNeighbour AX_Waypoint
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.setSide 1


aiStrategicArea.setActive AX_Waypoint
AIStrategicArea.addNeighbour AX_Base
AIStrategicArea.addNeighbour CP_South
AIStrategicArea.addNeighbour CP_East
AIStrategicArea.addNeighbour CP_West
AIStrategicArea.addNeighbour CP_Centre
aiStrategicArea.setSide 1




aiStrategicArea.setActive CP_South
AIStrategicArea.addNeighbour AX_Waypoint
AIStrategicArea.addNeighbour CP_East
AIStrategicArea.addNeighbour CP_West
AIStrategicArea.addNeighbour CP_Centre
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag SupplyPoint
aiStrategicArea.addObjectTypeFlag South
aiStrategicArea.setSide 0



aiStrategicArea.setActive CP_West
AIStrategicArea.addNeighbour AX_Waypoint
AIStrategicArea.addNeighbour AL_Waypoint
AIStrategicArea.addNeighbour CP_North
AIStrategicArea.addNeighbour CP_South
AIStrategicArea.addNeighbour CP_Centre
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag West
aiStrategicArea.vehicleSearchRadius 160.0
aiStrategicArea.setSide 0



aiStrategicArea.setActive CP_Centre
AIStrategicArea.addNeighbour AX_Waypoint
AIStrategicArea.addNeighbour AL_Waypoint
AIStrategicArea.addNeighbour CP_North
AIStrategicArea.addNeighbour CP_West
AIStrategicArea.addNeighbour CP_East
AIStrategicArea.addNeighbour CP_South
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Centre
aiStrategicArea.setSide 0



aiStrategicArea.setActive CP_East
AIStrategicArea.addNeighbour AL_Waypoint
AIStrategicArea.addNeighbour AX_Waypoint
AIStrategicArea.addNeighbour CP_North
AIStrategicArea.addNeighbour CP_Centre
AIStrategicArea.addNeighbour CP_South
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag East
aiStrategicArea.vehicleSearchRadius 160.0
aiStrategicArea.setSide 0


aiStrategicArea.setActive CP_North
AIStrategicArea.addNeighbour AL_Waypoint
AIStrategicArea.addNeighbour CP_Centre
AIStrategicArea.addNeighbour CP_West
AIStrategicArea.addNeighbour CP_East
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag SupplyPoint
aiStrategicArea.addObjectTypeFlag North
aiStrategicArea.setSide 0



aiStrategicArea.setActive AL_Waypoint
AIStrategicArea.addNeighbour AL_Base
AIStrategicArea.addNeighbour CP_North
AIStrategicArea.addNeighbour CP_West
AIStrategicArea.addNeighbour CP_East
AIStrategicArea.addNeighbour CP_Centre
aiStrategicArea.setSide 2



aiStrategicArea.setActive AL_Base
AIStrategicArea.addNeighbour AL_Waypoint
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.setSide 2





rem ----------------------------------------------------------------------------
endIf