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

PowerEmergency

From ModEnc
Revision as of 21:44, 3 April 2024 by Crimsonum (talk | contribs) (Un-DeeZire'd)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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: PowerEmergency
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: AI

Logic related to PowerEmergency, as a whole or in part, is obsolete in Tiberian Sun, Red Alert 2 and/or Yuri's Revenge.



If a computer player's power level drops below this threshold and its power output is less than the power drain minus 400, then the computer will declare a state of medium urgency. If the computer is under attack, then it will futher increase the level of urgency. This typically results in the AI selling less important, power-hungry buildings as an emergency.

In Tiberian Sun To Yuri's Revenge

Although parsed, this flag does nothing.