Ulysses Stuff > Releases
Custom ULX Commands / Server Mail
Moofin Man:
I fixed the problem about the Chat Tags. If you are having an issue in the DarkRP goto (The CMD File you are using)/lua/ULX/Modules/sh and delete cc_chattags.lua.
Nathan5643:
I made an addon that contains sounds for my server but I was wondering how to make the "soundlist" command find those sounds in my addon (If their is a way to do this)
JamminR:
Nathan, I poked around in the code.
It seems to use some standard Gmod locations, with some fancy additional blacklist, combined with ULX playsound.
Playsound presumes all sounds are stored in /sound (literal server, or virtual addon).
So, anything in addons/youraddon/sound/yoursounds/*.* that are compatible with Source should work.
Remember though, they'd have to be on the server and the client for sound to play.
Nathan5643:
Hmm, the path is addons/myaddonname/vo/npc/male01
Should that still work?
EDIT: The sounds do work for Murder taunts but they don't seem to be found by soundlist. I can also play the sounds using ULX playsound just I have to have the path each time I want to play one
JamminR:
--- Quote from: Nathan5643 on April 13, 2016, 08:22:10 AM ---Hmm, the path is addons/myaddonname/vo/npc/male01
Should that still work?
EDIT: The sounds do work for Murder taunts but they don't seem to be found by soundlist. I can also play the sounds using ULX playsound just I have to have the path each time I want to play one
--- End quote ---
No. Gmod and playsound expect /sound to be the root folder to search.
addons/myaddonname/vo/npc/male01 would need to be addons/myaddonname/sound/vo/npc/male01
Then to play that sound, you'd need "ulx playsound vo/npc/male01"
Or you could just dump all your sounds in addons/myaddonname/sound/, and use "ulx playsound blah" without the path, but I've personally never liked doing that due to me being retentive about keeping things separate/organized.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version