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

Difference between revisions of "Power"

From ModEnc
Jump to: navigation, search
 
(Un-Deezire'd)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
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.
+
|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.
 +
 
 +
{{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]]
 +
* [[Animations]] picked{{fnl|2}} from {{f|C4Warhead|link}}'s {{f|AnimList|link}} [[ChainReaction|when this Tiberium explodes]].
 +
* 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}}
 +
 
 +
===Footnotes===
 +
{{fn|1|Higher {{f|Power}} values indicate higher damage.}}
 +
{{fn|2|Explosion animation selection is random and depends on the number of entries in the {{f|AnimList}}. Generally, higher {{f|Power}} values result in the game choosing from animations on higher indexes on the {{f|AnimList}}, i.e. towards the end of the list.}}

Revision as of 12:25, 9 October 2020

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: 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.

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: 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

Cc cnrdelete-all.pngLogic 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.

2 Explosion animation selection is random and depends on the number of entries in the AnimList. Generally, higher Power values result in the game choosing from animations on higher indexes on the AnimList, i.e. towards the end of the list.