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

CellAnim: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Crimsonum (talk | contribs)
Un-DeeZire'd. Also, CellAnim does not affect the animation drawing by itself.
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Specifies the animation to display in the cell occupied by this overlay. The animation must be included in the [Animations] list and defined in the ART file, plus it should also be a theater specific animation (since, like the overlay itself, it is displayed with the same theater-specific logic which requires Theater=yes in the ART file). This is was used for the big blue Tiberium crystal in Tiberian Sun but is unused in Red Alert 2 although it would have been a much simpler way of implementing the 'Ore twinkle' effect - the animation will only display when the overlay itself is present in the cell. TIP: attaching an invisible animation to the various Ore overlays and giving it HideIfNoOre=true and a Damage= value in the ART file is a crude way of implementing the effect where units suffer loss of health when stood in Ore, as they did in Tiberian Sun.
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|values={{values|string|[[Animations]]}}
|default=none
|types={{Categ|OverlayTypes}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
 
Specifies the [[animation]] to display in the [[cell]] occupied by this [[OverlayTypes|overlay]].
 
{{bugs}}
 
The animation is drawn some 50 pixels below the cell. You can use {{f|YDrawOffset|link}} in the animation's {{ini|art}} code to visually rectify this, but it won't change the animation's "physical" location. In other words, any [[TrailerAnim|trailer]] anims, [[SpawnsParticle|particles]], etc. are still spawned from the original location.

Latest revision as of 10:15, 3 January 2023

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: CellAnim
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: Animations)
Default: none
Applicable to: OverlayTypes


Specifies the animation to display in the cell occupied by this overlay.

Bugs/Side-Effects/Unexpected Limitations

The animation is drawn some 50 pixels below the cell. You can use YDrawOffset in the animation's art(md).ini code to visually rectify this, but it won't change the animation's "physical" location. In other words, any trailer anims, particles, etc. are still spawned from the original location.