Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: GraffitiArtist on July 26, 2006, 08:46:55 PM

Title: Audio File Help
Post by: GraffitiArtist on July 26, 2006, 08:46:55 PM
Hey. On my own server on gmod9 I would like to know how to play an audio file, like an mp3 for example, so everyone on the server can hear it. I played an mp3 file once and I could hear it fine but no one else on the server heard anything (about 11 other people). Can someone tell me how to play my own MP3s on a server so everyone can hear them? Again, the game is gmod9.
Title: Re: Audio File Help
Post by: JamminR on July 27, 2006, 05:15:58 AM
 You have to have the sound in your gmod9/sound directory (or a subfolder)
Clients have to have same exact filename in thier sound directory (again, or a subfolder) for them to hear it.

 ULX v2 command would be ... ulx playsound "sound.ext"
ext being wav, or mp3.
Quotes " are required if it has spaces.
If it is a subfolder of sound... as if you had it in /gmod9/sounds/yoursubfolder , it would be ...
 ulx playsound "yoursubfolder/sound with spaces.ext"

 See http://forums.ulyssesmod.net/index.php/topic,272.0.html for some background on similiar issue another person was having with ULX v1.x 'force download' (to make the clients get the sound), and ulx_playsound (_ was old way)

 On a side note, make sure the sounds are few and small in size. Many people hate joining a server and waiting more than 20 seconds just to download a bunch of random non-game-mode related sounds.