This page is under construction
archives/bf1942/levels/mimoyecques.rfa
bf1942/levels/mimoyecques/AI/StrategicAreas.con
if v_arg1 == host

rem *** Create vehicle groups ***

aiSettings.createVehicleGroup lcvp
aiSettings.createVehicleGroup land
aiSettings.createVehicleGroup all

rem * add vehicles to the groups *

aiSettings.addVehicleToVehicleGroup 0 land
aiSettings.addVehicleToVehicleGroup 1 all
aiSettings.addVehicleToVehicleGroup 2 land
aiSettings.addVehicleToVehicleGroup 3 all
aiSettings.addVehicleToVehicleGroup 4 all
aiSettings.addVehicleToVehicleGroup 5 land
aiSettings.addVehicleToVehicleGroup 6 land
aiSettings.addVehicleToVehicleGroup 7 lcvp
aiSettings.addVehicleToVehicleGroup 8 all
aiSettings.addVehicleToVehicleGroup 9 all
aiSettings.addVehicleToVehicleGroup 10 lcvp
aiSettings.addVehicleToVehicleGroup 11 lcvp
aiSettings.addVehicleToVehicleGroup 12 land
aiSettings.addVehicleToVehicleGroup 13 all
aiSettings.addVehicleToVehicleGroup 14 land
aiSettings.addVehicleToVehicleGroup 15 all
aiSettings.addVehicleToVehicleGroup 16 land


rem *** Create categories ***


rem *** Create strategic areas ***
aiStrategicArea.create AlliesBase 963/1624 973/1634 250

aiStrategicArea.create V3_Complex 940.5/415 975.5/430 300

aiStrategicArea.create axis_airport 891/505 911/525 200

aiStrategicArea.create axis_beach 830/877 850/897 250

aiStrategicArea.create calais_neutral 1051/886 1071/906 250

aiStrategicArea.create mimoyecques 926/771 946/791 200

aiStrategicArea.create stagingArea 858/393 879/409 100

AILandingZone.createLandingZone V3_ComplexLanding 925/390 1025/470 LZZMax

AILandingZone.createLandingZone airportLanding 881/484 961/564 LZZMax

AILandingZone.createLandingZone beachLanding 860/934 910/1014 LZZMin

AILandingZone.createLandingZone beachLanding2 797/892 817/1022 LZZMin

AILandingZone.createLandingZone calais_Landing 1030/851 1110/951 LZZMax

AILandingZone.createLandingZone mimoyecquesLanding 904/739 984/839 LZZMax

aiStrategicArea.setActive AlliesBase
AIStrategicArea.addAllowedVehicleGroup lcvp
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup all
aiStrategicArea.addObjectTypeFlag Base
AIStrategicArea.setOrderPosition Tank 960/1568
AIStrategicArea.setOrderPosition Infantry 960/1568
AIStrategicArea.setOrderPosition Boat 973/1634
AIStrategicArea.setOrderPosition LandingCraft 1100/1200
aiStrategicArea.setTakeable 1 0
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 50

aiStrategicArea.setActive V3_Complex
AIStrategicArea.addAllowedVehicleGroup lcvp
AIStrategicArea.addAllowedVehicleGroup all
AIStrategicArea.addExpelledUnit LandingCraft
AIStrategicArea.addLandingZoneUnit UnarmedPlane
AIStrategicArea.attachLandingZone V3_ComplexLanding
AIStrategicArea.addNeighbour axis_airport
AIStrategicArea.addNeighbour stagingArea
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 930/400
AIStrategicArea.setOrderPosition Infantry 930/400
AIStrategicArea.setOrderPosition Boat 975.5/430
AIStrategicArea.setOrderPosition LandingCraft 975.5/430
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 25

aiStrategicArea.setActive stagingArea
AIStrategicArea.addAllowedVehicleGroup lcvp
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup all
AIStrategicArea.addExpelledUnit LandingCraft
AIStrategicArea.addNeighbour axis_airport
AIStrategicArea.addNeighbour V3_Complex
AIStrategicArea.setOrderPosition Tank 930/400
AIStrategicArea.setOrderPosition Infantry 930/400
AIStrategicArea.setOrderPosition Boat 975.5/430
AIStrategicArea.setOrderPosition LandingCraft 975.5/430
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 25

aiStrategicArea.setActive axis_airport
AIStrategicArea.addAllowedVehicleGroup lcvp
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup all
AIStrategicArea.addLandingZoneUnit UnarmedPlane
AIStrategicArea.attachLandingZone airportLanding
AIStrategicArea.addNeighbour V3_Complex
AIStrategicArea.addNeighbour mimoyecques
AIStrategicArea.addNeighbour stagingArea
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 956/531
AIStrategicArea.setOrderPosition Infantry 948/531
AIStrategicArea.setOrderPosition Boat 911/525
AIStrategicArea.setOrderPosition LandingCraft 911/525
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 50

aiStrategicArea.setActive axis_beach
AIStrategicArea.addAllowedVehicleGroup lcvp
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup all
AIStrategicArea.addLandingZoneUnit LandingCraft
AIStrategicArea.attachLandingZone beachLanding
AIStrategicArea.attachLandingZone beachLanding2
AIStrategicArea.addNeighbour AlliesBase
AIStrategicArea.addNeighbour mimoyecques
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Flank
AIStrategicArea.setOrderPosition Tank 846/911
AIStrategicArea.setOrderPosition Infantry 852/908
AIStrategicArea.setOrderPosition Boat 850/897
AIStrategicArea.setOrderPosition LandingCraft 850/897
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 25

aiStrategicArea.setActive calais_neutral
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup all
AIStrategicArea.addExpelledUnit LandingCraft
AIStrategicArea.addLandingZoneUnit UnarmedPlane
AIStrategicArea.attachLandingZone calais_Landing
AIStrategicArea.addNeighbour AlliesBase
AIStrategicArea.addNeighbour mimoyecques
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 1060/908
AIStrategicArea.setOrderPosition Infantry 1060/908
AIStrategicArea.setOrderPosition Boat 1071/906
AIStrategicArea.setOrderPosition LandingCraft 1071/906
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 50

aiStrategicArea.setActive mimoyecques
AIStrategicArea.addAllowedVehicleGroup lcvp
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup all
AIStrategicArea.addExpelledUnit LandingCraft
AIStrategicArea.addLandingZoneUnit UnarmedPlane
AIStrategicArea.attachLandingZone mimoyecquesLanding
AIStrategicArea.addNeighbour axis_airport
AIStrategicArea.addNeighbour axis_beach
AIStrategicArea.addNeighbour calais_neutral
aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.setOrderPosition Tank 942.5/792
AIStrategicArea.setOrderPosition Infantry 944/790.5
AIStrategicArea.setOrderPosition Boat 946/791
AIStrategicArea.setOrderPosition LandingCraft 946/791
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 25

endIf