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

Talk:Next

From ModEnc
Revision as of 00:32, 11 February 2025 by Testid123 (talk | contribs)
Jump to navigation Jump to search

In my opinion, the example code in this 2 line might not be the most appropriate illustration,

[cgmiam03Rubble]
...
Surface=yes
Layer=Underground

because Surface is invalid in Yuri's Revenge, it has been completely replaced by Layer=ground. Yeah, its original effect was actually used to specify an animation to be in the ground layer rather than surface layer,

and underground layer only exists in Tiberian Sun and Firestorm, in Red Alert 2 or Yuri's Revenge, only the other four available layer values can be specified using the Layer flag.

- DeathFish

Testid123: Since I want the animation to be under the actual object, I put a tag that is related to the ground layer or layer below the ground, just to make sure that the animation is actually under the object.
Using Layer=ground in my opinion means that the animation will only be as high as the object on the ground, such as trees, boxes, infantry, fences, etc.


What I mean is that these two lines of code are ineffective in Yuri's Revenge and such usage might mislead the reader. :]

And as far as I know, Next won't change the layer either, so you should write Layer=surface in [cgmiamdy] to test it, like:

[cgmiamdy]
...
Next=cgmiam03Rubble
Layer=surface
[cgmiam03Rubble]
...
Weapons
...
Anim=cgmiam03Rubble
Warhead
...
AnimList=cgmiam03Rubble

And I think this can meet the requirement you mentioned of the animation to be under the actual object .

- DeathFish

Testid123:Due to the side effects and delay of the Next tag, I use the tag TrailerAnim instead and it worked as I expected.