Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Arion on May 01, 2014, 09:30:54 AM

Title: ULX Admin Addsounds
Post by: Arion on May 01, 2014, 09:30:54 AM
Hi im trying to add some sounds/music to my brother's gmod server but i dont know how to.

I am currently superadmin on ULX admin too and i have tried commands in chat for ULX such as:
ULX playsound (sound dir)
eg. ULX playsound music\b.mp3
ULX addsound (sound dir)
Title: Re: ULX Admin Addsounds
Post by: Decicus on May 01, 2014, 09:55:03 AM
I don't understand what you mean. To add sounds to the server you would have to upload them via FTP into the "sound" directory located in the server's Garry's Mod root directory.
If you uploaded a soundfile into "sound/my_sounds/hello.mp3" you would this to play it:
Code: [Select]
ulx playsound "my_sounds/hello.mp3"
Keep in mind that you would have to make sure that people download them, either using resource.AddFile (http://wiki.garrysmod.com/page/resource/AddFile) in a Lua script, or using ULX's forced downloads: http://forums.ulyssesmod.net/index.php/topic,3072.0.html (http://forums.ulyssesmod.net/index.php/topic,3072.0.html)

In ULX, there isn't any "addsound" command and probably won't ever be unless Garry adds some support for downloading soundfiles similar to PlayURL (http://wiki.garrysmod.com/page/sound/PlayURL)
Title: Re: ULX Admin Addsounds
Post by: JamminR on May 01, 2014, 10:27:32 AM
Also, once the sounds are located on both the server and the client (after client downloads them as mentioned in decicus' post) the command as you show it are not used in chat.
They're used in console. There is no "ulx <command>" used in chat. We usually abbreviate chat commands. See the FAQ What ulx commands should I see in "ulx help"? (http://forums.ulyssesmod.net/index.php/topic,3254.0.html) or "ulx help" from console. (hint - we made no chat command for playsound)