This page is under construction
archives/bf1942/levels/baytown.rfa
bf1942/levels/baytown/AI/StrategicAreas.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create vehicle groups ***
aiSettings.createVehicleGroup land
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 land
aiSettings.addVehicleToVehicleGroup 4 any
aiSettings.addVehicleToVehicleGroup 5 land
aiSettings.addVehicleToVehicleGroup 6 land
aiSettings.addVehicleToVehicleGroup 7 any
aiSettings.addVehicleToVehicleGroup 8 any
aiSettings.addVehicleToVehicleGroup 9 sea
aiSettings.addVehicleToVehicleGroup 10 any
aiSettings.addVehicleToVehicleGroup 11 any
aiSettings.addVehicleToVehicleGroup 12 sea
aiSettings.addVehicleToVehicleGroup 13 land
aiSettings.addVehicleToVehicleGroup 14 land
rem *** Create categories ***
aiStrategicArea.createNewCategory land
aiStrategicArea.createNewCategory sea
rem *** Create strategic areas ***
aiStrategicArea.create Allies_base 723/1216.5 748/1242 200 land
aiStrategicArea.create Allies_beach 1138/1208 1151/1218 200 land
aiStrategicArea.create Allies_house 1195/1263.5 1210/1279 200 land
aiStrategicArea.create Axis_base 1121/694.5 1146/720 200 land
aiStrategicArea.create Axis_beach 1061/935.5 1076/951 200 land
aiStrategicArea.create Axis_house 1196/920.5 1211/936 200 land
rem aiStrategicArea.create Island 1105/1100 1118/1110 200 land
aiStrategicArea.create Sea_area 1557.5/941.5 1708/1092 2 sea
AILandingZone.createLandingZone AxisLanding 1110.5/1158 1205.5/1218 LZZMax
AILandingZone.createLandingZone AlliesLanding 1100/966 1144/1038 LZZMin
aiStrategicArea.setActive Allies_base
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Allies_house
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag North
AIStrategicArea.setOrderPosition Tank 752/1248
AIStrategicArea.setOrderPosition Infantry 744/1244
AIStrategicArea.setOrderPosition Boat 1526/1204
AIStrategicArea.setOrderPosition LandingCraft 880/1044
AIStrategicArea.setOrderPosition Car 736/1256
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 85.0
aiStrategicArea.setActive Allies_beach
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone AxisLanding
AIStrategicArea.addNeighbour Allies_house
AIStrategicArea.addNeighbour Axis_beach
rem AIStrategicArea.addNeighbour Island
AIStrategicArea.addNeighbour Sea_area
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag North
AIStrategicArea.setOrderPosition Tank 1162/1215
AIStrategicArea.setOrderPosition Infantry 1199/1218
AIStrategicArea.setOrderPosition Boat 1530/1108
AIStrategicArea.setOrderPosition LandingCraft 1134/1104
AIStrategicArea.setOrderPosition Car 1177/1219
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 25.0
aiStrategicArea.setActive Allies_house
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Allies_beach
AIStrategicArea.addNeighbour Allies_base
aiStrategicArea.addObjectTypeFlag North
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1220/1276
AIStrategicArea.setOrderPosition Infantry 1212/1274
AIStrategicArea.setOrderPosition Boat 1538/1182
AIStrategicArea.setOrderPosition LandingCraft 1090/1090
AIStrategicArea.setOrderPosition Car 1220/1272
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 30.0
aiStrategicArea.setActive Axis_base
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Axis_house
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag South
aiStrategicArea.addObjectTypeFlag Base
AIStrategicArea.setOrderPosition Tank 1151/719
AIStrategicArea.setOrderPosition Infantry 1140/718
AIStrategicArea.setOrderPosition Boat 1389/966
AIStrategicArea.setOrderPosition LandingCraft 1062/1057
AIStrategicArea.setOrderPosition Car 1140/720
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 142.482
aiStrategicArea.setActive Axis_beach
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone AlliesLanding
AIStrategicArea.addNeighbour Axis_house
AIStrategicArea.addNeighbour Allies_beach
rem AIStrategicArea.addNeighbour Island
AIStrategicArea.addNeighbour Sea_area
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag South
AIStrategicArea.setOrderPosition Tank 1080/960
AIStrategicArea.setOrderPosition Infantry 1079/944
AIStrategicArea.setOrderPosition Boat 1400/1223
AIStrategicArea.setOrderPosition LandingCraft 1084/1075
AIStrategicArea.setOrderPosition Car 1086/945
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 25.0
aiStrategicArea.setActive Axis_house
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Axis_base
AIStrategicArea.addNeighbour Axis_beach
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag South
AIStrategicArea.setOrderPosition Tank 1216/949
AIStrategicArea.setOrderPosition Infantry 1209/949
AIStrategicArea.setOrderPosition Boat 1397/1207
AIStrategicArea.setOrderPosition LandingCraft 1111/1074
AIStrategicArea.setOrderPosition Car 1204/946
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 25.0
aiStrategicArea.setActive Sea_area
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.setOrderPosition Tank 824/1372
AIStrategicArea.setOrderPosition Infantry 840/1380
AIStrategicArea.setOrderPosition Boat 1708/1096
AIStrategicArea.setOrderPosition LandingCraft 1106/1076
AIStrategicArea.setOrderPosition Car 836/1356
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 20.0
beginrem
aiStrategicArea.setActive Island
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Axis_beach
AIStrategicArea.addNeighbour Allies_beach
rem aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1068/1085
AIStrategicArea.setOrderPosition Infantry 1068/1085
AIStrategicArea.setOrderPosition Boat 1400/1223
AIStrategicArea.setOrderPosition LandingCraft 1084/1075
AIStrategicArea.setOrderPosition Car 1068/1085
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 25.0
endrem
rem ----------------------------------------------------------------------------
endIf
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create vehicle groups ***
aiSettings.createVehicleGroup land
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 land
aiSettings.addVehicleToVehicleGroup 4 any
aiSettings.addVehicleToVehicleGroup 5 land
aiSettings.addVehicleToVehicleGroup 6 land
aiSettings.addVehicleToVehicleGroup 7 any
aiSettings.addVehicleToVehicleGroup 8 any
aiSettings.addVehicleToVehicleGroup 9 sea
aiSettings.addVehicleToVehicleGroup 10 any
aiSettings.addVehicleToVehicleGroup 11 any
aiSettings.addVehicleToVehicleGroup 12 sea
aiSettings.addVehicleToVehicleGroup 13 land
aiSettings.addVehicleToVehicleGroup 14 land
rem *** Create categories ***
aiStrategicArea.createNewCategory land
aiStrategicArea.createNewCategory sea
rem *** Create strategic areas ***
aiStrategicArea.create Allies_base 723/1216.5 748/1242 200 land
aiStrategicArea.create Allies_beach 1138/1208 1151/1218 200 land
aiStrategicArea.create Allies_house 1195/1263.5 1210/1279 200 land
aiStrategicArea.create Axis_base 1121/694.5 1146/720 200 land
aiStrategicArea.create Axis_beach 1061/935.5 1076/951 200 land
aiStrategicArea.create Axis_house 1196/920.5 1211/936 200 land
rem aiStrategicArea.create Island 1105/1100 1118/1110 200 land
aiStrategicArea.create Sea_area 1557.5/941.5 1708/1092 2 sea
AILandingZone.createLandingZone AxisLanding 1110.5/1158 1205.5/1218 LZZMax
AILandingZone.createLandingZone AlliesLanding 1100/966 1144/1038 LZZMin
aiStrategicArea.setActive Allies_base
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Allies_house
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag North
AIStrategicArea.setOrderPosition Tank 752/1248
AIStrategicArea.setOrderPosition Infantry 744/1244
AIStrategicArea.setOrderPosition Boat 1526/1204
AIStrategicArea.setOrderPosition LandingCraft 880/1044
AIStrategicArea.setOrderPosition Car 736/1256
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 85.0
aiStrategicArea.setActive Allies_beach
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone AxisLanding
AIStrategicArea.addNeighbour Allies_house
AIStrategicArea.addNeighbour Axis_beach
rem AIStrategicArea.addNeighbour Island
AIStrategicArea.addNeighbour Sea_area
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag North
AIStrategicArea.setOrderPosition Tank 1162/1215
AIStrategicArea.setOrderPosition Infantry 1199/1218
AIStrategicArea.setOrderPosition Boat 1530/1108
AIStrategicArea.setOrderPosition LandingCraft 1134/1104
AIStrategicArea.setOrderPosition Car 1177/1219
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 25.0
aiStrategicArea.setActive Allies_house
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Allies_beach
AIStrategicArea.addNeighbour Allies_base
aiStrategicArea.addObjectTypeFlag North
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1220/1276
AIStrategicArea.setOrderPosition Infantry 1212/1274
AIStrategicArea.setOrderPosition Boat 1538/1182
AIStrategicArea.setOrderPosition LandingCraft 1090/1090
AIStrategicArea.setOrderPosition Car 1220/1272
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 30.0
aiStrategicArea.setActive Axis_base
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Axis_house
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag South
aiStrategicArea.addObjectTypeFlag Base
AIStrategicArea.setOrderPosition Tank 1151/719
AIStrategicArea.setOrderPosition Infantry 1140/718
AIStrategicArea.setOrderPosition Boat 1389/966
AIStrategicArea.setOrderPosition LandingCraft 1062/1057
AIStrategicArea.setOrderPosition Car 1140/720
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 142.482
aiStrategicArea.setActive Axis_beach
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone AlliesLanding
AIStrategicArea.addNeighbour Axis_house
AIStrategicArea.addNeighbour Allies_beach
rem AIStrategicArea.addNeighbour Island
AIStrategicArea.addNeighbour Sea_area
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag South
AIStrategicArea.setOrderPosition Tank 1080/960
AIStrategicArea.setOrderPosition Infantry 1079/944
AIStrategicArea.setOrderPosition Boat 1400/1223
AIStrategicArea.setOrderPosition LandingCraft 1084/1075
AIStrategicArea.setOrderPosition Car 1086/945
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 25.0
aiStrategicArea.setActive Axis_house
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Axis_base
AIStrategicArea.addNeighbour Axis_beach
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag South
AIStrategicArea.setOrderPosition Tank 1216/949
AIStrategicArea.setOrderPosition Infantry 1209/949
AIStrategicArea.setOrderPosition Boat 1397/1207
AIStrategicArea.setOrderPosition LandingCraft 1111/1074
AIStrategicArea.setOrderPosition Car 1204/946
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 25.0
aiStrategicArea.setActive Sea_area
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.setOrderPosition Tank 824/1372
AIStrategicArea.setOrderPosition Infantry 840/1380
AIStrategicArea.setOrderPosition Boat 1708/1096
AIStrategicArea.setOrderPosition LandingCraft 1106/1076
AIStrategicArea.setOrderPosition Car 836/1356
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 20.0
beginrem
aiStrategicArea.setActive Island
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addNeighbour Axis_beach
AIStrategicArea.addNeighbour Allies_beach
rem aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1068/1085
AIStrategicArea.setOrderPosition Infantry 1068/1085
AIStrategicArea.setOrderPosition Boat 1400/1223
AIStrategicArea.setOrderPosition LandingCraft 1084/1075
AIStrategicArea.setOrderPosition Car 1068/1085
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 25.0
endrem
rem ----------------------------------------------------------------------------
endIf