This page is under construction
Archives/bf1942/levels/SG_Clean_Sweep.rfa
bf1942/levels/SG_Clean_Sweep/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 research_station 993.7/981.8 994.4/982.5 50 land
aiStrategicArea.create hatak 1755.4/1594.1 1756.1/1594.8 50 land
aiStrategicArea.create Lower_stations 798/1008.9 801.3/1012.2 50 land
aiStrategicArea.setActive research_station
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour hatak
aiStrategicArea.addNeighbour Lower_stations
aiStrategicArea.setOrderPosition Infantry 994/982
aiStrategicArea.setOrderPosition Tank 994/982
aiStrategicArea.setOrderPosition Car 994/982
aiStrategicArea.setOrderPosition Boat 994/982
aiStrategicArea.setOrderPosition LandingCraft 994/982
aiStrategicArea.setOrderPosition Amphibius 994/982
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive hatak
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour research_station
aiStrategicArea.addNeighbour Lower_stations
aiStrategicArea.setOrderPosition Infantry 1756/1595
aiStrategicArea.setOrderPosition Tank 1756/1595
aiStrategicArea.setOrderPosition Car 1756/1595
aiStrategicArea.setOrderPosition Boat 1756/1595
aiStrategicArea.setOrderPosition LandingCraft 1756/1595
aiStrategicArea.setOrderPosition Amphibius 1756/1595
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 Lower_stations
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour research_station
aiStrategicArea.addNeighbour hatak
aiStrategicArea.setOrderPosition Infantry 801/1012
aiStrategicArea.setOrderPosition Tank 801/1012
aiStrategicArea.setOrderPosition Car 801/1012
aiStrategicArea.setOrderPosition Boat 801/1012
aiStrategicArea.setOrderPosition LandingCraft 801/1012
aiStrategicArea.setOrderPosition Amphibius 801/1012
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 research_station 993.7/981.8 994.4/982.5 50 land
aiStrategicArea.create hatak 1755.4/1594.1 1756.1/1594.8 50 land
aiStrategicArea.create Lower_stations 798/1008.9 801.3/1012.2 50 land
aiStrategicArea.setActive research_station
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour hatak
aiStrategicArea.addNeighbour Lower_stations
aiStrategicArea.setOrderPosition Infantry 994/982
aiStrategicArea.setOrderPosition Tank 994/982
aiStrategicArea.setOrderPosition Car 994/982
aiStrategicArea.setOrderPosition Boat 994/982
aiStrategicArea.setOrderPosition LandingCraft 994/982
aiStrategicArea.setOrderPosition Amphibius 994/982
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive hatak
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour research_station
aiStrategicArea.addNeighbour Lower_stations
aiStrategicArea.setOrderPosition Infantry 1756/1595
aiStrategicArea.setOrderPosition Tank 1756/1595
aiStrategicArea.setOrderPosition Car 1756/1595
aiStrategicArea.setOrderPosition Boat 1756/1595
aiStrategicArea.setOrderPosition LandingCraft 1756/1595
aiStrategicArea.setOrderPosition Amphibius 1756/1595
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 Lower_stations
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour research_station
aiStrategicArea.addNeighbour hatak
aiStrategicArea.setOrderPosition Infantry 801/1012
aiStrategicArea.setOrderPosition Tank 801/1012
aiStrategicArea.setOrderPosition Car 801/1012
aiStrategicArea.setOrderPosition Boat 801/1012
aiStrategicArea.setOrderPosition LandingCraft 801/1012
aiStrategicArea.setOrderPosition Amphibius 801/1012
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf