Team Fortress 2

Team Fortress 2

Not enough ratings
How to import sprays after the SteamPipe update
By Davjo
A simple and easy guide on how to import sprays Post-SteamPipe.
   
Award
Favorite
Favorited
Unfavorite
Introduction
Introduction
Hello there, Davjo here. Most of you probably know that Steampipe just got released. Along with lot's of its good things, there is one thing that it broke: Importing Sprays. I found out how to fix that in this simple guide.
Requirements
Requirements

The things you need are:
  • VTFEdit
  • The file you want as a spray
  • and ability to make stuff
So let's get on!
So let's get on!

As you probably know, sprays are located at "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials\vgui\logos" (for me atleast)

First of all, you go and open your Picture in VTFEdit, just like usual. Make sure its File Size is less than 200 KB, else it won't show up ingame.

Put it in said Directory and you would BASICALLY be done. Wrong
Now you have to do 2 things: Create a VMT file in the logos Folder and another one in a subfolder there called UI.
In the logos one you put a VMT file with following text:
"UnlitGeneric" { "$basetexture" "vgui\logos\>SPRAYNAMEHERE<" "$translucent" "1" "$ignorez" "1" "$vertexcolor" "1" "$vertexalpha" "1" }
And save it as the same name as the spray. Also don't Forget to replace SPRAYNAMEHERE with your spray's name.

In the subfolder UI, you put another VMT file with following text:
"UnlitGeneric" { // Original shader: BaseTimesVertexColorAlphaBlendNoOverbright "$translucent" 1 "$basetexture" "VGUI/logos/>SPRAYNAMEHERE<" "$vertexcolor" 1 "$vertexalpha" 1 "$no_fullbright" 1 "$ignorez" 1 }
Same as above, save it as your sprays name and put the name of your spray in SPRAYNAMEHERE, BUT THE FILE NAME SHOULD BE PUT IN LOWER CASES! if your spray had something in ALL CAPS or something, you gotta write it in low caps.

Then, start up TF2, go to Options > Multiplayer and you should be able to choose your spray! There you go!
23 Comments
SupremeJustice63 29 May, 2021 @ 6:11pm 
could i just move pics into the logo's folder?
qoi 9 May, 2021 @ 5:09pm 
so ingame after you did everything in the guide how do you select the spray?
Viole 1 Jul, 2018 @ 6:56pm 
Finally! My sprays work!
daorange1 3 Jan, 2016 @ 8:05pm 
umm i can not get to my logo after vgui it brings me to replays help!
Gans [AzovꑭSteel] 17 Oct, 2015 @ 4:31am 
Why just simle not import VTF to game client? Same result, but w\o fcking with vmt. No?
AnkleDab 2 Jul, 2015 @ 12:34pm 
apple?
sadophe 21 Dec, 2014 @ 12:22pm 
my spray ends up as a missing textures file for some reason
how do you fix it
yuri 4 Oct, 2014 @ 9:02pm 
i dont know why but there's no LOGOS in mine
♥ Sammy ♥ 9 Mar, 2014 @ 8:34am 
I've got it now. I had to go to the custom folder. C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\custom\my stuff\materials\vgui\logos
Davjo  [author] 8 Mar, 2014 @ 11:20pm 
This guide's pretty old, and it seems that other methods work better.
Have you tried enabling "No mipmap" in the VTF file? That seems to work.