Ulysses Stuff > General Chat & Help and Support

Help with forceDownload

(1/1)

JINX:
i need help with the force download thing,how u i use it?like if i want them to download a swep or model and have it realy work
would this work:Models/portal/cube.mdl

JINX:
o **** sorry this is in ulib! SORRY


EDIT by JamminR for offensive language - Please, lets try to keep this a family atmosphere.

JamminR:
From another post dealing with sound...but would be very similiar for models


--- Quote from: JamminR ---Read your blah/server_path/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"

--- End quote ---

So, for any model
"models/path_to_your_custom/blah_model_file.mdl"

For any texture
"materials/path_to_your_custom/blah_material.vtf"
"materials/path_to_your_custom/blah_material.vmt"

Swep?
Unless you aren't using standard materials/textures/sounds for your sweps, you shouldn't need to force sweps.

Search for 'sendmenu' script in Releases for v1.x (I think) if you need to send custom menus.
I forget the version that works with ULX v1.13


Note:
1) Your server will only send as fast as your maxrate I think, so, don't bore your customers away with tons of cool stuff, at least all at once. The longer they have to wait to join, the quicker they might leave.
2) Many filter downloads off now, due to all the stupid lua worms. Don't depend on your clients to have the stuff.

Navigation

[0] Message Index

Go to full version