Jump to content

HideIfNoOre: Difference between revisions

From ModEnc²
en>Nighthawk200
Adding per DCoder's info... and because this flag seems pointlessly amusing.
 
m 5 revisions imported
 
(4 intermediate revisions by 3 users not shown)
Line 7: Line 7:
|yr=yes
|yr=yes
}}
}}
This rather unusual flag does exactly what it says on the tin. If the cell in which this animation is triggered does not contain a TiberiumType, then the animation is "hidden". In other words, the animation plays, all spawned particles will get created, and so on, except that none of it will be shown on screen.
This rather unusual flag does exactly what it says on the tin. If the cell in which this animation is triggered does not contain a [[Tiberiums|Tiberium type]], then the animation is "hidden". In other words, the animation plays, all spawned particles will get created, and so on, except that none of it will be shown on screen.


Curiously, this same hiding effect happens to the {{TTL|Behind}} animation whenever the Show Hidden Objects option is disabled in the game menu.
Curiously, this same hiding effect happens to the {{f|Behind|link}} animation whenever the Show Hidden Objects option is disabled in the game menu.
==Note==
*Images in the [[ Particles]] section will not read this tag. Although the Image in the section [[Animations]] will have this tag.
 
== See Also ==
* [[IsAnimatedTiberium]], a similar flag that also stops the animation when the overlay is removed.

Latest revision as of 21:45, 31 March 2025

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


This rather unusual flag does exactly what it says on the tin. If the cell in which this animation is triggered does not contain a Tiberium type, then the animation is "hidden". In other words, the animation plays, all spawned particles will get created, and so on, except that none of it will be shown on screen.

Curiously, this same hiding effect happens to the Behind animation whenever the Show Hidden Objects option is disabled in the game menu.

Note

  • Images in the Particles section will not read this tag. Although the Image in the section Animations will have this tag.

See Also

  • IsAnimatedTiberium, a similar flag that also stops the animation when the overlay is removed.