This page is under construction
Archives/bf1942/levels/SG_Fighting_Chance.rfa
bf1942/levels/SG_Fighting_Chance/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 stargatealttwo 1106.3/1562.9 1116.3/1572.9 50 land
aiStrategicArea.create alpha_camp_site 1000.9/1114.1 1010.9/1124.1 50 land
aiStrategicArea.create village 1695.9/593.8 1705.9/603.8 50 land
aiStrategicArea.create first_contact 1084.1/1017.7 1087.4/1021 50 land
aiStrategicArea.create Oil_Outpost 1399.3/661.1 1406/667.8 50 land


aiStrategicArea.setActive stargatealttwo
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour alpha_camp_site
aiStrategicArea.addNeighbour village
aiStrategicArea.addNeighbour first_contact
aiStrategicArea.addNeighbour Oil_Outpost
aiStrategicArea.setOrderPosition Infantry 1116/1573
aiStrategicArea.setOrderPosition Tank 1116/1573
aiStrategicArea.setOrderPosition Car 1116/1573
aiStrategicArea.setOrderPosition Boat 1116/1573
aiStrategicArea.setOrderPosition LandingCraft 1116/1573
aiStrategicArea.setOrderPosition Amphibius 1116/1573
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive alpha_camp_site
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour stargatealttwo
aiStrategicArea.addNeighbour village
aiStrategicArea.addNeighbour first_contact
aiStrategicArea.addNeighbour Oil_Outpost
aiStrategicArea.setOrderPosition Infantry 1011/1124
aiStrategicArea.setOrderPosition Tank 1011/1124
aiStrategicArea.setOrderPosition Car 1011/1124
aiStrategicArea.setOrderPosition Boat 1011/1124
aiStrategicArea.setOrderPosition LandingCraft 1011/1124
aiStrategicArea.setOrderPosition Amphibius 1011/1124
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive village
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour stargatealttwo
aiStrategicArea.addNeighbour alpha_camp_site
aiStrategicArea.addNeighbour first_contact
aiStrategicArea.addNeighbour Oil_Outpost
aiStrategicArea.setOrderPosition Infantry 1706/604
aiStrategicArea.setOrderPosition Tank 1706/604
aiStrategicArea.setOrderPosition Car 1706/604
aiStrategicArea.setOrderPosition Boat 1706/604
aiStrategicArea.setOrderPosition LandingCraft 1706/604
aiStrategicArea.setOrderPosition Amphibius 1706/604
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive first_contact
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour stargatealttwo
aiStrategicArea.addNeighbour alpha_camp_site
aiStrategicArea.addNeighbour village
aiStrategicArea.addNeighbour Oil_Outpost
aiStrategicArea.setOrderPosition Infantry 1087/1021
aiStrategicArea.setOrderPosition Tank 1087/1021
aiStrategicArea.setOrderPosition Car 1087/1021
aiStrategicArea.setOrderPosition Boat 1087/1021
aiStrategicArea.setOrderPosition LandingCraft 1087/1021
aiStrategicArea.setOrderPosition Amphibius 1087/1021
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Oil_Outpost
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour stargatealttwo
aiStrategicArea.addNeighbour alpha_camp_site
aiStrategicArea.addNeighbour village
aiStrategicArea.addNeighbour first_contact
aiStrategicArea.setOrderPosition Infantry 1406/668
aiStrategicArea.setOrderPosition Tank 1406/668
aiStrategicArea.setOrderPosition Car 1406/668
aiStrategicArea.setOrderPosition Boat 1406/668
aiStrategicArea.setOrderPosition LandingCraft 1406/668
aiStrategicArea.setOrderPosition Amphibius 1406/668
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0



endIf