• Garry's Mod PointShop Trials
    43 replies, posted
Hello, today I added a rainbow trial to my garrys mod point shop but when i join and equip it it does not appear. Also the icon in the pointshop is that black and blue tiled one like when you dont have textures for somthing. I dont know if it is FastDL or the I did not put the VMT anf VTF in the right location. Please help!
Post the code for it
[CODE]ITEM.Name = 'Rainbow Trail' ITEM.Price = 150 ITEM.Material = 'trails/rainbow.vmt' function ITEM:OnEquip(ply, modifications) ply.ElectricTrail = util.SpriteTrail(ply, 0, modifications.color, false, 15, 1, 4, 0.125, self.Material) end function ITEM:OnHolster(ply) SafeRemoveEntity(ply.ElectricTrail) end function ITEM:Modify(modifications) PS:ShowColorChooser(self, modifications) end function ITEM:OnModify(ply, modifications) SafeRemoveEntity(ply.ElectricTrail) self:OnEquip(ply, modifications) end[/CODE] [editline]11th June 2014[/editline] But where do i put trials/rainbow.vmt in the 3rd line in the config
use "trials/rainbow.vtf" instead of .vmt and upload it to garrysmod/materials/trails
ok Thanks
I tried that and it did not work, every time i equipped the trail it would crash my game.
Did you add the file to FastDL?
I use a site and I asked a support ticket like 2 weeks ago how to get all the files in and he said to put it in the corresponding folders then use FastDL Sync. But when I do that for the trails its doesent work... [editline]12th June 2014[/editline] And I think this is the same problem in having with adding player models.
Post fastdl code please
What code? All I have is this. [url]http://gyazo.com/11ef41e9e007fc5ec9fcbb05dcff2ecc[/url]
Your resource.AddFile code for sending files to the client. If you have no idea what that is, contact your host.
Tom, do you have a file in lua/autorun with resource.AddFile (yourfile) in it? [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5809.html"]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5809.html[/URL] This is needed to forceadd the trail to the fastDL. After making the file, please use the FastDL sync button on your CP. This syncs all of your files to the host's servers, and downloads them to the players. If the above things do not work, try this: sometimes with hosts you need to copy the files into a folder in the main directory (garrysmod/garrysmod) for it to fastDL sync to your host. Hope this helps! EDIT: If it is a workshop file, use the GMAD extractor [URL="http://www.treesoft.dk/gmod/gmad/"]http://www.treesoft.dk/gmod/gmad/[/URL] to find the addon and export the files. Then add to fastDL using tips above.
Ok, Thank you guys, sorry for the late reply but now im having errors with player models. [editline]13th June 2014[/editline] [CODE]resource.AddFile("materials/trails/Rainbow.vmt") resource.AddFile("materials/trails/Rainbow.vtf") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_color_normx.vmt") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_color_normx.vtf") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_color_normxz.vmt") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_masks_normy.vtf") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_masks_s.vtf") resource.AddFile("models/player/optimus_prime/rb_optimushead_textset_color_normx.vmt") resource.AddFile("models/player/optimus_prime/rb_optimushead_textset_color_normx.vtf") resource.AddFile("models/player/optimus_prime/rb_optimushead_textset_masks_normy.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_color_normx.vmt") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_color_normx.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_color_normxz.vmt") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_masks_normy.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_masks_s.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimushead_textset_color_normx.vmt") resource.AddFile("materials/models/player/optimus_prime/rb_optimushead_textset_color_normx.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimushead_textset_masks_normy.vtf") resource.Addfile ( "addons/pointshop-extras-master/models/astronauthelmet/astronauthelmet.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/astronauthelmet/astronauthelmet.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/astronauthelmet/astronauthelmet.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/astronauthelmet/astronauthelmet.phy " ) resource.Addfile ( "addons/pointshop-extras-master/models/astronauthelmet/astronauthelmet.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/astronauthelmet/astronauthelmet.vvd" ) resource.Addfile ( "addons/pointshop-extras-master/models/cakehat/cakehat.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/cakehat/cakehat.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/cakehat/cakehat.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/cakehat/cakehat.phy " ) resource.Addfile ( "addons/pointshop-extras-master/models/cakehat/cakehat.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/cakehat/cakehat.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/duncehat/duncehat.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/duncehat/duncehat.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/duncehat/duncehat.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/duncehat/duncehat.phy " ) resource.Addfile ( "addons/pointshop-extras-master/models/duncehat/duncehat.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/duncehat/duncehat.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/3dglasses.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/3dglasses.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/3dglasses.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/3dglasses.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/3dglasses.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/afro.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/afro.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/afro.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/afro.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/afro.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/aviators.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/aviators.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/aviators.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/aviators.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/aviators.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/catears.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/catears.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/catears.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/catears.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/catears.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/fedorahat.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/fedorahat.dx00.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/fedorahat.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/fedorahat.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kfcbucket.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kfcbucket.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kfcbucket.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kfcbucket.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kfcbucket.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kleinerglasses.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kleinerglasses.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kleinerglasses.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kleinerglasses.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/kleinerglasses.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/linkhat.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/linkhat.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/linkhat.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/linkhat.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/linkhat.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/majorasmask.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/majorasmask.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/majorasmask.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/majorasmask.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/majorasmask.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/midnahat.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/midnahat.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/midnahat.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/midnahat.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/midnahat.vvd " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/partyhat.dx80.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/partyhat.dx90.vtx " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/partyhat.mdl " ) resource.Addfile ( "addons/pointshop-extras-master/models/gmod_tower/partyhat.sw.vtx " ) resource.Addfile ( "addons/pointshop-extras-mast
All resource.AddFile lines should start with sound, resource, materials, or models. Don't start with addons/(addonname)
oh, ok Thanks, but what about this code it starts with models. Thats what im having trouble with, the player models are errors. [CODE]resource.AddFile("models/player/optimus_prime/rb_optimus_textset_color_normx.vmt") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_color_normx.vtf") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_color_normxz.vmt") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_masks_normy.vtf") resource.AddFile("models/player/optimus_prime/rb_optimus_textset_masks_s.vtf") resource.AddFile("models/player/optimus_prime/rb_optimushead_textset_color_normx.vmt") resource.AddFile("models/player/optimus_prime/rb_optimushead_textset_color_normx.vtf") resource.AddFile("models/player/optimus_prime/rb_optimushead_textset_masks_normy.vtf")[/CODE]
Those are textures, not .mdl files.
Ok, I redid it and it still doesent work [CODE]resource.AddFile("materials/trails/Rainbow.vmt") resource.AddFile("materials/trails/Rainbow.vtf") resource.AddFile("models/player/optimus_prime/optimus_prime.dx80.vtx") resource.AddFile("models/player/optimus_prime/optimus_prime.dx90.vtx") resource.AddFile("models/player/optimus_prime/optimus_prime.mdl") resource.AddFile("models/player/optimus_prime/optimus_prime.phy") resource.AddFile("models/player/optimus_prime/optimus_prime.sw.vtx") resource.AddFile("models/player/optimus_prime/optimus_prime.vvd") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_color_normx.vmt") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_color_normx.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_color_normxz.vmt") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_masks_normy.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimus_textset_masks_s.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimushead_textset_color_normx.vmt") resource.AddFile("materials/models/player/optimus_prime/rb_optimushead_textset_color_normx.vtf") resource.AddFile("materials/models/player/optimus_prime/rb_optimushead_textset_masks_normy.vtf")[/CODE]
Post your sv_downloadurl.
[del]Is this placed in your lua/autorun folder?[/del] -- I'm retarded. If it isn't placed in lua/autorun/server, add if SERVER then {resources} end. Tell me if this works!
[QUOTE=Ophenia;45097398][del]Is this placed in your lua/autorun folder?[/del] -- I'm retarded. If it isn't placed in lua/autorun/server, add if SERVER then {resources} end. Tell me if this works![/QUOTE] Or just move it to lua/autorun/server.
It is in lua/autorun/server
[QUOTE=code_gs;45097116]Post your sv_downloadurl.[/QUOTE]
I use a hosting service but this is the fastdownloads url [url]http://mirror.lv.elpishost.com/162.251.238.7_27015/[/url] [url]http://gyazo.com/3a0174969c49f9f381dcb383eed97b40[/url] <-- Where I got it from
Getting a 403 error.
Yes me too. I dont know any other link.
What should I do?
Contact your host.
Shouldn't the ITEM.Material be [B]materials/trails/rainbow.vmt[/B] instead of trails/rainbow.vmt?
[QUOTE=Svenskunganka;45101725]Shouldn't the ITEM.Material be [B]materials/trails/rainbow.vmt[/B] instead of trails/rainbow.vmt?[/QUOTE] From the Pointshop wiki: [code]Property: Material Required: No, unless Model is not defined Description: The material shown in the shop. Either Material or Model is required. Example: ITEM.Material = "trails/electric.vmt" [/code]
I have the trails figured out I was just wondering what it up with the player models. Should I just open a new thread.
Sorry, you need to Log In to post a reply to this thread.