This page is under construction
archives/bf1942/levels/aberdeen.rfa
bf1942/levels/Aberdeen/AI.con
rem *** Aberdeen Coop by Arc D'Wraith ***
rem *** Based on Ai Coding Tutorial - Part 16 ***




if v_arg1 == host


aiSettings.setWorldMapSize 1024 1024
aiSettings.setViewDistance 500
aiSettings.setInformationGridDimension 32

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 1

ai.botStatisticUpdateSpeed 3

endIf



run AIPathFinding.con v_arg1
run ai/StrategicAreas 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 AXgogo
ai.addSAIStrategy 1 AXgogoSW

ai.addSAIStrategy 1 AXsingle
ai.addSAIStrategy 1 AXsingleSW
ai.addSAIStrategy 1 AXdouble
ai.addSAIStrategy 1 AXtriple

ai.addSAIStrategy 1 AXcamp

ai.addSAIStrategy 1 AXpanic



ai.addSAIStrategy 2 ALgogo
ai.addSAIStrategy 2 ALgogoSW

ai.addSAIStrategy 2 ALsingle
ai.addSAIStrategy 2 ALsingleSW
ai.addSAIStrategy 2 ALdouble
ai.addSAIStrategy 2 ALtriple

ai.addSAIStrategy 2 ALcamp

ai.addSAIStrategy 2 ALpanic



endIf