In this tutorial I will discuss how to Pak custom textures into a map. I will use Valve Integrated Development Environment (VIDE). I will not discuss how to create the custom texture itself. If you want to learn how to create a custom texture for use within Hammer World Editor CLICK HERE.
1. Begin by launching VIDE and selecting "Pakfile Lump Editor". (refer to image below)
2. After opening Pakfile Lump Editor select "Open" and browse for your map .bsp
3. Now that you have your map.bsp opened inside of the Pakfile Lump Editor, select the "Add" button located under "Pakfile Options". (refer to image below)
4. At this stage you will select all of the textures that you have used in your map. Select BOTH the .vtf and .vmt files for each texture. (refer to image below)
5. Immediately after you select your .vtf and .vmt files you will be presented with the windows below, simply click OK. (refer to image below)
6. After selecting OK you will see a window that reads "Add selected files using the following relative path". At this point many people make mistakes, so please read carefully. Delete all text in the form, and only leave the text "materials" in the form and click OK. (refer to images below) P.S. The first image is the initial form you get presented with, the second image is how the final form should be filled out.
7. Now after selecting OK in the previous step, you will see your selected texture files (both .vtf and .vmt) have been temporarily added to your map. These files that have just been added and are not yet Paked to your map will be highlighted in yellow. Simply select "Save" under "BSP Options" and your custom textures will be Paked into your map. (refer to images below)
Congratulations! If you follow this tutorial you have achieved success!
(This method works for Day of Defeat series, Counter Strike series, Team Fortress, and many more games!)