This page is under construction
Archives/bf1942/levels/tobruk.rfa
bf1942/levels/tobruk/ai/conditions.con
rem *** Create Conditions ***

rem ** Common **

aiStrategy.createConstantCondition timeCond Fuzzy EqualSmaller Friendly StartTime 180
aiStrategy.setConditionStrength AdvisoryNegative
aiStrategy.setIsAbortCondition 1

rem *** German ***

aiStrategy.createConstantCondition northCond Crisp EqualGreater Enemy North 1
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition southCond Crisp EqualGreater Enemy South 1
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition flankCond Crisp EqualGreater Enemy FrontFlank 2
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition baseOpenCond Crisp EqualGreater Enemy FrontBase 1
aiStrategy.setConditionStrength Advisory

aiStrategy.createConstantCondition baseCloseCond Crisp EqualGreater Enemy FrontClose 1
aiStrategy.setConditionStrength Advisory

aiStrategy.createConstantCondition centreCond Crisp EqualGreater Enemy FrontCentre 1
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition finishOffCond Crisp EqualSmaller Enemy ControlPoint 1
aiStrategy.setConditionStrength Required

rem *** Brittish ***

aiStrategy.createConstantCondition front3Cond Crisp Equal Friendly ControlPoint 6
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition noMoreThan3CPs Crisp EqualSmaller Enemy ControlPoint 3
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition front2Cond Crisp EqualSmaller Friendly Front 2
aiStrategy.setConditionStrength Advisory

aiStrategy.createConstantCondition atSecondLineCPs Crisp EqualSmaller Friendly ControlPoint 3
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition retakeCond1 Crisp EqualSmaller Friendly ControlPoint 5
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition retakeCond2 Crisp EqualSmaller Friendly ControlPoint 4
aiStrategy.setConditionStrength Advisory

aiStrategy.createConstantCondition retakeCond3 Crisp EqualSmaller Friendly ControlPoint 3
aiStrategy.setConditionStrength Advisory

aiStrategy.createConstantCondition retakeCond4 Crisp EqualSmaller Friendly ControlPoint 2
aiStrategy.setConditionStrength Advisory

aiStrategy.createConstantCondition oneCPLeftCond Crisp Equal Friendly ControlPoint 1
aiStrategy.setConditionStrength AdvisoryPositive

aiStrategy.createConstantCondition noCPLeftCond Crisp Equal Friendly ControlPoint 0
aiStrategy.setConditionStrength AdvisoryPositive