2 Ways To make a skybox

You don't want to have a map without a sky right? This may seem like a daunting task but actually takes no more than a few minutes. Making a sky benefits your map in many ways, adding mood, realism, lighting and surrounding terrain.

The First Technique This is the easiest way to make a skybox but takes longer to compile your map. 1. When you're completely done with your map check for leaks.(see screenshot one) If you see a leak, close and or seal it off with by expanding the brush(object such as a wall) or sealing it was the nodraw tool. (if you have a displacement such as bumpy terrain as a boundary of you map it will count as a leak and you must either delete the bumpy terrain brush or seal it with a nodraw brush.) 2. Once your map is leak free go into the texture browser and type in "tools". One of the options that will come up is "skybox" choose that and we can begin. Create a box encasing your whole map with the skybox texture. Once you have a 3d box encasing your whole map select the box with the sky brush you just made and press CTRL + H and in the textbox that comes up type in the number 12 (the default number is 32) this will make your box hollow.<-- Vital 3. The last step is choosing what you want your sky to look like. Click the map tab at the top of the screen and select "map properties..." This will bring up an "object properties" window. Click the 3rd option "skybox texture name" and type in the name of the sky you want.(look at the second screenshot) There is tons of choices (sky names) and i cannot list them all! this site can Once you have chosen the sky name you want and entered it in the object properties window, click apply. Be sure that you have made the skybox brush a small box that just fits around your map. The bigger the Box is, the longer the map takes to compile. Congrats you have successfully created a skybox.
The Second Technique This technique takes longer but is worth it because you don't need to worry about leaks. 1. Once your map is completely finished, make sure you have the 3d texture view chosen. Create a Sky Camera entity and place it in the center of your map. Make sure the Sky Camera entity is NOT in a solid brush or another entity. This may create errors. 2. Press and hold down the CTRL key. While doing so navigate around your map and choose the outside boundaries of your map. (Holding CTRL and selecting multiple objects will select them all instead of selecting them one by one.) As I said before move around your map holding CTRL and select the outside boundaries of you map. They must be BRUSHES not OBJECTS/PROPS or ENTITIES. The boundaries are the highest brush on your map, the lowest, farthest north,south,east and west. Select your sky camera as well (or your skybox will not work!!!) 3. once you have selected your sky camera and your outside boundaries you may let go of the CTRL key, right click in one of your building views and select copy. 4. Then paste your copied crushes and sky camera outside of your map. With your newly pasted brushes outside you map still selected click the Tools tab at the top of your screen and select transform. A small window labeled Transformation will come up. (see screenshot 4) Select the "scale" button and type in .0625 as all the values (X,Y,Z) Then click ok. What this does is shrink your newly pasted brushes and sky camera to 1/16 its size. Place it outside your map. 5. ALMOST DONE. Now with your mini brushes and sky camera outside your map, choose the skybox texture and create a hollow box around your mini-brushes and sky camera that are outside of your map. Make sure its hollow by selecting it and pressing CTRL + H, then typing in 12 in the window that comes up. (see screenshot 5 and 6) 6. One more mall step. The last step is choosing what you want your sky to look like. Click the map tab at the top of the screen and select "map properties..." This will bring up an "object properties" window. Click the 3rd option "skybox texture name" and type in the name of the sky you want.(look at the second screenshot) There is tons of choices (sky names) and i cannot list them all. But this site can Don't forget to put a copy of your light_environment entity in there too. Once you have chosen the sky name you want and entered it in the object properties window, click apply. Also go back to your actual map (not the one surrounding the skycamera for the skybox) and delete the original skybox entity. And once again you have successfully created a skybox.

Texture Shrinking

You may notice that the textures in your 3d skybox are significantly larger than the ones in your actual map. That's because the sky_camera enlarges the 3d skybox and its textures by like 16x or something like that. To counter this you must Select all the textures you want shrunk in the skybox with the texture application tool. In the Texture Application Tool window, there should be Texture Scale. Set X and Y to 0.05.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • Silent Ricochet's Levels
    • P4: Worker
      Points: 47,708
    • E1: Helper
      EF: 8
    • C1: Member
    • A6: Elder
      Account Age: 8 years
    Posted 3 years ago

    Yeah I'll need to update this tutorial, CTRL+H on the old hammer was hollow. The new hammer that we all have to use now, hides objects.

    User Title
    Loud Mouth New Yawkuh
  • markboydude's Levels
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 3 years ago

    Doesn't work, read comment below. by the way ctrl+h quickhides unselected objects. If I compile my map with that on the sky shows up but nothing else does...

    User Title
    O RLY? YA RLY!
  • the_ghost_rap's Levels
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted 4 years ago

    Hey. SO:I APLY THE "SKYBOX" TEXTURE ON MY SKY, I BULD THE MAP, AND WHEN I PLAY THE MAP I DON'T SEE THE SKY, I SEE THE HAMMER'S SKYBOX TEXTURE... WHY? PLEASE HELP!

    Bananite
  • ninjaplz's Levels
    • P1: Beggar
      Points: 38
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 4 years ago

    Sorry for the bump... but what if i wish to use a skybox that makes all of the walls black?

    Bananite
  • Whisky's Levels
    • P1: Beggar
      Points: 808
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted 4 years ago

    I'm having some problems with the lightning.

    i made a map with a skybox, it has a bumpy terrain.

    now i used alves original test map for skybox.

    and i modified it to my needs it's totaly diffrend now, but as soon as i enter a building inside the map the light evnirement goes out... the terrain becomes dark but the map itself stays normal. it's just the terrain in the skybox wich gets darker. how can i fix this?

    User Title
    God's seen campy bean.
  • elroy08's Levels
    • P1: Beggar
      Points: 124
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 5 years ago

    Pros: Easy to follow, usually nice use of grammar. etc. Cons: None Improvements: None Notes: Great job! 10/10

  • offroad's Levels
    • P1: Beggar
      Points: 352
    • E1: Helper
      EF: 2
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 5 years ago

    Thta's a nice tutorial. You wrote it well and it's easy to understand. Also you really explained every thing so I could follow each of the steps. So i say: thx^^

    quite here...
  • goodcut's Levels
    • P1: Beggar
      Points: 143
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 5 years ago

    Pros: very helpful Cons: none Improvements: none Notes: thank you=D

    User Title
    COWABONGAAA
  • jake123's Levels
    • P1: Beggar
      Points: 216
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 5 years ago

    Pros: it helped me very much and easy to understand Cons: Thank You! Improvements: none Notes: 10/10

    User Title
  • Silent Ricochet's Levels
    • P4: Worker
      Points: 47,708
    • E1: Helper
      EF: 8
    • C1: Member
    • A6: Elder
      Account Age: 8 years
    Posted 5 years ago
    Posted by sE_Guru_Janitor Everytime I try to make the 3d skybox, the textures don't shrink with the buildings. How do I fix this?

    Select all the textures you want shrunk in the skybox with the texture application tool. In the Texture Application Tool window, there should be Texture Scale. Set X and Y to .05.

    User Title
    Loud Mouth New Yawkuh

Credits

Submitter
Silent Ricochet's Levels
  • P4: Worker
    Points: 47,708
  • E1: Helper
    EF: 8
  • C1: Member
  • A6: Elder
    Account Age: 8 years
Silent Ricochet (Creator/Co-creator)
Key Authors
Silent Ricochet
Unknown

Rating

9.3/10
Based off 19 rating(s)

Additional Info

Genre
Mapping
Difficulty Level
Intermediate

Stats

Post Count
36
ViewCount
28,244
Date Added
7 years ago
Date Modified
4 years ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share