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
m No idea why that lone <p> tag appeared (something to do with the template), but this seems to fix it. |
m Forgot headings |
||
Line 1: | Line 1: | ||
==On BuildingTypes== | |||
{{Flag | {{Flag | ||
|name={{PAGENAME}} | |name={{PAGENAME}} | ||
Line 18: | Line 19: | ||
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. | 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 | {{Flag | ||
|name={{PAGENAME}} | |name={{PAGENAME}} | ||
Line 37: | Line 39: | ||
* [[Animations]] picked{{fnl|2}} from {{f|C4Warhead|link}}'s {{f|AnimList|link}} [[ChainReaction|when this Tiberium explodes]]. | * [[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 by [[TiberiumExplosive|exploding harvesters, refineries and silos]], if they contain this Tiberium type. | ||
* Damage{{fnl|1}} dealt to [[InfantryTypes| | * Damage{{fnl|1}} dealt to [[InfantryTypes|infantry]] passing over this Tiberium type, unless said infantry have {{f|TiberiumProof|yes|link}} | ||
===Footnotes=== | ===Footnotes=== | ||
</p>{{fn|1|Higher {{f|Power}} values indicate higher damage.}} | </p>{{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.}} | {{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:18, 9 October 2020
On BuildingTypes
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
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.