• Custom pointshop items help
    2 replies, posted
I've been trying to add custom [URL="http://facepunch.com/showthread.php?t=1228438"]pointshop[/URL] items for about 2 hours now and about to flip tables.. I couldn't even get the official extras to load. Can someone tell how to do it properly, or guide me in the right direction? Here's where I've tried placing the lua files without them showing up: addons/pointshop_custom/lua/items/accessories/ addons/pointshop_custom/lua/pointshop/items/accessories/ I've even tried putting them in the main pointshop folder, next to the already existing pointshop files (the accessories folder). Didn't work either. The only thing that worked was replacing an already existing file, like jumppack.lua for example. I'm restarting the server after each change, and the server console gives no errors (and it also told me it found the pointshop_custom addon folder)
The second filepath is the right one. The file structure changed a while ago so the first path is not correct. All things considered, putting them in the second filepath should be doing the trick, but I don't think I can say much more without some more details. Can we see the additional files you're trying to load?
I just tried getting a holstered physgun to work (and the official extras), basically just a copy of the backpack item but changed model. I'm gonna re-install the whole thing from scratch and see if I maybe screwed up something the first time. Edit: Aaah, I finally figured out what was wrong.[B] TL;DR:[/B] Naming conflicts I was adding a holstered physgun accessory, and natually I named it "physgun.lua" and put it in the accessories folder. But when I renamed it "partyhat.lua" for example, it worked. I'm guessing the physgun weapon in the weapons folder is called physgun.lua.. But I didn't realise it would cause naming conflicts if they were in different folders, but apparently it did. .. And the reason the official pointshop extras didn't work was because they used the old file path (lua/items/<category> instead of lua/pointshop/items/<category>)
Sorry, you need to Log In to post a reply to this thread.