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

PowerSurplus: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Crimsonum (talk | contribs)
Un-DeeZire'd
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
The computer players will continue to build structures determined with the BuildPower= statement until it has a surplus of power which is at least equal to this figure.
|files={{Categ|ini=rules}}
|values={{Values|int}}
|types={{Categ|AI}}
|yr=yes
|ra2=yes
|ts=yes
|fs=yes
|ra=yes
|cs=yes
|am=yes
|tsobsolete=yes
}}
 
Computer players will attempt to build power plants (hardcoded to the building types {{tt|NUKE}} and {{tt|NUK2}} in {{td}}; {{tt|POWR}} and {{tt|APWR}} in {{ra}}) until it has at least this amount of surplus of power and enough surplus credits.
 
== In {{ts}} To {{yr}} ==
Although parsed, this flag does nothing.

Latest revision as of 14:42, 3 April 2024

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: PowerSurplus
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Applicable to: AI

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



Computer players will attempt to build power plants (hardcoded to the building types NUKE and NUK2 in Tiberian Dawn; POWR and APWR in Red Alert) until it has at least this amount of surplus of power and enough surplus credits.

In Tiberian Sun To Yuri's Revenge

Although parsed, this flag does nothing.