Main Menu

 

DukeED.com is part of the 3D Portal network

DukeED

Advanced Texture Package Creation

 

B. Animated Textures

  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.

Texture viewer Texture Properties Texture Browser

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 :)

 

Next section: Maskable Textures >

 

This tutorial contains the following sections

  A. Advanced Texture Properties  
B. Animated Textures
C. Maskable Textures
D. Other Tips

Related Tutorials: Textures

 

Copyright © 1998, 1999, 2000, 2001 by 3D Portal. All rights reserved.
Send questions and comments to
team@dukeed.com

If you were directed to a tutorial here from another site, be sure to visit our Main Page and tell us what you think.