This page is under construction
Archives/bf1942/levels/midway.rfa
bf1942/levels/midway/AI.con
if v_arg1 == host

aiSettings.setWorldMapSize 4096 4096
aiSettings.setViewDistance 600
aiSettings.setInformationGridDimension 64

ai.init 2

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

ai.saiMapXDimension 64
ai.saiMapYDimension 64

ai.createSAI

ai.saiEnable 1

game.showAIstats 0

ai.showBotStats 0

ai.showStrategicAreas 0

ai.botStatisticUpdateSpeed 3

endIf

run AIPathFinding.con v_arg1
run AI/StrategicAreas.con v_arg1
run AI/Conditions.con v_arg1
run AI/Prerequisites.con v_arg1
run AI/Strategies.con v_arg1

if v_arg1 == host

ai.addSAIStrategy 1 OutPost
ai.addSAIStrategy 1 Base
ai.addSAIStrategy 1 Both
ai.addSAIStrategy 1 NavyDestroy

ai.addSAIStrategy 2 OutPost
ai.addSAIStrategy 2 Base
ai.addSAIStrategy 2 Both
ai.addSAIStrategy 2 NavyDestroy

endIf