This page is under construction
Archives/Bf1942/Levels/Shipment.rfa
bf1942/levels/Shipment/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 Point1 868.7/876.9 872/880.2 50 land
aiStrategicArea.create Point2 890.9/876.7 894.2/880 50 land
aiStrategicArea.create Point3 867.3/897.9 870.6/901.2 50 land
aiStrategicArea.create Point4 890.6/898.6 893.9/901.9 50 land
aiStrategicArea.create Point5 879.3/886.8 882.6/890.1 50 land


aiStrategicArea.setActive Point1
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addNeighbour Point2
aiStrategicArea.addNeighbour Point3
aiStrategicArea.addNeighbour Point4
aiStrategicArea.addNeighbour Point5
aiStrategicArea.setOrderPosition Infantry 872/880
aiStrategicArea.setOrderPosition Tank 872/880
aiStrategicArea.setOrderPosition Car 872/880
aiStrategicArea.setOrderPosition Boat 872/880
aiStrategicArea.setOrderPosition LandingCraft 872/880
aiStrategicArea.setOrderPosition Amphibius 872/880
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Point2
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addNeighbour Point1
aiStrategicArea.addNeighbour Point3
aiStrategicArea.addNeighbour Point4
aiStrategicArea.addNeighbour Point5
aiStrategicArea.setOrderPosition Infantry 894/880
aiStrategicArea.setOrderPosition Tank 894/880
aiStrategicArea.setOrderPosition Car 894/880
aiStrategicArea.setOrderPosition Boat 894/880
aiStrategicArea.setOrderPosition LandingCraft 894/880
aiStrategicArea.setOrderPosition Amphibius 894/880
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Point3
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addNeighbour Point1
aiStrategicArea.addNeighbour Point2
aiStrategicArea.addNeighbour Point4
aiStrategicArea.addNeighbour Point5
aiStrategicArea.setOrderPosition Infantry 871/901
aiStrategicArea.setOrderPosition Tank 871/901
aiStrategicArea.setOrderPosition Car 871/901
aiStrategicArea.setOrderPosition Boat 871/901
aiStrategicArea.setOrderPosition LandingCraft 871/901
aiStrategicArea.setOrderPosition Amphibius 871/901
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Point4
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addNeighbour Point1
aiStrategicArea.addNeighbour Point2
aiStrategicArea.addNeighbour Point3
aiStrategicArea.addNeighbour Point5
aiStrategicArea.setOrderPosition Infantry 894/902
aiStrategicArea.setOrderPosition Tank 894/902
aiStrategicArea.setOrderPosition Car 894/902
aiStrategicArea.setOrderPosition Boat 894/902
aiStrategicArea.setOrderPosition LandingCraft 894/902
aiStrategicArea.setOrderPosition Amphibius 894/902
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Point5
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addNeighbour Point1
aiStrategicArea.addNeighbour Point2
aiStrategicArea.addNeighbour Point3
aiStrategicArea.addNeighbour Point4
aiStrategicArea.setOrderPosition Infantry 883/890
aiStrategicArea.setOrderPosition Tank 883/890
aiStrategicArea.setOrderPosition Car 883/890
aiStrategicArea.setOrderPosition Boat 883/890
aiStrategicArea.setOrderPosition LandingCraft 883/890
aiStrategicArea.setOrderPosition Amphibius 883/890
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0



endIf