Jump to content

PowerEmergency: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 2 revisions imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Determines the power level below which the computer will sell structures in order to ensure power is back online.
|files={{Categ|ini=rules}}
|values={{Values|percentages}}
|types={{Categ|AI}}
|yr=yes
|ra2=yes
|ts=yes
|fs=yes
|ra=yes
|cs=yes
|am=yes
|tsobsolete=yes
}}
 
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 [[UrgencyType|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 {{ts}} To {{yr}} ==
Although parsed, this flag does nothing.

Latest revision as of 22:00, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.