Garry's Mod

Garry's Mod

PlaySound Improved
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!
< >
Zobrazeno 12 z 2 komentářů
Støng  [vývojář] 16. srp. 2022 v 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 původně napsal:
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.
Naposledy upravil Støng; 7. úno. 2023 v 23.09
my problem is i got it working but the buttons are reading the same missing sound file and i cant change it.
< >
Zobrazeno 12 z 2 komentářů
Na stránku: 1530 50