This page is under construction
Archives/bf1942/levels/Midway.rfa
bf1942/levels/Midway/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 any
aiSettings.addVehicleToVehicleGroup 14 land


rem *** Create categories ***

aiStrategicArea.createNewCategory land
aiStrategicArea.createNewCategory sea

rem *** Create strategic areas ***
aiStrategicArea.create Base 2044.5/2099 2076/2142 120 land

aiStrategicArea.create OutPost 1824/1938 1842/1958 100 land

aiStrategicArea.create EastSide 2120/1925 2150/2020 40 land

aiStrategicArea.create NorthSea 1833/1504 1992/1568 10 sea

aiStrategicArea.create SouthSea 1800/2415 1980/2506 10 sea

rem aiStrategicArea.create EastSea 2559.5/1837.5 2760/2088 20 sea

rem aiStrategicArea.create WestSea 972/1836 1172/2036 20 sea

AILandingZone.createLandingZone NorthLanding 2021/2206 2171/2306 LZZMin

AILandingZone.createLandingZone SouthLanding 2034.5/1705 2209.5/1905 LZZMax

AILandingZone.createLandingZone SouthWestLanding 1973/1800 2026/1966 LZZMax

AILandingZone.createLandingZone WestLanding 1690/2000 1992/2051 LZXMax

AILandingZone.createLandingZone EastLanding 2220/1955 2370/2055 LZXMin

AILandingZone.createLandingZone NorthWestLanding 1690/2145.5 1790/2184.5 LZXMax

aiStrategicArea.setActive OutPost
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone SouthWestLanding
AIStrategicArea.addNeighbour Base
AIStrategicArea.addNeighbour EastSide
AIStrategicArea.addNeighbour SouthSea
aiStrategicArea.addObjectTypeFlag Flank
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1842/1958
AIStrategicArea.setOrderPosition Infantry 1842/1958
AIStrategicArea.setOrderPosition Boat 0/0
AIStrategicArea.setOrderPosition LandingCraft 0/0
AIStrategicArea.setOrderPosition Car 1842/1958
aiStrategicArea.setSide 0

aiStrategicArea.setActive Base
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone NorthLanding
AIStrategicArea.attachLandingZone WestLanding
AIStrategicArea.attachLandingZone NorthWestLanding
AIStrategicArea.addNeighbour OutPost
AIStrategicArea.addNeighbour EastSide
AIStrategicArea.addNeighbour NorthSea
AIStrategicArea.addNeighbour SouthSea
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 2109/2138
AIStrategicArea.setOrderPosition Infantry 2109/2138
AIStrategicArea.setOrderPosition Boat 0/0
AIStrategicArea.setOrderPosition LandingCraft 0/0
AIStrategicArea.setOrderPosition Car 2109/2138
aiStrategicArea.setSide 0

aiStrategicArea.setActive EastSide
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone SouthLanding
AIStrategicArea.attachLandingZone EastLanding
AIStrategicArea.addNeighbour OutPost
AIStrategicArea.addNeighbour Base
AIStrategicArea.addNeighbour NorthSea
AIStrategicArea.addNeighbour SouthSea
aiStrategicArea.addObjectTypeFlag Close
AIStrategicArea.setOrderPosition Tank 2138/2024
AIStrategicArea.setOrderPosition Infantry 2146/1943
AIStrategicArea.setOrderPosition Boat 0/0
AIStrategicArea.setOrderPosition LandingCraft 0/0
AIStrategicArea.setOrderPosition Car 2138/2024
aiStrategicArea.setSide 0

aiStrategicArea.setActive NorthSea
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addNeighbour SouthSea
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addObjectTypeFlag Flank
AIStrategicArea.setOrderPosition Tank 0/0
AIStrategicArea.setOrderPosition Infantry 0/0
AIStrategicArea.setOrderPosition Boat 2050/3052
AIStrategicArea.setOrderPosition LandingCraft 2050/3052
AIStrategicArea.setOrderPosition Car 0/0
aiStrategicArea.setSide 2

aiStrategicArea.setActive SouthSea
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addNeighbour NorthSea
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addObjectTypeFlag Flank
AIStrategicArea.setOrderPosition Tank 0/0
AIStrategicArea.setOrderPosition Infantry 0/0
AIStrategicArea.setOrderPosition Boat 2076/1004
AIStrategicArea.setOrderPosition LandingCraft 2076/1004
AIStrategicArea.setOrderPosition Car 0/0
aiStrategicArea.setSide 1


beginrem

aiStrategicArea.setActive WestSea
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addNeighbour NorthSea
AIStrategicArea.addNeighbour SouthSea
aiStrategicArea.addObjectTypeFlag Route
AIStrategicArea.setOrderPosition Tank 1172/2036
AIStrategicArea.setOrderPosition Infantry 1172/2036
AIStrategicArea.setOrderPosition Boat 1172/2036
AIStrategicArea.setOrderPosition LandingCraft 1172/2036
AIStrategicArea.setOrderPosition Car 1172/2036
aiStrategicArea.setSide 1

aiStrategicArea.setActive EastSea
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addNeighbour NorthSea
AIStrategicArea.addNeighbour SouthSea
aiStrategicArea.addObjectTypeFlag Route
AIStrategicArea.setOrderPosition Tank 0/0
AIStrategicArea.setOrderPosition Infantry 0/0
AIStrategicArea.setOrderPosition Boat 2760/2088
AIStrategicArea.setOrderPosition LandingCraft 2760/2088
AIStrategicArea.setOrderPosition Car 0/0
aiStrategicArea.setSide 2

endrem


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