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

Difference between revisions of "Powered"

From ModEnc
Jump to: navigation, search
Line 1: Line 1:
 
Can be set to 'yes' or 'no' and determines whether or not this BuildingType requires power to function. Setting it to 'Yes' will cause all of it's active animations to freeze whenever it is underpowered by default. Setting [[ActiveAnimPowered]]=No in the art entry will negate the freezing effect for that animation. Underpowered buildings with Powered=Yes will also stop emitting light if it is a lightpost, and will also not fire it's weapons.  
 
Can be set to 'yes' or 'no' and determines whether or not this BuildingType requires power to function. Setting it to 'Yes' will cause all of it's active animations to freeze whenever it is underpowered by default. Setting [[ActiveAnimPowered]]=No in the art entry will negate the freezing effect for that animation. Underpowered buildings with Powered=Yes will also stop emitting light if it is a lightpost, and will also not fire it's weapons.  
  
 +
 +
{{bugs}}
 +
 +
This tag breaks [[ProductionAnim]] logic such that, if the building has low power, the first frame of the production anim is played for the duration of the animation, then the animation disappears. The animation re-appears and goes through the remainder of it's frames as soon as the building regains power
  
 
==See Also==
 
==See Also==
 
*[[ActiveAnimPowered]]
 
*[[ActiveAnimPowered]]
 
*[[ActiveAnimPoweredLight]]
 
*[[ActiveAnimPoweredLight]]

Revision as of 19:32, 12 November 2022

Can be set to 'yes' or 'no' and determines whether or not this BuildingType requires power to function. Setting it to 'Yes' will cause all of it's active animations to freeze whenever it is underpowered by default. Setting ActiveAnimPowered=No in the art entry will negate the freezing effect for that animation. Underpowered buildings with Powered=Yes will also stop emitting light if it is a lightpost, and will also not fire it's weapons.


Cc alert.png Bugs/Side-Effects/Unexpected Limitations

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

See Also