lfnetwork.com mark read register faq members calendar

Thread: Animated Textures: How do you make them?
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-27-2012, 06:56 AM   #1
Kr1ffing_Br1lliant
Rookie
 
Join Date: Jun 2010
Posts: 34
Animated Textures: How do you make them?

I have searched everywhere on these forums and parts of google for information pertaining to how one would create or edit a texture in Kotor that animates and I have found nothing that even steers me in the right direction.

What is the method one would go about to create an animated texture? Will it require more than mere texture editing programs? Will I need to reference it in code?

I have a basic understanding of what animated textures look like (a huge row of small pictures), but when I try to edit them in Photoshop, they stop animating.
Kr1ffing_Br1lliant is offline   you may: quote & reply,
Old 05-31-2012, 08:54 PM   #2
Rtas Vadum
Behold The Envoy...
 
Rtas Vadum's Avatar
 
Join Date: Nov 2008
Posts: 744
Current Game: TES 4: Oblivion/3: Morrowind
Helpful! 
n truth, the thing is that where other games might use a more complicated method to animate textures, KOTOR doesn't. Aside for the texture, you'd need this in the TXI file:

Code:
proceduretype cycle
defaultwidth XXX(replace XXX with width of one frame)
defaultheight XXX(replace XXX with height of one frame)
numx X(replace X with how many frames horizontally)
numy X(replace X with how many frames vertically)
fps XX(how fast the frames should animate, should be an even number)
For the size of each frame, it should have the size of say:
256x256
512x512
1024x1024(likely not any higher than this, since even this size might cause the game to lag, unless you only intend on two frames with this size)


As for the texture itself, it should have a number of instances of the original, and only an even number of them. Once this is done, you need to make changes to the frames, which the game will switch between, making the animation.

The game itself does use this in a few places, but it is mostly low res, usually for monitor screens and such.

Rtas Vadum is offline   you may: quote & reply,
Old 06-01-2012, 03:54 AM   #3
Kr1ffing_Br1lliant
Rookie
 
Join Date: Jun 2010
Posts: 34
Quote:
For the size of each frame, it should have the size of say:
256x256
512x512
1024x1024(likely not any higher than this, since even this size might cause the game to lag, unless you only intend on two frames with this size)


As for the texture itself, it should have a number of instances of the original, and only an even number of them. Once this is done, you need to make changes to the frames, which the game will switch between, making the animation.
Wow! simple yet complicated. Are there any tutorials on how I would use photoshop to make the animation? I understand the basics on how to make frames, but besides that........I've no idea. Also, am I supposed to change the file format when I edit it or before I put it in-game?... Once again, no idea how to do this...!
Kr1ffing_Br1lliant is offline   you may: quote & reply,
Old 06-01-2012, 05:21 AM   #4
Rtas Vadum
Behold The Envoy...
 
Rtas Vadum's Avatar
 
Join Date: Nov 2008
Posts: 744
Current Game: TES 4: Oblivion/3: Morrowind
Helpful! 
Quote:
Originally Posted by Kr1ffing_Br1lliant View Post
Wow! simple yet complicated. Are there any tutorials on how I would use photoshop to make the animation? I understand the basics on how to make frames, but besides that........I've no idea. Also, am I supposed to change the file format when I edit it or before I put it in-game?... Once again, no idea how to do this...!
You still save the image as a tga. As for the animation, it isn't complicated, though it depends on exactly what it is that you want to do. But either way, you just edit the frames.

Rtas Vadum is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Modding requests > Animated Textures: How do you make them?

Tags
animating, textures

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:18 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.