Counter-Strike: Source

Gif to animated spray

This is a Tutorial for Counter-Strike: Source submitted by Ultrimo.

Attention Gamer! Join GameBanana, one of the oldest mod sites, and maximize your browsing experience.

  • Subscribe: Get notified when Ultrimo submits again.
  • Say Thanks: Show your appreciation by sending Ultrimo points.
  • Post: Give Ultrimo your thoughts on this Tutorial.
  • Vote: Help Ultrimo win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Join the community!

Sign up

Already a Bananite? Login

Gif to animated spray

Quick easy way to convert gifs into animated textures.

To begin...

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.

1) 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.

2) 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.

3) 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 512kb 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.

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

Save your spray into C:\Program Files\Steam\steamapps\common\counter-strike source\cstrike\materials\VGUI\logos

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

  • Sound of the Lyre avatar
    Member Joined 4 years ago
    1,141 points Ranked 3601st
    Report post
    4 years ago:
    Followed instuctions, and the spray didn't come up in-game. It played wicked fast in VTFEdit, too. Could you help me?
    I'm a secret agent man! avatar
    Mantra
    I'm a secret agent man!
  • Ultrimo avatar
    Ultrimo Offline
    Member Joined 9 years ago
    2,284 points Ranked 1813rd
    Report post
    8 years ago:
    Posted by FreeKiller Awesome, btw i used pivot stickfigure animator instead of Ulead and it worked

    I'm pretty sure there are many that work with it - I just didn't know them - so thanks for adding to the list :D

     avatar
    Mantra
  • Bananaman avatar
    Bananaman Offline
    Member Joined 8 years ago
    151 points Ranked 17727th
    Report post
    8 years ago:
    Awesome, btw i used pivot stickfigure animator instead of Ulead and it worked
    Bananite
  • deadman22 avatar
    deadman22 avatar Fuck Off
    Dead Art Flag Affiliation: Dead Art
    Member Joined 8 years ago
    3,277 points Ranked 1266th
    26 medals 0 legendary, 4 rare
    • 25 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • Submitted 100 Threads Medal icon
    • Submitted 100 Sprays Medal icon
    • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
    • Submitted 20 Sprays Medal icon
    deadman22 avatar
    deadman22
    Dead Art Flag
    Dead Art
    Report post
    8 years ago:
    Include links to the software your using?
    Melodramatic avatar
    Mantra
    Melodramatic
  • Ultrimo avatar
    Ultrimo Offline
    Member Joined 9 years ago
    2,284 points Ranked 1813rd
    Report post
    8 years ago:
    Posted by -WildBill- Shouldnt this go under the Sprays section instead of the Animating section?

    Yeah, thanks.

     avatar
    Mantra
  • Koiyty avatar
    Koiyty Offline
    Member Joined 8 years ago
    9,201 points Ranked 434th
    Report post
    8 years ago:
    Posted by BlackHoleSon I thought it was .tga format.

    Congratulations.

    I'm bak online 4 sum day
  • Klingstuh avatar
    Klingstuh Offline
    Member Joined 9 years ago
    31,986 points Ranked 126th
    13 medals 0 legendary, 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    • Reached 25,000 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    Report post
    8 years ago:
    Man, I would totally try this out if CSS still worked on my computer. I'm so glad you made this tutorial. It's about time someone did. Thank you.
    You would...
  • BlackHoleSon avatar
    Member Joined 9 years ago
    45,753 points Ranked 86th
    Report post
    8 years ago:
    I thought it was .tga format.
    Stand still, I'm used to paper avatar
    Mantra
    Stand still, I'm used to paper
  • ResidentEvil91 avatar
    ResidentEvil91 avatar Offline
    Member Joined 9 years ago
    928 points Ranked 4396th
    7 medals 0 legendary, 1 rare
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    Report post
    8 years ago:
    Oooh. You dont need VTEX to do animated sprays anymore? :o

    Or then i did not know that you can make them with VTF editor.. :D

    Dont say it.. We know it alrea avatar
    Mantra
    Dont say it.. We know it alrea
  • -WildBill- avatar
    -WildBill- Offline
    Member Joined 10 years ago
    12,265 points Ranked 329th
    14 medals 0 legendary, 3 rare
    • 25 posts awarded Exemplary Feedback Medal icon
    • 50 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    Report post
    8 years ago:
    Shouldnt this go under the Sprays section instead of the Animating section?
    Want realism? Go play outside.

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share
About this module
This module lists all those involved in the creation of this Tutorial.

Credits

Key Authors
Ultrimo
Unknown

Submitter

Ultrimo avatar
Ultrimo Offline
Member Joined 9 years ago
2,284 points Ranked 1813rd

Ultrimo
Creator
About this module
This module lets you send a private message to the submitter (Ultrimo).
About this module
This module displays what game this Tutorial is for.

Game

About this module
This module displays this Tutorial's category.

Category

Details

Genre
Texturing
Difficulty Level
Beginner

Stats

Posts
11
Views
43,727
Date Added
8 years ago
Sep 9 2008 @ 5:05pm UTC
Date Modified
3 years ago
Aug 16 2013 @ 3:01pm UTC
About this module
This module shows the average user rating of this Tutorial.

Rating

  • Not yet rated

More Tutorials from Ultrimo