This page is under construction
archives/bf1942/levels/tgw_villiers.rfa
bf1942/levels/tgw_villiers/AI.con
rem *** TGW Aberdeen Co-op by CareyBear ****

if v_arg1 == host
rem ******************************************
aiSettings.setWorldMapSize 1024 1024
aiSettings.setViewDistance 300
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

rem *** SAI ***
ai.createSAI
ai.saiEnable 1

rem *** Debug ***
game.showAIstats 0
ai.showBotStats 0
ai.showStrategicAreas 0

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
rem ******** STRATEGIES ********
ai.addSAIStrategy 1 breakOut
ai.addSAIStrategy 1 holdAndCamp
ai.addSAIStrategy 1 single
ai.addSAIStrategy 1 double

ai.addSAIStrategy 2 breakOut
ai.addSAIStrategy 2 holdAndCamp
ai.addSAIStrategy 2 single
ai.addSAIStrategy 2 double
rem ********


endIf