@Aaron113, on servers that's orangebox/garrysmod/sound
Well for die.wav I'd do this:
Upload to sound/die.wav on the server
Open garrysmod/data/ulx/downloads.txt and put die.wav on a new line at the end
Type ulx playsound die.wav
For that many I'd stick them all in a folder, like sound/something/, and then type sound/something in the downloads.txt file. Then everything in sound/something/ would be downloaded to clients.
I'll test that with my server in a minute, if I remember
Update:So I tested it, and it works. Here is what I did (I'm using the directory that has gameinfo.txt in as the root, to avoid confusion. For you it'll be orangebox/garrysmod/garrysmod).
- Uploaded holyshit.mp3 to /sound
- Uploaded downloads.txt to /data/ulx. It looks like this:
;ATTENTION! /ADDONS/ulx/data/ulx/<this file> is a DEFAULT file. DO NOT EDIT THE /ADDONS/ULX/DATA/ULX FOLDER FILE!!!
; Instead, edit the version in <garrysmod root>/data/ulx/ if it exists. If it doesn't, copy this file to <gmod root>/data/ulx/ to create it.
; You can add forced downloads here. Add as many as you want, one file or
; folder per line. You can also add these to your map- or game-specific files.
; You can add a folder to add all files inside that folder recursively.
; Any line starting with ';' is a comment and WILL NOT be processed!!!
; Examples:
;sound/cheeseman.mp3 <-- Adds the file 'cheeseman.mp3' under the sound folder
;sound/my_music <-- Adds all files within the my_music folder, inside the sound folder
sound/holyshit.mp3
- Spawned a few hundred bouncy balls and started throwing them around and eating them
- Remembered why I was there and did: ulx playsound holyshit.mp3. It worked.