Jump to content

Power: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 6 revisions imported
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
==On BuildingTypes==
Specifies the power used by this BuildingType. Positive values indicate that it produces power (e.g. a Power Plant) and negative values indicate that it uses (drains) power.
{{Flag
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|types={{Categ|BuildingTypes}}
|values={{Values|int}}
|default=0
|ra=yes
|cs=yes
|am=yes
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
 
Specifies the amount of power produced or drained by this [[BuildingTypes|building]]. Positive values indicate that it produces power (e.g. a Power Plant) and negative values indicate that it uses (drains) power.
 
==On Tiberiums==
{{Flag
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|types={{Categ|Tiberiums}}
|values={{Values|unsigned integers}}
|default=0
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
|ra2obsolete=yes
}}
 
Specifies the amount of explosive power contained within this [[Tiberiums|Tiberium type]]. Affects the following:
* Damage{{fnl|1}} dealt by [[ChainReaction|Tiberium chain reaction]]
* Damage{{fnl|1}} dealt by [[TiberiumExplosive|exploding harvesters, refineries and silos]], if they contain this Tiberium type.
* Damage{{fnl|1}} dealt to [[InfantryTypes|infantry]] passing over this Tiberium type, unless said infantry have {{f|TiberiumProof|yes|link}}
* [[Animations]] selected from {{f|C4Warhead|link}}'s {{f|AnimList|link}} when this Tiberium explodes. See [[ChainReaction]] for more information.
 
===Footnotes===
{{fn|1|Higher {{f|Power}} values indicate higher damage.}}
 
==Note==
*For [[RA2]] and [[YR]], the SHP file named '''POWERP''' is used to display the amount of electrical power as it increases or decreases.

Latest revision as of 22:00, 31 March 2025

On BuildingTypes

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Power
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: BuildingTypes


Specifies the amount of power produced or drained by this building. Positive values indicate that it produces power (e.g. a Power Plant) and negative values indicate that it uses (drains) power.

On Tiberiums

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Power
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 0
Applicable to: Tiberiums

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



Specifies the amount of explosive power contained within this Tiberium type. Affects the following:

Footnotes

1 Higher Power values indicate higher damage.

Note

  • For RA2 and YR, the SHP file named POWERP is used to display the amount of electrical power as it increases or decreases.