ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "Power"
From ModEnc
(Redirect to ChainReaction for info on how Power relates to Tiberium explosion anims) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | ==On BuildingTypes== |
− | Specifies the 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.}} |
Latest revision as of 08:11, 18 June 2024
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
- 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
- Animations selected from C4Warhead's AnimList when this Tiberium explodes. See ChainReaction for more information.
Footnotes
1 ↑ Higher Power values indicate higher damage.