How to Add Custom Textures to Your TF2 Map

Discussion in 'Tutorials & Resources' started by Ruthacury, Nov 4, 2017.

  1. Ruthacury

    Ruthacury L1: Registered

    Messages:
    5
    Positive Ratings:
    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.

    [​IMG]

    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.

    [​IMG]


    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.

    [​IMG]

    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.

    [​IMG]

    Step 5:

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

    [​IMG]

    [​IMG]
     
    Last edited: Nov 5, 2017