Garry's Mod

Garry's Mod

PlaySound Improved
Xiel 2022 年 8 月 6 日 下午 2:28
How Would I Put The Soundtracks In An Actual Addon?
Hi!
I'm a little confused on how to go about that, as well as add the lua files to it. I want to upload some soundtracks for my friend to use but some of the pinned comment was a little vague so I hope it's not trouble to ask for some help haha.


In the pinned comment it says:

<Your Folder>/lua/autorun/client/play_music_<name>.lua <Your Folder>/sound/music/<filename>.mp3


Which file would be "Your Folder"?

And how would I actually be able to upload all these files as an addon in the workshop?

Thank you in advanced!
< >
正在显示第 1 - 2 条,共 2 条留言
Støng  [开发者] 2022 年 8 月 16 日 上午 2:13 
"<Your Folder>" would be the name of the soundtrack addon you're making. For example, if it's related to games like Half-Life, then name it "Half-Life Soundtrack".

引用自 Xilev
And how would I actually be able to upload all these files as an addon in the workshop?
I recommend gmpublisher[github.com]. It's a simple app that you can use to manage your addons.
最后由 Støng 编辑于; 2023 年 2 月 7 日 下午 11:09
Maksman 2022 年 8 月 28 日 下午 1:35 
my problem is i got it working but the buttons are reading the same missing sound file and i cant change it.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50