Ulysses Stuff > General Chat & Help and Support
Sound Question...
JamminR:
Brett, please stop making multiple posts with the same question.
If you are running a dedicated server, yes, the sounds have to be there.
blah/Source Dedicated Server/gmod9/sound/mysounds/test sound.wav
For you, or your players connecting to hear them, you/they also have to have them.
blah/SteamApps/SourceMods/gmod9/sound/mysounds/test sound.wav
To play from 1.13
From Console
ulx_playsound "mysounds/test sound.wav"
(I forget the chat command)
To play from v2
From Console
ulx playsound "mysounds/test sound.wav"
From chat:
!playsound "mysounds/test sound.wav"
Brett900:
okay,i'm sorry im very new i joined today and i think i know why it didnt work a min ago i typed
ulx playsound admin/humanvictory.mp3
i missed the " " and i got one more question will the people just download the sounds or do i haft to more things to make it so they download it once they join the server?
PS:I will remove this post one it works.
JamminR:
Brett, don't worry about removing any. I've already removed any duplicate posts I've found in other topics.
You must configure your server to send clients the sound.
Read your
blah/Source Dedicated Server/Gmod9/ulx/configs/forcedownload.ini for how to edit that file.
Quick example...lets say you have 3 sounds in your sound/admin folder...
kick me.wav
Seeya sucker.wav
Nah Nah Nah.mp3 ... you would edit your forcedownload.ini, adding three additional lines like so...
"sound/admin/kick me.wav"
"sound/admin/Seeya sucker.wav"
"sound/admin/Nah Nah Nah.mp3"
You _do_ have to include the 'sound' folder location.
For the forcedownload.ini file, the 'root' path starts in blah/gmod9, not "sound/" like the playsound command
PLEASE remember for your users sake to keep files small. If most servers have a maxrate set at 7000, this means for someone to download files adding up to even something as small as 1mb would take 146 seconds (2 minute, 26 seconds)
I don't know about others, but if I have to wait more than 30 seconds (sometimes less depending on mood) to download files...I usually find another server.
Brett900:
Okay!,thanks and i got one more question its easy its a yes or no question.
will MPGE4 music work? and also would this work i typed it in like this
------------------------------------------------------------------------------------------------------
//ULX-Dynamic res generator
//Put files you wish to force the client to download in this file, seperated by newlines.
//For example, you might put "sound/supafly.mp3" in here, make sure it has the quotes.
<--------------------
"sound/gmod/humanvictory.mp3" |
"sound/gmod/rotten.wav" |
"sound/gmod/DontFuckWithMe.wav" |
"sound/gmod/Asshole.wav" |
"sound/gmod/uglystick.wav" |
"sound/gmod/behave.wav" |
|
(is there sposta be a space here?)------------|
Brett900:
Well i found out that for some reason "mp3" music dont work only "wav" music works,the weird thing is peopel say the dl the mp3 music but they dont here it but when i play it but i do here it do you wut the problem is?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version