This page is under construction
Archives/bf1942/levels/mughar_ridge.rfa
bf1942/levels/mughar_ridge/AI/StrategicAreas.con
if v_arg1 == host

rem *** Create vehicle groups ***
aiSettings.createVehicleGroup land
aiSettings.createVehicleGroup infantry
aiSettings.createVehicleGroup any
aiSettings.createVehicleGroup sea

rem *** Add vehicles to the groups ***
aiSettings.addVehicleToVehicleGroup 0 land
aiSettings.addVehicleToVehicleGroup 1 any
aiSettings.addVehicleToVehicleGroup 2 sea
aiSettings.addVehicleToVehicleGroup 3 infantry
aiSettings.addVehicleToVehicleGroup 4 any
aiSettings.addVehicleToVehicleGroup 5 land
aiSettings.addVehicleToVehicleGroup 6 land
aiSettings.addVehicleToVehicleGroup 7 any
aiSettings.addVehicleToVehicleGroup 8 any
aiSettings.addVehicleToVehicleGroup 9 any
aiSettings.addVehicleToVehicleGroup 10 any
aiSettings.addVehicleToVehicleGroup 11 any
aiSettings.addVehicleToVehicleGroup 12 sea
aiSettings.addVehicleToVehicleGroup 13 any
aiSettings.addVehicleToVehicleGroup 14 land
aiSettings.addVehicleToVehicleGroup 15 any
aiSettings.addVehicleToVehicleGroup 16 any
aiSettings.addVehicleToVehicleGroup 17 any

rem *** Create categories ***
aiStrategicArea.createNewCategory land
aiStrategicArea.createNewCategory sea


rem *** Create strategic areas ***
aiStrategicArea.create Fort 1567/1137 1573.7/1143.7 50 land
aiStrategicArea.create ANZAC_Base 1113.2/1111.9 1129.9/1128.6 50 land
aiStrategicArea.create North_Beach 1334.3/1648.7 1341/1655.4 50 land
aiStrategicArea.create South_Beach 1352.6/1362.4 1355.9/1365.7 50 land
aiStrategicArea.create Artillery_Hill 1565.2/1376.1 1568.5/1379.4 50 land
aiStrategicArea.create Town 1530.5/1521.7 1537.2/1528.4 50 land
aiStrategicArea.create Lighthorse_Guard 1559.3/907.4 1576/924.1 50 land
aiStrategicArea.create Turk_Base 1595.2/1763.1 1611.9/1779.8 50 land


aiStrategicArea.setActive Fort
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour ANZAC_Base
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour Artillery_Hill
aiStrategicArea.addNeighbour Town
aiStrategicArea.addNeighbour Lighthorse_Guard
aiStrategicArea.addNeighbour Turk_Base
aiStrategicArea.setOrderPosition Infantry 1574/1144
aiStrategicArea.setOrderPosition Tank 1574/1144
aiStrategicArea.setOrderPosition Car 1574/1144
aiStrategicArea.setOrderPosition Boat 1574/1144
aiStrategicArea.setOrderPosition LandingCraft 1574/1144
aiStrategicArea.setOrderPosition Amphibius 1574/1144
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive ANZAC_Base
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Fort
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour Artillery_Hill
aiStrategicArea.addNeighbour Town
aiStrategicArea.addNeighbour Lighthorse_Guard
aiStrategicArea.addNeighbour Turk_Base
aiStrategicArea.setOrderPosition Infantry 1130/1129
aiStrategicArea.setOrderPosition Tank 1130/1129
aiStrategicArea.setOrderPosition Car 1130/1129
aiStrategicArea.setOrderPosition Boat 1130/1129
aiStrategicArea.setOrderPosition LandingCraft 1130/1129
aiStrategicArea.setOrderPosition Amphibius 1130/1129
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive North_Beach
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Fort
aiStrategicArea.addNeighbour ANZAC_Base
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour Artillery_Hill
aiStrategicArea.addNeighbour Town
aiStrategicArea.addNeighbour Lighthorse_Guard
aiStrategicArea.addNeighbour Turk_Base
aiStrategicArea.setOrderPosition Infantry 1341/1655
aiStrategicArea.setOrderPosition Tank 1341/1655
aiStrategicArea.setOrderPosition Car 1341/1655
aiStrategicArea.setOrderPosition Boat 1341/1655
aiStrategicArea.setOrderPosition LandingCraft 1341/1655
aiStrategicArea.setOrderPosition Amphibius 1341/1655
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive South_Beach
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Fort
aiStrategicArea.addNeighbour ANZAC_Base
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.addNeighbour Artillery_Hill
aiStrategicArea.addNeighbour Town
aiStrategicArea.addNeighbour Lighthorse_Guard
aiStrategicArea.addNeighbour Turk_Base
aiStrategicArea.setOrderPosition Infantry 1356/1366
aiStrategicArea.setOrderPosition Tank 1356/1366
aiStrategicArea.setOrderPosition Car 1356/1366
aiStrategicArea.setOrderPosition Boat 1356/1366
aiStrategicArea.setOrderPosition LandingCraft 1356/1366
aiStrategicArea.setOrderPosition Amphibius 1356/1366
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Artillery_Hill
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Fort
aiStrategicArea.addNeighbour ANZAC_Base
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour Town
aiStrategicArea.addNeighbour Lighthorse_Guard
aiStrategicArea.addNeighbour Turk_Base
aiStrategicArea.setOrderPosition Infantry 1568/1379
aiStrategicArea.setOrderPosition Tank 1568/1379
aiStrategicArea.setOrderPosition Car 1568/1379
aiStrategicArea.setOrderPosition Boat 1568/1379
aiStrategicArea.setOrderPosition LandingCraft 1568/1379
aiStrategicArea.setOrderPosition Amphibius 1568/1379
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Town
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Fort
aiStrategicArea.addNeighbour ANZAC_Base
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour Artillery_Hill
aiStrategicArea.addNeighbour Lighthorse_Guard
aiStrategicArea.addNeighbour Turk_Base
aiStrategicArea.setOrderPosition Infantry 1537/1528
aiStrategicArea.setOrderPosition Tank 1537/1528
aiStrategicArea.setOrderPosition Car 1537/1528
aiStrategicArea.setOrderPosition Boat 1537/1528
aiStrategicArea.setOrderPosition LandingCraft 1537/1528
aiStrategicArea.setOrderPosition Amphibius 1537/1528
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Lighthorse_Guard
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Fort
aiStrategicArea.addNeighbour ANZAC_Base
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour Artillery_Hill
aiStrategicArea.addNeighbour Town
aiStrategicArea.addNeighbour Turk_Base
aiStrategicArea.setOrderPosition Infantry 1576/924
aiStrategicArea.setOrderPosition Tank 1576/924
aiStrategicArea.setOrderPosition Car 1576/924
aiStrategicArea.setOrderPosition Boat 1576/924
aiStrategicArea.setOrderPosition LandingCraft 1576/924
aiStrategicArea.setOrderPosition Amphibius 1576/924
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Turk_Base
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Fort
aiStrategicArea.addNeighbour ANZAC_Base
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour Artillery_Hill
aiStrategicArea.addNeighbour Town
aiStrategicArea.addNeighbour Lighthorse_Guard
aiStrategicArea.setOrderPosition Infantry 1612/1780
aiStrategicArea.setOrderPosition Tank 1612/1780
aiStrategicArea.setOrderPosition Car 1612/1780
aiStrategicArea.setOrderPosition Boat 1612/1780
aiStrategicArea.setOrderPosition LandingCraft 1612/1780
aiStrategicArea.setOrderPosition Amphibius 1612/1780
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 2 0
aiStrategicArea.vehicleSearchRadius 80.0



endIf