1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Imprting animation textures???

Discussion in 'Programming' started by Euphoric Beaver, Nov 6, 2001.

  1. Euphoric Beaver

    Euphoric Beaver impeccably groomed

    Joined:
    Apr 19, 2001
    Messages:
    3,158
    Likes Received:
    0
    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?
     
  2. Magus

    Magus New Member

    Joined:
    Oct 7, 2001
    Messages:
    69
    Likes Received:
    0
    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'
     
  3. Euphoric Beaver

    Euphoric Beaver impeccably groomed

    Joined:
    Apr 19, 2001
    Messages:
    3,158
    Likes Received:
    0
    Thanks :D:tup:

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

    Code:
    #exec OBJ LOAD FILE=textures\PlasmaExplo.utx PACKAGE=Botpack.PlasmaExplo
    But importing all the textures seperatly worked. Nice that they all animate. :D
     
  4. Magus

    Magus New Member

    Joined:
    Oct 7, 2001
    Messages:
    69
    Likes Received:
    0
    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.
     
  5. MxFxSunrise

    MxFxSunrise New Member

    Joined:
    Jul 21, 2000
    Messages:
    567
    Likes Received:
    0
    Perhaps. . . .

    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?
     
  6. Euphoric Beaver

    Euphoric Beaver impeccably groomed

    Joined:
    Apr 19, 2001
    Messages:
    3,158
    Likes Received:
    0
    Nope I dont think UT can tween texture animations.
    I think you'll have to make all the animations step by step.
     
  7. MxFxSunrise

    MxFxSunrise New Member

    Joined:
    Jul 21, 2000
    Messages:
    567
    Likes Received:
    0
    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*
     
  8. Euphoric Beaver

    Euphoric Beaver impeccably groomed

    Joined:
    Apr 19, 2001
    Messages:
    3,158
    Likes Received:
    0
    WAIT!

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

    simianangel New Member

    Joined:
    Aug 12, 2001
    Messages:
    46
    Likes Received:
    0
    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
     

Share This Page