Step 1) Download VTEX Animation converter - You will need this to convert your chosen spray images to an Animated .vtf format, which is recognized by Half Life 2.
Step 2) Open your favorite graphics program (Adobe Photoshop / Paintshop Pro). For this tutorial I am using Adobe PhotoshopCS.
Step 3) Make a new document sized either: 64x64, 128x128, 256x256.
Step 4) Create something in a new layer that you want to see animated.
Step 5) If you would like your animated spray logo to have a transparent background, then each frame of the animation must have its own layer mask. Select the contents of your layer by holding control and left clicking the layer. To make a layer mask, goto the Channels pallete, and create a new alpha channel (Similar to how you make a new layer) and fill the selection with WHITE.
Step 6) Now, animation is simply a number of still images being played in a sequence, and slight adjustments to each image, gives it the illusion that it's really moving, so... Move the object in your layer slightly, and save the file off as a TARGA file (.tga) into a folder or on your desktop. Save the first image as "spray001.tga". Then in the same document, move your image again slightly more, and save it off as another TARGA file, with the name "spray002.tga". Repeat this until you have as many images as you need to make up your animated spray logo, and make sure you name each file in succession (spray001.tga, spray002.tga, spray003.tga and so on). You should also make sure that "Alpha Channels" is checked, and when prompted, select 32 Bits.
Step 7) If you haven't done so already, extract the contents of vtex_animation.zip to somewhere on your hard drive (I extracted it into my Steam directory so its easy to find when i need it). Copy the TARGA files you just saved from the previous step, into "c:\Program Files\Steam\vtex animation\hl2\materialsrc\animated" (you may have extracted your VTEX converter elsewhere).
Step 8) Inside this folder, is a file named "spray.txt". Simply open this file, and change the "endframe" number, to the number of frames in your animation (8 in my case).
Step 9) Now simply goto the "vtex animation" folder and open "convert.bat". Clicking this will cause VTEX to convert your TARGA sequence of images into one VTF file as an animated spray logo. The resulting file will appear in "c:\Program Files\Steam\vtex animation\hl2\materials\animated" Step 10) Now you can move the VTF and VMT file to "C:\Program Files\Steam\SteamApps\common\counter-strike source\cstrike\materials\VGUI\logos". Now open the game, and you will be able to select from the drop down list the animated spray you just created! It will not show as animated until you actually spray it in the game.
NOTE: If you change your spray logo halfway through a multiplayer game, you will not be able to see the new spray until the next level, or until you rejoin the game, because upon joining a server, you send them your custom spray logos. NOTE: Your animated spray logo can not be up to 120kb in file size. Else it will not show in game
That's all, if you guys have any questions, pm me.