Garry's Mod

Garry's Mod

290 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
portal 3
2
23 Aug, 2016 @ 9:04am
Halp!
Drawing Pad
1
26 Sep, 2019 @ 9:00pm
Gif spray stays invisible
mehga mayn! ;hotelmario;
158 Comments
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"
the fella  [author] 11 May, 2023 @ 5:42pm 
Sorry fam, I made this 8 years ago. Haven't opened the game for more than a couple minutes at a time for the past five years. If it's getting fixed it'll be up to you lol.
ChemicλlCherry ☭ 9 May, 2023 @ 4:51am 
Seems broken for the time being
the fella  [author] 26 Mar, 2022 @ 9:42pm 
@Hambubger go for it! I've actually still been using this version using saint B's method but I know the addon is pretty out of date and could be improved in a lot of ways (especially fixing support for certain web services to embed URLs from)

I'm definitely not going to fix this myself, so I appreciate it.

Link to it here with a comment once you've put up your own upload so I know where to go look for it, and I'll edit this submission to tell people to check out yours instead