Garry's Mod

Garry's Mod

292 ratings
SprayMesh
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Movie
File Size
Posted
Updated
8.482 KB
16 Feb, 2015 @ 10:11pm
30 Sep, 2015 @ 3:02pm
25 Change Notes ( view )

Subscribe to download
SprayMesh

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 (7)
17
30 Oct, 2022 @ 1:50pm
hello
sinister mellin
2
23 Aug, 2016 @ 9:04am
Halp!
Drawing Pad
1
26 Sep, 2019 @ 9:00pm
Gif spray stays invisible
mehga mayn! ;hotelmario;
161 Comments
anarxla 7 Jul @ 6:26am 
doest work
Aymane 6 Mar @ 1:55am 
doesnt work for me even tho im on chromium
MlgGuyPlays 5 Feb @ 9:58am 
is there a way to make the sprays affected by light, because they look really dark for me.
Zordus the Gecko 8 Jun, 2024 @ 1:34pm 
W for using cool toothless art to promote the addon
Chev 4 Nov, 2023 @ 2:13pm 
I went ahead and published my version of your addon, called "SprayMesh Extended". Given the past comments here, it seems like you're fine with people making adjustments to this addon, so hopefully this is alright with you :)
Chev 16 Sep, 2023 @ 4:33pm 
Hi, I was wondering if I could get your permission to upload my own modified version of SprayMesh? I've worked on my own customized version of this addon for a server I run. I've added a bunch of new features, like easier developer API/moderation tools such as spray clearing, persistent sprays between game reloads, a dedicated spray manager/settings menu, rotatable sprays on floors and ceilings, etc.

Obviously I'll give credits to you for making the original addon in the description.
cadetpirx 1 Aug, 2023 @ 4:12pm 
Every time I press the 'spray logo' button,it just keeps popping up the message saying "this server uses SprayMesh..."
cadetpirx 1 Aug, 2023 @ 4:11pm 
What button do you press to spawn SprayMeshes?
[GER]⚡DönerBlitz🍉 29 May, 2023 @ 4:36am 
where do i paste the URL?
the fella  [author] 11 May, 2023 @ 5:44pm 
But if it helps, I happen to know it was working 6 months ago. You might just need to launch gmod with Chromium mode. Do that by going to the gmod page in your steam Library, hit the gear on the top right, a popup will appear. Go to the Betas section on the left, and select the beta "x86-64 - Chromium + 64-bit binaries"