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

LoopEnd: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Created
 
ATHSE (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|files={{Categ|Art(md).ini}}
|files={{Categ|Art(md).ini}}
|values=Unsigned integers
|values=Unsigned integers
|special=None
|default=last frame of the animation
|default=last frame of the animation
|types= {{Categ|Animations}}
|types= {{Categ|Animations}}
|games=[[TS]], [[RA2]], [[YR]]
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
}}


Specifies the ''1-based'' ending frame of this animation's loop, for all but the first iteration of the loop. 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.

Latest revision as of 22:42, 14 March 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: 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.