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

Power: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
Redirect to ChainReaction for info on how Power relates to Tiberium explosion anims
DeathFish (talk | contribs)
Converted to proper footnotes
 
(5 intermediate revisions by 3 users not shown)
Line 16: Line 16:
|ares=yes
|ares=yes
}}
}}
Specifies the power supply provided by this BuildingType. A negative value indicates that the structure consumes electricity during operation.


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.
== See Also ==
[[Powered]]
 
[[TogglePower]]


==On Tiberiums==
==On Tiberiums==
Line 36: Line 40:


Specifies the amount of explosive power contained within this [[Tiberiums|Tiberium type]]. Affects the following:
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<ref name="powr">Higher {{f|Power}} values indicate higher damage.</ref> dealt by [[ChainReaction|Tiberium chain reaction]]
* Damage{{fnl|1}} dealt by [[TiberiumExplosive|exploding harvesters, refineries and silos]], if they contain this Tiberium type.
* Damage<ref name="powr"/> 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}}
* Damage<ref name="powr"/> 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.  
* [[Animations]] selected from {{f|C4Warhead|link}}'s {{f|AnimList|link}} when this Tiberium explodes. See [[ChainReaction]] for more information.  


===Footnotes===
===Footnotes===
{{fn|1|Higher {{f|Power}} values indicate higher damage.}}
<references />
 
==Note==
*For {{ra2}} and {{yr}}, the SHP file {{tt|sidec0x.mix}}/{{tt|powerp.shp}} is used to display the amount of electrical power on sidebar, X is the index of the side.
*For casualties caused by Tiberium explosions, the original value of the Power that was accounted for is divided by 10 to obtain the result, but this value must be at least 1.
**To use 0 or negative values, the [[Ares]] {{tt|[[Tiberiums|[Tiberium]]]}}►{{f|Damage}} setting must be employed. Refer to the [https://ares-developers.github.io/Ares-docs/new/tiberium/damage.html#damage-and-warhead documentation] for details.

Latest revision as of 23:50, 1 May 2025

On BuildingTypes

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 power supply provided by this BuildingType. A negative value indicates that the structure consumes electricity during operation.

See Also

Powered

TogglePower

On Tiberiums

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

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. Jump up to: 1.0 1.1 1.2 Higher Power values indicate higher damage.

Note

  • For Red Alert 2 and Yuri's Revenge, the SHP file sidec0x.mix/powerp.shp is used to display the amount of electrical power on sidebar, X is the index of the side.
  • For casualties caused by Tiberium explosions, the original value of the Power that was accounted for is divided by 10 to obtain the result, but this value must be at least 1.