Team Fortress 2

Team Fortress 2

Not enough ratings
Got a temp folder that still has sprays in it?
By Thespikedballofdoom
if you do, please send it and we can get sprays a little bit more functional on valve servers
   
Award
Favorite
Favorited
Unfavorite
About
By combining all our sprays together, we can largely bypass the need to download sprays from valve servers and have sprays in a semi-functional state on valve servers. If you can think of a better method than this for mass sharing sprays then please do send help.
I will create downloads to combine all the sprays I'm given together and also be going through gamebanana and other places on the internet and converting them to their cached names to include in these packs.

Separation between safe/nsfw too since everyone is terrified about sprays for no reason.

Releases will be published as announcements in this group. A discord is also available through here.
https://steamhost.cn/steamcommunity_com/groups/SprayCollectionCampain
A small dissertation about how sprays work
This is assuming you have sprays enabled fully. To do that, see the next section.

When you import a spray, it is ready for use in the next server you join.
When you join a server that allows sprays to be downloaded, it is downloaded to every connected user's computer in a folder in tf2's directory: tf/materials/temp.
The filename of this spray will look something like this: F8x4n8HA.vtf
These names are all unique and determined by the file itself. It is the same no matter who is viewing the spray. If it is on the wall, it will save with the same filename.
After you've downloaded a spray, if you join a server that has spray uploading enabled, and someone posts that same exact spray, you should be able to see it.

On valve servers, downloading of sprays is disabled but not uploading. If someone posts a spray that you have downloaded, it will still display just fine. This is the main reason this project exists.
If you don't have it downloaded, all you will see is someone looking at a surface and making the spray sound.
Enabling sprays
There are many game commands that can prevent you from using sprays, the first 2 here are the game will set to off (1) by default and cannot be toggled on with any assurance without an autoexec.

  • tf_delete_temp_files 0
  • cl_spraydisable 0
  • cl_allowdownload 1
  • cl_allowupload 1
  • r_spray_lifetime 99999

Launch your game, go in the console and see what these commands are set to. If you don't know what the console is god help you.
If for any reason these commands are not set to the ones above, check your or create an autoexec.cfg.

autoexec.cfg is a file that sets commands in it at the game's launch. If you use mastercomfig you'll have to use whatever system mastercomfig uses to set these.
You can create/check your autoexec in your cfg folder, which you can find through right clicking TF2 in your steam library, properties > local files > browse.
Navigate to tf/cfg and create a file called autoexec.cfg. You can open it with any text editor, it functions the same as .txt.
Put those commands in it and save the file. Make sure it's not .cfg.txt or anything like that.
Once you've done that, you can now save sprays from any server that allows downloading, which is pretty much all of them except valve servers.
3 Comments
Hodd Toward® 18 Aug, 2022 @ 7:21pm 
thanks man!
Hodd Toward® 18 Aug, 2022 @ 7:02pm 
I like your Windows Explorer. How did you do that?