Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Phoenix_8754 on May 01, 2013, 05:03:00 PM
-
Im completely confused how to use this addforceddownload thing. I have a file called hazmat.mdl and IVe placed it in the addons folder, and from what Ive read it says to insert the command like so: addForcedDownload "addons/hazmat.mdl" but when I load up the server it says ERROR: Tried to ad nonexistent or empty file to forced downloads 'ulx addForcedDownload addons/hazmat.mdl' But Ive checked and this file works in singleplayer and you can view the ragdoll in the server as long as you have predownloaded it so what am I doing wrong? Ive searched and searched for about two days with no help! I would also NOT like to use the sv_downloadurl command if that helps.
-Phoenix
-
Addons folders are virtual, don't go adding stuff to /addons unless you know how to make an addon.
You'll need all files associated with the model, and a special txt file telling gmod 'this is a legit addon'.
Since whatever you're trying to use isn't already in addon format, copy the files you have to your gmod server's models folder, in thier own folder to make them easier to separate from default files.
/models/somefolder/file.mdl
models/somefolder/file.vtf
It's explained reasonably well within our faq.
http://forums.ulyssesmod.net/index.php/topic,3072.0.html
-
Thanks! Ill try this out and hopefully it works!
-
Oh and is there any difference between a .vtx and .vtf file? As mine only has a .mdl, .vtx and a few other things
-
Addons folders are virtual, don't go adding stuff to /addons unless you know how to make an addon.
You'll need all files associated with the model, and a special txt file telling gmod 'this is a legit addon'.
Since whatever you're trying to use isn't already in addon format, copy the files you have to your gmod server's models folder, in thier own folder to make them easier to separate from default files.
/models/somefolder/file.mdl
models/somefolder/file.vtf
It's explained reasonably well within our faq.
http://forums.ulyssesmod.net/index.php/topic,3072.0.html
I entered in the command and made the files its own folder in models/hazmats but then once I start it up it gives me the same error.. ERROR: models/hazmats/hazmat.mdl is nonexistent or is empty!!
ERROR: models/hazmats/hazmat.dx80.vtx is nonexistent or is empty!!
ERROR: models/hazmats/hazmat.dx90.vtx is nonexistent or is empty!!
ERROR: models/hazmats/hazmat.sw.vtx is nonexistent or is empty!!
:/
-
Possibly something changed in the API or something changed when we redid some file I/O stuff recently. We will verify as soon as possible (https://github.com/Nayruden/Ulysses/issues/205).
-
Alright, thanks
-
Phoenix
can you take a screen shot of the path to the fles your adding? as they are on the server ?
-
I have gone to "garrysmod/data/ulx/downloads.txt" but no "downloads.txt" was there so i made one and inside i put "ulx addForcedDownload("maps/mapname.bsp")" but when i join the server it says Missing maps... Can somone tell me how to Force Download Maps??
-
Phoenix
can you take a screen shot of the path to the fles your adding? as they are on the server ?
Oh definetly, Ill upload the location and what I have entered into the text document.
-
Tested on my server and forced downloads is still working fine. Dankro, please read the examples and instructions given in addons/ulx/data/ulx/downloads.txt.
-
Excuse me but how does one insert an image here?
-
(http://C:\Documents and Settings\Owner\Desktop\temp. server\untitled1)
(http://C:\Documents and Settings\Owner\Desktop\temp. server\untitled)
(http://C:\Documents and Settings\Owner\Desktop\temp. server\2)
Im not sure if you can see those or not.... I just tried inserting a picture but if theres another way let me know and Ill try it.
-
No one can see those, as they are links to local paths on your computer. You'll need to put them on a host site such as http://imageshack.com/ or something similar.
-
No one can see those, as they are links to local paths on your computer. You'll need to put them on a host site such as http://imageshack.com/ or something similar.
Thanks, here are the links to the images.
1. http://i.imgur.com/gnWultph.jpg
2. http://i.imgur.com/QDw5Q9Nh.jpg
3. http://i.imgur.com/M9lrTvR.jpg
And, thanks guys for trying to help me with this, I really appreciate it!Phoenix
can you take a screen shot of the path to the fles your adding? as they are on the server ?
-
Drop the "ulx addForcedDownload /" prefixes. It should look like:
models/hazmats/hazmat.mdl
models/hazmats/hazmat.sw.vtx
etc...
Sorry I didn't notice that in your first post.
-
Indeed. The example even shows that, and our FAQ also shows an example (not using the text you added).
Phoenix, or anyone, Can you make suggestion of how we could make this clearer in the future?
It seems to our team pretty obvious with the way we added examples to the file, but we're used to working with this year in/year out.
(and I accidentally added a / in my reply to your first post)
Sorry I didn't notice that in your first post.
To be fair, the way he showed in his first post 'would' be used from command line, minus the / on the front of course. :)
Command line during game would be like "ulx addforceddownload models/hazmat".
-
Drop the "ulx addForcedDownload /" prefixes. It should look like:
models/hazmats/hazmat.mdl
models/hazmats/hazmat.sw.vtx
etc...
Sorry I didn't notice that in your first post.
Thanks! Ill try that and tell you if it works!
Indeed. The example even shows that, and our FAQ also shows an example (not using the text you added).
Phoenix, or anyone, Can you make suggestion of how we could make this clearer in the future?
It seems to our team pretty obvious with the way we added examples to the file, but we're used to working with this year in/year out.
(and I accidentally added a / in my reply to your first post)
To be fair, the way he showed in his first post 'would' be used from command line, minus the / on the front of course. :)
Command line during game would be like "ulx addforceddownload models/hazmat".
Maybe you guys could post some example pictures? Those usually help me and some others I know.
-
It worked! Thank you so much guys! What a great staff team you guys have!