• How can I add my own icon for the pointshop tabs?
    11 replies, posted
Hi guys, I am quite new on here. I am just curious in how I can add my own logo to the point shop tab. eg: [IMG]http://s27.postimg.org/8ilrcgmj7/gm_flatgfdasssdfrass0021.jpg[/IMG] If anyone could help me, that would be nice. Thanks, Bakht :)
Go to your pointshop directory, and go to VGUI, i'm not sure but check the lua files with Notepad++ and there will be something like surface.SetMaterial(silkicons/blalbawje) idk but click ctrl + s and type silicons then you'll find it there hope it helped <3
The icon filepath derives from materials/icon16 if I recall, so make a folder called that if you don't have it and place it in there
and don't forget CATEGORY.Icon =
Ok, thanks, by any chance do you guys know how big the icon must be? And what file type it is, I am guessing .vtf.
From previous experience, a 16 by 16 .png file will do nicely.
Thanks :) Am I right in saying that I need to make folders like this, addons\pointshop-master\materials\icon16 ?
You can either make the folder inside garrysmod/materials, or pointshop-master/materials. Both should work perfectly fine and I do suggest your idea since it keeps everything nicely together in a clean manner.
Alright thanks, but for somereason the icon is a missing texture? I am not sure why, I have this written down, [CODE]CATEGORY.Name = 'American Weapons' CATEGORY.Icon = 'us.png' CATEGORY.Order = -1 [/CODE]
I might be wrong but I'm pretty sure the pointshop picks it up as a png so all you have to put is 'us'. I'm on my phone atm so I can't check.
Hi, I did that but it is still missing textures. Thanks, Bakht
Possible fastdl issues? Try it on singleplayer
Sorry, you need to Log In to post a reply to this thread.