Garry's Mod

Garry's Mod

PlaySound Improved
Xilev 6 Aug, 2022 @ 2:28pm
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!
< >
Showing 1-2 of 2 comments
Stong  [developer] 16 Aug, 2022 @ 2:13am 
"<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".

Originally posted by 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.
Last edited by Stong; 7 Feb, 2023 @ 11:09pm
Maksman 28 Aug, 2022 @ 1:35pm 
my problem is i got it working but the buttons are reading the same missing sound file and i cant change it.
< >
Showing 1-2 of 2 comments
Per page: 1530 50