How to create animated textures?

Discussion in 'Mapping Questions & Discussion' started by LuisReefTank, Apr 30, 2011.

  1. LuisReefTank

    LuisReefTank L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    Hello everyone!
    I wanted to know how to create animated textures, searching hasn't lead me into anything, so i tough maybe you guys could help me?

    Thanks alot!
     
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    http://www.youtube.com/watch?v=0QiDYQb--Ro

    Youll need VTFEdit, and your "frames," I reccommend putting them in .tga format

    Get all your frames and name them in order (ie frame001.tga, frame002.tga, etc), then in VTFEdit, go File >>> Import, select all your frames, and select Animated Texture. Now copy/paste this into your VMT:

    "LightmappedGeneric"
    {
    "$basetexture" "folder/filename"
    "startframe" "1"
    "endframe" "whateve number your last frame is"

    "Proxies"
    {
    "AnimatedTexture"
    {
    "animatedTextureVar" "$basetexture"
    "animatedTextureFrameNumVar" "$frame"
    "animatedTextureFrameRate" "10" (I put it at 10, but you can make it any number)
    }
    }
    }

    And youre done
     
    • Thanks Thanks x 2
  3. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    Hey, Asylum, on a similar question, what are the settings for a scrolling texture like a conveyer belt or running water?
     
  4. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,597
    Positive Ratings:
    1,677
    or something like that
     
  5. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141