This page is under construction
Archives/bf1942/levels/Wake.rfa
bf1942/levels/Wake/AI/StrategicAreas.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------

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

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 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
aiSettings.addVehicleToVehicleGroup 18 sea
aiSettings.addVehicleToVehicleGroup 19 land
aiSettings.addVehicleToVehicleGroup 20 any

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

rem *** Create strategic areas ***
aiStrategicArea.create DefGun1 614.5/1048.5 640/1074 50 land

aiStrategicArea.create SouthernBase 968.5/817.5 994/843 150 land

aiStrategicArea.create CrossRoads 1105/725 1135/760 150 land

aiStrategicArea.create WesternMainBaseExit 1325/698 1340/738 200 land

aiStrategicArea.create MainBase 1375/730 1407.5/765 400 land

aiStrategicArea.create NorthernMainBaseExit 1379.5/842.5 1397/855 200 land

aiStrategicArea.create FirstNorthernBase 1255/1180 1287.5/1200 150 land

aiStrategicArea.create SecondNorthernBase 1023.5/1195 1051/1220 100 land

aiStrategicArea.create DefGun2 862/1351 887/1376 50 land

aiStrategicArea.create SouthSea 975/220 1240.5/318.5 10 sea

aiStrategicArea.create EastSea 1690/535 1820/835 5 sea

aiStrategicArea.create NorthSea 940/1535 1155/1692.5 5 sea

aiStrategicArea.create WestSea 260/1290 455/1487.5 20 sea

AILandingZone.createLandingZone SouthLanding 1110/593 1196/713 LZZMax

AILandingZone.createLandingZone SouthBayLanding 1040/830 1115/935 LZZMin

AILandingZone.createLandingZone SouthTipLanding 600/1108 670/1228 LZZMin

AILandingZone.createLandingZone NorthTipLanding 744/1353 864/1443 LZXMax

AILandingZone.createLandingZone EastLanding 1440/938 1560/1026 LZXMin

AILandingZone.createLandingZone CentreLanding 1200/820 1320/940 LZXMax

aiStrategicArea.setActive DefGun1
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.attachLandingZone SouthTipLanding
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.addNeighbour SouthernBase
AIStrategicArea.addNeighbour WestSea
aiStrategicArea.addObjectTypeFlag Remote
AIStrategicArea.setOrderPosition Tank 667/1068
AIStrategicArea.setOrderPosition Infantry 662/1069
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 140.0

aiStrategicArea.setActive SouthernBase
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.attachLandingZone SouthBayLanding
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.addNeighbour DefGun1
AIStrategicArea.addNeighbour CrossRoads
AIStrategicArea.addNeighbour WestSea
aiStrategicArea.addObjectTypeFlag Flank
aiStrategicArea.addObjectTypeFlag South
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 990/842
AIStrategicArea.setOrderPosition Infantry 1001/865
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 110.0

aiStrategicArea.setActive CrossRoads
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.attachLandingZone SouthLanding
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.addNeighbour SouthernBase
AIStrategicArea.addNeighbour WesternMainBaseExit
AIStrategicArea.addNeighbour SouthSea
aiStrategicArea.addObjectTypeFlag Close
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Route
AIStrategicArea.setOrderPosition Tank 1131/774
AIStrategicArea.setOrderPosition Infantry 1118/757
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 100.0

aiStrategicArea.setActive WesternMainBaseExit
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.attachLandingZone CentreLanding
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.addNeighbour CrossRoads
AIStrategicArea.addNeighbour MainBase
AIStrategicArea.addNeighbour WestSea
aiStrategicArea.addObjectTypeFlag Centre
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ChokePoint
AIStrategicArea.setOrderPosition Tank 1337/723
AIStrategicArea.setOrderPosition Infantry 1351/746
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive MainBase
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addExpelledUnit LandingCraft
AIStrategicArea.addNeighbour WesternMainBaseExit
AIStrategicArea.addNeighbour NorthernMainBaseExit
aiStrategicArea.addObjectTypeFlag Centre
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1398/785
AIStrategicArea.setOrderPosition Infantry 1414/770
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 200.0

aiStrategicArea.setActive NorthernMainBaseExit
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.attachLandingZone EastLanding
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.addNeighbour MainBase
AIStrategicArea.addNeighbour FirstNorthernBase
AIStrategicArea.addNeighbour EastSea
aiStrategicArea.addObjectTypeFlag Centre
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ChokePoint
AIStrategicArea.setOrderPosition Tank 1401/855
AIStrategicArea.setOrderPosition Infantry 1412/874
aiStrategicArea.setSide 2

aiStrategicArea.setActive FirstNorthernBase
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour NorthernMainBaseExit
AIStrategicArea.addNeighbour SecondNorthernBase
aiStrategicArea.addObjectTypeFlag Close
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag StrongPoint
AIStrategicArea.setOrderPosition Tank 1291/1191
AIStrategicArea.setOrderPosition Infantry 1273/1210
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive SecondNorthernBase
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addExpelledUnit LandingCraft
AIStrategicArea.addNeighbour FirstNorthernBase
AIStrategicArea.addNeighbour DefGun2
aiStrategicArea.addObjectTypeFlag Flank
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1064/1228
AIStrategicArea.setOrderPosition Infantry 1050/1242
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 60.0

aiStrategicArea.setActive DefGun2
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.attachLandingZone NorthTipLanding
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.addNeighbour SecondNorthernBase
AIStrategicArea.addNeighbour WestSea
aiStrategicArea.addObjectTypeFlag Remote
AIStrategicArea.setOrderPosition Tank 894/1366
AIStrategicArea.setOrderPosition Infantry 886/1374
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 60.0

aiStrategicArea.setActive SouthSea
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addNeighbour EastSea
AIStrategicArea.addNeighbour WestSea
AIStrategicArea.setOrderPosition Boat 1137/398
AIStrategicArea.setOrderPosition LandingCraft 1137/398
aiStrategicArea.setSide 1

aiStrategicArea.setActive EastSea
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addNeighbour SouthSea
AIStrategicArea.addNeighbour NorthSea
AIStrategicArea.setOrderPosition Boat 1705/995
AIStrategicArea.setOrderPosition LandingCraft 1705/995
aiStrategicArea.setSide 1

aiStrategicArea.setActive NorthSea
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addNeighbour EastSea
AIStrategicArea.addNeighbour WestSea
AIStrategicArea.setOrderPosition Boat 1108/1546
AIStrategicArea.setOrderPosition LandingCraft 1108/1546
aiStrategicArea.setSide 1

aiStrategicArea.setActive WestSea
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addNeighbour SouthSea
AIStrategicArea.addNeighbour NorthSea
AIStrategicArea.setOrderPosition Boat 637/1358
AIStrategicArea.setOrderPosition LandingCraft 637/1358
aiStrategicArea.setSide 1

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