This page is under construction
Archives/Bf1942/Levels/cassino.rfa
bf1942/Levels/cassino/AI.con
rem ************** LEVEL SPECIFIC AI SETTINGS ***************************

aiSettings.setWorldMapSize 1024 1024
aiSettings.setViewDistance 250
aiSettings.setInformationGridDimension 32

rem ********************** START THE AI *********************************

rem *** Init AI using current settings ****
ai.init 2

rem *** init Botmanager ***
AIBotManager.setLodLevelTicks 6 6 6
AIBotManager.setLodLevelPriority 3 3 3
AIBotManager.setPlannedDecisionMakingThreshold 0.5 0.5 0.5
AIBotManager.setUnplannedDecisionMakingThreshold 0.3 0.4 0.4
AIBotManager.setDecisionMakingInterleave 2 2
AIBotManager.setSensingQuotient 1 1
AIBotManager.setSystemQuotient 40 40 20

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
game.showAIstats 0

rem *** Bot statistic ***
ai.botStatisticUpdateSpeed 3


run AIPathFinding.con

rem *** Create strategically important areas ***
run ai/StrategicAreas

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

run ai/conditions
run ai/prerequisites
run ai/Strategies

ai.addSAIStrategy 1 initialDefence
ai.addSAIStrategy 1 slopeDefence
ai.addSAIStrategy 1 monistaryDefence
ai.addSAIStrategy 1 counterAttack

ai.addSAIStrategy 2 hillClimb
ai.addSAIStrategy 2 recover
ai.addSAIStrategy 2 monistaryAttack
ai.addSAIStrategy 2 monistaryBackEnter