How to Add Custom Textures to Your TF2 Map

Ruthacury

L1: Registered
Nov 4, 2017
5
6
Step 1:
Create the image in an editing software such as Paint.NET or Gimp. The dimensions of the image should be powers of 2, common values and 512 x 512, however use 1024 x 1024 for a higher quality skybox.

mytexture_pdn.png


Step 2:

Go here (http://nemesis.thewavelength.net/index.php?c=178) and download VTFEdit, once downloaded click File System and locate your file, double click on it and then click OK, then save it.

mytexture_vtf.png



Step 3:

Delete the automatically generated VMT file created by VTFEdit and create an identically named file and open it with notepad, copy this into the file:

LightmappedGeneric
{
$basetexture "customtextures/yourtexturename"
}

Feel free to replace the customtextures folder name with anything you want, however I prefer to have them all contained within one folder.

mytexture_vmt.png


Step 4:

Copy that VTF and VMT file to C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials\customtextures, the customtextures folder (or whatever you named it) won't exist so just create one. Unless you don't want to put the image in a folder just paste it here.

mytexture_mat.png


Step 5:

Launch up hammer and use your texture on some surface and compile!

mytexture_ham.png


mytexture_tf2.png
 
Last edited:

circl

L1: Registered
Jul 24, 2019
29
0
Do people need to download the texture before they can run the map?
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,331
989