This page is under construction
archives/bf1942/levels/dcx_hidden_airbase.rfa
bf1942/levels/DCX_Hidden_Airbase/AI.con

if v_arg1 == host

aiSettings.setWorldMapSize 1024 1024

aiSettings.setViewDistance 250
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

endIf

rem ***** Ai Statistics *****

game.showAIstats 0
ai.showbotstats 0
ai.showStrategicAreas 0
ai.botStatisticUpdateSpeed 3


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 AX_GOGO
ai.addSAIStrategy 1 AX_EXPAND
ai.addSAIStrategy 1 AX_PUSH
ai.addSAIStrategy 1 AX_CAMP
ai.addSAIStrategy 1 AX_PANIC
ai.addSAIStrategy 1 CRUSH

ai.addSAIStrategy 2 AL_GOGO
ai.addSAIStrategy 2 AL_EXPAND
ai.addSAIStrategy 2 AL_PUSH
ai.addSAIStrategy 2 AL_CAMP
ai.addSAIStrategy 2 AL_PANIC
ai.addSAIStrategy 2 CRUSH

endIf