PDA

View Full Version : Imprting animation textures???


Euphoric Beaver
6th Nov 2001, 09:09 AM
I want to replace my Fatgun projectile with a fancy new one that I'm going to make. But how do you make animated textures?

And on a side note.
Is it possible to import textures seperatly through Unrealed into packages and then use them, instead of importing them through code?

Magus
6th Nov 2001, 10:59 AM
Animated Textures:
naming plays a big role in animated textures. All the textures that you wish to use will have to have the same name TextureName followed by _a00. If your animated texture had 3 textures you would, have TextureName_a00, TextureName_a01, TextureName_a02. Now to make your proj use the animated textures. Add this to defaultproperties Texture=Texture'TextureName_a00', if you put your textures in a group you will need to add the group name Texture=Texture'GroupName.TextureName_a00'

Euphoric Beaver
6th Nov 2001, 03:59 PM
Thanks :D:tup:

It was the code in the Plasma Gun's and Shock Rifle's projectiles that confuzzled me.

#exec OBJ LOAD FILE=textures\PlasmaExplo.utx PACKAGE=Botpack.PlasmaExplo

But importing all the textures seperatly worked. Nice that they all animate. :D

Magus
6th Nov 2001, 04:38 PM
All that they did on the shock rifle and stuff was to create a seperate Texture Package (.utx) containing all the animation frames. Then they loaded the texture package into there package package with one line of code. That way is much cleaner then having to write a seperate #exec to import each individual texture they wanted to import.

SUNRISE
7th Nov 2001, 08:27 AM
Someone could explain this for me: When you make a animated texture does UT tween from texture to texture or simpily just work like a gif desplaying the next image in sequence and if so; how do I make a animated texture that tweens from frame to frame?

Euphoric Beaver
7th Nov 2001, 09:55 AM
Nope I dont think UT can tween texture animations.
I think you'll have to make all the animations step by step.

SUNRISE
7th Nov 2001, 10:18 AM
Blahh
Man I had a good idea for my organic texture pack. now it's gonna take a while longer. I was gonna do some animations of some flowers opening. I am still gonna do it, it's just that it's gonna take like 10x longer >_<
*me proffeses his hate for untweenable textures*

Euphoric Beaver
7th Nov 2001, 11:33 AM
WAIT!

I'm far from being a coding God, so I'm proberly wrong. :)

simianangel
15th Nov 2001, 05:00 AM
you can adjust the speed at which they animate by importing to a .utx package in unrealed, then click on properties
-you only have to set the float value of the min and max speed on the first frame

(if you have set the last anim frame to loop with the first one, you can see a dynamic picture of your texture animating under properties as well)


BE CAREFUL,
lots of animated texture frames=big fat .utx packages
*lotsaMegs