Garry's Mod

Garry's Mod

79 个评价
End of Round Music for TTT
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件标签: 快乐, 风景
标签: misc
文件大小
发表于
更新日期
1.608 KB
2013 年 2 月 7 日 下午 3:22
2013 年 3 月 6 日 下午 7:47
2 项改动说明 ( 查看 )

订阅以下载
End of Round Music for TTT

描述
This is the original code for the end of round music for Trouble In Terrorist Town. Never been broken for any version of TTT or Gmod. Any other plugins you see are knock offs. Use the original! This is all server side.

Link for the GarrysMod.org version: http://www.garrysmod.org/downloads/?a=view&id=132928

The following little piece of .lua code was written by me to help others on their Trouble in Terrorist Town servers.

I write code for things I can not find on the internet. I couldn't find the code for this little thing so I made it.
Feel free to use this. Just give me credit ;)

Make sure to add your sounds to your /garrysmod/sounds/ folder. And have a unique name to it.
If someone has another sound with the same name from another server,
it will play that instead. Also remember to add the sound to your FastDL server to make sure your clients get it.
Add the EndofRoundMusic.lua folder to your /garrysmod/lua/autorun folder. It will do the rest. Enjoy.

-MoNeYINPHX
http://www.ProjectPhoenix.media
http://www.youtube.com/moneyinphx
http://www.twitter.com/MoNeYINPHX



Copyright Project Phoenix Media LLC
All Rights Reserved.
47 条留言
DingusZazahitter426 2023 年 7 月 3 日 上午 11:43 
You know, that is pretty funny, so funny that I'll do the same thing
Kurochi 2020 年 5 月 6 日 上午 4:11 
Find it funny how you stole my picture
Canonical 2019 年 7 月 12 日 上午 4:48 
Quite the necro here but I'm trying to test it out on my own self hosted server. In the clientside console I get this error:
Failed to load sound "yourmusic.whatever", file probably missing from disk/repository

i'm clearly messing something up. do i install the sound files in my gmod server folder, ie c:/gmodserver/garrysmod/sound, or do i install it locally as is done in the video?
SovetskiDuck 2019 年 7 月 9 日 上午 7:59 
Thanks Raggle
Raggle 2015 年 7 月 1 日 下午 5:30 
Make sure your sound is encoded in the correct format for Source Engine to play it.

I believe 44100hz, 16bit PCM WAV is correct.
Audacity is pretty much the standard program for this.

Sometimes you will need to add resource.AddFile("sound/******.wav") somewhere in a lua file for players to download the sound.

Hope I helped.
Captain Wergberg 2015 年 6 月 1 日 下午 4:41 
Failed to load sound "beasty_boys_make_noise.mp3", file probably missing from disk/repository
Please help
Mooseham 2015 年 5 月 2 日 下午 12:04 
I literally cannot get this to work by adding my own sounds, anybody can help at all? ive tried so many end of round sounds addons but none work.
HG Dosenbier 2015 年 2 月 18 日 上午 7:25 
I dont have FastDL how do i make shure my people get them ?
Crypto 2014 年 9 月 30 日 下午 3:23 
Cant get it to work at all?
Murdina 2014 年 7 月 22 日 下午 3:47 
Gmad extracter crashes when i try to get it fix please!