Welcome, Guest! Login | Register

Changing the sky in your map [Print this Article]
Posted by: Doofus
Date posted: Nov 16 2003
User Rating: 4.7 out of 5.0
Number of views: 6366
Number of comments: 3
Description: The simple process of changing your skybox texture.
1. Get into Hammer.

2. Apply your "sky" texture over whatever area of the map you want to, where you'd like to see the sky.

3. Go to Map->Map Properties, Then select the "environment map(cl_skyname)" function.
user posted image

4. Insert the name of the sky texture you'd like to use, in this case, it's a custom sky that I made. (make sure you just include the base sky name, not any .tga extensions or doofusbk or something)
user posted image

5. After you've compiled, you need to make sure that the sky texture you've set is in the right folder. It'll be located in the <modname>/gfx/env directroy. If it isn't there it needs to be.
user posted image

Here is my final result:
user posted image

Rate This Article
This article is currently rated: 4.7 out of 5.0 (3 Votes)

You have to register to rate this article.
Related Files
Zip FileFilename: skytutorial1.gif
File Size: 14.3 KB
Zip FileFilename: skytutorial3.gif
File Size: 16.3 KB
Zip FileFilename: skytutorial2.gif
File Size: 7.7 KB

User Comments Showing comments 1-3

Posted By: EarthQuake on Dec 23 2003 at 23:47:01
Oh man was it a bitch trying to figure out how to get the sky to work in my first map.
A simple, yet very necessary tutorial. However, you should have explained more on how that each graphic of the skybox has a two-letter code denoting it's direction in its filename.

For example:
doofusbk (back)
doofusdn (down)
doofusft (front)
doofuslf (left)
doofusrt (right)
doofusup (up)

Posted By: Doofus on Feb 12 2004 at 19:20:53
Very true. Thank you for pointing that out.

Posted By: Eps on Sep 03 2004 at 13:28:18
You should also pay special attention that the texture applied onto the roof in the editor should be named just exactly "sky" and not include the name of any of the sky images. The image of the texture itself is of no importance.


You must register to post a comment. If you have already registered, you must login.

Latest Articles
3rd person View in Multiplayer
Half-Life 2 | Coding | Client Side Tutorials
How to enable it in HL2DM

By: cct | Nov 13 2006

Making a Camera
Half-Life 2 | Level Design
This camera is good for when you join a map, it gives you a view of the map before you join a team

By: slackiller | Mar 04 2006

Making a camera , Part 2
Half-Life 2 | Level Design
these cameras are working monitors that turn on when a button is pushed.

By: slackiller | Mar 04 2006

Storing weapons on ladder
Half-Life 2 | Coding | Snippets
like Raven Sheild or BF2

By: British_Bomber | Dec 24 2005

Implementation of a string lookup table
Half-Life 2 | Coding | Snippets
A string lookup table is a set of functions that is used to convert strings to pre-defined values

By: deathz0rz | Nov 13 2005


Latest Comments
Where do we go from here
General | News
By: MIFUNE | Jun 09 2008
 
The Input/Output system
Half-Life 2 | Level Design
By: nazitaco | Dec 23 2007
 
Where do we go from here
General | News
By: Rob_F | Nov 22 2007
 
Rescaling Half-Life
Half-Life | Coding | Shared Tutorials
By: christoph | Nov 12 2007
 
GameUI
Half-Life 2 | Coding | Client Side Tutorials
By: Evil_j | Oct 29 2007
 
3 State Zoom For Any Weapon
Half-Life 2 | Coding | Server Side Tutorials
By: Ennuified | Oct 18 2007
 
Storing weapons on ladder
Half-Life 2 | Coding | Snippets
By: cct | Sep 07 2007
 
CTF Gameplay Part 1
Half-Life | Coding | Shared Tutorials
By: DarkNight | Aug 28 2007
 
CTF Gameplay Part 1
Half-Life | Coding | Shared Tutorials
By: deedok | Aug 20 2007
 
Debugging your half-life 2 mod
Half-Life 2 | Coding | Articles
By: blackshark | Aug 17 2007
 

Site Info
296 Approved Articless
5 Pending Articles
3940 Registered Members
0 People Online (12 guests)
About - Credits - Contact Us

Wavelength version: 3.0.0.9
Valid XHTML 1.0! Valid CSS!