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

Difference between revisions of "Animation Durations"

From ModEnc
Jump to: navigation, search
(New page: Animation durations are determined at the animation's creation time: *First, the time in frames it will take to finish (let's call it ''{{tt|T}}'') is equal to the animation's {{TTL|Rate}...)
 
m (Replacing Template:TTL with Template:F.)
 
Line 1: Line 1:
 
Animation durations are determined at the animation's creation time:
 
Animation durations are determined at the animation's creation time:
  
*First, the time in frames it will take to finish (let's call it ''{{tt|T}}'') is equal to the animation's {{TTL|Rate}} setting.  
+
*First, the time in frames it will take to finish (let's call it ''{{tt|T}}'') is equal to the animation's {{f|Rate|link}} setting.  
*If the animation has a valid {{TTL|RandomRate|x,y}} specified, ''{{tt|T}}'' is set to a random number between {{tt|x}} and {{tt|y}}.  
+
*If the animation has a valid {{f|RandomRate|x,y|link}} specified, ''{{tt|T}}'' is set to a random number between {{tt|x}} and {{tt|y}}.  
* If {{TTL|Normalized|yes}} is set on this animation, ''{{tt|T}}'' is recalculated according to a formula:  
+
* If {{f|Normalized|yes|link}} is set on this animation, ''{{tt|T}}'' is recalculated according to a formula:  
 
**If ''{{tt|T}}'' is larger than 5 (the most common case), it's recalculated to equal {{Tt|(8 * ''T'' / Game Speed)}} ''(on the scale of 1 through 6)''.
 
**If ''{{tt|T}}'' is larger than 5 (the most common case), it's recalculated to equal {{Tt|(8 * ''T'' / Game Speed)}} ''(on the scale of 1 through 6)''.
 
** If it is between 1 and 4 frames inclusive, the game applies hardcoded multipliers instead, which are not clear at this time.
 
** If it is between 1 and 4 frames inclusive, the game applies hardcoded multipliers instead, which are not clear at this time.

Latest revision as of 09:24, 27 November 2009

Animation durations are determined at the animation's creation time:

  • First, the time in frames it will take to finish (let's call it T) is equal to the animation's Rate setting.
  • If the animation has a valid RandomRate=x,y specified, T is set to a random number between x and y.
  • If Normalized=yes is set on this animation, T is recalculated according to a formula:
    • If T is larger than 5 (the most common case), it's recalculated to equal (8 * T / Game Speed) (on the scale of 1 through 6).
    • If it is between 1 and 4 frames inclusive, the game applies hardcoded multipliers instead, which are not clear at this time.

The resulting T is the duration in frames that this animation will last.