|
Animated textures can add cool
things to your levels as well. First you need to decide what kind of animation you are
looking for though, as there are some lighting-related animations you can get via use of
lighting properties (like a flickering light on a sign), or scrolling (the U-pan and V-pan
properties for the surface). If your animation doesn't fall into things like this, maybe
you should do it via a sequence of animated textures. Animating textures isn't very hard. Create the textures that you want to animate, lets call them frame1,
frame2, and frame3. Import them all into the texture browser. Go to the properties of
frame1. Open the Animation section of the properties and highlight the AnimNext field.
Select frame2 in the texture browser, and hit Use in the AnimNext field. This should make
pretty good sense to you now. For each frame in sequence, choose the frame that plays
after that one. For frame2, put frame3 in AnimNext. For frame3, put frame1 in AnimNext...
Now there is the speed of the animation to worry about. The
way you set it here is by framerate, if you want each frame to take 1/3rd of a second, you
would set the framerate to 3. There is a maxframerate and a minframerate, I am assuming
that these options are here because someone might be getting a higher/lower framerate than
your texture's animation. If you want it to always play at a set speed, you would probably
want the same Min and Max framerate. Do this for all the textures in the animation.
On the left is the
texture view window, in the middle is the texture properties, and on the right is the
texture browser.
In the texture view (the window that previews the textures
with a % zoom choice), you should see the animation working if you have it set right.
Once it appears to be working how you want it, just save the
texture set and slap the textures in your levels as you desire :) |
|