This page is under construction
Archives/Bf1942/Levels/cassino_003.rfa
Bf1942/Levels/cassino/AI/conditions.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Conditions ***
rem *** Monte Cassino ***
rem ** German **
rem * initialDefence *
aiStrategy.createConstantCondition fiveCPCond Crisp Equal Friendly ControlPoint 5
aiStrategy.setConditionStrength Required
rem * slopeDefence *
aiStrategy.createConstantCondition twoBaseCond Crisp Equal Friendly Base 2
aiStrategy.setConditionStrength Required
rem * monistaryDefence *
aiStrategy.createConstantCondition oneCPCond Crisp Equal Friendly ControlPoint 1
aiStrategy.setConditionStrength Required
rem * counterAttack *
aiStrategy.createConstantCondition maxFourCPCond Crisp EqualSmaller Friendly ControlPoint 5
aiStrategy.setConditionStrength Required
rem ** French **
rem * hillClimb *
aiStrategy.createConstantCondition maxThreeCPCond Crisp EqualSmaller Friendly ControlPoint 3
aiStrategy.setConditionStrength Required
rem * recover *
aiStrategy.createConstantCondition constCond Crisp Equal Friendly UnitConstant 1
aiStrategy.setConditionStrength Required
rem * monistaryAttack *
aiStrategy.createConstantCondition minThreeCPCond Crisp EqualGreater Friendly ControlPoint 3
aiStrategy.setConditionStrength Required
aiStrategy.createConstantCondition minOneEnemyBaseCond Crisp EqualGreater Enemy Base 1
aiStrategy.setConditionStrength Required
rem * monistaryBackEnter *
aiStrategy.createConstantCondition twoEnemyBaseCond Crisp Equal Enemy Base 2
aiStrategy.setConditionStrength Required
aiStrategy.createConstantCondition minOneEnemyFlankCond Crisp EqualGreater Enemy Flank 1
aiStrategy.setConditionStrength Required
rem ----------------------------------------------------------------------------
endIf
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Conditions ***
rem *** Monte Cassino ***
rem ** German **
rem * initialDefence *
aiStrategy.createConstantCondition fiveCPCond Crisp Equal Friendly ControlPoint 5
aiStrategy.setConditionStrength Required
rem * slopeDefence *
aiStrategy.createConstantCondition twoBaseCond Crisp Equal Friendly Base 2
aiStrategy.setConditionStrength Required
rem * monistaryDefence *
aiStrategy.createConstantCondition oneCPCond Crisp Equal Friendly ControlPoint 1
aiStrategy.setConditionStrength Required
rem * counterAttack *
aiStrategy.createConstantCondition maxFourCPCond Crisp EqualSmaller Friendly ControlPoint 5
aiStrategy.setConditionStrength Required
rem ** French **
rem * hillClimb *
aiStrategy.createConstantCondition maxThreeCPCond Crisp EqualSmaller Friendly ControlPoint 3
aiStrategy.setConditionStrength Required
rem * recover *
aiStrategy.createConstantCondition constCond Crisp Equal Friendly UnitConstant 1
aiStrategy.setConditionStrength Required
rem * monistaryAttack *
aiStrategy.createConstantCondition minThreeCPCond Crisp EqualGreater Friendly ControlPoint 3
aiStrategy.setConditionStrength Required
aiStrategy.createConstantCondition minOneEnemyBaseCond Crisp EqualGreater Enemy Base 1
aiStrategy.setConditionStrength Required
rem * monistaryBackEnter *
aiStrategy.createConstantCondition twoEnemyBaseCond Crisp Equal Enemy Base 2
aiStrategy.setConditionStrength Required
aiStrategy.createConstantCondition minOneEnemyFlankCond Crisp EqualGreater Enemy Flank 1
aiStrategy.setConditionStrength Required
rem ----------------------------------------------------------------------------
endIf