ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
AICaptureLowPower
Jump to navigation
Jump to search
Flag: | AICaptureLowPower |
File(s): | rules(md).ini |
Values: | Percentages: Either a direct percentage (e.g. "50%"), or a floating point value (e.g. "0.5"). |
Applicable to: | General |
Used by the mind control logic to determine what mission to perform when a unit is mind controlled. This tag's values are only utilised in the event that the computer player is low on power (i.e. their power drain exceeds the provision).
Only four missions apply to this tag:
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. |
The values are entered in that order from left to right. As it is a percentage list, the total of the four values should be 100. However, do not use percentage signs on this list.