• FastDL only loads maps
    1 replies, posted
Hi everyone, I'm currently trying to set up a GMod server for me and my friends. Everything works fine after a bit of googling and try-and-error, except for one thing: FastDL. Maps _do_ load, but models, materials and so on do not. I used as a test this car: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=108903285[/url] Added it to workshop.vdf, then unpacked it and uploaded everything except the \lua folder and info.txt. The server itself has the GMA file. Created the garrysmod\lua\autorun\server\resources.lua with [url]http://www.facepunch.com/showthread.php?t=842886[/url]. Tried both resource.AddFile and resource.AddSingleFile. Tried both bz2ing and normal files on the FastDL. Permissions are 0755. resources.lua: [CODE]resource.AddFile( "/scripts/vehicles/69charger-gm10.txt" ) ... ... resource.AddFile( "/materials/models/vehicles/cars/69charger/transparent_normal.vtf" ) [/CODE] My config on the FastDL: [IMG]http://sadpanda.us/images/1351883-AII4OK2.png[/IMG] FastDL config in the server.cfg: [CODE]"sv_downloadurl" "http://***/fastdl/gmod/" "sv_allowdownload" "0" "sv_allowupload" "0"[/CODE] The maps load, the dodge appears in the "Vehicles" list, but the files don't download. Any ideas what goes wrong? Thanks in advance, SeriTools
OK, found it: [CODE]resource.AddFile( "/models/vehicles/cars/69charger.vvd" )[/CODE] needs to be [CODE]resource.AddFile( "models/vehicles/cars/69charger.vvd" )[/CODE]
Sorry, you need to Log In to post a reply to this thread.