Garry's Mod

Garry's Mod

PlaySound Improved
Xiel 6. aug. 2022 kl. 14: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!
< >
Viser 1-2 af 2 kommentarer
Støng  [udvikler] 16. aug. 2022 kl. 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".

Oprindeligt skrevet af 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.
Sidst redigeret af Støng; 7. feb. 2023 kl. 23:09
Maksman 28. aug. 2022 kl. 13:35 
my problem is i got it working but the buttons are reading the same missing sound file and i cant change it.
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50