Insurgency

Insurgency

148 ratings
How to Make Custom Weapon skins, Optics, and Night Sights
By BurntCornFlakes
This guide will show you how to edit weapon models, optics, and night sights.
   
Award
Favorite
Favorited
Unfavorite
Step 1: Required Programs
You will need to download two programs in order to edit Insurgency files.

GCFScape (Used to navigate folders and extract files) : http://nemesis.thewavelength.net/index.php?p=26

VTFEdit: (Used to import/export VTF files) http://nemesis.thewavelength.net/index.php?p=41

You will also need an art program to edit your textures. I use Photoshop, but if you can't afford it, Gimp is an awesome free alternative.

(If using Linux or Mac, follow this guide to run GCFScape and VTFEdit.)
Step 2: Extracting files using GCFScape
Start GCFScape and click file > open. Navigate to C:\Steam\SteamApps\common\insurgency2\insurgency

Open "insurgency_materials_dir.vpk".

Now you should see a materials folder inside GCFScape. Navigate to materials > models.

This folder holds all the texture files for the game. Right click the folder(s) you want, click extract, and save it to wherever you want to save your textures to.

If you want to edit weapons, extract the "weapons" folder.
If you want to edit optics, extract the optics folder (found inside the weapons folder).
If you want to edit player models, extract the "player" folder.
If you want to edit the players hand model, extract the "hands" folder.
File Types
Inside your weapons folder, you will see several types of files.

The "dm" files are what you edit to change the texture on top of the gun.

The "nm" files are what you edit to change the bumps on a gun. (As an example, I edited the nm file of the m9 grip to make it appear smooth.

The .vmt files are what you edit to change properties of the gun in game. (As an example, adding in a line of code will make the night sights on a gun glow in the dark.)

The "weapon_<weapon>" files are used to edit the model of the gun your character is using [/i]in first person view[/i].

The "weapon_w_<weapon>" files are used to edit the third person model, and the model you see on the ground. This means that spectators watching you in third person will be seeing the "world model".
Step 3: Editing Weapons
Go to your extracted folder and find the weapon you wish to edit. I will be using the AKM for this tutorial.

Inside the akm folder, you will see 8 files. The only ones we care about (for now) are the .vtf files.

I will be editing these files:

weapon_akm_dm.vtf
weapon_w_akm_dm.vtf

Create a new folder to store your custom skin files.

Double click the "weapon_akm_dm.vtf" file to open it in VTFEdit. Click file > export and save it as a .png or a .tga. If you need to make custom night sights, or other parts that glow, use a .tga file.

Open your file in Photoshop (or Gimp), and make your required changes to the gun. Drawing over the black area will not effect the texture.

Once done, open the edited file in VTFEdit by clicking file > import. Leave the options at the default settings and click OK. Now click file > save as and name it the same as the original .vtf file (weapons_akm_dm.vtf).

Do this again for the other file(s).


Now that you have all your files edited, you need to compile them into a .VPK.

Create a new folder, and name it whatever your new weapon skin is called. If you upload this skin to the steam workshop, this is the name they will see if they browse their custom folder, so make it professional. I will name mine "akmdemo".

Inside "akmdemo" we will have to make a chain of folders. The first folder should be "materials", then "models", then "weapons", then "akm".

This should be the path when you are finished:

akmdemo > materials > models > weapons > akm


Inside the akm folder, place all of your edited files.

Now navigate to steam > steamApps > Common > Insurgency2 > bin.

Drag the "akmdemo" folder on top of the file called vpk.exe. This will create a vpk file inside the same location as the "akmdemo" folders location named "akmdemo.vpk".

Next, navigate to steam > steamApps > Common > Insurgency2 > Insurgency > custom. If the custom folder does not exist, create one.

Drag your vpk file into the custom folder, and you're done!
Editing Optics
Navigate to Materials > models > weapons > optics and extract the whole folder. ( Or, if you want to also edit weapon skins, extract the weapons folder.)

Go to your extracted folder and find the files you need for that reticle. For the Eotech (holo sight), we want the file "eotech_reticule.vtf"

Open this in VTFEdit and export it as a .tga.



Open this file in Photoshop (or Gimp) and make your desired changes.

Note: When editing a reticule, you must also edit the alpha channel for the changes to show up (as shown in pictures). If you have no idea what the alpha channel is, just remember that white will show up, and black will not.


Now, import the file into VTFEdit, press OK when the options window pops up, and go to file > save as.

Save it as the original file: "eotech_reticule.vtf".

-

Create a new folder, and name it whatever your new optic is called. If you upload this skin to the steam workshop, this is the name they will see if they browse their custom folder, so make it professional. I will name mine "opticdemo".

Inside "opticdemo" we will have to make a chain of folders. The first folder should be "materials", then "models", then "weapons", then "optics".

Take your edited file and place it in the "optics" folder.

This should be the path when you are finished:

opticdemo > materials > models > weapons > optics






Now navigate to steam > steamApps > Common > Insurgency2 > bin.

Drag the "opticdemo" folder on top of the file called vpk.exe. This will create a vpk file inside the same location as the "opticdemo" folders location named "opticdemo.vpk".

Next, navigate to steam > steamApps > Common > Insurgency2 > Insurgency > custom. If the custom folder does not exist, create one.

Drag your vpk file into the custom folder, and you're done!


Creating Night Sights
You will need to be familiar with the first three steps of this guide in order to create night sights.

First, take your extracted VTF files and and export them as TGA files. Open those files in Photoshop (or GIMP). I'll only be editing the first person file for the AKM, but you can also edit the world model if you want.

In Photoshop, find your weapon's sights and select the area you want to glow with the magic wand or quick select tool. Fill the selected area with whatever color you want to glow, I will be using green.












Go to your channels tab, located above to the layers menu, and click on the Alpha 1 layer.

Now press Shift+F5 or go to edit > fill. Set contents to color, and select black. Press Crtl+D or go to select > deselect.










Next, press Ctrl+I or go to image > adjustments > invert.




Anything colored white on this layer will be glowing ingame, and anything black will stay normal. To change the brightness, just make it less white.





Now you can select the RGB layer again to bring you back to the normal texture file for any further edits.

When finished, save your file and convert it back into .VTF format with VTFEdit.

Finally, you have to locate the .vmt file associated with your texture and open it in VTFEdit. I will be editing the weapon_akm_dm.vmt file, if you are also editing the world model you will need to edit the weapon_w_akm_dm.vmt file as well.
Inside your file(s), add the following code and then save:
"$selfillum" "1"




Now you can compile your files, place the .VPK in the custom folder, and enjoy your new night sights!


Final Thingie
I know there is already a guide on how to edit weapon skins, and I used it myself, but I had a few problems using that guide. I created this one to show people how I do it, in the fastest way possible. I also want to add more information to this guide, such as a night sights tutorial.

If this guide helped you, please post a link to your workshop files in the comments!
82 Comments
DECAPİTATOR 12 Apr, 2021 @ 5:25pm 
I wanna remove rear sights a akm How I can?
TORMENTED-GAMER 28 Sep, 2018 @ 10:44am 
NICEEE
:steamhappy:
Scooby-Cu 17 Jan, 2018 @ 5:55pm 
PLSSS. Could you help me?

" insurgency_material_dir.vpk " materials / models / player/ ins_light / ins_light_shirt_color.vtf

okay?

I've done all the steps like you said in the tutorial, i edited the file "ins_light_shirt_color.vtf" with GIMP2 and compiled the VPK with this folder structure: mymod / materials / models / player / ins_light / ins_light_shirt_color.vtf .

After that, i moved the VPK file "mymod" to the "Custom" folder.

The problem is: haven't changed nothing in the game, i tried with all possible methods, with all folder structure combinations, i don't know what is wrong. I just changed the color of the pants to green, but, the fking insurgency light still with the vanilla pants in the game.

What do i do?????
pcblox39 6 Jan, 2018 @ 9:13am 
actually editing the alpha layer is not necessary. All you have to do is find the .vtf file you would like to edit and export it as a PNG (or find a .vtf compatibility plugin) and edit it. Once done you can convert it back into it into a vtf and do the rest of the steps. I probably should've said that the alpha layer is edited along with the actual RBG image so there is no need to get it. I used paint.net to edit the optics and they worked out fine no alpha layer is in need of editing. I don't know whether this guide is a bit outdated or if it's because he's using photoshop.
BurntCornFlakes  [author] 16 Aug, 2017 @ 7:04pm 
Sorry dude, I don't use the GIMP. It will probably have the same sort of feature somewhere, might want to google around for some info.
pstola 16 Aug, 2017 @ 3:29pm 
I'm trying to make some night sights using GIMP, but I can't figure out how to edit the Alpha layer as you did with Photoshop... everything else up to there was very good though!
pancitop 29 Jun, 2017 @ 1:42pm 
I ment to say move your vpk into the custom not the vtf lol
pancitop 29 Jun, 2017 @ 1:41pm 
@Cpl. Czubak [1-509th] why does it not work tho? I just made a simple skin, worked perfectly, make sure the folders should be like this (skinname>materials>models>weapons>akm _example_) and to turn the targa files you made to be able to edit them into a vtf again and put the in the folders, then move your skinname folder into the vpk file to make it into one and the put your vtf into the custom folder, works perfectly for me...
BurntCornFlakes  [author] 29 Jun, 2017 @ 12:38pm 
Glad to hear it!
pancitop 29 Jun, 2017 @ 12:37pm 
Yes of course they will be different I understand that :D also nice guide helped me a lot when I started to make skins, I have it saved so whenever I forget how to do something I check it again :D