Jump to content

AICaptureNormal: Difference between revisions

From ModEnc²
en>Nighthawk200
Templated.
m 3 revisions imported
 
(No difference)

Latest revision as of 21:34, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AICaptureNormal
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 AI for mind control logic. This flag determines the probability of the AI performing a certain action when it mind controls an enemy unit.

There are four missions that the AI could order the mind controlled unit to perform:

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 is also the order that the missions appear in the percentage list for this tag. This is a percentage list, so all four values should total up to 100. However, don't include the percentage sign (%) on the number values.