This page is under construction
archives/bf1942/levels/Iwo_Jima.rfa
bf1942/levels/Iwo_Jima/AI/StrategicAreas.con
rem *******************************************************
rem Iwo Jima - 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 Mountain 620/1401.1 646.7/1427.8 70 land
aiStrategicArea.create NVA_Airfield 1084.8/901.5 1101.5/918.2 70 land
aiStrategicArea.create West_Bunker 876.1/1115.8 889.4/1129.1 20 land
aiStrategicArea.create Landing_Beach_North 805/1062.8 818.3/1076.1 30 land
aiStrategicArea.create East_Bunker 822.8/1242.8 836.1/1256.1 20 land
aiStrategicArea.create Landing_Beach_South 940/637.6 950/647.6 30 land
rem *** Create LZ ***
AILandingZone.createLandingZone lzNVAAirField 1130/540 1180/630 LZZMax
AILandingZone.createLandingZone lzBeachNorth 600/1030 800/1070 LZXMax
rem *** Build strategic areas ***
aiStrategicArea.setActive Mountain
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour West_Bunker
aiStrategicArea.addNeighbour East_Bunker
rem Infantry 647/1428
rem Tank 647/1428
aiStrategicArea.setOrderPosition Boat 640/1060
aiStrategicArea.setOrderPosition LandingCraft 640/1060
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzBeachNorth
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive NVA_Airfield
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour West_Bunker
aiStrategicArea.addNeighbour East_Bunker
aiStrategicArea.addNeighbour Landing_Beach_South
rem Infantry 1102/918
rem Tank 1102/918
aiStrategicArea.setOrderPosition Boat 1135/505
aiStrategicArea.setOrderPosition LandingCraft 1135/505
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzNVAAirField
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive West_Bunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mountain
aiStrategicArea.addNeighbour NVA_Airfield
aiStrategicArea.addNeighbour Landing_Beach_North
aiStrategicArea.addNeighbour East_Bunker
rem Infantry 889/1129
rem Tank 889/1129
aiStrategicArea.setOrderPosition Boat 640/1060
aiStrategicArea.setOrderPosition LandingCraft 640/1060
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzBeachNorth
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Landing_Beach_North
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Airfield
aiStrategicArea.addNeighbour West_Bunker
aiStrategicArea.addNeighbour Landing_Beach_South
rem Infantry 818/1076
aiStrategicArea.setOrderPosition Boat 640/1060
aiStrategicArea.setOrderPosition LandingCraft 640/1060
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzBeachNorth
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive East_Bunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mountain
aiStrategicArea.addNeighbour NVA_Airfield
aiStrategicArea.addNeighbour West_Bunker
rem Infantry 836/1256
rem Tank 836/1256
aiStrategicArea.setOrderPosition Boat 640/1060
aiStrategicArea.setOrderPosition LandingCraft 640/1060
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzBeachNorth
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Landing_Beach_South
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mountain
rem Infantry 950/648
rem Tank 950/648
aiStrategicArea.setOrderPosition Boat 1135/505
aiStrategicArea.setOrderPosition LandingCraft 1135/505
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzNVAAirField
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf
rem Iwo Jima - 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 Mountain 620/1401.1 646.7/1427.8 70 land
aiStrategicArea.create NVA_Airfield 1084.8/901.5 1101.5/918.2 70 land
aiStrategicArea.create West_Bunker 876.1/1115.8 889.4/1129.1 20 land
aiStrategicArea.create Landing_Beach_North 805/1062.8 818.3/1076.1 30 land
aiStrategicArea.create East_Bunker 822.8/1242.8 836.1/1256.1 20 land
aiStrategicArea.create Landing_Beach_South 940/637.6 950/647.6 30 land
rem *** Create LZ ***
AILandingZone.createLandingZone lzNVAAirField 1130/540 1180/630 LZZMax
AILandingZone.createLandingZone lzBeachNorth 600/1030 800/1070 LZXMax
rem *** Build strategic areas ***
aiStrategicArea.setActive Mountain
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour West_Bunker
aiStrategicArea.addNeighbour East_Bunker
rem Infantry 647/1428
rem Tank 647/1428
aiStrategicArea.setOrderPosition Boat 640/1060
aiStrategicArea.setOrderPosition LandingCraft 640/1060
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzBeachNorth
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive NVA_Airfield
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour West_Bunker
aiStrategicArea.addNeighbour East_Bunker
aiStrategicArea.addNeighbour Landing_Beach_South
rem Infantry 1102/918
rem Tank 1102/918
aiStrategicArea.setOrderPosition Boat 1135/505
aiStrategicArea.setOrderPosition LandingCraft 1135/505
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzNVAAirField
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive West_Bunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mountain
aiStrategicArea.addNeighbour NVA_Airfield
aiStrategicArea.addNeighbour Landing_Beach_North
aiStrategicArea.addNeighbour East_Bunker
rem Infantry 889/1129
rem Tank 889/1129
aiStrategicArea.setOrderPosition Boat 640/1060
aiStrategicArea.setOrderPosition LandingCraft 640/1060
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzBeachNorth
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Landing_Beach_North
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour NVA_Airfield
aiStrategicArea.addNeighbour West_Bunker
aiStrategicArea.addNeighbour Landing_Beach_South
rem Infantry 818/1076
aiStrategicArea.setOrderPosition Boat 640/1060
aiStrategicArea.setOrderPosition LandingCraft 640/1060
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzBeachNorth
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive East_Bunker
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mountain
aiStrategicArea.addNeighbour NVA_Airfield
aiStrategicArea.addNeighbour West_Bunker
rem Infantry 836/1256
rem Tank 836/1256
aiStrategicArea.setOrderPosition Boat 640/1060
aiStrategicArea.setOrderPosition LandingCraft 640/1060
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzBeachNorth
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Landing_Beach_South
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Mountain
rem Infantry 950/648
rem Tank 950/648
aiStrategicArea.setOrderPosition Boat 1135/505
aiStrategicArea.setOrderPosition LandingCraft 1135/505
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone lzNVAAirField
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf