This page is under construction
Archives/bf1942/levels/maps - with documentation/Gazala/Gazala_003.rfa
Bf1942/Levels/Gazala/ai/conditions.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Conditions ***
rem *** Operation Gazala ***
rem ** common **
aiStrategy.createConstantCondition timeCond Fuzzy EqualSmaller Friendly StartTime 200
aiStrategy.setConditionStrength AdvisoryNegative
aiStrategy.setIsAbortCondition 1
rem ** north **
aiStrategy.createConstantCondition northCond Crisp Equal Friendly North 0
aiStrategy.setConditionStrength Required
rem ** south **
aiStrategy.createConstantCondition southCond Crisp EqualSmaller Friendly South 2
aiStrategy.setConditionStrength Required
rem ** both **
aiStrategy.createConstantCondition minTwoEnemyFrontCond Crisp EqualGreater Enemy Front 2
aiStrategy.setConditionStrength Required
rem ** behind **
aiStrategy.createConstantCondition noRemoteCond Crisp Equal Friendly Remote 0
aiStrategy.setConditionStrength Required
rem ** finalPush **
aiStrategy.createConstantCondition noEnemyCPCond Crisp Equal Enemy ControlPoint 0
aiStrategy.setConditionStrength Required
aiStrategy.createConstantCondition fourFriendlyCPCond Crisp EqualGreater Friendly ControlPoint 4
aiStrategy.setConditionStrength Required
rem ** breakOut **
aiStrategy.createConstantCondition noFriendlyCPCond Crisp Equal Friendly ControlPoint 0
aiStrategy.setConditionStrength Required
rem ----------------------------------------------------------------------------
endIf
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Conditions ***
rem *** Operation Gazala ***
rem ** common **
aiStrategy.createConstantCondition timeCond Fuzzy EqualSmaller Friendly StartTime 200
aiStrategy.setConditionStrength AdvisoryNegative
aiStrategy.setIsAbortCondition 1
rem ** north **
aiStrategy.createConstantCondition northCond Crisp Equal Friendly North 0
aiStrategy.setConditionStrength Required
rem ** south **
aiStrategy.createConstantCondition southCond Crisp EqualSmaller Friendly South 2
aiStrategy.setConditionStrength Required
rem ** both **
aiStrategy.createConstantCondition minTwoEnemyFrontCond Crisp EqualGreater Enemy Front 2
aiStrategy.setConditionStrength Required
rem ** behind **
aiStrategy.createConstantCondition noRemoteCond Crisp Equal Friendly Remote 0
aiStrategy.setConditionStrength Required
rem ** finalPush **
aiStrategy.createConstantCondition noEnemyCPCond Crisp Equal Enemy ControlPoint 0
aiStrategy.setConditionStrength Required
aiStrategy.createConstantCondition fourFriendlyCPCond Crisp EqualGreater Friendly ControlPoint 4
aiStrategy.setConditionStrength Required
rem ** breakOut **
aiStrategy.createConstantCondition noFriendlyCPCond Crisp Equal Friendly ControlPoint 0
aiStrategy.setConditionStrength Required
rem ----------------------------------------------------------------------------
endIf