This page is under construction
Archives/bf1942/levels/maps - with documentation/Beach Party/Beach_Party.rfa
bf1942/levels/Beach_Party/AI/StrategicAreas.con
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 west 416.8/571 431.8/586 50 land
aiStrategicArea.create east 727.7/541.9 742.7/556.9 50 land
aiStrategicArea.create middle 582/557.9 594/569.9 90 land
rem *** Landing zones, oh joy ***
aiLandingZone.createLandingZone WestLanding 390/460 448/528 LZZMax
aiLandingZone.createLandingZone CenterLanding 550/446 620/512 LZZMax
aiLandingZone.createLandingZone EastLanding 682/420 776/512 LZZMax
aiStrategicArea.setActive west
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour east
aiStrategicArea.addNeighbour middle
aiStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.attachLandingZone WestLanding
aiStrategicArea.setOrderPosition Infantry 432/586
aiStrategicArea.setOrderPosition Tank 432/586
aiStrategicArea.setOrderPosition Car 432/586
aiStrategicArea.setOrderPosition Boat 432/586
aiStrategicArea.setOrderPosition LandingCraft 428/528
aiStrategicArea.setOrderPosition Amphibius 432/586
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive east
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour west
aiStrategicArea.addNeighbour middle
aiStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.attachLandingZone EastLanding
aiStrategicArea.setOrderPosition Infantry 743/557
aiStrategicArea.setOrderPosition Tank 743/557
aiStrategicArea.setOrderPosition Car 743/557
aiStrategicArea.setOrderPosition Boat 743/557
aiStrategicArea.setOrderPosition LandingCraft 738/498
aiStrategicArea.setOrderPosition Amphibius 743/557
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive middle
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour west
aiStrategicArea.addNeighbour east
aiStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.attachLandingZone CenterLanding
aiStrategicArea.setOrderPosition Infantry 594/570
aiStrategicArea.setOrderPosition Tank 594/570
aiStrategicArea.setOrderPosition Car 594/570
aiStrategicArea.setOrderPosition Boat 594/570
aiStrategicArea.setOrderPosition LandingCraft 590/510
aiStrategicArea.setOrderPosition Amphibius 594/570
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf
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 west 416.8/571 431.8/586 50 land
aiStrategicArea.create east 727.7/541.9 742.7/556.9 50 land
aiStrategicArea.create middle 582/557.9 594/569.9 90 land
rem *** Landing zones, oh joy ***
aiLandingZone.createLandingZone WestLanding 390/460 448/528 LZZMax
aiLandingZone.createLandingZone CenterLanding 550/446 620/512 LZZMax
aiLandingZone.createLandingZone EastLanding 682/420 776/512 LZZMax
aiStrategicArea.setActive west
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour east
aiStrategicArea.addNeighbour middle
aiStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.attachLandingZone WestLanding
aiStrategicArea.setOrderPosition Infantry 432/586
aiStrategicArea.setOrderPosition Tank 432/586
aiStrategicArea.setOrderPosition Car 432/586
aiStrategicArea.setOrderPosition Boat 432/586
aiStrategicArea.setOrderPosition LandingCraft 428/528
aiStrategicArea.setOrderPosition Amphibius 432/586
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive east
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour west
aiStrategicArea.addNeighbour middle
aiStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.attachLandingZone EastLanding
aiStrategicArea.setOrderPosition Infantry 743/557
aiStrategicArea.setOrderPosition Tank 743/557
aiStrategicArea.setOrderPosition Car 743/557
aiStrategicArea.setOrderPosition Boat 743/557
aiStrategicArea.setOrderPosition LandingCraft 738/498
aiStrategicArea.setOrderPosition Amphibius 743/557
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
aiStrategicArea.setActive middle
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour west
aiStrategicArea.addNeighbour east
aiStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.attachLandingZone CenterLanding
aiStrategicArea.setOrderPosition Infantry 594/570
aiStrategicArea.setOrderPosition Tank 594/570
aiStrategicArea.setOrderPosition Car 594/570
aiStrategicArea.setOrderPosition Boat 594/570
aiStrategicArea.setOrderPosition LandingCraft 590/510
aiStrategicArea.setOrderPosition Amphibius 594/570
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0
endIf