This page is under construction
archives/bf1942/levels/anzio.rfa
bf1942/levels/anzio/ai/StrategicAreas.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create vehicle groups ***
aiSettings.createVehicleGroup land
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 land
aiSettings.addVehicleToVehicleGroup 4 any
aiSettings.addVehicleToVehicleGroup 5 land
aiSettings.addVehicleToVehicleGroup 6 land
aiSettings.addVehicleToVehicleGroup 7 any
aiSettings.addVehicleToVehicleGroup 8 any
aiSettings.addVehicleToVehicleGroup 9 sea
aiSettings.addVehicleToVehicleGroup 10 any
aiSettings.addVehicleToVehicleGroup 11 any
aiSettings.addVehicleToVehicleGroup 12 sea
aiSettings.addVehicleToVehicleGroup 13 land
aiSettings.addVehicleToVehicleGroup 14 land
rem *** Create categories ***
aiStrategicArea.createNewCategory land
aiStrategicArea.createNewCategory sea
rem *** Create strategic areas ***
aiStrategicArea.create Allies_base 1076/1138 1096/1158 200 land
aiStrategicArea.create Allies_harbour 1269.5/1089 1290/1109 240 land
aiStrategicArea.create Axis_trainstation 875/1664 890/1679 240 land
aiStrategicArea.create Axisbase 929/1457.5 952/1480 200 land
aiStrategicArea.create Openbase_Obunker 1097/1370 1112/1385 150 land
aiStrategicArea.create Openbase_Radiobunker 1291/1514.5 1306/1530 150 land
aiStrategicArea.setActive Allies_base
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Allies_harbour
AIStrategicArea.addNeighbour Openbase_Obunker
AIStrategicArea.addNeighbour Openbase_Radiobunker
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag West
aiStrategicArea.addObjectTypeFlag South
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1091/1160
AIStrategicArea.setOrderPosition Infantry 1096/1160
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 22.2036
aiStrategicArea.setActive Allies_harbour
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.addNeighbour Allies_base
AIStrategicArea.addNeighbour Openbase_Obunker
AIStrategicArea.addNeighbour Openbase_Radiobunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag East
aiStrategicArea.addObjectTypeFlag South
AIStrategicArea.setOrderPosition Tank 1295/1114
AIStrategicArea.setOrderPosition Infantry 1297/1111
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 65.3911
aiStrategicArea.setActive Axis_trainstation
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Axisbase
AIStrategicArea.addNeighbour Openbase_Obunker
AIStrategicArea.addNeighbour Openbase_Radiobunker
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag East
aiStrategicArea.addObjectTypeFlag North
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 897/1677
AIStrategicArea.setOrderPosition Infantry 885/1678
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 70.0
aiStrategicArea.setActive Axisbase
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Openbase_Radiobunker
AIStrategicArea.addNeighbour Axis_trainstation
AIStrategicArea.addNeighbour Openbase_Obunker
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag West
aiStrategicArea.addObjectTypeFlag North
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 949/1473
AIStrategicArea.setOrderPosition Infantry 946/1477
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 30.0
aiStrategicArea.setActive Openbase_Obunker
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Allies_base
AIStrategicArea.addNeighbour Openbase_Radiobunker
AIStrategicArea.addNeighbour Allies_harbour
AIStrategicArea.addNeighbour Axis_trainstation
AIStrategicArea.addNeighbour Axisbase
aiStrategicArea.addObjectTypeFlag West
aiStrategicArea.addObjectTypeFlag Centre
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1121/1384
AIStrategicArea.setOrderPosition Infantry 1123/1386
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 23.7539
aiStrategicArea.setActive Openbase_Radiobunker
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Openbase_Obunker
AIStrategicArea.addNeighbour Axis_trainstation
AIStrategicArea.addNeighbour Allies_base
AIStrategicArea.addNeighbour Allies_harbour
AIStrategicArea.addNeighbour Axisbase
aiStrategicArea.addObjectTypeFlag East
aiStrategicArea.addObjectTypeFlag Flank
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1308/1532
AIStrategicArea.setOrderPosition Infantry 1307/1536
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 14.5
rem ----------------------------------------------------------------------------
endIf
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create vehicle groups ***
aiSettings.createVehicleGroup land
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 land
aiSettings.addVehicleToVehicleGroup 4 any
aiSettings.addVehicleToVehicleGroup 5 land
aiSettings.addVehicleToVehicleGroup 6 land
aiSettings.addVehicleToVehicleGroup 7 any
aiSettings.addVehicleToVehicleGroup 8 any
aiSettings.addVehicleToVehicleGroup 9 sea
aiSettings.addVehicleToVehicleGroup 10 any
aiSettings.addVehicleToVehicleGroup 11 any
aiSettings.addVehicleToVehicleGroup 12 sea
aiSettings.addVehicleToVehicleGroup 13 land
aiSettings.addVehicleToVehicleGroup 14 land
rem *** Create categories ***
aiStrategicArea.createNewCategory land
aiStrategicArea.createNewCategory sea
rem *** Create strategic areas ***
aiStrategicArea.create Allies_base 1076/1138 1096/1158 200 land
aiStrategicArea.create Allies_harbour 1269.5/1089 1290/1109 240 land
aiStrategicArea.create Axis_trainstation 875/1664 890/1679 240 land
aiStrategicArea.create Axisbase 929/1457.5 952/1480 200 land
aiStrategicArea.create Openbase_Obunker 1097/1370 1112/1385 150 land
aiStrategicArea.create Openbase_Radiobunker 1291/1514.5 1306/1530 150 land
aiStrategicArea.setActive Allies_base
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Allies_harbour
AIStrategicArea.addNeighbour Openbase_Obunker
AIStrategicArea.addNeighbour Openbase_Radiobunker
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag West
aiStrategicArea.addObjectTypeFlag South
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1091/1160
AIStrategicArea.setOrderPosition Infantry 1096/1160
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 22.2036
aiStrategicArea.setActive Allies_harbour
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.addNeighbour Allies_base
AIStrategicArea.addNeighbour Openbase_Obunker
AIStrategicArea.addNeighbour Openbase_Radiobunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag East
aiStrategicArea.addObjectTypeFlag South
AIStrategicArea.setOrderPosition Tank 1295/1114
AIStrategicArea.setOrderPosition Infantry 1297/1111
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 65.3911
aiStrategicArea.setActive Axis_trainstation
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Axisbase
AIStrategicArea.addNeighbour Openbase_Obunker
AIStrategicArea.addNeighbour Openbase_Radiobunker
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag East
aiStrategicArea.addObjectTypeFlag North
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 897/1677
AIStrategicArea.setOrderPosition Infantry 885/1678
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 70.0
aiStrategicArea.setActive Axisbase
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Openbase_Radiobunker
AIStrategicArea.addNeighbour Axis_trainstation
AIStrategicArea.addNeighbour Openbase_Obunker
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag West
aiStrategicArea.addObjectTypeFlag North
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 949/1473
AIStrategicArea.setOrderPosition Infantry 946/1477
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 30.0
aiStrategicArea.setActive Openbase_Obunker
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Allies_base
AIStrategicArea.addNeighbour Openbase_Radiobunker
AIStrategicArea.addNeighbour Allies_harbour
AIStrategicArea.addNeighbour Axis_trainstation
AIStrategicArea.addNeighbour Axisbase
aiStrategicArea.addObjectTypeFlag West
aiStrategicArea.addObjectTypeFlag Centre
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1121/1384
AIStrategicArea.setOrderPosition Infantry 1123/1386
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 23.7539
aiStrategicArea.setActive Openbase_Radiobunker
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Openbase_Obunker
AIStrategicArea.addNeighbour Axis_trainstation
AIStrategicArea.addNeighbour Allies_base
AIStrategicArea.addNeighbour Allies_harbour
AIStrategicArea.addNeighbour Axisbase
aiStrategicArea.addObjectTypeFlag East
aiStrategicArea.addObjectTypeFlag Flank
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1308/1532
AIStrategicArea.setOrderPosition Infantry 1307/1536
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 14.5
rem ----------------------------------------------------------------------------
endIf