This page is under construction
archives/bf1942/levels/battle_of_the_bulge.rfa
bf1942/levels/battle_of_the_bulge/AI.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem ************** LEVEL SPECIFIC AI SETTINGS ***************************
aiSettings.setWorldMapSize 2048 2048
rem ********************** START THE AI *********************************
rem *** Init AI using current settings ****
ai.init 2
rem *** Strategic map dimension, MUST BE DONE BEFORE CREATING SAI! ***
ai.saiMapXDimension 64
ai.saiMapYDimension 64
rem *** Create Strategic AI ***
ai.createSAI
rem *** Create strategically important areas ***
rem *** Enabled or disabled as default ***
ai.saiEnable 1
rem ----------------------------------------------------------------------------
endIf
run AIPathFinding.con v_arg1
run AI/StrategicAreas.con v_arg1
rem *** Set strategies for each side ***
run ai/conditions.con v_arg1
run ai/prerequisites.con v_arg1
run ai/Strategies.con v_arg1
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
ai.addSAIStrategy 1 west
ai.addSAIStrategy 1 east
ai.addSAIStrategy 1 bridge
ai.addSAIStrategy 1 doubleFlank
ai.addSAIStrategy 1 finalPush
ai.addSAIStrategy 2 holdFront3
ai.addSAIStrategy 2 retake
ai.addSAIStrategy 2 beakOut
rem ----------------------------------------------------------------------------
endIf
rem ----- Host
rem ----------------------------------------------------------------------------
rem ************** LEVEL SPECIFIC AI SETTINGS ***************************
aiSettings.setWorldMapSize 2048 2048
rem ********************** START THE AI *********************************
rem *** Init AI using current settings ****
ai.init 2
rem *** Strategic map dimension, MUST BE DONE BEFORE CREATING SAI! ***
ai.saiMapXDimension 64
ai.saiMapYDimension 64
rem *** Create Strategic AI ***
ai.createSAI
rem *** Create strategically important areas ***
rem *** Enabled or disabled as default ***
ai.saiEnable 1
rem ----------------------------------------------------------------------------
endIf
run AIPathFinding.con v_arg1
run AI/StrategicAreas.con v_arg1
rem *** Set strategies for each side ***
run ai/conditions.con v_arg1
run ai/prerequisites.con v_arg1
run ai/Strategies.con v_arg1
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
ai.addSAIStrategy 1 west
ai.addSAIStrategy 1 east
ai.addSAIStrategy 1 bridge
ai.addSAIStrategy 1 doubleFlank
ai.addSAIStrategy 1 finalPush
ai.addSAIStrategy 2 holdFront3
ai.addSAIStrategy 2 retake
ai.addSAIStrategy 2 beakOut
rem ----------------------------------------------------------------------------
endIf