Mr. Tea's tutorial series - Skybox

Started by Tea, 14-08-2009

0 Members and 1 Guest are viewing this topic.

Tea

How to make a Skybox

Hi, im Mr. Tea and im gonna show you how to make a Simple Skybox and how to change the texture of your skybox using Valve's Source SDK Hammer Editor (World Builder).

Assuming you already now how to make basic shapes and spawn points (info_player_start), you want to select the Brush Tool and make a box around your map like so, make it as high as you want but it MUST fit around your map



Right click and hit Create Object to make it a Brush. After that click on your Texture Tool and click browse, Now type in the filter "tools" (Without the ") like so, then double click on the Skybox texture



If you already have your skybox selected, just hit apply in the Texture Tool window, if not select your skybox and hit the Apply Current Texture tool . After your box is textured with the Skybox material, Select the brush and right clic, select "Make Hollow" option and you should see this



Like in the image, type in -16, after you have click ok. The results:





There you have it, You just made your skybox.

How to change your skybox texture

List of working sky textures

Select your skybox and click on map at the top left



Then select Map Property's. After you have you should see this



Do not mess with any of the other settings, just click on skybox texture name. Now that you know where to change the texture, all you need to do is find one. Click on your Texture Tool and hit browse, in the filter type in "skybox"



Just as an example i chose sky_day01_05 (NOTE: You will see dn, up, bk, rt, lf but these do not matter, all you are looking for is the name "sky_day01_05", Never include anything behind that unless you are using CSS textures). Do not double click on it, just remember the name. After you have chosen your skybox go back to the map propery's and type in your new skybox texture name



Hit apply and you are done! you just changed your skybox texture. In game shot



How to make a 3D Skybox (BONUS!)

Select your Entity Tool and create an entity where you want it (Use your camera view to place it), after you have select it and hit property's. In the class type in "sky_camera" (There can only be one sky camera)



Do not mess with any of the settings, just hit apply and you have made your sky_camera (Sky camera makes things much bigger then they actually are). You need to place your camera DEAD center of you map, and make sure is far underneath it too



After you have done that, like before, make a sky box around it using the method before. make sure the sky_camera is close to the bottom of the mini skybox like so



When your done with that, just put/make things you want around the sky camera, i made a few block towers as an example



And guess what, youre done! Run your map an walla, you items in your 3D skybox are HUUUUGE. In game shot:



This was a short, simple tutorial by Mr. Tea if you have any questions just SF me :)


deluxulous

WINGZERO LISTEN TO THIS MAN

Horsey

For optimization, use the 'nodraw' texture on the outside of the skybox.

Silver Knight

Quote from: Horsey on 24-08-2009
For optimization, use the 'nodraw' texture on the outside of the skybox.

and all sides which arn't showen, including where brushes meet, it lowers the map filesize and makes compiling faster !

Quotebreslau: if i cant cheat i dont wanna play
breslau: period

Locke

What a great tutorial, thanks tea my boy.

Genesis

Thanks for making this tea, i was having trouble with the skybox.