ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Power: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Un-Deezire'd |
||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
Specifies the 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 10:25, 9 October 2020
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.
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:
- Damage1 dealt by Tiberium chain reaction
- Animations picked2 from C4Warhead's AnimList when this Tiberium explodes.
- Damage1 dealt by exploding harvesters, refineries and silos, if they contain this Tiberium type.
- Damage1 dealt to Infantry passing over this Tiberium type, unless said infantry have TiberiumProof=yes
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.