Garry's Mod

How to make spawn icons for Gmod

In this tutorial, I will show you how to create a spawn icon either Sents, Sweps and NPCs. Firstly, you'll need something to modify Valve Picture Files (or VTFs for short.) I myself would recommend VTFedit.


Step 1 - Find the item you want to make a icon for. In this case I'm going to use THE NECROSSIN's HAAX swep, then find the picture you want to use, either in game or from some random site on the internet. I'm going to use a picture he used from the upload page on Now open up your image editing software with a canvas size of 256 x 256; then open up the image for the icon. So I'm using a image from the upload page as stated earlier.

Step 2 - Find the folder containing the weapon your icon is for. Once you've found it, go into materials, then look for another folder in it titled 'VGUI.' (If it dosen't exist, then just make it.) Then inside this folder, should be another one titled 'entities (Like before, just make it.) and inside this folder is where the icon's image file goes. Now open up VTFedit and click file and then click import (or just click the little paper icon near the top.) and select your image for the icon.

Step 3 - VTFedit will then open up your image and automatically convert it to vtf, but you still need to save it. You need to name it the same as the folder that contains the mod's lua files. (With this weapon, the folder you'll need to find is titled 'Weapon_haxgun' so I need to call the vtf needs to be titled exactly the same.) Then you need to add a vmt file, which also needs to be titled the same as the folder containing the lua. (So I need to name it 'weapon_haxgun' as well.)

Step 4 - Once you've added the vmt file (You can just copy another vmt file and rename it correctly.) You need to open it up and make a small edit. (You can use notepad or VTF edit.) and make a small change. Once you open it, look for the line with "$basetexture" (It's normally the second line.) Then replace this line with the image's name, which is also the name of the folder with the data. (So for me it should be "$basetexture" "vgui/entities/weapon_haxgun")

Step 5 - If everything has been done right and your icon should appear as in images.

Oh noes! You\'re not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

  • lukis101 avatar
    lukis101 Offline
    Member Joined 7 years ago
    • Report icon

    Great tutorial!


    I just go with the flow...
  • Zippy avatar
    Zippy Offline
    763 points Ranked 4836th
    Member Joined 8 years ago
    • Report icon

    Just what I needed.

    Too Different
  • Varick avatar
    Varick Offline
    Member Joined 6 years ago
    • Report icon

    Nice tutorial!!


    New Bananite avatar
    User Title
    New Bananite
  • raphop avatar
    raphop Offline
    Member Joined 6 years ago
    • Report icon

    Pros: works + very detailed + links Cons: none Improvements: none Notes: none




Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share


Key Authors
Garry's Mod


Luke874 avatar
Luke874 Offline
1,278 points Ranked 3024th
Member Joined 7 years ago






Difficulty Level


Date Added
6 years ago
Date Modified
6 years ago

More from Luke874

None found

WiPs by Luke874

None found