This page is under construction
Archives/bf1942/levels/maps - with documentation/Stalingrad/Stalingrad.rfa
bf1942/levels/Stalingrad/AI/conditions.con
rem *** Create Conditions ***

rem *** Common ***

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

rem *** Flank ***

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


rem *** Centre ***

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


rem *** Broad ***

aiStrategy.createConstantCondition broadCond Crisp EqualGreater Enemy Front 2
aiStrategy.setConditionStrength Required


rem *** BaseAttack ***

aiStrategy.createConstantCondition closeCond Crisp EqualGreater Enemy Close 1
aiStrategy.setConditionStrength Advisory

aiStrategy.createConstantCondition baseCond Crisp EqualGreater Enemy Base 1
aiStrategy.setConditionStrength Advisory


rem *** HoldCentre ***

aiStrategy.createHomogenousCondition weakCond Crisp QuotientSmaller Both Ticket
aiStrategy.setConditionStrength Required
aiStrategy.TargetValue 0.5

aiStrategy.createConstantCondition centreHoldCond Fuzzy EqualGreater Friendly StrongPoint 1
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition moreThan1CPCond Crisp EqualGreater Friendly ControlPoint 2
aiStrategy.setConditionStrength Required

rem *** Halted ***


rem *** BreakOut ***

aiStrategy.createConstantCondition onlyBaseLeft Crisp EqualSmaller Friendly ControlPoint 1
aiStrategy.setConditionStrength Required