Rate: Difference between revisions
Appearance
en>Testid123 mNo edit summary |
en>Crimsonum How it really works |
||
| Line 15: | Line 15: | ||
}} | }} | ||
Determines the speed of this [[animation]] by specifying the amount of animation frames to play relative to 900 [[frames|time frames]]. Larger values mean faster animation. | Determines the speed of this [[animation]] by specifying the amount of animation frames to play relative to 900 [[frames|time frames]] or 'ticks'. Larger values mean faster animation. | ||
'''Note''': The animation playback rate is determined by dividing 900 with {{f|Rate}} and truncating the result to the nearest integer. For example, an animation with {{f|Rate|500}} and another with {{f|Rate|800}} will have the same rate, 1, meaning they will both play at maximum speed (1 animation frame per tick). | |||
* {{f|Rate|900}} | |||
* {{f|Rate|60}} | 900 / 500 = 1.8 → 1 | ||
* {{f|Rate|1}} | 900 / 800 = 1.125 → 1 | ||
Some further examples: | |||
* {{f|Rate|900}} → 900 / 900 = 1 → play 1 animation frame per tick. | |||
* {{f|Rate|350}} → 900 / 350 ≈ 2 → wait 2 ticks before advancing the animation by 1 frame. | |||
* {{f|Rate|60}} → 900 / 60 = 15 → wait 15 ticks before advancing the animation by 1 frame. | |||
* {{f|Rate|1}} → 900 / 1 = 900 → wait 900 ticks before advancing the animation by 1 frame. | |||
and so on. | and so on. | ||
Revision as of 23:09, 29 January 2025
On Animations
|
|
|
|
|
|
| Flag: | Rate |
| File(s): | Art(md).ini |
| Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
| Special Values: | -1 |
| Default: | 900 |
| Applicable to: | Animations |
Determines the speed of this animation by specifying the amount of animation frames to play relative to 900 time frames or 'ticks'. Larger values mean faster animation.
Note: The animation playback rate is determined by dividing 900 with Rate and truncating the result to the nearest integer. For example, an animation with Rate=500 and another with Rate=800 will have the same rate, 1, meaning they will both play at maximum speed (1 animation frame per tick).
900 / 500 = 1.8 → 1 900 / 800 = 1.125 → 1
Some further examples:
- Rate=900 → 900 / 900 = 1 → play 1 animation frame per tick.
- Rate=350 → 900 / 350 ≈ 2 → wait 2 ticks before advancing the animation by 1 frame.
- Rate=60 → 900 / 60 = 15 → wait 15 ticks before advancing the animation by 1 frame.
- Rate=1 → 900 / 1 = 900 → wait 900 ticks before advancing the animation by 1 frame.
and so on.
See Also
On Mission Control
|
|
|
|
|
|
| Flag: | Rate |
| File(s): | Rules(md).ini |
| Values: | Floating point values: Any decimal number (clearer range should be added in Template:Values). |
| Applicable to: | Mission Control |
Specifies the delay, in minutes, between processing this mission. Larger values mean a faster game but less responsiveness from the object while it is carrying out this mission.






