Gif to animated spray

Credits

Submitter
  • P2: Drudge
    Points: 2,209
  • C1: Member
  • A5: Veteran
    Account Age: 4 years
Ultrimo (Creator/Co-creator)
Key Authors
Ultrimo

Rating

7.7/10
Based off 4 rating(s)

Additional Info

Genre
Graphic Design
Difficulty Level
Beginner

Stats

Post Count
15
ViewCount
34,617
Date Added
3 years ago
Date Modified
6 months ago

A tutorial showing how to convert a Gif into a spray.

[b]To begin...[/b]

You will need Gif editing software. I use ULEAD gif animator so therefore my tutorial will be based around it mainly. You will also need VTFEdit.

[b]1)[/b] Open up gif animator. File>new

Set the X and Y to something that's the power of 2. 32, 64, 128, 256. The smaller it is the more frames you will be able to have but you have to make sure your gif fits within the boundaries. Import your gif by dragging it in.

[b]2)[/b] File>Save as>Image frames

Change the save type to .png and quality 100. Call it "image" (without the speech marks). Then save it in its own folder

You are done with ULEAD, now you need to open up VTFEdit.

[b]3)[/b] File>Import

Highlight all of the .pngs you have made and click "open".

Set texture type to "animated texture".

Click OK. Click play to see if it worked.

Then click "info" and check how big the spray is. Anything over 125kb is too much and wont work - if this is the case you must go back to the gif editor and delete some frames or make the gif dimensions smaller.

[b]4)[/b] If it worked and you're happy with it. Click Options and make sure "Auto create VMT file is checked".

Save your spray into [b]C:\Program Files\Steam\steamapps(Your username)\team fortress 2\tf\materials\VGUI\logos[/b]

and try it out in game!

EDIT: I've created a calculator which allows you to check how many frames you are allowed with different lengths and widths. Found here: Click

  • You must be a member

Comments

    • P2: Drudge
      Points: 2,209
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted by Rikkuna I tried this, but the animation is really fast so there's no time to see what I had for it, here's the .gif I was converting.

    Where is it really fast? In ulead or VTFedit or ingame?

    • C1: Member
    • A4: Graduate
      Account Age: 2 years

    I tried this, but the animation is really fast so there's no time to see what I had for it, here's the .gif I was converting.

    Photobucket

    All your bitches are belong to
    • P1: Beggar
      Points: 10
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    For some reason, Ulead doesn't work for me making it very difficult to follow this tut, could someone just make a few sprays for me? It would be great, here are the links: http://i254.photobucket.com/albums/hh92/millhouse3671/c73b4a0ab4c2d8be972e5222ab58234a.gif?t=1233197928 and http://i254.photobucket.com/albums/hh92/millhouse3671/1229337586869.gif?t=1233197964 Thanks for all your help whether you do this or not.

    Bananite
    • P2: Drudge
      Points: 7,407
    • C1: Member
    • A5: Veteran
      Account Age: 4 years

    Pros: Very helpful and the calculator provided is helpful! Cons: No screenshots Improvements: Some screenshots could only add to it. Use some HTML for increased readability. Notes: Simple concise tutorial.

    Victory. Or death!
  • Anonymous

    Pros: It's clear and I get what you mean Cons: more details are usefull Improvements: see above Notes: no notes...

    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    Pros: Simple Cons: needs more deal and info Improvements: info...

    RisingStar
    • P2: Drudge
      Points: 2,209
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted by arizona_bay Hi Ultrimo, Many thanks for this tutorial. It worked a treat! I found that i could get more frames crammed into the spray by lowering the resolution, and as long as i kept it below 125kb. I got 20 frames into a 128x64 spray and it came out clear enough in game. Thanks again Ps to other people making sprays - freeware "Video To Jpg Converter" from dvdvideosoft.com will extract frames fom movie clips and youtube flash flv files so you can make those frames into a spray too.

    Awesome - glad to help. By the way, you accidentally rated 5/10 lol

    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    Hi Ultrimo, Many thanks for this tutorial. It worked a treat! I found that i could get more frames crammed into the spray by lowering the resolution, and as long as i kept it below 125kb. I got 20 frames into a 128x64 spray and it came out clear enough in game. Thanks again Ps to other people making sprays - freeware "Video To Jpg Converter" from dvdvideosoft.com will extract frames fom movie clips and youtube flash flv files so you can make those frames into a spray too.

    Bananite
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    Aw ok thnx anyways =S

    Bananite
    • P2: Drudge
      Points: 2,209
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted by paranoia690 Can u make it for me, i got the gif file which i made in photoshop but idont have the program to convert it so can u pls make it for me? this is the gif file i made \/ Image and video hosting by TinyPic

    Unfortunately, your gif has to be square shaped because in game it will be, making it look stupid and hard to read, sorry.

  • You must be a member