• Entitie Icon/picture?
    2 replies, posted
This was some lua coding work so i hope this falls into the right section. I already have a entity coded/wrote whatever but it has [url=http://i.imgur.com/p542V.png]this[/url] dreaded icon. Does anyone know how to change that to the picture of my liking? [editline]27th June 2011[/editline] Whoops spelt entitie instead of entity in title :P
Save an image as VTF file format, create a .txt file and paste the code bellow inside, while saving the txt file for the name use: "<<weapons name you want the icon for>>.vmt", paste the VMT in "materials/vgui/entities" folder. VMT code:[CODE]"UnlitGeneric" { "$basetexture" "<<VTF location along with its name, relative to the materials folder>>" "$vertexcolor" 1 "$vertexalpha" 1 "$nolod" 1 }[/CODE]
Thanks man
Sorry, you need to Log In to post a reply to this thread.