Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
DXT1 fills less than DXT5, by the way.
That's not simple at all ;-;
You should now get a new animation set in the Animation Set Editor, letting you animate a slider for $Frame. (If you don't, you may have to click the cog/gear icon at the top-right of the Animation Set Editor and hide "scene hierarchies".)
If you set the maximum value of the slider to (the amount of frames in the VTF minus 1), the left position of the slider should be at the start of the first frame, the right position of the slider should be at the start of the last frame, and everything in between should correspond to all frames but the last one.
For example, with 3 frames and the maximum value set to 2, the left half of the slider will be the first frame, the right half of the slider will be the second frame, and the very right edge of the slider will be the third/last frame.
If you set the maximum value of the slider to (the amount of frames in the VTF minus 0.00001), each frame should have (basically) the same amount of space on the slider.
For example, with 3 frames and the maximum value set to 2.99999, the first third of the slider will be the first frame, the second/middle third of the slider will be the second frame, and the third/last third of the slider will be the third/last frame.
If you set the maximum value of the slider to (the amount of frames in the VTF), it's basically the same as above, except that every frame will now actually have truly equally much space on the slider (not accounting for floating point precision), but the very right edge of the slider will now show blackness due to trying to show a non-existant extra frame.
For example, with 3 frames and the maximum value set to 3, the example is the same as above, except that the very right edge of the slider will try to show frame 4 out of 3, which doesn't exist, resulting in just showing blackness instead.
If you set the maximum value of the slider to 1, a slider value of 0.0 to ~0.99999 will correspond to the first frame, a slider value of 1.0 to ~1.99999 will correspond to the second frame, and so on. (In the other examples, the very right edge of the slider was still slider value 1.0, there's just some multiplication going on from the slider value to the value sent to $Frame.)
This, however, means that it won't be as easy to animate it in the Motion Editor (as you can't input more than 1.0 into the slider), but you can easily add a keyframe in the Graph Editor, select that keyframe, and put a custom value (even above 1.0) into it in the Graph Editor.
I would personally recommend using either (the amount of frames in the VTF minus 0.00001) or 1 as the maximum value of the $Frame slider, though I'd only recommend the latter if you know what it means/how it works.