This page is under construction
Archives/Bf1942/Levels/Santo_croce_003.rfa
Bf1942/Levels/Santo_croce/AI/conditions.con
if v_arg1 == "host"
rem ----- Host
rem ----------------------------------------------------------------------------

rem *** Create Conditions ***

rem *** Santo Croce ***

rem ** common **
aiStrategy.createConstantCondition timeCond Fuzzy EqualSmaller Friendly Time 360
aiStrategy.setConditionStrength AdvisoryNegative
aiStrategy.setIsAbortCondition 1

rem ** noCPs **
aiStrategy.createConstantCondition noOwnCPCond Crisp Equal Friendly ControlPoint 0
aiStrategy.setConditionStrength Required

rem ** gotAllCPs **
aiStrategy.createConstantCondition sevenOwnCPCond Crisp Equal Friendly ControlPoint 7
aiStrategy.setConditionStrength Required

rem ** cleanUp **
aiStrategy.createConstantCondition minFiveOwnCPCond Crisp EqualGreater Friendly ControlPoint 5
aiStrategy.setConditionStrength Required

rem ** takeFront **
aiStrategy.createConstantCondition maxThreeOwnNorthCond Crisp EqualSmaller Friendly North 3
aiStrategy.setConditionStrength Required

rem ** flankGerman **
aiStrategy.createConstantCondition maxTwoOwnWestCond Crisp EqualSmaller Friendly West 2
aiStrategy.setConditionStrength Required

rem ** flankAmerican **
aiStrategy.createConstantCondition maxTwoOwnEastCond Crisp EqualSmaller Friendly East 2
aiStrategy.setConditionStrength Required

rem ** flankBehindGerman **
aiStrategy.createConstantCondition advMaxTwoOwnWestCond Crisp EqualSmaller Friendly West 2
aiStrategy.setConditionStrength AdvisoryPositive

aiStrategy.createConstantCondition advMaxOneOwnSouthCond Crisp EqualSmaller Friendly South 1
aiStrategy.setConditionStrength AdvisoryPositive

rem ** flankBehindAmerican **
aiStrategy.createConstantCondition advMaxTwoOwnEastCond Crisp EqualSmaller Friendly East 2
aiStrategy.setConditionStrength AdvisoryPositive

rem ** spread **
aiStrategy.createConstantCondition minOneOwnCPCond Crisp EqualGreater Friendly ControlPoint 1
aiStrategy.setConditionStrength Required

rem ** spread3Left **
aiStrategy.createConstantCondition fourOwnCPCond Crisp Equal Friendly ControlPoint 4
aiStrategy.setConditionStrength Required

rem ** spread2Left **
aiStrategy.createConstantCondition fiveCPCond Crisp Equal Friendly ControlPoint 5
aiStrategy.setConditionStrength Required

rem ** spread1Left **
aiStrategy.createConstantCondition sixCPCond Crisp Equal Friendly ControlPoint 6
aiStrategy.setConditionStrength Required



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