This page is under construction
Archives/bf1942/levels/GC_Alaris_prime.rfa
Bf1942/Levels/gc_alaris_prime/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 infantry
aiStrategicArea.createNewCategory sea
rem *** Create strategic areas ***
aiStrategicArea.create Imperial_Ion_Cannon 571.9/754.8 578.6/761.5 20 land
aiStrategicArea.create Rebel_Landing_Point 212.1/709 215.4/712.3 5 land
aiStrategicArea.create Wookiee_Temple 850.3/387.3 853.6/390.6 10 infantry
aiStrategicArea.create Lumberyard 260.5/207.4 267.2/214.1 15 infantry
aiStrategicArea.create Mainhall_CP 514.1/920.9 520.8/927.6 50 infantry
aiStrategicArea.create Controlroom 531.5/947.8 533.5/949.8 70 infantry
aiStrategicArea.create fuelroom 462.9/890.4 469.6/897.1 60 infantry
aiStrategicArea.setActive Imperial_Ion_Cannon
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Wookiee_Temple
aiStrategicArea.addNeighbour Lumberyard
aiStrategicArea.addNeighbour Rebel_Landing_Point
aiStrategicArea.addNeighbour Mainhall_CP
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Rebel_Landing_Point
aiStrategicArea.addNeighbour Lumberyard
aiStrategicArea.addNeighbour Wookiee_Temple
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Wookiee_Temple
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Lumberyard
aiStrategicArea.addNeighbour Rebel_Landing_Point
aiStrategicArea.addNeighbour Imperial_Ion_Cannon
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Lumberyard
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Wookiee_Temple
aiStrategicArea.addNeighbour Rebel_Landing_Point
aiStrategicArea.addNeighbour Imperial_Ion_Cannon
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Mainhall_CP
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Imperial_Ion_Cannon
aiStrategicArea.addNeighbour Controlroom
aiStrategicArea.addNeighbour fuelroom
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Controlroom
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mainhall_CP
aiStrategicArea.addNeighbour fuelroom
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive fuelroom
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mainhall_CP
aiStrategicArea.addNeighbour Controlroom
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
endIf
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 infantry
aiStrategicArea.createNewCategory sea
rem *** Create strategic areas ***
aiStrategicArea.create Imperial_Ion_Cannon 571.9/754.8 578.6/761.5 20 land
aiStrategicArea.create Rebel_Landing_Point 212.1/709 215.4/712.3 5 land
aiStrategicArea.create Wookiee_Temple 850.3/387.3 853.6/390.6 10 infantry
aiStrategicArea.create Lumberyard 260.5/207.4 267.2/214.1 15 infantry
aiStrategicArea.create Mainhall_CP 514.1/920.9 520.8/927.6 50 infantry
aiStrategicArea.create Controlroom 531.5/947.8 533.5/949.8 70 infantry
aiStrategicArea.create fuelroom 462.9/890.4 469.6/897.1 60 infantry
aiStrategicArea.setActive Imperial_Ion_Cannon
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Wookiee_Temple
aiStrategicArea.addNeighbour Lumberyard
aiStrategicArea.addNeighbour Rebel_Landing_Point
aiStrategicArea.addNeighbour Mainhall_CP
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Rebel_Landing_Point
aiStrategicArea.addNeighbour Lumberyard
aiStrategicArea.addNeighbour Wookiee_Temple
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Wookiee_Temple
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Lumberyard
aiStrategicArea.addNeighbour Rebel_Landing_Point
aiStrategicArea.addNeighbour Imperial_Ion_Cannon
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Lumberyard
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Wookiee_Temple
aiStrategicArea.addNeighbour Rebel_Landing_Point
aiStrategicArea.addNeighbour Imperial_Ion_Cannon
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Mainhall_CP
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Imperial_Ion_Cannon
aiStrategicArea.addNeighbour Controlroom
aiStrategicArea.addNeighbour fuelroom
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Controlroom
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mainhall_CP
aiStrategicArea.addNeighbour fuelroom
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive fuelroom
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mainhall_CP
aiStrategicArea.addNeighbour Controlroom
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
endIf