This page is under construction
Archives/bf1942/levels/maps - with documentation/Wake/Wake_003.rfa
Bf1942/Levels/Wake/AI/prerequisites.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------


rem *** Create Prerequisites ***


rem *** Japanesee ***

rem ** centre **

aiStrategy.createPrerequisite centreStep1Prereq
aiStrategy.addCondition noFriendlyBaseCond 5.0
aiStrategy.addCondition noCPCond 5.0
rem aiStrategy.addCondition timeCond       0.02

aiStrategy.createPrerequisite centreStep2Prereq
aiStrategy.addCondition friendlyBaseCond 5.0
aiStrategy.addCondition enemyBaseCond 5.0

aiStrategy.createPrerequisite crLandingPrereq
aiStrategy.addCondition noCPCond 40.0
rem aiStrategy.addCondition timeCond       0.02

aiStrategy.createPrerequisite fnLandingPrereq
aiStrategy.addCondition noCPCond 5.0
rem aiStrategy.addCondition timeCond       0.02

aiStrategy.createPrerequisite mLandingPrereq
aiStrategy.addCondition noCPCond 5.0
rem aiStrategy.addCondition timeCond       0.02

rem ** cleanUp **

aiStrategy.createPrerequisite cleanUpPrereq
aiStrategy.addCondition maxOneEnemyCPCond 5.0


rem ** singleSpread **

aiStrategy.createPrerequisite singleSpreadPrereq
aiStrategy.addCondition oneEnemyFrontCond 5.0
rem aiStrategy.addCondition timeCond        0.02

rem ** doubleSpread **

aiStrategy.createPrerequisite doubleSpreadPrereq
aiStrategy.addCondition minTwoEnemyFrontCond 5.0
rem aiStrategy.addCondition timeCond        0.02



rem *** Americans ***

aiStrategy.createPrerequisite noFrontPrereq
aiStrategy.addCondition noEnemyFrontCond 5.0

aiStrategy.createPrerequisite singleFrontPrereq
aiStrategy.addCondition minOneEnemyFrontCond 5.0

aiStrategy.createPrerequisite multipleFrontPrereq
aiStrategy.addCondition minTwoEnemyFrontCond 5.0

aiStrategy.createPrerequisite maxOneCPPrereq
aiStrategy.addCondition maxOneCPCond 15.0



rem *** old ones ***

rem ** singleFlank **

aiStrategy.createPrerequisite singleFlankStep1Prereq
aiStrategy.addCondition oneRemoteCond 5.0
aiStrategy.addCondition noCPCond 5.0
aiStrategy.addCondition timeCond 0.002

aiStrategy.createPrerequisite singleFlankStep2Prereq
aiStrategy.addCondition oneFlankCond 5.0
aiStrategy.addCondition noCPCond 5.0

aiStrategy.createPrerequisite singleFlankStep3Prereq
aiStrategy.addCondition oneCloseCond 5.0
aiStrategy.addCondition oneCPCond 5.0

aiStrategy.createPrerequisite singleFlankStep4Prereq
aiStrategy.addCondition baseCond 5.0
aiStrategy.addCondition twoCPCond 5.0

rem ** doubleFlank **

aiStrategy.createPrerequisite doubleFlankStep1Prereq
aiStrategy.addCondition oneRemoteCond 5.0
aiStrategy.addCondition noCPCond 5.0
aiStrategy.addCondition timeCond 0.002

aiStrategy.createPrerequisite doubleFlankStep2Prereq
aiStrategy.addCondition twoOwnRemoteCond 5.0
aiStrategy.addCondition maxOneCPCond 5.0

aiStrategy.createPrerequisite doubleFlankStep3Prereq
aiStrategy.addCondition twoOwnFlankCond 5.0
aiStrategy.addCondition maxThreeCPCond 3.0
aiStrategy.addCondition minTwoCPCond 2.0

aiStrategy.createPrerequisite doubleFlankStep4Prereq
aiStrategy.addCondition twoOwnCloseCond 5.0
aiStrategy.addCondition fourCPCond 5.0




rem ----------------------------------------------------------------------------
endIf