ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

AICaptureLowMoney

From ModEnc
Jump to: navigation, search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: AICaptureLowMoney
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: General


This flag determines the priority the AI will place missions for mind controlled units when it is low on money. The AI is defined as being low on money whenever its credits are below the value in the AICaptureLowMoneyMark flag.

This flag contains four values, each representing the weight/probability of the AI sending the unit to the corresponding mission. In order from left to right they represent: "Add to Capturer's Team", "Send to Grinder", "Send to Bio Reactor", "Send to Hunt." These values should add up to 100 total shares.

Mission What happens
Add to Capturer's Team The unit is recruited into the TeamType of the capturing unit, and carries out its associated ScriptType.
Send to Grinder The unit is sent to a Grinder structure and destroyed. Only works if the computer actually has a Grinder. A structure is defined as a Grinder if it has Grinding=yes.
Send to Bio Reactor The unit is sent to a Bio Reactor and is put in to generate power. Only works for InfantryTypes, and only if a Bio Reactor structure is present. A structure is defined as a Bio Reactor if it has InfantryAbsorb=yes or UnitAbsorb=yes.
Send to Hunt If in doubt, the AI will just tell the unit to charge at the enemy and attack.