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:
    8
    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]
     
    • Thanks Thanks x 2
    Last edited: Nov 5, 2017
  2. circl

    circl L1: Registered

    Messages:
    10
    Positive Ratings:
    0
    Do people need to download the texture before they can run the map?
     
  3. nesman

    aa nesman oh god how did this get here

    Messages:
    327
    Positive Ratings:
    180
    if you pack the map it will be included in the map download otherwise yes.


    also this post has all images broken ;-;
     
    • Thanks Thanks x 1
  4. circl

    circl L1: Registered

    Messages:
    10
    Positive Ratings:
    0
    how do i pack the map?
     
  5. DrSquishy

    aa DrSquishy Probably enjoys hydro too much

    Messages:
    1,016
    Positive Ratings:
    546
    Using a tool such as VIDE or CompilePal
     
    • Thanks Thanks x 1
  6. circl

    circl L1: Registered

    Messages:
    10
    Positive Ratings:
    0
    alright, thanks!