Team Fortress 2

Team Fortress 2

223 ratings
How to enable sprays
By cate
Here you will learn how to see sprays (in most source games)
*Note: Basically, sprays are always disabled on valve servers. See bottom for details*

Step 1. Press the squiggly boi (~) and paste this:
(Proceed to step 2)

Step 2. Paste this (Then press enter):
cl_spraydisable 0; r_spray_lifetime 99999; r_decals 99999; r_decal_cullsize 1; r_decalstaticprops 1; r_drawmodeldecals 1; r_drawbatchdecals 1; cl_allowdownload 1; cl_allowupload 1; mp_decals 99999; tf_delete_temp_files 0



Extra Information
-Unless you want a game looking like this,[imgur.com] lower the values of r_decals and mp_decals. To do this you can simply paste this in console:
r_decals 800; mp_decals 800
This limits the amount of decals (bullets, sprays, explosions) to n amount.

-This is an irrelevant though nice command which makes shooting responsive:
cl_interp 0.0325; cl_interp_ratio 1; rate 80000; cl_updaterate 66; cl_cmdrate 66
Note that on most community servers, cl_interp can be changed to 0. This means attacking should be instant.

-Change values whilst not in a server to ensure the changes will apply

-cl_playerspraydisable has changed to cl_spraydisable (thanks, NextKuromeThe76Soldier!); keep in mind the config included in this guide is not updated for the new command. To fix that, you should be able to use the config and in-game enter the spraydisable command once and it'll permanently be what you want it to; or you can manually fix the config.

-Now, when you exit the game, all the sprays in dir > tf > materials > temp, will be deleted. If you want to save sprays so you have a chance to see them on valve servers, or for archival, you must copy/paste or extract the sprays to somewhere else, like your desktop. Now we can thankfully stop valve from deleting our sprays, with the command
tf_delete_temp_files 0
:D


Config!
A config automatically executes commands, meaning you do not need to copy and paste them in your game all the time.
The config can be found here.[pastebin.com] To install it, copy all the text, locate your autoexec.cfg (if not there, create one) in \steamapps\common\Team Fortress 2\tf\cfg. Now, paste the text at the bottom of your autoexec.cfg. It is important it is below all other texts.
As it says in the config, you may choose which commands suite you. If you dislike something, either put // at the start of the line of the command, or simply delete it.

if you know any other tips / commands, please feel free to report them.


Explanation for sprays and servers and decals
In short you likely won't see sprays in most (valve) games. But on some community servers, then you can see sprays (if you enable the options, which is what this guide does)
Sprays
Sprays are downloaded to your computer, then displayed in your game. But this depends on the type of server.
Sprays are only downloaded after you join the server. I.e, you won't see sprays that were sprayed before you joined
Sprays can only be downloaded from community servers that have enabled sprays
Servers
If a community server has disabled sprays, when another play trays to spray their spray, you won't download (or view) their spray.
If a community server has sprays enabled, when another play sprays their spray, you will download it and you will see it.
If you're playing on a valve server (most common), sprays can't be downloaded though can be viewed. So if a stranger sprays their spray, your computer won't be able to show it because it hasn't downloaded the files.
If a friend/someone who you have downloaded their spray, from playing with them in community servers with sprays enabled; tries to spray their spray, you will have it installed on your computer so when the valve server tries to show it you will see it.
Decals
Decals are "stickers" (blood, explosion impacts, bullet impacts, sprays) that are put on surfaces/textures. For small performance reasons the max decals you can see is usually limited. So, after some time/when more decals are created, your spray would get removed/hidden. Though this is easily overcome by setting a higher decal limit (which this guide does for you)
Why
Valve has done this in their servers so that people don't download p*rn or bigot content that they don't want. Unfortunate but I guess it's fair enough
10
   
Award
Favorite
Favorited
Unfavorite
84 Comments
cat Oct 21, 2023 @ 10:24pm 
yay
-nikonaku
Stalker-Strike Aug 17, 2023 @ 1:57pm 
Works when you have Autoexec.
jimmy4 Aug 17, 2023 @ 5:24am 
i have a problem it automatically makes me disable sprays out of nowhere
wiosna Feb 9, 2023 @ 4:54pm 
epic. thanks!
Queen Chrysalis Dec 21, 2022 @ 7:45pm 
thsnks :steamthumbsup:
Mycelius Oct 12, 2022 @ 9:42pm 
perfect, now I can see sprays
Calamity Ink Oct 3, 2022 @ 1:35am 
Thank you so much, I've been trying to fix this for years and this actually was the one thing that worked
GizmoHunter64 Jul 25, 2022 @ 4:34pm 
sorry i just got it to work
cate  [author] Jul 25, 2022 @ 3:23pm 
gizmo what servers are you playing on? if it's valve mvm or casual or competitive or some community servers who disable sprays (which afaik is multiple), then yeah basically you can't see others sprays.
you can only see other sprays on non-valve servers, who have explicitly allowed sprays. search online for servers that have enabled sprays then try there
GizmoHunter64 Jul 25, 2022 @ 1:00pm 
I can see my spray but i cant see others and they can't see my spray