This page is under construction
archives/bf1942/levels/XWW2_Hochwald_Forest.rfa
bf1942/levels/XWW2_Hochwald_Forest/AI/StrategicAreas.con
rem XWW2_Hochwald_Forest originally created by Call to Arms / Smitty
rem SP/COOP support for eXperience WW2 , a realism mod for Battlefield 1942
rem by mschoeldgen Apr 2005

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 MG_Nest 496.9/423.9 511.9/438.9 50 land
aiStrategicArea.create Bridge_Crossing 506.6/629.6 516.6/639.6 55 land
aiStrategicArea.create Axis_FieldHQ 689.2/561.9 704.2/576.9 60 land
aiStrategicArea.create Allied_lumbermill_base 157.6/692.1 172.6/707.1 45 land
aiStrategicArea.create Creek_Crossing_post 379/681.8 391/694.8 65 land
aiStrategicArea.create Axis_Outpost 421.3/518.8 431.3/528.8 70 land


aiStrategicArea.setActive MG_Nest
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Axis_FieldHQ
aiStrategicArea.addNeighbour Axis_Outpost
aiStrategicArea.setOrderPosition Infantry 512/439
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
rem aiStrategicArea.addAllowedVehicleGroup sea
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Bridge_Crossing
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addNeighbour Axis_FieldHQ
aiStrategicArea.addNeighbour Allied_lumbermill_base
aiStrategicArea.addNeighbour Creek_Crossing_post
aiStrategicArea.setOrderPosition Infantry 519/638
aiStrategicArea.setOrderPosition Tank 519/631
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Axis_FieldHQ
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour MG_Nest
aiStrategicArea.addNeighbour Bridge_Crossing
aiStrategicArea.setOrderPosition Infantry 708/571
aiStrategicArea.setOrderPosition Tank 712/571
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Allied_lumbermill_base
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addNeighbour Creek_Crossing_post
aiStrategicArea.addNeighbour Axis_Outpost
aiStrategicArea.setOrderPosition Infantry 173/707
aiStrategicArea.setOrderPosition Tank 183/711
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 2
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Creek_Crossing_post
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addNeighbour Bridge_Crossing
aiStrategicArea.addNeighbour Allied_lumbermill_base
aiStrategicArea.addNeighbour Axis_Outpost
aiStrategicArea.setOrderPosition Infantry 389/697
aiStrategicArea.setOrderPosition Tank 378/702
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 0
aiStrategicArea.vehicleSearchRadius 80.0

aiStrategicArea.setActive Axis_Outpost
aiStrategicArea.addObjectTypeFlag ControlPoint
aiStrategicArea.addObjectTypeFlag Route
aiStrategicArea.addNeighbour MG_Nest
aiStrategicArea.addNeighbour Allied_lumbermill_base
aiStrategicArea.addNeighbour Creek_Crossing_post
aiStrategicArea.setOrderPosition Infantry 432/528
aiStrategicArea.setOrderPosition Tank 437.3/525.8
aiStrategicArea.addAllowedVehicleGroup land
aiStrategicArea.addAllowedVehicleGroup infantry
aiStrategicArea.addAllowedVehicleGroup any
aiStrategicArea.setSide 1
aiStrategicArea.vehicleSearchRadius 80.0

endIf