So if i do understand this correctly i'm supposed to put a PNG in my materials folder? Done. I have an addon though that includes multiple entities and i want to add Icons for each and every one of them. I've searched the web and there's literally no propper guide how to make the server add the PNG to your ingame Q-Menu.
One idea was in shared.lua: ON SERVER function resource.AddFile("materias/entities/myicon.png")
or something but that did not work. Any ideas?
Also sorry for the question i know it's pretty genetic but i cannot understand how it's done...
Im not a genius about this stuff, but I'm pretty sure you're supposed to name the .png or .jpg or vtf the same Class name of the entitie. Im sure you can use any picture but I think .vtf would work too. For example the folder or file of the entities name is my_addon. You would name the .png or .vtf the name of the entity. So materials/entities/my_addon.vtf
Sorry, you need to Log In to post a reply to this thread.