Difference between revisions of "Sprays"

From Team Fortress Wiki
Jump to: navigation, search
(I've heard that sprays are disabled in Casual Mode. Is that true? Remove in case it isn't.)
m (corrected some numbers)
Line 7: Line 7:
  
 
== Technical ==
 
== Technical ==
The image file can be uploaded to your spray list via the Multiplayer menu by selecting the spray of your choice to be imported from your steam directory. The image file must be converted to a {{code|.vtf}} [[vdc:texture|texture]] file combined with a {{code|.vmt}} [[vdc:material|material]]. The game can automatically convert {{code|.jpeg}} and {{code|.gif}} files (though not animated gifs). The game will generate the material file for you if you don't create it yourself. All sprays must be no larger than 512x512 texels in size and 512 kb size wise, or they won't show up in game.
+
The image file can be uploaded to your spray list via the Multiplayer menu by selecting the spray of your choice to be imported from your steam directory. The image file must be converted to a {{code|.vtf}} [[vdc:texture|texture]] file combined with a {{code|.vmt}} [[vdc:material|material]]. The game can automatically convert {{code|.jpeg}} and {{code|.gif}} files (though not animated gifs). The game will generate the material file for you if you don't create it yourself. All sprays must be no larger than 512 kb size wise, or they won't show up in game.
  
 
Sprays are automatically stored in the Steam cloud, but can, like all other Steam cloud files, be ignored by the client.
 
Sprays are automatically stored in the Steam cloud, but can, like all other Steam cloud files, be ignored by the client.
  
They can be either enabled or disabled in the game's [[Multiplayer options]] tab, but how many are displayed at once, if any, is dependent on the value that mp_decals is set to by the [[Servers|server]] you are playing on. The value must be above 300 to show sprays, and the higher the value, the more sprays that can be loaded at once. The {{cvar|sv_pure}} console variable can also disable sprays from being displayed.
+
They can be either enabled or disabled in the game's [[Multiplayer options]] tab, but how many are displayed at once, if any, is dependent on the value that mp_decals is set to by the [[Servers|server]] you are playing on. The value must be above 0 to show sprays, and the higher the value, the more sprays that can be loaded at once. The {{cvar|sv_pure}} console variable can also disable sprays from being displayed.
 
   
 
   
 
In-Game screenshots that have been saved using the games screen capture system (default key: {{Key|F5}}) are already formatted to be used as sprays but will most likely have reduced image quality and be illegible to other players.
 
In-Game screenshots that have been saved using the games screen capture system (default key: {{Key|F5}}) are already formatted to be used as sprays but will most likely have reduced image quality and be illegible to other players.

Revision as of 09:28, 5 July 2019

This page refers to sprays painted on surfaces in the PC version. For the tool that allows you to spray an image onto an item, see Decal Tool. For items that can be sprayed by that tool, see Category:Sprayable items.
An example of an user set spray being put on a wall near the RED spawn on Badwater Basin.

Sprays are a feature of the PC version of Team Fortress 2 that allow players to "spray" (default key: T) their own images on surfaces within a game server such as walls, ceilings, or floors instantly.

Sprays are somewhat disabled on Casual Mode, while players can still spray their images, the other players of the match will not be able to see them.

Technical

The image file can be uploaded to your spray list via the Multiplayer menu by selecting the spray of your choice to be imported from your steam directory. The image file must be converted to a .vtf texture file combined with a .vmt material. The game can automatically convert .jpeg and .gif files (though not animated gifs). The game will generate the material file for you if you don't create it yourself. All sprays must be no larger than 512 kb size wise, or they won't show up in game.

Sprays are automatically stored in the Steam cloud, but can, like all other Steam cloud files, be ignored by the client.

They can be either enabled or disabled in the game's Multiplayer options tab, but how many are displayed at once, if any, is dependent on the value that mp_decals is set to by the server you are playing on. The value must be above 0 to show sprays, and the higher the value, the more sprays that can be loaded at once. The sv_pure console variable can also disable sprays from being displayed.

In-Game screenshots that have been saved using the games screen capture system (default key: F5) are already formatted to be used as sprays but will most likely have reduced image quality and be illegible to other players.

Uses

Sprays are used by players for many reasons including;

  • To advertise clans or groups
  • Lighten up the tension of a match with comical sprays
  • To leave their mark on the world using it as a signature
  • To entertain other players
  • To distract other players
  • To warn players

The useful application of sprays in-game is almost non-existent, although they can sometimes be used to distract enemies by making them believe that there are certain obstacles in their way that in most cases would want to be avoided such as crouching Snipers in the distance, Sentry Guns, or Sticky Bombs.

Another use for sprays is for Spies to lay a trap for unwary opponents. A Spy equipped with a Cloak and Dagger will place a spray and then lie in wait for an enemy to pause to look at it, backstabbing them while their guard is down.

Another use for sprays is for advertising trading, it is very useful for gathering the attention of other traders to make deals.

A more practical use of sprays is to warn players of location specific obstacles, such as a sentry or a Spy in the area.

There are sprays Engineers will sometimes put next to their Teleporter that denote the priority for what classes should use the Teleporter first. These lists generally put the Engineer himself on top, since he has to maintain his building. While the Scout is on bottom, since a level 1 Teleporter charge rate would be about the time for the Scout to reach the frontlines.

Update history

September 28, 2007 Patch

  • Added option to disable Player sprays.

November 7, 2007 Patch

  • Fixed crash on importing spray logo that claimed to be a valid jpeg file, but wasn't.

January 25, 2008 Patch

  • Fixed crash caused by trying to import a custom player spray.

February 14, 2011 Patch

  • Fixed a client crash caused by malformed custom client spray.

April 14, 2011 Patch

  • Fixed a couple cases where custom sprays would not import correctly.

May 2, 2013 Patch

  • Fixed user sprays not working.

Spray Resources