How to Add a Custom Skybox to Your TF2 Map

Discussion in 'Mapping Questions & Discussion' started by Ruthacury, Nov 4, 2017.

  1. Ruthacury

    Ruthacury L1: Registered

    Messages:
    5
    Positive Ratings:
    6
    Step 1:
    Create 6 images for each surface of your skybox. The dimensions of each 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 6 files, double click on one and then click OK then save it as yourskyboxname + up for the top texture, dn for the bottom texture, lf for the left texture, rt for the right texture, ft for the front texture or bk for the back texture.

    Repeat for each texture.

    E.g. sky_dustbowlup, sky_dustbowldn....

    [​IMG]

    Step 3:
    Open the automatically generated VMT files created by VTFEdit delete everything inside them then copy this into the files:

    unlitgeneric
    {
    $basetexture "skybox/yourskyboxnamedn"
    $hdrcompressedtexture "skybox/yourskyboxnamedn"
    $nofog 1
    $ignorez 1
    }

    Repeat for each file replacing dn with up, lf, rt or whatever face the image is going to be on.

    [​IMG]

    Step 4:
    Copy those VTF and VMT files to C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials\skybox, the skybox folder will likely not exist so just create one if it you can't find it.

    [​IMG]

    Step 5:
    Launch up hammer and set the map skybox to yourskyboxname and compile!

    [​IMG]

    [​IMG]
     
    • Like Like x 5
    Last edited: Nov 5, 2017
  2. hanzomain1234

    hanzomain1234 L1: Registered

    Messages:
    1
    Positive Ratings:
    2
    dis no help. no good. hiow to be good hanzo main next pls

    Staff Edit: User was warned for this post (-Berry)
     
    • Respectfully Disagree Respectfully Disagree x 7
    • Thanks Thanks x 1
    • Funny Funny x 1
    Last edited by a moderator: Nov 4, 2017
  3. My bad

    My bad L1: Registered

    Messages:
    16
    Positive Ratings:
    7
    Wouldn't this have a better place in the Tutorials and Resources subforum?
     
    • Agree Agree x 1
  4. Ruthacury

    Ruthacury L1: Registered

    Messages:
    5
    Positive Ratings:
    6
    Hi My Bad,
    I'm new to this forum and I didn't know there was a Tutorials subforum. Thanks for letting me know I'll definitely post it there!
     
  5. mat_phong 0

    mat_phong 0 L1: Registered

    Messages:
    24
    Positive Ratings:
    9
    what
     
  6. Coding Ethan

    Coding Ethan L2: Junior Member

    Messages:
    63
    Positive Ratings:
    44
    Someone tried a funny, it was not so funny.