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: 9232
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: skytutorial3.gif
File Size: 16.3 KB
Zip FileFilename: skytutorial2.gif
File Size: 7.7 KB
Zip FileFilename: skytutorial1.gif
File Size: 14.3 KB

User Comments Showing comments 1-3

Posted By: EarthQuake on Dec 24 2003 at 05: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 13 2004 at 01:20:53
Very true. Thank you for pointing that out.

Posted By: Eps on Sep 03 2004 at 18: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 05 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
knock knock
General | News
By: omega | Dec 22 2016
 
knock knock
General | News
By: MIFUNE | Oct 10 2015
 
New HL HUD Message System
Half-Life | Coding | Shared Tutorials
By: chbrules | Dec 31 2011
 
knock knock
General | News
By: Whistler | Nov 05 2011
 
Particle Engine tutorial part 4
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 18 2010
 
Particle Engine tutorial part 2
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 11 2010
 
Particle Engine tutorial part 3
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 11 2010
 
Game Movement Series #2: Analog Jumping and Floating
Half-Life 2 | Coding | Shared Tutorials
By: mars3554 | Oct 26 2009
 
Particle Engine tutorial part 5
Half-Life | Coding | Client Side Tutorials
By: Deadpool | Aug 02 2009
 
Particle Engine tutorial part 5
Half-Life | Coding | Client Side Tutorials
By: Persuter | Aug 02 2009
 

Site Info
297 Approved Articless
8 Pending Articles
3940 Registered Members
0 People Online (7 guests)
About - Credits - Contact Us

Wavelength version: 3.0.0.9
Valid XHTML 1.0! Valid CSS!