This page is under construction
Archives/bf1942/levels/maps - with documentation/Makin Atoll Redux/Makin_Atoll_Redux.rfa
bf1942/levels/Makin_Atoll_Redux/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 WestBeach 270.9/352.2 285.9/367.2 50 land
aiStrategicArea.create Village 451.8/450.1 476.8/475.1 50 land
aiStrategicArea.create SEASIDE 719.5/288.2 724.5/293.2 50 land
aiStrategicArea.create hillbunker 695.4/570.4 715.4/590.4 50 land
aiStrategicArea.create Airfield 459/319.1 494/354.1 50 land
aiStrategicArea.setActive WestBeach
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour SEASIDE
aiStrategicArea.addNeighbour hillbunker
aiStrategicArea.addNeighbour Airfield
aiStrategicArea.setOrderPosition Infantry 286/367
aiStrategicArea.setOrderPosition Tank 274/369
aiStrategicArea.setOrderPosition Car 274/369
aiStrategicArea.setOrderPosition Boat 286/367
aiStrategicArea.setOrderPosition LandingCraft 286/367
aiStrategicArea.setOrderPosition Amphibius 286/367
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 2 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Village
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour WestBeach
aiStrategicArea.addNeighbour SEASIDE
aiStrategicArea.addNeighbour hillbunker
aiStrategicArea.addNeighbour Airfield
aiStrategicArea.setOrderPosition Infantry 477/475
aiStrategicArea.setOrderPosition Tank 477/475
aiStrategicArea.setOrderPosition Car 477/475
aiStrategicArea.setOrderPosition Boat 477/475
aiStrategicArea.setOrderPosition LandingCraft 477/475
aiStrategicArea.setOrderPosition Amphibius 477/475
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive SEASIDE
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour WestBeach
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour hillbunker
aiStrategicArea.addNeighbour Airfield
aiStrategicArea.setOrderPosition Infantry 724/293
aiStrategicArea.setOrderPosition Tank 680/336
aiStrategicArea.setOrderPosition Car 680/336
aiStrategicArea.setOrderPosition Boat 724/293
aiStrategicArea.setOrderPosition LandingCraft 724/293
aiStrategicArea.setOrderPosition Amphibius 724/293
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 hillbunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour WestBeach
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour SEASIDE
aiStrategicArea.addNeighbour Airfield
aiStrategicArea.setOrderPosition Infantry 716/580
aiStrategicArea.setOrderPosition Tank 715/583
aiStrategicArea.setOrderPosition Car 715/583
aiStrategicArea.setOrderPosition Boat 715/583
aiStrategicArea.setOrderPosition LandingCraft 715/590
aiStrategicArea.setOrderPosition Amphibius 715/590
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Airfield
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour WestBeach
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour SEASIDE
aiStrategicArea.addNeighbour hillbunker
aiStrategicArea.setOrderPosition Infantry 494/361
aiStrategicArea.setOrderPosition Tank 510/354
aiStrategicArea.setOrderPosition Car 510/354
aiStrategicArea.setOrderPosition Boat 494/354
aiStrategicArea.setOrderPosition LandingCraft 494/354
aiStrategicArea.setOrderPosition Amphibius 494/354
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf
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 WestBeach 270.9/352.2 285.9/367.2 50 land
aiStrategicArea.create Village 451.8/450.1 476.8/475.1 50 land
aiStrategicArea.create SEASIDE 719.5/288.2 724.5/293.2 50 land
aiStrategicArea.create hillbunker 695.4/570.4 715.4/590.4 50 land
aiStrategicArea.create Airfield 459/319.1 494/354.1 50 land
aiStrategicArea.setActive WestBeach
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour SEASIDE
aiStrategicArea.addNeighbour hillbunker
aiStrategicArea.addNeighbour Airfield
aiStrategicArea.setOrderPosition Infantry 286/367
aiStrategicArea.setOrderPosition Tank 274/369
aiStrategicArea.setOrderPosition Car 274/369
aiStrategicArea.setOrderPosition Boat 286/367
aiStrategicArea.setOrderPosition LandingCraft 286/367
aiStrategicArea.setOrderPosition Amphibius 286/367
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 2 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Village
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour WestBeach
aiStrategicArea.addNeighbour SEASIDE
aiStrategicArea.addNeighbour hillbunker
aiStrategicArea.addNeighbour Airfield
aiStrategicArea.setOrderPosition Infantry 477/475
aiStrategicArea.setOrderPosition Tank 477/475
aiStrategicArea.setOrderPosition Car 477/475
aiStrategicArea.setOrderPosition Boat 477/475
aiStrategicArea.setOrderPosition LandingCraft 477/475
aiStrategicArea.setOrderPosition Amphibius 477/475
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive SEASIDE
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour WestBeach
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour hillbunker
aiStrategicArea.addNeighbour Airfield
aiStrategicArea.setOrderPosition Infantry 724/293
aiStrategicArea.setOrderPosition Tank 680/336
aiStrategicArea.setOrderPosition Car 680/336
aiStrategicArea.setOrderPosition Boat 724/293
aiStrategicArea.setOrderPosition LandingCraft 724/293
aiStrategicArea.setOrderPosition Amphibius 724/293
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 hillbunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour WestBeach
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour SEASIDE
aiStrategicArea.addNeighbour Airfield
aiStrategicArea.setOrderPosition Infantry 716/580
aiStrategicArea.setOrderPosition Tank 715/583
aiStrategicArea.setOrderPosition Car 715/583
aiStrategicArea.setOrderPosition Boat 715/583
aiStrategicArea.setOrderPosition LandingCraft 715/590
aiStrategicArea.setOrderPosition Amphibius 715/590
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Airfield
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour WestBeach
aiStrategicArea.addNeighbour Village
aiStrategicArea.addNeighbour SEASIDE
aiStrategicArea.addNeighbour hillbunker
aiStrategicArea.setOrderPosition Infantry 494/361
aiStrategicArea.setOrderPosition Tank 510/354
aiStrategicArea.setOrderPosition Car 510/354
aiStrategicArea.setOrderPosition Boat 494/354
aiStrategicArea.setOrderPosition LandingCraft 494/354
aiStrategicArea.setOrderPosition Amphibius 494/354
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf