Jump to content

Powered: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and determines whether or not this BuildingType requires power to function. If a structure has this set to 'yes' and the player is in a low-power situation, then the structure will be considered 'disabled' - it will not fire any weapons or emit light. It will also not animate if any of its animations have ActiveAnimPowered=yes set in its ART.INI entry.
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|types={{Categ|BuildingTypes}}
|values={{values|boolean}}
|default=no
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
Determines whether or not this [[BuildingTypes|building]] requires power to function. Enabling this will cause all of the building's active animations to freeze by default whenever it is underpowered. Setting {{f|ActiveAnimPowered|no|link}} in the building's [[art]] entry will negate the freezing effect for that animation.
 
Under-powered buildings with <tt>Powered=yes</tt> will stop emitting light specified by [[LightVisibility]], and will not fire a weapon if equipped with one.  
 
=={{bugs}}==
This tag breaks [[ProductionAnim]] logic such that, if the building has low power, the first frame of the animation is played for the duration, then it disappears. The animation re-appears and goes through the remainder of it's frames as soon as the building regains power.
 
==See Also==
[[ActiveAnimPowered]]
 
[[ActiveAnimPoweredLight]]

Latest revision as of 17:43, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Powered
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes


Determines whether or not this building requires power to function. Enabling this will cause all of the building's active animations to freeze by default whenever it is underpowered. Setting ActiveAnimPowered=no in the building's art entry will negate the freezing effect for that animation.

Under-powered buildings with Powered=yes will stop emitting light specified by LightVisibility, and will not fire a weapon if equipped with one.

Bugs/Side-Effects/Unexpected Limitations

This tag breaks ProductionAnim logic such that, if the building has low power, the first frame of the animation is played for the duration, then it disappears. The animation re-appears and goes through the remainder of it's frames as soon as the building regains power.

See Also

ActiveAnimPowered

ActiveAnimPoweredLight