This page is under construction
Archives/bf1942/levels/maps - with documentation/Tobruk/Tobruk_003.rfa
Bf1942/Levels/Tobruk/ai/prerequisites.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Prerequisites ***
rem *** Tobruk German ***
aiStrategy.createPrerequisite flankNorthPrereq
aiStrategy.addCondition northCond 5.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite flankSouthPrereq
aiStrategy.addCondition southCond 5.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite flankDoublePrereq
aiStrategy.addCondition flankCond 5.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite spearPrereq
aiStrategy.addCondition finishOffCond 20.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite centrePrereq
aiStrategy.addCondition centreCond 5.0
rem aiStrategy.addCondition timeCond 0.005
rem *** Tobruk British ***
aiStrategy.createPrerequisite front2Prereq
aiStrategy.addCondition front2Cond 4.0
aiStrategy.addCondition atSecondLineCPs 1.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite front3Prereq
aiStrategy.addCondition front3Cond 3.5
aiStrategy.addCondition noMoreThan3CPs 1.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite retakePrereq
aiStrategy.addCondition retakeCond1 7.5
aiStrategy.addCondition retakeCond2 2.0
aiStrategy.addCondition retakeCond3 2.0
aiStrategy.addCondition retakeCond4 2.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite breakOutPrereq
aiStrategy.addCondition oneCPLeftCond 45.0
aiStrategy.createPrerequisite retakeBasePrereq
aiStrategy.addCondition noCPLeftCond 65.0
rem ----------------------------------------------------------------------------
endIf
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Prerequisites ***
rem *** Tobruk German ***
aiStrategy.createPrerequisite flankNorthPrereq
aiStrategy.addCondition northCond 5.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite flankSouthPrereq
aiStrategy.addCondition southCond 5.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite flankDoublePrereq
aiStrategy.addCondition flankCond 5.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite spearPrereq
aiStrategy.addCondition finishOffCond 20.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite centrePrereq
aiStrategy.addCondition centreCond 5.0
rem aiStrategy.addCondition timeCond 0.005
rem *** Tobruk British ***
aiStrategy.createPrerequisite front2Prereq
aiStrategy.addCondition front2Cond 4.0
aiStrategy.addCondition atSecondLineCPs 1.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite front3Prereq
aiStrategy.addCondition front3Cond 3.5
aiStrategy.addCondition noMoreThan3CPs 1.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite retakePrereq
aiStrategy.addCondition retakeCond1 7.5
aiStrategy.addCondition retakeCond2 2.0
aiStrategy.addCondition retakeCond3 2.0
aiStrategy.addCondition retakeCond4 2.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite breakOutPrereq
aiStrategy.addCondition oneCPLeftCond 45.0
aiStrategy.createPrerequisite retakeBasePrereq
aiStrategy.addCondition noCPLeftCond 65.0
rem ----------------------------------------------------------------------------
endIf