This page is under construction
archives/bf1942/levels/River_Bend.rfa
bf1942/levels/River_Bend/AI.con
rem *******************************************************
rem River Bend - AI'10 by Lotte|EoD
rem *******************************************************
If v_arg1 == host
rem ************** LEVEL SPECIFIC AI SETTINGS ***************************
aiSettings.setWorldMapSize 1024 1024
aiSettings.setViewDistance 220
aiSettings.setInformationGridDimension 32
rem ********************** START THE AI *********************************
rem *** Init AI using current settings ****
ai.init 2
rem aiSettings.lodEnable 1
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 *** Bot statistic ***
ai.botStatisticUpdateSpeed 3
rem *** Enabled or disabled bot debug stats here ***
ai.saiEnable 1
game.showAIstats 0
ai.showBotStats 0
ai.showStrategicAreas 1
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
rem *** Add strategies ***
if v_arg1 == host
ai.addSAIStrategy 1 TeamAAttack
ai.addSAIStrategy 1 TeamADefend
ai.addSAIStrategy 1 TeamARepulse
ai.addSAIStrategy 2 TeamBAttack
ai.addSAIStrategy 2 TeamBDefend
ai.addSAIStrategy 2 TeamBRepulse
endIf
rem River Bend - AI'10 by Lotte|EoD
rem *******************************************************
If v_arg1 == host
rem ************** LEVEL SPECIFIC AI SETTINGS ***************************
aiSettings.setWorldMapSize 1024 1024
aiSettings.setViewDistance 220
aiSettings.setInformationGridDimension 32
rem ********************** START THE AI *********************************
rem *** Init AI using current settings ****
ai.init 2
rem aiSettings.lodEnable 1
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 *** Bot statistic ***
ai.botStatisticUpdateSpeed 3
rem *** Enabled or disabled bot debug stats here ***
ai.saiEnable 1
game.showAIstats 0
ai.showBotStats 0
ai.showStrategicAreas 1
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
rem *** Add strategies ***
if v_arg1 == host
ai.addSAIStrategy 1 TeamAAttack
ai.addSAIStrategy 1 TeamADefend
ai.addSAIStrategy 1 TeamARepulse
ai.addSAIStrategy 2 TeamBAttack
ai.addSAIStrategy 2 TeamBDefend
ai.addSAIStrategy 2 TeamBRepulse
endIf