This page is under construction
archives/bf1942/levels/DC_LostVillage_Brit.rfa
bf1942/levels/DC_LostVillage_Brit/ai/StrategicAreas.con
rem StrategicAreas.con file for DCX version of DC_LostVillage by cajunwolf rem 11-24-04

if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------

rem *** Create vehicle groups ***

aiSettings.createVehicleGroup land
aiSettings.createVehicleGroup any
aiSettings.createVehicleGroup sea
aiSettings.createVehicleGroup air

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 any
aiSettings.addVehicleToVehicleGroup 14 land
aiSettings.addVehicleToVehicleGroup 15 land
aiSettings.addVehicleToVehicleGroup 16 land
aiSettings.addVehicleToVehicleGroup 17 air


rem *** Create categories ***

aiStrategicArea.createNewCategory land
aiStrategicArea.createNewCategory any
aiStrategicArea.createNewCategory sea
aiStrategicArea.createNewCategory air

rem *** Create StrategicAreas ***

aiStrategicArea.create alliedbase 845/686 865/706 10 land
aiStrategicArea.create eastpoint 1012/994 1032/1014 75 land
aiStrategicArea.create westpoint 1107/948 1127/968 90 land
aiStrategicArea.create villas 1171/1036 1191/1056 100 land
aiStrategicArea.create slums 1096/1046 1116/1066 80 land
aiStrategicArea.create axisbase 1213/909 1233/929 10 land
aiStrategicArea.create factory 989/1148 1009/1168 100 land

rem *** Create Way Point SA's ***

rem aiStrategicArea.create AlliedEast 1061/655 1076/680 5 land
rem aiStrategicArea.create AlliedWest 715/879 730/894 5 land

rem *** Create ParatrooperA SA's ***

rem aiStrategicArea.create DropA 886/978 910/1002 9 land

rem *** Create Landing Zones ***

AILandingZone.createLandingZone paradropA 888/968 964/1084 LZZMax
AILandingZone.createLandingZone paradropB 1200/984 1265/1068 LZZMax

rem *** Create StrategicAreas Details ***

aiStrategicArea.setActive alliedbase
rem aiStrategicArea.addObjectTypeFlag Base
rem aiStrategicArea.addObjectTypeFlag ControlPoint
rem AIStrategicArea.addNeighbour AlliedEast
rem AIStrategicArea.addNeighbour AlliedWest
rem AIStrategicArea.addNeighbour eastpoint
rem AIStrategicArea.addNeighbour westpoint
rem AIStrategicArea.addNeighbour villas
rem AIStrategicArea.addNeighbour slums
rem AIStrategicArea.addNeighbour axisbase
rem AIStrategicArea.addNeighbour factory
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addAllowedVehicleGroup air
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.setOrderPosition Infantry 855/696
AIStrategicArea.setOrderPosition Tank 855/696
AIStrategicArea.setOrderPosition Car 855/696
rem AIStrategicArea.setOrderPosition Boat 855/696
rem AIStrategicArea.setOrderPosition LandingCraft 855/696
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive eastpoint
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Flank
rem AIStrategicArea.addNeighbour alliedbase
AIStrategicArea.addNeighbour westpoint
AIStrategicArea.addNeighbour villas
AIStrategicArea.addNeighbour slums
AIStrategicArea.addNeighbour axisbase
AIStrategicArea.addNeighbour factory
rem AIStrategicArea.addNeighbour AlliedEast
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addAllowedVehicleGroup air
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.setOrderPosition Infantry 1022/1003
AIStrategicArea.setOrderPosition Tank 1022/1003
AIStrategicArea.setOrderPosition Car 1022/1003
rem AIStrategicArea.setOrderPosition Boat 1022/1003
rem AIStrategicArea.setOrderPosition LandCraft 1022/1003
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive westpoint
aiStrategicArea.addObjectTypeFlag Centre
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
rem AIStrategicArea.addNeighbour alliedbase
AIStrategicArea.addNeighbour eastpoint
AIStrategicArea.addNeighbour villas
AIStrategicArea.addNeighbour slums
AIStrategicArea.addNeighbour axisbase
AIStrategicArea.addNeighbour factory
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addAllowedVehicleGroup air
AIStrategicArea.addAllowedVehicleGroup sea
AIStrategicArea.setOrderPosition Infantry 1117/958
AIStrategicArea.setOrderPosition Tank 1117/958
AIStrategicArea.setOrderPosition Car 1117/958
rem AIStrategicArea.setOrderPosition Boat 1122/905
rem AIStrategicArea.setOrderPosition LandingCraft 1122/905
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive villas
aiStrategicArea.addObjectTypeFlag Flank
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
rem AIStrategicArea.addNeighbour alliedbase
AIStrategicArea.addNeighbour eastpoint
AIStrategicArea.addNeighbour westpoint
AIStrategicArea.addNeighbour slums
AIStrategicArea.addNeighbour axisbase
AIStrategicArea.addNeighbour factory
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addAllowedVehicleGroup air
AIStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.attachLandingZone paradropB
AIStrategicArea.setOrderPosition Infantry 1181/1045
AIStrategicArea.setOrderPosition Tank 1181/1045
AIStrategicArea.setOrderPosition Car 1181/1045
AIStrategicArea.setOrderPosition Boat 1181/1045
AIStrategicArea.setOrderPosition LandingCraft 1181/1045
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive slums
aiStrategicArea.addObjectTypeFlag Centre
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
rem AIStrategicArea.addNeighbour alliedbase
AIStrategicArea.addNeighbour eastpoint
AIStrategicArea.addNeighbour westpoint
AIStrategicArea.addNeighbour villas
AIStrategicArea.addNeighbour axisbase
AIStrategicArea.addNeighbour factory
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addAllowedVehicleGroup air
AIStrategicArea.setOrderPosition Infantry 1106/1056
AIStrategicArea.setOrderPosition Tank 1106/1056
AIStrategicArea.setOrderPosition Car 1106/1056
rem AIStrategicArea.setOrderPosition Boat 1106/1056
rem AIStrategicArea.setOrderPosition LandingCraft 1106/1056
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive axisbase
rem aiStrategicArea.addObjectTypeFlag Route
rem aiStrategicArea.addObjectTypeFlag ControlPoint
AIStrategicArea.addNeighbour alliedbase
AIStrategicArea.addNeighbour eastpoint
AIStrategicArea.addNeighbour westpoint
AIStrategicArea.addNeighbour villas
AIStrategicArea.addNeighbour slums
AIStrategicArea.addNeighbour factory
AIStrategicArea.addNeighbour AlliedEast
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addAllowedVehicleGroup air
AIStrategicArea.setOrderPosition Infantry 1223/919
AIStrategicArea.setOrderPosition Tank 1223/919
AIStrategicArea.setOrderPosition Car 1223/919
rem AIStrategicArea.setOrderPosition Boat 1223/919
rem AIStrategicArea.setOrderPosition LandingCraft 1223/919
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0

aiStrategicArea.setActive factory
aiStrategicArea.addObjectTypeFlag North
aiStrategicArea.addObjectTypeFlag Base
aiStrategicArea.addObjectTypeFlag ControlPoint
rem AIStrategicArea.addNeighbour alliedbase
AIStrategicArea.addNeighbour eastpoint
AIStrategicArea.addNeighbour westpoint
AIStrategicArea.addNeighbour villas
AIStrategicArea.addNeighbour slums
AIStrategicArea.addNeighbour axisbase
rem AIStrategicArea.addNeighbour AlliedWest
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.addAllowedVehicleGroup air
aiStrategicArea.addLandingZoneUnit LandingCraft
aiStrategicArea.attachLandingZone paradropA
AIStrategicArea.setOrderPosition Infantry 999/1158
AIStrategicArea.setOrderPosition Tank 999/1158
AIStrategicArea.setOrderPosition Car 999/1158
rem AIStrategicArea.setOrderPosition Boat 999/1158
rem AIStrategicArea.setOrderPosition LandingCraft 999/1158
aiStrategicArea.setSide 1
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0

beginrem

aiStrategicArea.setActive AlliedEast
aiStrategicArea.addObjectTypeFlag Route
rem aiStrategicArea.addObjectTypeFlag Base
rem aiStrategicArea.addObjectTypeFlag ControlPoint
rem AIStrategicArea.addNeighbour eastpoint
AIStrategicArea.addNeighbour alliedbase
AIStrategicArea.addNeighbour westpoint
AIStrategicArea.addNeighbour villas
rem AIStrategicArea.addNeighbour slums
AIStrategicArea.addNeighbour axisbase
rem AIStrategicArea.addNeighbour factory
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.setOrderPosition Infantry 1076/680
AIStrategicArea.setOrderPosition Tank 1076/680
AIStrategicArea.setOrderPosition Car 1076/680
rem AIStrategicArea.setOrderPosition Boat 1076/680
rem AIStrategicArea.setOrderPosition LandingCraft 1076/680
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0


aiStrategicArea.setActive AlliedWest
aiStrategicArea.addObjectTypeFlag Route
AIStrategicArea.addNeighbour alliedbase
AIStrategicArea.addNeighbour eastpoint
rem AIStrategicArea.addNeighbour westpoint
rem AIStrategicArea.addNeighbour villas
rem AIStrategicArea.addNeighbour slums
rem AIStrategicArea.addNeighbour axisbase
AIStrategicArea.addNeighbour factory
AIStrategicArea.addAllowedVehicleGroup land
AIStrategicArea.addAllowedVehicleGroup any
AIStrategicArea.addAllowedVehicleGroup infantry
AIStrategicArea.setOrderPosition Infantry 730/894
AIStrategicArea.setOrderPosition Tank 730/894
AIStrategicArea.setOrderPosition Car 730/894
rem AIStrategicArea.setOrderPosition Boat 730/894
rem AIStrategicArea.setOrderPosition LandingCraft 730/894
aiStrategicArea.setSide 2
aiStrategicArea.setTakeable 1 0
aiStrategicArea.vehicleSearchRadius 150.0

endrem


rem ----------------------------------------------------------------------------
endIf