This page is under construction
archives/bf1942/levels/Baytown.rfa
bf1942/levels/Baytown/AI/StrategicAreas.con
rem *******************************************************
rem Baytown - AI'09 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 VC_Village 1118.6/685.2 1150.6/717.2 50 land
aiStrategicArea.create Ruin 1196/900 1216/928 50 land
aiStrategicArea.create South_Beach 1051/939 1092/949 50 land
aiStrategicArea.create French_Fort 754/1218 794/1258 50 land
aiStrategicArea.create House 1178/1260 1212/1270 50 land
aiStrategicArea.create North_Beach 1127/1208 1161/1219 50 land
rem *** Create landingzones sea ***
AILandingZone.createLandingZone AxisLanding 1110/1158 1144/1218 LZZMax
AILandingZone.createLandingZone AlliesLanding 1100/966 1144/1038 LZZMin
rem *** Build strategic areas ***
aiStrategicArea.setActive VC_Village
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Ruin
aiStrategicArea.setOrderPosition Infantry 1145/711
aiStrategicArea.setOrderPosition Tank 1145/711
aiStrategicArea.setOrderPosition Car 1145/711
aiStrategicArea.setOrderPosition Boat 1145/711
aiStrategicArea.setOrderPosition LandingCraft 1145/711
aiStrategicArea.setOrderPosition Amphibius 1145/711
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Ruin
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour VC_Village
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.setOrderPosition Infantry 1216/928
aiStrategicArea.setOrderPosition Tank 1216/928
aiStrategicArea.setOrderPosition Car 1216/928
aiStrategicArea.setOrderPosition Boat 1397/1207
aiStrategicArea.setOrderPosition LandingCraft 1397/1207
aiStrategicArea.setOrderPosition Amphibius 1216/928
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive South_Beach
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Ruin
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.setOrderPosition Infantry 1078/948
aiStrategicArea.setOrderPosition Tank 1078/948
aiStrategicArea.setOrderPosition Car 1078/948
aiStrategicArea.setOrderPosition Boat 1078/948
aiStrategicArea.setOrderPosition LandingCraft 1078/948
aiStrategicArea.setOrderPosition Amphibius 1078/948
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone AlliesLanding
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive French_Fort
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour House
aiStrategicArea.setOrderPosition Infantry 784/1248
aiStrategicArea.setOrderPosition Tank 784/1248
aiStrategicArea.setOrderPosition Car 784/1248
aiStrategicArea.setOrderPosition Boat 784/1248
aiStrategicArea.setOrderPosition LandingCraft 784/1248
aiStrategicArea.setOrderPosition Amphibius 784/1248
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive House
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour French_Fort
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.setOrderPosition Infantry 1208/1269
aiStrategicArea.setOrderPosition Tank 1208/1269
aiStrategicArea.setOrderPosition Car 1208/1269
aiStrategicArea.setOrderPosition Boat 1208/1269
aiStrategicArea.setOrderPosition LandingCraft 1208/1269
aiStrategicArea.setOrderPosition Amphibius 1208/1269
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive North_Beach
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour House
aiStrategicArea.setOrderPosition Infantry 1152/1219
aiStrategicArea.setOrderPosition Tank 1152/1219
aiStrategicArea.setOrderPosition Car 1152/1219
aiStrategicArea.setOrderPosition Boat 1152/1219
aiStrategicArea.setOrderPosition LandingCraft 1152/1219
aiStrategicArea.setOrderPosition Amphibius 1152/1219
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone AxisLanding
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
endIf
rem Baytown - AI'09 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 VC_Village 1118.6/685.2 1150.6/717.2 50 land
aiStrategicArea.create Ruin 1196/900 1216/928 50 land
aiStrategicArea.create South_Beach 1051/939 1092/949 50 land
aiStrategicArea.create French_Fort 754/1218 794/1258 50 land
aiStrategicArea.create House 1178/1260 1212/1270 50 land
aiStrategicArea.create North_Beach 1127/1208 1161/1219 50 land
rem *** Create landingzones sea ***
AILandingZone.createLandingZone AxisLanding 1110/1158 1144/1218 LZZMax
AILandingZone.createLandingZone AlliesLanding 1100/966 1144/1038 LZZMin
rem *** Build strategic areas ***
aiStrategicArea.setActive VC_Village
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Ruin
aiStrategicArea.setOrderPosition Infantry 1145/711
aiStrategicArea.setOrderPosition Tank 1145/711
aiStrategicArea.setOrderPosition Car 1145/711
aiStrategicArea.setOrderPosition Boat 1145/711
aiStrategicArea.setOrderPosition LandingCraft 1145/711
aiStrategicArea.setOrderPosition Amphibius 1145/711
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive Ruin
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour VC_Village
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.setOrderPosition Infantry 1216/928
aiStrategicArea.setOrderPosition Tank 1216/928
aiStrategicArea.setOrderPosition Car 1216/928
aiStrategicArea.setOrderPosition Boat 1397/1207
aiStrategicArea.setOrderPosition LandingCraft 1397/1207
aiStrategicArea.setOrderPosition Amphibius 1216/928
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive South_Beach
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Ruin
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.setOrderPosition Infantry 1078/948
aiStrategicArea.setOrderPosition Tank 1078/948
aiStrategicArea.setOrderPosition Car 1078/948
aiStrategicArea.setOrderPosition Boat 1078/948
aiStrategicArea.setOrderPosition LandingCraft 1078/948
aiStrategicArea.setOrderPosition Amphibius 1078/948
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone AlliesLanding
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive French_Fort
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour House
aiStrategicArea.setOrderPosition Infantry 784/1248
aiStrategicArea.setOrderPosition Tank 784/1248
aiStrategicArea.setOrderPosition Car 784/1248
aiStrategicArea.setOrderPosition Boat 784/1248
aiStrategicArea.setOrderPosition LandingCraft 784/1248
aiStrategicArea.setOrderPosition Amphibius 784/1248
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive House
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour French_Fort
aiStrategicArea.addNeighbour North_Beach
aiStrategicArea.setOrderPosition Infantry 1208/1269
aiStrategicArea.setOrderPosition Tank 1208/1269
aiStrategicArea.setOrderPosition Car 1208/1269
aiStrategicArea.setOrderPosition Boat 1208/1269
aiStrategicArea.setOrderPosition LandingCraft 1208/1269
aiStrategicArea.setOrderPosition Amphibius 1208/1269
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive North_Beach
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour South_Beach
aiStrategicArea.addNeighbour House
aiStrategicArea.setOrderPosition Infantry 1152/1219
aiStrategicArea.setOrderPosition Tank 1152/1219
aiStrategicArea.setOrderPosition Car 1152/1219
aiStrategicArea.setOrderPosition Boat 1152/1219
aiStrategicArea.setOrderPosition LandingCraft 1152/1219
aiStrategicArea.setOrderPosition Amphibius 1152/1219
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.attachLandingZone AxisLanding
AIStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0
endIf