This page is under construction
Archives/bf1942/levels/DC_Coastal_Hammer.rfa
bf1942/levels/DC_Coastal_Hammer/AI/StrategicAreas.con
rem *** Create vehicle groups ***

aiSettings.createVehicleGroup heavyVehicles
aiSettings.createVehicleGroup lightVehicles
aiSettings.createVehicleGroup airVehicles
aiSettings.createVehicleGroup seaVehicles
aiSettings.createVehicleGroup AmphibiusVehicles
aiSettings.createVehicleGroup common
aiSettings.createVehicleGroup Troops

rem * add vehicles to the groups *

aiSettings.addVehicleToVehicleGroup 0 heavyVehicles
aiSettings.addVehicleToVehicleGroup 1 airVehicles
aiSettings.addVehicleToVehicleGroup 2 seaVehicles
aiSettings.addVehicleToVehicleGroup 3 Troops
aiSettings.addVehicleToVehicleGroup 4 common
aiSettings.addVehicleToVehicleGroup 5 lightVehicles
aiSettings.addVehicleToVehicleGroup 6 heavyVehicles
aiSettings.addVehicleToVehicleGroup 7 seaVehicles
aiSettings.addVehicleToVehicleGroup 8 lightVehicles
aiSettings.addVehicleToVehicleGroup 9 seaVehicles
aiSettings.addVehicleToVehicleGroup 10 common
aiSettings.addVehicleToVehicleGroup 11 common
aiSettings.addVehicleToVehicleGroup 12 seaVehicles
aiSettings.addVehicleToVehicleGroup 13 common
aiSettings.addVehicleToVehicleGroup 14 heavyVehicles
aiSettings.addVehicleToVehicleGroup 15 airVehicles
aiSettings.addVehicleToVehicleGroup 16 AmphibiusVehicles
aiSettings.addVehicleToVehicleGroup 17 common
aiSettings.addVehicleToVehicleGroup 18 common






AILandingZone.createLandingZone 5444TDF43F3F 850/534 1189/834 LZZMax




rem *** Create categories ***
aiStrategicArea.createNewCategory(land)
aiStrategicArea.create Forest_Base 1654/98 1674/118 180 land
aiStrategicArea.create Beach_Base 1039/684 1059/704 10 land
aiStrategicArea.create Beach_Base2 1039/654 1059/674 10 land
aiStrategicArea.create Town_Base 963/144 983/164 80 land
aiStrategicArea.create Town_Square 946/263 966/283 80 land
aiStrategicArea.create Town_Park 817/288 837/308 70 land
aiStrategicArea.create Town_Motel 823/170 843/190 70 land
aiStrategicArea.create Island_Base 997/1309 1017/1329 10 land
aiStrategicArea.create bridge 1304/151 1324/171 40 land

aiStrategicArea.setActive Forest_Base
rem AIStrategicArea.addNeighbour Island_Base
rem AIStrategicArea.addNeighbour Beach_Base
rem AIStrategicArea.addNeighbour Town_Base
rem AIStrategicArea.addNeighbour Town_Park
rem AIStrategicArea.addNeighbour Town_Motel
rem AIStrategicArea.addNeighbour Town_Square
rem AIStrategicArea.addNeighbour bridge
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
AIStrategicArea.addAllowedVehicleGroup lightVehicles
AIStrategicArea.addAllowedVehicleGroup heavyVehicles
AIStrategicArea.addAllowedVehicleGroup airVehicles
AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 1664/108
AIStrategicArea.setOrderPosition Tank 1664/108
AIStrategicArea.setOrderPosition Car 1664/108
AIStrategicArea.setOrderPosition Amphibius 1664/108
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 250.0




aiStrategicArea.setActive Beach_Base2
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.addNeighbour Beach_Base
AIStrategicArea.addNeighbour Island_Base
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
AIStrategicArea.addAllowedVehicleGroup lightVehicles
AIStrategicArea.addAllowedVehicleGroup heavyVehicles
AIStrategicArea.addAllowedVehicleGroup airVehicles
AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 1049/674
AIStrategicArea.setOrderPosition Tank 1049/674
AIStrategicArea.setOrderPosition Car 1049/674
AIStrategicArea.setOrderPosition Amphibius 1049/674
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 200.0







aiStrategicArea.setActive Beach_Base
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.addNeighbour Beach_Base2
AIStrategicArea.addNeighbour Forest_Base
AIStrategicArea.addNeighbour Island_Base
AIStrategicArea.addNeighbour Town_Base
AIStrategicArea.addNeighbour Town_Park
AIStrategicArea.addNeighbour Town_Motel
AIStrategicArea.addNeighbour Town_Square
AIStrategicArea.addNeighbour bridge
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
AIStrategicArea.addAllowedVehicleGroup lightVehicles
AIStrategicArea.addAllowedVehicleGroup heavyVehicles
AIStrategicArea.addAllowedVehicleGroup airVehicles
AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 1049/694
AIStrategicArea.setOrderPosition Tank 1049/694
AIStrategicArea.setOrderPosition Car 1049/694
AIStrategicArea.setOrderPosition Amphibius 1049/694
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive Town_Base
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.addNeighbour Forest_Base
rem AIStrategicArea.addNeighbour Island_Base
AIStrategicArea.addNeighbour Beach_Base
AIStrategicArea.addNeighbour Beach_Base2
AIStrategicArea.addNeighbour Town_Park
AIStrategicArea.addNeighbour Town_Motel
AIStrategicArea.addNeighbour Town_Square
AIStrategicArea.addNeighbour bridge
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
AIStrategicArea.addAllowedVehicleGroup lightVehicles
AIStrategicArea.addAllowedVehicleGroup heavyVehicles
AIStrategicArea.addAllowedVehicleGroup airVehicles
AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 973/154
AIStrategicArea.setOrderPosition Tank 973/154
AIStrategicArea.setOrderPosition Car 973/154
AIStrategicArea.setOrderPosition Amphibius 973/154
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive Town_Square
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.addNeighbour Forest_Base
rem AIStrategicArea.addNeighbour Island_Base
AIStrategicArea.addNeighbour Beach_Base
AIStrategicArea.addNeighbour Beach_Base2
AIStrategicArea.addNeighbour Town_Base
AIStrategicArea.addNeighbour Town_Park
AIStrategicArea.addNeighbour Town_Motel
AIStrategicArea.addNeighbour bridge
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
AIStrategicArea.addAllowedVehicleGroup lightVehicles
AIStrategicArea.addAllowedVehicleGroup heavyVehicles
AIStrategicArea.addAllowedVehicleGroup airVehicles
AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 956/273
AIStrategicArea.setOrderPosition Tank 956/273
AIStrategicArea.setOrderPosition Car 956/273
AIStrategicArea.setOrderPosition Amphibius 956/273
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive Town_Park
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.addNeighbour Forest_Base
rem AIStrategicArea.addNeighbour Island_Base
AIStrategicArea.addNeighbour Beach_Base
AIStrategicArea.addNeighbour Beach_Base2
AIStrategicArea.addNeighbour Town_Base
AIStrategicArea.addNeighbour Town_Motel
AIStrategicArea.addNeighbour Town_Square
AIStrategicArea.addNeighbour bridge
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
rem AIStrategicArea.addAllowedVehicleGroup lightVehicles
rem AIStrategicArea.addAllowedVehicleGroup heavyVehicles
rem AIStrategicArea.addAllowedVehicleGroup airVehicles
rem AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
rem AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 827/298
rem AIStrategicArea.setOrderPosition Tank 827/298
remAIStrategicArea.setOrderPosition Car 827/298
rem AIStrategicArea.setOrderPosition Amphibius 827/298
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 5.0

aiStrategicArea.setActive Town_Motel
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.addNeighbour Forest_Base
rem AIStrategicArea.addNeighbour Island_Base
AIStrategicArea.addNeighbour Beach_Base
AIStrategicArea.addNeighbour Beach_Base2
AIStrategicArea.addNeighbour Town_Base
AIStrategicArea.addNeighbour Town_Park
AIStrategicArea.addNeighbour Town_Square
AIStrategicArea.addNeighbour bridge
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
AIStrategicArea.addAllowedVehicleGroup lightVehicles
AIStrategicArea.addAllowedVehicleGroup heavyVehicles
AIStrategicArea.addAllowedVehicleGroup airVehicles
AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 833/180
AIStrategicArea.setOrderPosition Tank 833/180
AIStrategicArea.setOrderPosition Car 833/180
AIStrategicArea.setOrderPosition Amphibius 833/180
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive Island_Base
aiStrategicArea.addObjectTypeFlag Base
rem aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
AIStrategicArea.addAllowedVehicleGroup lightVehicles
AIStrategicArea.addAllowedVehicleGroup heavyVehicles
AIStrategicArea.addAllowedVehicleGroup airVehicles
AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 1007/1319
AIStrategicArea.setOrderPosition Tank 1007/1319
AIStrategicArea.setOrderPosition Car 1007/1319
AIStrategicArea.setOrderPosition Amphibius 1007/1319
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive bridge
aiStrategicArea.addObjectTypeFlag Route
AIStrategicArea.addNeighbour Forest_Base
rem AIStrategicArea.addNeighbour Island_Base
AIStrategicArea.addNeighbour Beach_Base
AIStrategicArea.addNeighbour Beach_Base2
AIStrategicArea.addNeighbour Town_Base
AIStrategicArea.addNeighbour Town_Park
AIStrategicArea.addNeighbour Town_Motel
AIStrategicArea.addNeighbour Town_Square
AIStrategicArea.addAllowedVehicleGroup common
AIStrategicArea.addAllowedVehicleGroup Troops
AIStrategicArea.addAllowedVehicleGroup lightVehicles
AIStrategicArea.addAllowedVehicleGroup heavyVehicles
AIStrategicArea.addAllowedVehicleGroup airVehicles
AIStrategicArea.addAllowedVehicleGroup AmphibiusVehicles
AIStrategicArea.addAllowedVehicleGroup seaVehicles
AIStrategicArea.setOrderPosition Infantry 1314/161
AIStrategicArea.setOrderPosition Tank 1314/161
AIStrategicArea.setOrderPosition Car 1314/161
AIStrategicArea.setOrderPosition Amphibius 1314/161
rem aiStrategicArea.setSide 0
rem aiStrategicArea.setTakeable 2 0
aiStrategicArea.vehicleSearchRadius 150.0