• Server Pointshop Custom Models
    9 replies, posted
Hi, I am trying to setup custom playermodels for my server. It seems to be not working because the Pointshop shows that the model is invisible. I have added the models and materials to the fastdl and used a "resource.addfile" lua script to force download. But, the materials or models are not working. I have tried everything. The models and materials are in the appropriate folders and they are on the FastDL Server as well. Also, I have made sure the file paths are correct on the pointshop store. I am confused on how to fix this. Please someone help me or tell me what to do. resource.lua {lua/autorun/server} [CODE]--// File Generated By Fox-Warrior's Resources Generator Version 2.05 \\-- if (SERVER) then resource.AddFile( "models/grim.mdl" ) resource.AddFile( "models/vikinghelmet/vikinghelmet.mdl" ) resource.AddFile( "models/santa/santa.mdl" ) resource.AddFile( "models/sam/antlers.mdl" ) resource.AddFile( "models/sam/drinkcap.mdl" ) resource.AddFile( "models/renamon/renamon.mdl" ) resource.AddFile( "models/gmod_tower/3dglasses.mdl" ) resource.AddFile( "models/gmod_tower/afro.mdl" ) resource.AddFile( "models/gmod_tower/aviators.mdl" ) resource.AddFile( "models/gmod_tower/catears.mdl" ) resource.AddFile( "models/gmod_tower/fedorahat.mdl" ) resource.AddFile( "models/gmod_tower/kfcbucket.mdl" ) resource.AddFile( "models/gmod_tower/klienerglasses.mdl" ) resource.AddFile( "models/gmod_tower/linkhat.mdl" ) resource.AddFile( "models/gmod_tower/majorasmask.mdl" ) resource.AddFile( "models/gmod_tower/midnahat.mdl" ) resource.AddFile( "models/gmod_tower/partyhat.mdl" ) resource.AddFile( "models/gmod_tower/seusshat.mdl" ) resource.AddFile( "models/gmod_tower/sombrero.mdl" ) resource.AddFile( "models/gmod_tower/starglasses.mdl" ) resource.AddFile( "models/gmod_tower/toetohat.mdl" ) resource.AddFile( "models/gmod_tower/tophat.mdl" ) resource.AddFile( "models/gmod_tower/witchhat.mdl" ) resource.AddFile( "models/duncehat/duncehat.mdl" ) resource.AddFile( "models/cakehat/cakehat.mdl" ) resource.AddFile( "models/astronauthelmet/astronauthelmet.mdl" ) resource.AddFile( "materials/models/vikinghelmet/vikinghelmet.vmt" ) resource.AddFile( "materials/models/vikinghelmet/vikinghelmet.vtf" ) resource.AddFile( "materials/models/vikinghelmet/vikinghelmet_normal.vtf" ) resource.AddFile( "materials/models/santa/ball.vmt" ) resource.AddFile( "materials/models/santa/ball.vtf" ) resource.AddFile( "materials/models/santa/santa.vmt" ) resource.AddFile( "materials/models/santa/santa.vtf" ) resource.AddFile( "materials/models/sam/antlers.vmt" ) resource.AddFile( "materials/models/sam/antlers.vtf" ) resource.AddFile( "materials/models/sam/antlers_n.vtf" ) resource.AddFile( "materials/models/sam/antlers_s.vtf" ) resource.AddFile( "materials/models/sam/drinkcap.vmt" ) resource.AddFile( "materials/models/sam/drinkcap.vtf" ) resource.AddFile( "materials/models/sam/drinkcap_n.vtf" ) resource.AddFile( "materials/models/sam/drinkcap_p.vtf" ) resource.AddFile( "materials/models/sam/straws.vmt" ) resource.AddFile( "materials/models/renamon/eye_left.vmt" ) resource.AddFile( "materials/models/renamon/eye_left.vtf" ) resource.AddFile( "materials/models/renamon/eye_right.vmt" ) resource.AddFile( "materials/models/renamon/eye_right.vtf" ) resource.AddFile( "materials/models/renamon/iris.vmt" ) resource.AddFile( "materials/models/renamon/iris.vtf" ) resource.AddFile( "materials/models/renamon/mouth.vmt" ) resource.AddFile( "materials/models/renamon/mouth.vtf" ) resource.AddFile( "materials/models/renamon/renamon.vmt" ) resource.AddFile( "materials/models/renamon/renamon.vtf" ) resource.AddFile( "materials/models/renamon/renamon_exponent.vtf" ) resource.AddFile( "materials/models/renamon/renamon_normal.vtf" ) resource.AddFile( "materials/models/renamon/renamon_normal_new.vtf" ) resource.AddFile( "materials/models/grim/grimbody.vmt" ) resource.AddFile( "materials/models/grim/grimbody.vtf" ) resource.AddFile( "materials/models/grim/grim_normal.vtf" ) resource.AddFile( "materials/models/grim/mouth.vmt" ) resource.AddFile( "materials/models/grim/mouth.vtf" ) resource.AddFile( "materials/models/grim/mouth_normal.vtf" ) resource.AddFile( "materials/models/grim/skelface.vmt" ) resource.AddFile( "materials/models/grim/skelface.vtf" ) resource.AddFile( "materials/models/grim/skelface2.vmt" ) resource.AddFile( "materials/models/grim/skelface2.vtf" ) resource.AddFile( "materials/models/grim/skelface2_normal.vtf" ) resource.AddFile( "materials/models/grim/skelface_normal.vtf" ) resource.AddFile( "materials/models/grim/stimer.vmt" ) resource.AddFile( "materials/models/grim/stimer.vtf" ) resource.AddFile( "materials/models/grim/sythe.vmt" ) resource.AddFile( "materials/models/grim/sythe.vtf" ) resource.AddFile( "materials/models/grim/sythe_mask.vtf" ) resource.AddFile( "materials/models/gmod_tower/3dcolors.vmt" ) resource.AddFile( "materials/models/gmod_tower/3dcolors.vtf" ) resource.AddFile( "materials/models/gmod_tower/3dglasses.vmt" ) resource.AddFile( "materials/models/gmod_tower/3dglasses.vtf" ) resource.AddFile( "materials/models/gmod_tower/afro.vmt" ) resource.AddFile( "materials/models/gmod_tower/afro.vtf" ) resource.AddFile( "materials/models/gmod_tower/afro2.vmt" ) resource.AddFile( "materials/models/gmod_tower/afro2.vtf" ) resource.AddFile( "materials/models/gmod_tower/afro_pick.vmt" ) resource.AddFile( "materials/models/gmod_tower/afro_pick.vtf" ) resource.AddFile( "materials/models/gmod_tower/aviators.vmt" ) resource.AddFile( "materials/models/gmod_tower/aviators.vtf" ) resource.AddFile( "materials/models/gmod_tower/aviators_g.vmt" ) resource.AddFile( "materials/models/gmod_tower/aviators_g.vtf" ) resource.AddFile( "materials/models/gmod_tower/catears.vmt" ) resource.AddFile( "materials/models/gmod_tower/catears.vtf" ) resource.AddFile( "materials/models/gmod_tower/drinkcap.vmt" ) resource.AddFile( "materials/models/gmod_tower/drinkcap.vtf" ) resource.AddFile( "materials/models/gmod_tower/drinkcap_n.vtf" ) resource.AddFile( "materials/models/gmod_tower/drinkcap_p.vtf" ) resource.AddFile( "materials/models/gmod_tower/fedorahat.vmt" ) resource.AddFile( "materials/models/gmod_tower/fedorahat.vtf" ) resource.AddFile( "materials/models/gmod_tower/fedorahat2.vmt" ) resource.AddFile( "materials/models/gmod_tower/fedorahat2.vtf" ) resource.AddFile( "materials/models/gmod_tower/kfcbucket.vmt" ) resource.AddFile( "materials/models/gmod_tower/kfcbucket.vtf" ) resource.AddFile( "materials/models/gmod_tower/linkhat.vmt" ) resource.AddFile( "materials/models/gmod_tower/linkhat.vtf" ) resource.AddFile( "materials/models/gmod_tower/majorasmask.vmt" ) resource.AddFile( "materials/models/gmod_tower/majorasmask.vtf" ) resource.AddFile( "materials/models/gmod_tower/midnahat.vmt" ) resource.AddFile( "materials/models/gmod_tower/midnahat.vtf" ) resource.AddFile( "materials/models/gmod_tower/partyhat.vmt" ) resource.AddFile( "materials/models/gmod_tower/partyhat.vtf" ) resource.AddFile( "materials/models/gmod_tower/santahat.vmt" ) resource.AddFile( "materials/models/gmod_tower/santahat.vtf" ) resource.AddFile( "materials/models/gmod_tower/seusshat.vmt" ) resource.AddFile( "materials/models/gmod_tower/seusshat.vtf" ) resource.AddFile( "materials/models/gmod_tower/sombrero.vmt" ) resource.AddFile( "materials/models/gmod_tower/sombrero.vtf" ) resource.AddFile( "materials/models/gmod_tower/starglass.vmt" ) resource.AddFile( "materials/models/gmod_tower/starglass.vtf" ) resource.AddFile( "materials/models/gmod_tower/starglasses.vmt" ) resource.AddFile( "materials/models/gmod_tower/starglasses.vtf" ) resource.AddFile( "materials/models/gmod_tower/straws.vmt" ) resource.AddFile( "materials/models/gmod_tower/toetohat.vmt" ) resource.AddFile( "materials/models/gmod_tower/toetohat.vtf" ) resource.AddFile( "materials/models/gmod_tower/tophat.vmt" ) resource.Add
Can anyone please help? I really want to solve this problem, people are complaining that they can't see the player model, even though they downloaded. The texture is invisible on the model.
put it in lua/autorun not server [editline]2nd April 2013[/editline] also if its just the pointshop extras folder your trying to add just zip the whole folder upload it to your garrysmod/addons folder then unzip then if still having a issue zip up the materials and models folders and ad them to the orangebox/garrysmod folder then unzip and it will auto sort them to the right folders and the sync if your fastdl is working
FastDL is not working if your custom files on the server are in a bzip2 format. You can still make the files download to clients if they are unzipped, but then there's no real point in a FastDL server until the next update. Ensure all unzipped files are in appropriate locations on theFastDL server and in your lua/server/autorun there is a file called fastdl.lua with the code you pasted above: [lua]resource.AddFile( "models/grim.mdl" )[/lua] and so on. If you need help let me know :)
Okay thanks for the help!
[QUOTE=JakeGriffin;40130295]FastDL is not working if your custom files on the server are in a bzip2 format. You can still make the files download to clients if they are unzipped, but then there's no real point in a FastDL server until the next update. Ensure all unzipped files are in appropriate locations on theFastDL server and in your lua/server/autorun there is a file called fastdl.lua with the code you pasted above: [lua]resource.AddFile( "models/grim.mdl" )[/lua] and so on. If you need help let me know :)[/QUOTE] I have a question, how come whenever I go on the custom servers, I see people with FastDL servers and bzip2 files downloaded to my client.
Anyone know why other servers on Gmod can have fastdl with bzipped files fine? But, some people like me can't seem to get it working?
bzipping is current broken but fixed in the next Gmod-version. You can temporally fix the download-issue by unzipping the bzipped-files in your FastDL.
[QUOTE=deraphel;40136493]I have a question, how come whenever I go on the custom servers, I see people with FastDL servers and bzip2 files downloaded to my client.[/QUOTE] You will see your client call on the bzip2 file for download but you will then see the same file unzipped being called after. This further shows you that it is broken! However, in some cases compressed files on FastDL servers work if the owner has used one of the many work arounds or fixes or sometimes files still download if they were put on the server before it actually broke.
[QUOTE=JakeGriffin;40141726]You will see your client call on the bzip2 file for download but you will then see the same file unzipped being called after. This further shows you that it is broken! However, in some cases compressed files on FastDL servers work if the owner has used one of the many work arounds or fixes or sometimes files still download if they were put on the server before it actually broke.[/QUOTE] Okay thanks.
Sorry, you need to Log In to post a reply to this thread.