This page is under construction
archives/bf1942/levels/gothic_line.rfa
bf1942/levels/gothic_line/ai/StrategicAreas.con
if v_arg1 == host

rem *** Create vehicle groups ***

aiSettings.createVehicleGroup land
aiSettings.createVehicleGroup infantry

rem * add vehicles to the groups *

aiSettings.addVehicleToVehicleGroup 0 land
aiSettings.addVehicleToVehicleGroup 1 land
aiSettings.addVehicleToVehicleGroup 2 land
aiSettings.addVehicleToVehicleGroup 3 infantry
aiSettings.addVehicleToVehicleGroup 4 land
aiSettings.addVehicleToVehicleGroup 5 land
aiSettings.addVehicleToVehicleGroup 6 land
aiSettings.addVehicleToVehicleGroup 7 land
aiSettings.addVehicleToVehicleGroup 8 land
aiSettings.addVehicleToVehicleGroup 9 land
aiSettings.addVehicleToVehicleGroup 10 land
aiSettings.addVehicleToVehicleGroup 11 land
aiSettings.addVehicleToVehicleGroup 12 land
aiSettings.addVehicleToVehicleGroup 13 land
aiSettings.addVehicleToVehicleGroup 14 land
aiSettings.addVehicleToVehicleGroup 15 land


rem *** Create strategic areas ***
aiStrategicArea.create AxisBase 847.226/437.35 867.226/457.35 200

aiStrategicArea.create AlliesBase 596.422/158.226 616.422/178.226 200

aiStrategicArea.create Gothic3 484.867/495.165 494.867/505.165 150

aiStrategicArea.create Gothic2 451.16/401.461 461.16/411.461 150

aiStrategicArea.create Gothic1 722.117/426.05 732.117/436.05 150

aiStrategicArea.create BackDoor 568/353 576/360 15

aiStrategicArea.create Waypoint1 368.835/443.49 378.835/453.49 50


aiStrategicArea.setActive AxisBase
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addNeighbour Gothic3
AIStrategicArea.addNeighbour Waypoint1
aiStrategicArea.addObjectTypeFlag Base
AIStrategicArea.setOrderPosition Tank 854/482
AIStrategicArea.setOrderPosition Infantry 863/469
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 55.0
aiStrategicArea.setTakeable 2 0

aiStrategicArea.setActive AlliesBase
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addNeighbour Gothic1
aiStrategicArea.addObjectTypeFlag Base
AIStrategicArea.setOrderPosition Tank 610/170
AIStrategicArea.setOrderPosition Infantry 626.5/192
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 50.0
aiStrategicArea.setTakeable 1 0

aiStrategicArea.setActive Gothic3
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addNeighbour AxisBase
AIStrategicArea.addNeighbour Waypoint1
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag West
AIStrategicArea.setOrderPosition Tank 502/502.5
AIStrategicArea.setOrderPosition Infantry 494/504
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 30.0

aiStrategicArea.setActive Gothic2
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addNeighbour Waypoint1
AIStrategicArea.addNeighbour BackDoor
AIStrategicArea.addNeighbour Gothic1
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Centre
AIStrategicArea.setOrderPosition Tank 455/412
AIStrategicArea.setOrderPosition Infantry 458/412.5
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 30.0

aiStrategicArea.setActive Gothic1
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addNeighbour Gothic2
AIStrategicArea.addNeighbour AlliesBase
AIStrategicArea.addNeighbour BackDoor
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag East
AIStrategicArea.setOrderPosition Tank 734/444
AIStrategicArea.setOrderPosition Infantry 728/444
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 60.0

aiStrategicArea.setActive BackDoor
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addNeighbour Gothic2
AIStrategicArea.addNeighbour AlliesBase
aiStrategicArea.addObjectTypeFlag Route
AIStrategicArea.setOrderPosition Tank 590/380
AIStrategicArea.setOrderPosition Infantry 576/360
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 2.0

aiStrategicArea.setActive Waypoint1
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addNeighbour AxisBase
AIStrategicArea.addNeighbour Gothic3
AIStrategicArea.addNeighbour Gothic2
aiStrategicArea.addObjectTypeFlag Route
AIStrategicArea.setOrderPosition Tank 370/455
AIStrategicArea.setOrderPosition Infantry 375.5/454
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 2.0

endIf