Ulysses
Ulysses Stuff => General Chat & Help and Support => FAQs => Topic started by: Megiddo on December 30, 2007, 09:32:56 AM
-
Insert the files and folders you want people to download into garrysmod/data/ulx/downloads.txt, one file or folder per line.
If a folder is added, all the files inside the folder will be recursively added. Linux path notation ('/' not '\') is preferred.
Add a file from the garrysmod root. IE, if you have /garrysmod/sound/mycoolsounds/awesome.mp3, you'd add the following line:
sound/mycoolsounds/awesome.mp3
Never, ever have /addons/<mod> in addForceDownload! If you have something like addons/mycoolsoundpack/sound/mycoolsounds/awesome.mp3, you'd use the same line as above.
If you're using sv_downloadurl (if you don't know what it is, ignore this bit) then you'll need to stick what you're forcing to download in with the rest of the sv_downloadurl resources, using the same folder format.
-
Nice, i'll try to get my songs on
Thanks
-
Hey Megiddo I need your help. My forced downloads work but theres 1 thing thats annoying me. It downloads too Slow! How do I make it Faster!!?
-
Use a download server. See srcds.com for more information.
-
So this just forces downloads, but isn't as quick as a FastDL?
-
Why not just resource.addfile?
-
Why not just resource.addfile?
I believe it's easier for people to add each file to a list instead of resource.AddFile'ing every file in it's own script.