This page is under construction
Archives/Bf1942/Levels/Santo_Croce.rfa
bf1942/Levels/Santo_Croce/AI.con
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 *** Enabled or disabled as default ***
ai.saiEnable 1
rem game.showAIstats 1

run AIPathFinding.con

run AI/StrategicAreas.con

rem *** Load and set strategies for each side ***

run ai/conditions.con
run ai/prerequisites.con
run ai/Strategies.con

ai.addSAIStrategy 1 noCPs
ai.addSAIStrategy 1 gotAllCPs
rem ai.addSAIStrategy 1 cleanUp
rem ai.addSAIStrategy 1 takeFront
rem ai.addSAIStrategy 1 flankGerman
rem ai.addSAIStrategy 1 flankBehindGerman
ai.addSAIStrategy 1 spread
ai.addSAIStrategy 1 spread3Left
ai.addSAIStrategy 1 spread2Left
ai.addSAIStrategy 1 spread1Left

ai.addSAIStrategy 2 noCPs
ai.addSAIStrategy 2 gotAllCPs
rem ai.addSAIStrategy 2 cleanUp
rem ai.addSAIStrategy 2 takeFront
rem ai.addSAIStrategy 2 flankAmerican
rem ai.addSAIStrategy 2 flankBehindAmerican
ai.addSAIStrategy 2 spread
ai.addSAIStrategy 2 spread3Left
ai.addSAIStrategy 2 spread2Left
ai.addSAIStrategy 2 spread1Left