ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
AICaptureWounded: Difference between revisions
Jump to navigation
Jump to search
Nighthawk200 (talk | contribs) Dedeezirified. |
EvilRenegade (talk | contribs) m Replacing Template:TTL with Template:F. |
||
Line 7: | Line 7: | ||
|rp=yes | |rp=yes | ||
}} | }} | ||
Used by the mind control logic to determine what action to follow whenever a badly damaged unit is mind controlled. The percentage of their full health that denotes "wounded" is defined in the {{ | Used by the mind control logic to determine what action to follow whenever a badly damaged unit is mind controlled. The percentage of their full health that denotes "wounded" is defined in the {{f|AICaptureWoundedMark|link}} tag. | ||
There are four possible missions the AI can execute upon mind controlling a wounded unit: | There are four possible missions the AI can execute upon mind controlling a wounded unit: |
Latest revision as of 07:13, 27 November 2009
Flag: | AICaptureWounded |
File(s): | rules(md).ini |
Values: | Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. |
Applicable to: | General |
Used by the mind control logic to determine what action to follow whenever a badly damaged unit is mind controlled. The percentage of their full health that denotes "wounded" is defined in the AICaptureWoundedMark tag.
There are four possible missions the AI can execute upon mind controlling a wounded unit:
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. |
This flag contains four values, each representing the weight/probability of the AI sending the unit to the corresponding mission. The missions above follow from left to right in the displayed order. These values should add up to 100 total shares.