How to Add a Custom Skybox to Your TF2 Map

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.

Ruthacury

L1: Registered
Nov 4, 2017
5
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.

myskyboxlf_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 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....

myskyboxlf_vtf.png


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.

myskyboxlf_vmt.png


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.

myskyboxlf_mat.png


Step 5:

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

myskyboxlf_ham.png


myskyboxlf_tf2.png
 
Last edited: