This page is under construction
archives/bf1942/levels/cairo.rfa
bf1942/levels/cairo/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 west_outpost 687/677 697/687 50 land
aiStrategicArea.create City 784.3/907.7 791.8/915.2 50 land
aiStrategicArea.create Park 645/792.3 655/802.3 50 land
aiStrategicArea.create Church 913.5/796 923.5/806 50 land
aiStrategicArea.create East_outpost 870/713 880/723 50 land


aiStrategicArea.setActive west_outpost
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour City
aiStrategicArea.addNeighbour Park
aiStrategicArea.addNeighbour Church
aiStrategicArea.addNeighbour East_outpost
aiStrategicArea.setOrderPosition Infantry 697/687
aiStrategicArea.setOrderPosition Tank 697/687
aiStrategicArea.setOrderPosition Car 697/687
aiStrategicArea.setOrderPosition Boat 697/687
aiStrategicArea.setOrderPosition LandingCraft 697/687
aiStrategicArea.setOrderPosition Amphibius 697/687
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive City
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour west_outpost
aiStrategicArea.addNeighbour Park
aiStrategicArea.addNeighbour Church
aiStrategicArea.addNeighbour East_outpost
aiStrategicArea.setOrderPosition Infantry 792/915
aiStrategicArea.setOrderPosition Tank 792/915
aiStrategicArea.setOrderPosition Car 792/915
aiStrategicArea.setOrderPosition Boat 792/915
aiStrategicArea.setOrderPosition LandingCraft 792/915
aiStrategicArea.setOrderPosition Amphibius 792/915
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Park
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour west_outpost
aiStrategicArea.addNeighbour City
aiStrategicArea.addNeighbour Church
aiStrategicArea.addNeighbour East_outpost
aiStrategicArea.setOrderPosition Infantry 655/802
aiStrategicArea.setOrderPosition Tank 655/802
aiStrategicArea.setOrderPosition Car 655/802
aiStrategicArea.setOrderPosition Boat 655/802
aiStrategicArea.setOrderPosition LandingCraft 655/802
aiStrategicArea.setOrderPosition Amphibius 655/802
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Church
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour west_outpost
aiStrategicArea.addNeighbour City
aiStrategicArea.addNeighbour Park
aiStrategicArea.addNeighbour East_outpost
aiStrategicArea.setOrderPosition Infantry 924/806
aiStrategicArea.setOrderPosition Tank 924/806
aiStrategicArea.setOrderPosition Car 924/806
aiStrategicArea.setOrderPosition Boat 924/806
aiStrategicArea.setOrderPosition LandingCraft 924/806
aiStrategicArea.setOrderPosition Amphibius 924/806
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive East_outpost
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour west_outpost
aiStrategicArea.addNeighbour City
aiStrategicArea.addNeighbour Park
aiStrategicArea.addNeighbour Church
aiStrategicArea.setOrderPosition Infantry 880/723
aiStrategicArea.setOrderPosition Tank 880/723
aiStrategicArea.setOrderPosition Car 880/723
aiStrategicArea.setOrderPosition Boat 880/723
aiStrategicArea.setOrderPosition LandingCraft 880/723
aiStrategicArea.setOrderPosition Amphibius 880/723
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0



endIf