This page is under construction
archives/bf1942/levels/dc_weapon_bunkers.rfa
bf1942/levels/DC_Weapon_Bunkers/AI/StrategicAreas.con
rem *** DC_Weapon_Bunkers_010
rem *** borrowed from DC_OilFields_010
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create strategic areas ***
aiStrategicArea.create OppositionCamp 450/710 475/740 50
aiStrategicArea.create CoallitionBase 510/360 530/390 10
aiStrategicArea.create WestCoalitionWP1 375/420 380/425 1
aiStrategicArea.create EastCoalitionWP1 640/410 645/415 1
aiStrategicArea.create WestOppositionWP1 355/656 360/661 1
aiStrategicArea.create EastOppositionWP1 657/662 662/667 1
aiStrategicArea.create BunkerLeft 395/813 400/818 100
aiStrategicArea.create BunkerMiddle 470/813 475/818 100
aiStrategicArea.create BunkerRight 550/814 555/819 100
rem *** Define strategic areas ***
aiStrategicArea.setActive OppositionCamp
AIStrategicArea.addNeighbour WestOppositionWP1
AIStrategicArea.addNeighbour EastOppositionWP1
AIStrategicArea.addNeighbour BunkerLeft
AIStrategicArea.addNeighbour BunkerMiddle
AIStrategicArea.addNeighbour BunkerRight
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 475/740
AIStrategicArea.setOrderPosition Infantery 475/740
AIStrategicArea.setOrderPosition Car 475/740
aiStrategicArea.setSide 1
aiStrategicArea.setActive CoallitionBase
AIStrategicArea.addNeighbour WestCoalitionWP1
AIStrategicArea.addNeighbour EastCoalitionWP1
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 530/390
AIStrategicArea.setOrderPosition Infantery 530/390
AIStrategicArea.setOrderPosition Car 530/390
aiStrategicArea.setSide 2
rem aiStrategicArea.setActive WestBridge
rem AIStrategicArea.addNeighbour WestCoalitionWP1
rem AIStrategicArea.addNeighbour WestOppositionWP1
rem aiStrategicArea.addObjectTypeFlag Route
rem aiStrategicArea.setSide 0
rem aiStrategicArea.setActive EastBridge
rem AIStrategicArea.addNeighbour EastCoalitionWP1
rem AIStrategicArea.addNeighbour EastOppositionWP1
rem aiStrategicArea.addObjectTypeFlag Route
rem aiStrategicArea.setSide 0
aiStrategicArea.setActive WestCoalitionWP1
rem AIStrategicArea.addNeighbour WestBridge
AIStrategicArea.addNeighbour WestOppositionWP1
AIStrategicArea.addNeighbour CoallitionBase
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.setSide 2
aiStrategicArea.setActive EastCoalitionWP1
rem AIStrategicArea.addNeighbour EastBridge
AIStrategicArea.addNeighbour EastOppositionWP1
AIStrategicArea.addNeighbour CoallitionBase
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.setSide 2
aiStrategicArea.setActive WestOppositionWP1
rem AIStrategicArea.addNeighbour WestBridge
AIStrategicArea.addNeighbour WestCoalitionWP1
AIStrategicArea.addNeighbour OppositionBase
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.setSide 1
aiStrategicArea.setActive EastOppositionWP1
rem AIStrategicArea.addNeighbour EastBridge
AIStrategicArea.addNeighbour EastCoalitionWP1
AIStrategicArea.addNeighbour OppositionBase
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.setSide 1
aiStrategicArea.setActive BunkerLeft
AIStrategicArea.addNeighbour OppositionBase
AIStrategicArea.addNeighbour BunkerMiddle
AIStrategicArea.addNeighbour BunkerRight
aiStrategicArea.addObjectTypeFlag StrongPoint
aiStrategicArea.setSide 1
aiStrategicArea.setActive BunkerMiddle
AIStrategicArea.addNeighbour OppositionBase
AIStrategicArea.addNeighbour BunkerLeft
AIStrategicArea.addNeighbour BunkerRight
aiStrategicArea.addObjectTypeFlag StrongPoint
aiStrategicArea.setSide 1
aiStrategicArea.setActive BunkerRight
AIStrategicArea.addNeighbour OppositionBase
AIStrategicArea.addNeighbour BunkerLeft
AIStrategicArea.addNeighbour BunkerMiddle
aiStrategicArea.addObjectTypeFlag StrongPoint
aiStrategicArea.setSide 1
rem ----------------------------------------------------------------------------
endIf
rem *** borrowed from DC_OilFields_010
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create strategic areas ***
aiStrategicArea.create OppositionCamp 450/710 475/740 50
aiStrategicArea.create CoallitionBase 510/360 530/390 10
aiStrategicArea.create WestCoalitionWP1 375/420 380/425 1
aiStrategicArea.create EastCoalitionWP1 640/410 645/415 1
aiStrategicArea.create WestOppositionWP1 355/656 360/661 1
aiStrategicArea.create EastOppositionWP1 657/662 662/667 1
aiStrategicArea.create BunkerLeft 395/813 400/818 100
aiStrategicArea.create BunkerMiddle 470/813 475/818 100
aiStrategicArea.create BunkerRight 550/814 555/819 100
rem *** Define strategic areas ***
aiStrategicArea.setActive OppositionCamp
AIStrategicArea.addNeighbour WestOppositionWP1
AIStrategicArea.addNeighbour EastOppositionWP1
AIStrategicArea.addNeighbour BunkerLeft
AIStrategicArea.addNeighbour BunkerMiddle
AIStrategicArea.addNeighbour BunkerRight
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 475/740
AIStrategicArea.setOrderPosition Infantery 475/740
AIStrategicArea.setOrderPosition Car 475/740
aiStrategicArea.setSide 1
aiStrategicArea.setActive CoallitionBase
AIStrategicArea.addNeighbour WestCoalitionWP1
AIStrategicArea.addNeighbour EastCoalitionWP1
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 530/390
AIStrategicArea.setOrderPosition Infantery 530/390
AIStrategicArea.setOrderPosition Car 530/390
aiStrategicArea.setSide 2
rem aiStrategicArea.setActive WestBridge
rem AIStrategicArea.addNeighbour WestCoalitionWP1
rem AIStrategicArea.addNeighbour WestOppositionWP1
rem aiStrategicArea.addObjectTypeFlag Route
rem aiStrategicArea.setSide 0
rem aiStrategicArea.setActive EastBridge
rem AIStrategicArea.addNeighbour EastCoalitionWP1
rem AIStrategicArea.addNeighbour EastOppositionWP1
rem aiStrategicArea.addObjectTypeFlag Route
rem aiStrategicArea.setSide 0
aiStrategicArea.setActive WestCoalitionWP1
rem AIStrategicArea.addNeighbour WestBridge
AIStrategicArea.addNeighbour WestOppositionWP1
AIStrategicArea.addNeighbour CoallitionBase
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.setSide 2
aiStrategicArea.setActive EastCoalitionWP1
rem AIStrategicArea.addNeighbour EastBridge
AIStrategicArea.addNeighbour EastOppositionWP1
AIStrategicArea.addNeighbour CoallitionBase
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.setSide 2
aiStrategicArea.setActive WestOppositionWP1
rem AIStrategicArea.addNeighbour WestBridge
AIStrategicArea.addNeighbour WestCoalitionWP1
AIStrategicArea.addNeighbour OppositionBase
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.setSide 1
aiStrategicArea.setActive EastOppositionWP1
rem AIStrategicArea.addNeighbour EastBridge
AIStrategicArea.addNeighbour EastCoalitionWP1
AIStrategicArea.addNeighbour OppositionBase
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.setSide 1
aiStrategicArea.setActive BunkerLeft
AIStrategicArea.addNeighbour OppositionBase
AIStrategicArea.addNeighbour BunkerMiddle
AIStrategicArea.addNeighbour BunkerRight
aiStrategicArea.addObjectTypeFlag StrongPoint
aiStrategicArea.setSide 1
aiStrategicArea.setActive BunkerMiddle
AIStrategicArea.addNeighbour OppositionBase
AIStrategicArea.addNeighbour BunkerLeft
AIStrategicArea.addNeighbour BunkerRight
aiStrategicArea.addObjectTypeFlag StrongPoint
aiStrategicArea.setSide 1
aiStrategicArea.setActive BunkerRight
AIStrategicArea.addNeighbour OppositionBase
AIStrategicArea.addNeighbour BunkerLeft
AIStrategicArea.addNeighbour BunkerMiddle
aiStrategicArea.addObjectTypeFlag StrongPoint
aiStrategicArea.setSide 1
rem ----------------------------------------------------------------------------
endIf