This page is under construction
Archives/bf1942/levels/Charlie/Charlie.rfa
bf1942/levels/Charlie/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 AxisBase 946.3/1764.7 966.3/1784.7 50 land
aiStrategicArea.create EastBunker 1053.8/1121 1063.8/1131 50 land
aiStrategicArea.create WestBunker 930.6/1125.4 940.6/1135.4 50 land
aiStrategicArea.create AlliedBase 983.4/1008.9 1003.4/1028.9 50 land
aiStrategicArea.create WorkCamp 971.2/1308.7 991.2/1328.7 50 land
aiStrategicArea.create UpperBunker 1100.8/1524.8 1110.8/1534.8 50 land


aiStrategicArea.setActive AxisBase
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour EastBunker
aiStrategicArea.addNeighbour WestBunker
aiStrategicArea.addNeighbour AlliedBase
aiStrategicArea.addNeighbour WorkCamp
aiStrategicArea.addNeighbour UpperBunker
aiStrategicArea.setOrderPosition Infantry 966/1785
aiStrategicArea.setOrderPosition Tank 966/1785
aiStrategicArea.setOrderPosition Car 966/1785
aiStrategicArea.setOrderPosition Boat 966/1785
aiStrategicArea.setOrderPosition LandingCraft 966/1785
aiStrategicArea.setOrderPosition Amphibius 966/1785
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive EastBunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour AxisBase
aiStrategicArea.addNeighbour WestBunker
aiStrategicArea.addNeighbour AlliedBase
aiStrategicArea.addNeighbour WorkCamp
aiStrategicArea.addNeighbour UpperBunker
aiStrategicArea.setOrderPosition Infantry 1064/1131
aiStrategicArea.setOrderPosition Tank 1064/1131
aiStrategicArea.setOrderPosition Car 1064/1131
aiStrategicArea.setOrderPosition Boat 1064/1131
aiStrategicArea.setOrderPosition LandingCraft 1064/1131
aiStrategicArea.setOrderPosition Amphibius 1064/1131
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive WestBunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour AxisBase
aiStrategicArea.addNeighbour EastBunker
aiStrategicArea.addNeighbour AlliedBase
aiStrategicArea.addNeighbour WorkCamp
aiStrategicArea.addNeighbour UpperBunker
aiStrategicArea.setOrderPosition Infantry 941/1135
aiStrategicArea.setOrderPosition Tank 941/1135
aiStrategicArea.setOrderPosition Car 941/1135
aiStrategicArea.setOrderPosition Boat 941/1135
aiStrategicArea.setOrderPosition LandingCraft 941/1135
aiStrategicArea.setOrderPosition Amphibius 941/1135
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive AlliedBase
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour AxisBase
aiStrategicArea.addNeighbour EastBunker
aiStrategicArea.addNeighbour WestBunker
aiStrategicArea.addNeighbour WorkCamp
aiStrategicArea.addNeighbour UpperBunker
aiStrategicArea.setOrderPosition Infantry 1003/1029
aiStrategicArea.setOrderPosition Tank 1003/1029
aiStrategicArea.setOrderPosition Car 1003/1029
aiStrategicArea.setOrderPosition Boat 1003/1029
aiStrategicArea.setOrderPosition LandingCraft 1003/1029
aiStrategicArea.setOrderPosition Amphibius 1003/1029
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive WorkCamp
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour AxisBase
aiStrategicArea.addNeighbour EastBunker
aiStrategicArea.addNeighbour WestBunker
aiStrategicArea.addNeighbour AlliedBase
aiStrategicArea.addNeighbour UpperBunker
aiStrategicArea.setOrderPosition Infantry 991/1329
aiStrategicArea.setOrderPosition Tank 991/1329
aiStrategicArea.setOrderPosition Car 991/1329
aiStrategicArea.setOrderPosition Boat 991/1329
aiStrategicArea.setOrderPosition LandingCraft 991/1329
aiStrategicArea.setOrderPosition Amphibius 991/1329
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive UpperBunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour AxisBase
aiStrategicArea.addNeighbour EastBunker
aiStrategicArea.addNeighbour WestBunker
aiStrategicArea.addNeighbour AlliedBase
aiStrategicArea.addNeighbour WorkCamp
aiStrategicArea.setOrderPosition Infantry 1111/1535
aiStrategicArea.setOrderPosition Tank 1111/1535
aiStrategicArea.setOrderPosition Car 1111/1535
aiStrategicArea.setOrderPosition Boat 1111/1535
aiStrategicArea.setOrderPosition LandingCraft 1111/1535
aiStrategicArea.setOrderPosition Amphibius 1111/1535
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 150.0



endIf