Garry's Mod

Garry's Mod

294 个评价
SprayMesh
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐, 影视
文件大小
发表于
更新日期
8.482 KB
2015 年 2 月 16 日 下午 10:11
2015 年 9 月 30 日 下午 3:02
25 项改动说明 ( 查看 )

订阅以下载
SprayMesh

描述
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.
热门讨论 查看全部(7)
17
2022 年 10 月 30 日 下午 1:50
hello
sinister mellin
2
2016 年 8 月 23 日 上午 9:04
Halp!
Paddy-O
1
2019 年 9 月 26 日 下午 9:00
Gif spray stays invisible
mehga mayn! ;hotelmario;
161 条留言
anarxla 7 月 7 日 上午 6:26 
doest work
Aymane 3 月 6 日 上午 1:55 
doesnt work for me even tho im on chromium
MlgGuyPlays 2 月 5 日 上午 9:58 
is there a way to make the sprays affected by light, because they look really dark for me.
Zordus the Gecko 2024 年 6 月 8 日 下午 1:34 
W for using cool toothless art to promote the addon
Chev 2023 年 11 月 4 日 下午 2:13 
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 2023 年 9 月 16 日 下午 4:33 
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 2023 年 8 月 1 日 下午 4:12 
Every time I press the 'spray logo' button,it just keeps popping up the message saying "this server uses SprayMesh..."
cadetpirx 2023 年 8 月 1 日 下午 4:11 
What button do you press to spawn SprayMeshes?
Fussbodenschleifmaschinenverleih 2023 年 5 月 29 日 上午 4:36 
where do i paste the URL?
the fella  [作者] 2023 年 5 月 11 日 下午 5:44 
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"