My server lets you download maps but won't download any materials or models D: I've been trying to fix for the past 3 hours but no luck. idk why it does maps but nothing else! Please help!
Only these map files get uploaded automatically to clients, without extra setting.
Quote:
Tip:.txt, .res, .ain and .nav files with the same name as the map are automatically pushed, and don't need to be included.
All loose files outside of map file (sound, materials, models), you need either create resource list (*.res),
or use SourceMod plugin to add files in downloadtable.
If you are using another host URL address where players download missing files (sv_downloadurl "URL"),
make sure files are in both location, in server and your URL destination.
Another trick is pack all loose files inside map file, and this need to done before releasing map (you as map developer).
If you pack files later, when players had already downloaded that map, you will give CRC error for players.
Because server map not match anymore with players, and you need tell them remove that map and download new one.
This is how I'm getting clients to download my materials and sounds. Also for maps you be able to just put them in the maps folder, well that's what I have been doing.
This is how I'm getting clients to download my materials and sounds. Also for maps you be able to just put them in the maps folder, well that's what I have been doing.
Hope this helps!
...I doubt it since Source will only find these files in the models/, materials/, or sound/ directory on the server for their respective types.
It's true that HL2:DM, DoD:S, CS:S, and TF2 stick downloaded files in the download (note the lack of s) directory, but that doesn't correspond to their locations on the server.
Anyway, getting back on topic, it sounds like the store plugin isn't adding them to the downloads table, but without knowing which store plugin (the public one, Zephyrus' private one, etc...) it's hard to say what configuration needs to be fixed.
__________________
Not currently working on SourceMod plugin development.