Make Animated Sprays For Team Fortress 2 (TF2)

Darth BeaverDarth Beaver Meine Ehre heißt Treue
edited August 2011 in Spurious Generalities
First you will need to download and install the following three programs
First find a gif you want to turn into a spray and open it with Irfanview. From the tool bar select option/Extract all frames.

spray1.png

If necessary resize all frames to 64x64, 128x128, or 256x256 pixels with Irfanview. Next if you have say 20 frames select every 4th one as you only want 5 to 6 frames max. The reason for this is too many frames will make you final VTF to large to work in TF2 and by selecting every 4th or 5th frame you still get the animation effect albeit a bit more choppy than the original gif.

Now if you want to add a message to your spray such as totse.info you will need to open each frame in gimp, add your message to it, and save the changes. If you want no message you may skip this step.

Now open VTFEdit and from the tool bar select File/Import as shown below and select all the frames you have edited with gimp.

spray2.png


Once you have imported your frames you will see the VTF option screen just accept the default settings and click on OK.

spray3.png

Now from the VTFEdit toolbar select File/Save as and save the VTF file to the following path.

For 32 bit windows systems: C:\Program Files\Steam\steamapps\%SteamUserName%\team fortress 2\tf\materials\vgui\logos

For 64 bit systems: C:\Program Files (x86)\Steam\steamapps\%SteamUserName%\team fortress 2\tf\materials\vgui\logos

If there is not a logos directory in this path create one before saving the VTF file.

Now in VTFEdit from the toolbar select Tools/Create VMT file and click on the create button.

spray6.png

Save the VMT file to the same path as shown above.

Now launch TF2 and hit escape to bring up the options menu.

spray7.jpg

Now select the Multiplayer tab on the top left and choose your newly created spray from the available drop down menu,

spray8.jpg

If you do not see your spray simply click on the Import Spray button and navigate to the path where you saved your VTF file an select it.

You are now ready to spam your image on any server that allows sprays by running up to a wall and pressing the default button for sprays which is T.

Comments

Sign In or Register to comment.