Garry's Mod

Garry's Mod

153 ratings
SprayMesh
 
Rate  
Favorite
Favorited
Unfavorite
Type: Effects, Addon
Tags: Fun, Movie
File Size
Posted
Updated
0.008 MB
Feb 16, 2015 @ 10:11pm
Sep 30, 2015 @ 3:02pm
25 Change Notes ( view )

Subscribe to download
SprayMesh

Subscribed
Unsubscribe
Description
Now your server's players can have sprays again! And BETTER!
If you didn't know, having sv_allowupload and sv_allowdownload on are security holes. Malicious players can gain access to any custom files you have, such as your server.cfg, and can even upload things to your server.
So, if you haven't already, you should set these to 0. This breaks default gmod sprays!

This addon replaces default sprays with a safe version. You should still set the two server convars to 0.
This addon lets your players easily use URLs for images. It creates a map-conforming mesh to display the sprays on. This does not hurt anyone's framerate (with special options for really bad PCs). This supports videos, such as webm, gifv, and even youtube URLs (which are muted).

All you have to do is add this workshop item to your server, or subscribe if you're a user wanting this for singleplayer.
This overrides the spray bind to create a SprayMesh, and informs users how to use it!

http://facepunch.com/showthread.php?t=1451605

Update (August 2016): At this time, Imgur is converting all videos to mp4 instead of webm (masked by the "gifv" extension). The Source engine won't let me use MP4 videos for sprays. The workaround is to download the video off imgur, then go to gfycat.com to upload it. Gfycat will make you a webm URL to use with this mod.
Popular Discussions View All (6)
2
Aug 23, 2016 @ 9:04am
Halp!
paddy
0
Dec 2 @ 3:36am
Help me please
;-;
0
Jul 4, 2017 @ 5:17pm
Need help
EchoSoldi3r
< >
123 Comments
;-; Dec 2 @ 3:35am 
I didn't want to use spraymesh anymore, but after removing it from the workshop I still get the message "this server uses spraymesh. . . " what should I do to remove it completely (excluding reinstallation of the game).
Anubis Aug 13 @ 1:05am 
no matter what link i try or what type of photo/gif i use, even if its jpg or webm, it doesnt work
would love to use it but im having a problem with youtube links
StockKnife May 30 @ 2:03am 
howdy, i sent you a friend req just wanna ask you bout something
Rampage May 19 @ 10:12am 
when i press the bind, i cant see the spray?

its invisible, yet u can see who sprayed it
Bletotum  [author] Mar 21 @ 7:24pm 
you press your normal spraying keybind, then check your console for instructions
cat (っ◔◡◔)っ Mar 18 @ 2:47pm 
how does this work
:steamfacepalm:
captainrelyk Feb 19 @ 2:33pm 
im adding the imgur link, removed https too, and its still not working
greatsuperfatman Jan 3 @ 10:39am 
@Bletotum Ive placed the console commands. ive set the command. and it just plays only for half a second then goes straight back to being the Black Square saying to activate Videos.

Am i doing something wrong.
Bletotum  [author] Jan 3 @ 7:54am 
@greatsuperfatman There's a console command to set videos to work. If you set it clientside (on your gaming computer) and then exit the game normally with the Quit button in the menu, it will be saved for future sessions. Just to be sure, try using the command while in singleplayer with a map open. To see available console commands, set your spray url to something invalid and place a spray, then look in your console at the help text.