This page is under construction
archives/bf1942/levels/coral_sea.rfa
bf1942/levels/coral_sea/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 North_Point1 1024.4/1928.3 1027.7/1931.6 50 land
aiStrategicArea.create New_Control_Point2 1022.9/138.5 1026.2/141.8 50 land
aiStrategicArea.create West_Point3 264.4/1123.3 267.7/1126.6 50 land
aiStrategicArea.create East_Point3 1829.3/1140.3 1832.6/1143.6 50 land


aiStrategicArea.setActive North_Point1
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour New_Control_Point2
aiStrategicArea.addNeighbour West_Point3
aiStrategicArea.addNeighbour East_Point3
aiStrategicArea.setOrderPosition Infantry 1028/1932
aiStrategicArea.setOrderPosition Tank 1028/1932
aiStrategicArea.setOrderPosition Car 1028/1932
aiStrategicArea.setOrderPosition Boat 1028/1932
aiStrategicArea.setOrderPosition LandingCraft 1028/1932
aiStrategicArea.setOrderPosition Amphibius 1028/1932
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive New_Control_Point2
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour North_Point1
aiStrategicArea.addNeighbour West_Point3
aiStrategicArea.addNeighbour East_Point3
aiStrategicArea.setOrderPosition Infantry 1026/142
aiStrategicArea.setOrderPosition Tank 1026/142
aiStrategicArea.setOrderPosition Car 1026/142
aiStrategicArea.setOrderPosition Boat 1026/142
aiStrategicArea.setOrderPosition LandingCraft 1026/142
aiStrategicArea.setOrderPosition Amphibius 1026/142
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive West_Point3
aiStrategicArea.addObjectTypeFlag route
aiStrategicArea.addNeighbour North_Point1
aiStrategicArea.addNeighbour New_Control_Point2
aiStrategicArea.addNeighbour East_Point3
aiStrategicArea.setOrderPosition Infantry 268/1127
aiStrategicArea.setOrderPosition Tank 268/1127
aiStrategicArea.setOrderPosition Car 268/1127
aiStrategicArea.setOrderPosition Boat 268/1127
aiStrategicArea.setOrderPosition LandingCraft 268/1127
aiStrategicArea.setOrderPosition Amphibius 268/1127
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive East_Point3
aiStrategicArea.addObjectTypeFlag route
aiStrategicArea.addNeighbour North_Point1
aiStrategicArea.addNeighbour New_Control_Point2
aiStrategicArea.addNeighbour West_Point3
aiStrategicArea.setOrderPosition Infantry 1833/1144
aiStrategicArea.setOrderPosition Tank 1833/1144
aiStrategicArea.setOrderPosition Car 1833/1144
aiStrategicArea.setOrderPosition Boat 1833/1144
aiStrategicArea.setOrderPosition LandingCraft 1833/1144
aiStrategicArea.setOrderPosition Amphibius 1833/1144
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0



endIf