This page is under construction
archives/bf1942/levels/River_Bend.rfa
bf1942/levels/River_Bend/AI/StrategicAreas.con
rem *******************************************************
rem River Bend - AI'11 by Lotte|EoD
rem *******************************************************
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 NVA_Base 880.1/218 903.4/241.3 50 land
aiStrategicArea.create Allied_Base 172.6/195.8 199.3/222.5 50 land
aiStrategicArea.create Village_West 473.9/662.9 487.2/676.2 100 land
aiStrategicArea.create Village_East 662.6/526.1 679.3/542.8 100 land
aiStrategicArea.create Bunker_West 251.8/454.6 268.5/471.3 70 land
aiStrategicArea.create Bunker_East 783.3/431.1 800/447.8 70 land
aiStrategicArea.setActive NVA_Base
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Allied_Base
rem Infantry 903/241
rem Tank 903/241
aiStrategicArea.setOrderPosition Boat 815/245
aiStrategicArea.setOrderPosition LandingCraft 815/245
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 2 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Allied_Base
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
rem Infantry 199/222
rem Tank 199/222
aiStrategicArea.setOrderPosition Boat 255/225
aiStrategicArea.setOrderPosition LandingCraft 255/225
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Village_West
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Village_East
aiStrategicArea.addNeighbour Bunker_West
rem Infantry 487/676
rem Tank 487/676
aiStrategicArea.setOrderPosition Boat 425/720
aiStrategicArea.setOrderPosition LandingCraft 425/720
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Village_East
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Village_West
aiStrategicArea.addNeighbour Bunker_East
rem Infantry 679/543
rem Tank 679/543
aiStrategicArea.setOrderPosition Boat 670/675
aiStrategicArea.setOrderPosition LandingCraft 670/675
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Bunker_West
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Allied_Base
aiStrategicArea.addNeighbour Village_West
rem Infantry 268/471
rem Tank 268/471
aiStrategicArea.setOrderPosition Boat 320/475
aiStrategicArea.setOrderPosition LandingCraft 320/475
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Bunker_East
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
aiStrategicArea.addNeighbour Village_East
aiStrategicArea.addNeighbour Bunker_West
rem Infantry 800/448
rem Tank 800/448
aiStrategicArea.setOrderPosition Boat 745/440
aiStrategicArea.setOrderPosition LandingCraft 745/440
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf
rem River Bend - AI'11 by Lotte|EoD
rem *******************************************************
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 NVA_Base 880.1/218 903.4/241.3 50 land
aiStrategicArea.create Allied_Base 172.6/195.8 199.3/222.5 50 land
aiStrategicArea.create Village_West 473.9/662.9 487.2/676.2 100 land
aiStrategicArea.create Village_East 662.6/526.1 679.3/542.8 100 land
aiStrategicArea.create Bunker_West 251.8/454.6 268.5/471.3 70 land
aiStrategicArea.create Bunker_East 783.3/431.1 800/447.8 70 land
aiStrategicArea.setActive NVA_Base
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Allied_Base
rem Infantry 903/241
rem Tank 903/241
aiStrategicArea.setOrderPosition Boat 815/245
aiStrategicArea.setOrderPosition LandingCraft 815/245
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 2 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Allied_Base
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
rem Infantry 199/222
rem Tank 199/222
aiStrategicArea.setOrderPosition Boat 255/225
aiStrategicArea.setOrderPosition LandingCraft 255/225
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Village_West
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Village_East
aiStrategicArea.addNeighbour Bunker_West
rem Infantry 487/676
rem Tank 487/676
aiStrategicArea.setOrderPosition Boat 425/720
aiStrategicArea.setOrderPosition LandingCraft 425/720
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Village_East
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Village_West
aiStrategicArea.addNeighbour Bunker_East
rem Infantry 679/543
rem Tank 679/543
aiStrategicArea.setOrderPosition Boat 670/675
aiStrategicArea.setOrderPosition LandingCraft 670/675
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Bunker_West
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Allied_Base
aiStrategicArea.addNeighbour Village_West
rem Infantry 268/471
rem Tank 268/471
aiStrategicArea.setOrderPosition Boat 320/475
aiStrategicArea.setOrderPosition LandingCraft 320/475
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Bunker_East
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Base
aiStrategicArea.addNeighbour Village_East
aiStrategicArea.addNeighbour Bunker_West
rem Infantry 800/448
rem Tank 800/448
aiStrategicArea.setOrderPosition Boat 745/440
aiStrategicArea.setOrderPosition LandingCraft 745/440
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf