This page is under construction
archives/bf1942/levels/Dong_Hoi.rfa
bf1942/levels/Dong_Hoi/AI/StrategicAreas.con
rem *******************************************************
rem Dong Hoi - 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_Airbase 540/1520 559/1545 50 land
aiStrategicArea.create Dong_Hoi_Airbase 1551/428 1576/453 50 land
aiStrategicArea.create Fishing_Village 799/1111 844/1156 200 land
aiStrategicArea.create Industrial_Area 603/844 658/899 200 land
aiStrategicArea.create Vietnamese_School 446/560 491/605 200 land
rem *** Create landingzones ***
AILandingZone.createLandingZone lzFishingVillage1 925/1050 1025/1150 LZZMax
AILandingZone.createLandingZone lzFishingVillage2 885/950 985/1050 LZXMin
AILandingZone.createLandingZone lzIndustrialArea 895/790 995/890 LZXMin
AILandingZone.createLandingZone lzSchool 780/590 880/690 LZXMin
rem *** Build strategic areas ***
aiStrategicArea.setActive NVA_Airbase
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Dong_Hoi_Airbase
rem Infantry 559/1545
rem Tank 559/1545
aiStrategicArea.setOrderPosition Boat 814/1819
aiStrategicArea.setOrderPosition LandingCraft 814/1819
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 Dong_Hoi_Airbase
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Airbase
rem Infantry 1566/443
rem Tank 1566/443
aiStrategicArea.setOrderPosition Boat 1330/592
aiStrategicArea.setOrderPosition LandingCraft 1330/592
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 Fishing_Village
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Airbase
aiStrategicArea.addNeighbour Dong_Hoi_Airbase
aiStrategicArea.addNeighbour Industrial_Area
aiStrategicArea.addNeighbour Vietnamese_School
rem Infantry 844/1156
rem Tank 844/1156
aiStrategicArea.setOrderPosition Boat 1050/980
aiStrategicArea.setOrderPosition LandingCraft 1050/980
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzFishingVillage1
AIStrategicArea.attachLandingZone lzFishingVillage2
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Industrial_Area
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Airbase
aiStrategicArea.addNeighbour Fishing_Village
aiStrategicArea.addNeighbour Vietnamese_School
rem Infantry 658/899
rem Tank 658/899
aiStrategicArea.setOrderPosition Boat 990/840
aiStrategicArea.setOrderPosition LandingCraft 990/840
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzIndustrialArea
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Vietnamese_School
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Dong_Hoi_Airbase
aiStrategicArea.addNeighbour Fishing_Village
aiStrategicArea.addNeighbour Industrial_Area
rem Infantry 491/605
rem Tank 491/605
aiStrategicArea.setOrderPosition Boat 940/570
aiStrategicArea.setOrderPosition LandingCraft 940/570
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzSchool
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf
rem Dong Hoi - 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_Airbase 540/1520 559/1545 50 land
aiStrategicArea.create Dong_Hoi_Airbase 1551/428 1576/453 50 land
aiStrategicArea.create Fishing_Village 799/1111 844/1156 200 land
aiStrategicArea.create Industrial_Area 603/844 658/899 200 land
aiStrategicArea.create Vietnamese_School 446/560 491/605 200 land
rem *** Create landingzones ***
AILandingZone.createLandingZone lzFishingVillage1 925/1050 1025/1150 LZZMax
AILandingZone.createLandingZone lzFishingVillage2 885/950 985/1050 LZXMin
AILandingZone.createLandingZone lzIndustrialArea 895/790 995/890 LZXMin
AILandingZone.createLandingZone lzSchool 780/590 880/690 LZXMin
rem *** Build strategic areas ***
aiStrategicArea.setActive NVA_Airbase
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Dong_Hoi_Airbase
rem Infantry 559/1545
rem Tank 559/1545
aiStrategicArea.setOrderPosition Boat 814/1819
aiStrategicArea.setOrderPosition LandingCraft 814/1819
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 Dong_Hoi_Airbase
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Airbase
rem Infantry 1566/443
rem Tank 1566/443
aiStrategicArea.setOrderPosition Boat 1330/592
aiStrategicArea.setOrderPosition LandingCraft 1330/592
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 Fishing_Village
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Airbase
aiStrategicArea.addNeighbour Dong_Hoi_Airbase
aiStrategicArea.addNeighbour Industrial_Area
aiStrategicArea.addNeighbour Vietnamese_School
rem Infantry 844/1156
rem Tank 844/1156
aiStrategicArea.setOrderPosition Boat 1050/980
aiStrategicArea.setOrderPosition LandingCraft 1050/980
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzFishingVillage1
AIStrategicArea.attachLandingZone lzFishingVillage2
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Industrial_Area
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Airbase
aiStrategicArea.addNeighbour Fishing_Village
aiStrategicArea.addNeighbour Vietnamese_School
rem Infantry 658/899
rem Tank 658/899
aiStrategicArea.setOrderPosition Boat 990/840
aiStrategicArea.setOrderPosition LandingCraft 990/840
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzIndustrialArea
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Vietnamese_School
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Dong_Hoi_Airbase
aiStrategicArea.addNeighbour Fishing_Village
aiStrategicArea.addNeighbour Industrial_Area
rem Infantry 491/605
rem Tank 491/605
aiStrategicArea.setOrderPosition Boat 940/570
aiStrategicArea.setOrderPosition LandingCraft 940/570
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzSchool
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf