Team Fortress 2

Team Fortress 2

Zbyt mało ocen
How to import sprays after the SteamPipe update
Autorstwa: Davjo
A simple and easy guide on how to import sprays Post-SteamPipe.
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
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!
Komentarzy: 23
SupremeJustice63 29 maja 2021 o 18:11 
could i just move pics into the logo's folder?
qoi 9 maja 2021 o 17:09 
so ingame after you did everything in the guide how do you select the spray?
Viole 1 lipca 2018 o 18:56 
Finally! My sprays work!
daorange1 3 stycznia 2016 o 20:05 
umm i can not get to my logo after vgui it brings me to replays help!
Gans [AzovꑭSteel] 17 października 2015 o 4:31 
Why just simle not import VTF to game client? Same result, but w\o fcking with vmt. No?
AnkleDab 2 lipca 2015 o 12:34 
apple?
sadophe 21 grudnia 2014 o 12:22 
my spray ends up as a missing textures file for some reason
how do you fix it
yuri 4 października 2014 o 21:02 
i dont know why but there's no LOGOS in mine
♥ Sammy ♥ 9 marca 2014 o 8:34 
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  [autor] 8 marca 2014 o 23:20 
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.