Jump to content

LoopEnd: Difference between revisions

From ModEnc²
en>E1 Elite
mNo edit summary
en>ATHSE
mNo edit summary
Line 14: Line 14:


Specifies the 1-based ending frame for this animation when the total number of iterations is more than one. See [[Animation Looping]] for more info.
Specifies the 1-based ending frame for this animation when the total number of iterations is more than one. See [[Animation Looping]] for more info.
It should be noted that while as a rule it is an exclusive end frame, this isn't always the case, there are exceptions where the LoopEnd has to be 1 less than the expected value. One example being the Iron Curtain animations that use NAIRON_F as the artwork. Why this happens is unclear, but it might be related to the .shp compression used, relegating it to some legacy/alternative code path.

Revision as of 00:42, 15 March 2023

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: LoopEnd
File(s): Art(md).ini
Values: Unsigned integers
Default: last frame of the animation
Applicable to: Animations


Specifies the 1-based ending frame for this animation when the total number of iterations is more than one. See Animation Looping for more info.

It should be noted that while as a rule it is an exclusive end frame, this isn't always the case, there are exceptions where the LoopEnd has to be 1 less than the expected value. One example being the Iron Curtain animations that use NAIRON_F as the artwork. Why this happens is unclear, but it might be related to the .shp compression used, relegating it to some legacy/alternative code path.