2D Skybox

Tutorial collection, comprehensive listings on main site.

2D Skybox

Postby Tutorial on Mon Mar 07, 2005 5:42 pm

category
General Half-Life 2/Architecture

description
Uses basic brushes to construct a 'sky' and gives the impression of being outside.

keywords
2d, sky, box, skybox.

2D skyboxes are very easy to make and are essentially walls with the skybox texture applied to them, in game it is rendered as a sky.

The brush must have the tools/toolsskybox texture applied to all sides in order to work correctly and the sky type can be applied using the correct skyname (see HL2 skies list) in the Map Properties->Skybox Texture Name.

Many people just drag a ceiling brush over the map and apply the sky texture to it, this would work but doesn’t give you room to expand upwards so it’s a better idea to leave some room, it won’t cost you anymore resources to do so as the skybox texture hardly makes any difference to the level resources.

Image

As you can see it’s very simple to do and if you add a light_environment somewhere in the level it will light the areas of sky for you.

Another useful part of this method is when buildings are created at varying heights you can make them all fit neatly in with the skybox, have a look at my (very crude) street example.

Image

That’s basically it, don’t ever drag a box around the whole map and hollow it as it will cause VIS to render the outside of your level as well and waste level resources. Think of them as normal walls and seal the level as usual.

Blink
- Don't send PM's to this user -
Tutorial
Not A Real User
 
Joined: Sun Mar 06, 2005 11:00 pm

awesome!

Postby RabidGoat on Mon Mar 21, 2005 2:41 am

this tutorial is GREAT! I thought I was going to have to make all indoor levels since I still am having problems with the 3D skybox! Thank you very much for the easy to understand tutorial!

your friendly neiborhood n00b!

-Rabid Goat :?
RabidGoat
Regular
Regular
 
Joined: Sun Mar 20, 2005 4:52 am
Location: Florida (It's just as hot as you think it is) =P

Postby aiteile on Wed Mar 23, 2005 3:43 pm

All is working but I have a blue line that runs along the top square roof of the sky box - what stupid thing am I doing :(

Thanks in advance for any info
aiteile
Dumpling
Dumpling
 
Joined: Wed Mar 23, 2005 3:39 pm

Postby Swatje on Wed Mar 23, 2005 5:18 pm

i think you cant help that, but atleast try this:

make shure you didnt make a huge box around your map, but only where you need skytexture ==>

/
/
/
o |
| |
__/\________|

if that is a guy watching at a crooked wall (a house), there is not skybox behind that wall, but it start from where you cant see the back of the house anymore...

and dont make your skybox too high too
Swatje
Been Here A While
Been Here A While
 
Joined: Wed Nov 10, 2004 4:40 pm

Postby aiteile on Thu Mar 24, 2005 1:34 pm

could be the height will amend and get back if it solved it - thanks
aiteile
Dumpling
Dumpling
 
Joined: Wed Mar 23, 2005 3:39 pm

Postby Serever on Thu Mar 24, 2005 10:34 pm

lets all make things out of ascii
Code: Select all
          ___
____|___|=======*
|_KTHXBYE_|
\0_0_0_0_0/

        R-O-F-L-M-A-O
 L           ___O__
 O====/    _L_  |\_
 L          \_>OMG)__)
             _|___|_


"Hey Scott. It's Dougal. Can I have my hair from the 1980's back?"
User avatar
Serever
Senior Member
Senior Member
 
Joined: Tue Nov 23, 2004 9:23 pm
Location: NSW, Australia

Postby YokaI on Thu Mar 24, 2005 11:36 pm

Serever wrote:lets all make things out of ascii
Code: Select all
          ___
____|___|=======*
|_KTHXBYE_|
\0_0_0_0_0/

        R-O-F-L-M-A-O
 L           ___O__
 O====/    _L_  |\_
 L          \_>OMG)__)
             _|___|_




I see a KTHXBYE Tank
a ROFLMAO OMG LOL helecopter...
YokaI
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Fri Dec 03, 2004 12:38 am

Postby Blink on Thu Mar 24, 2005 11:36 pm

Stay on topic
User avatar
Blink
Cool 'n that
Cool 'n that
 
Joined: Fri Oct 08, 2004 4:16 pm
Location: UK

Postby Hansz on Sun Apr 17, 2005 1:26 pm

aiteile wrote:All is working but I have a blue line that runs along the top square roof of the sky box - what stupid thing am I doing :(

Thanks in advance for any info


Is this fixed already ??? i've got the same problem ... and no idea what this is all about...
Even the smallest person can change the course of the future.
Hansz
Dumpling
Dumpling
 
Joined: Sun Apr 17, 2005 1:24 pm
Location: Nieuw-Vennep, Netherlands

Postby smeerkat on Sun Apr 17, 2005 6:41 pm

In the example above, the skybox begins right on top of the buildings. What if a player were to shoot at the sky in-game, would he see bullets ricocheting off the sky??
über dumpling.
User avatar
smeerkat
Regular
Regular
 
Joined: Sun Apr 03, 2005 5:36 pm
Location: Babylon 4

Postby zombie@computer on Sun Apr 17, 2005 7:36 pm

bullets no, grenades yes
When you are up to your neck in shit, keep your head up high
zombie@computer
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Fri Dec 31, 2004 5:58 pm
Location: Lent, Netherlands

Postby somerandomnerd on Sun Apr 17, 2005 8:16 pm

Any idea on how far a grenade can be thrown in Hammer's units?
somerandomnerd
Been Here A While
Been Here A While
 
Joined: Thu Mar 17, 2005 7:16 pm

Postby Deadman on Sun Apr 17, 2005 8:17 pm

no idea, set up a map with little walls every 20 units and see how far it goes
Image
Image

Woe Kitten wrote:I won't take a dump for less than 10 dollars :D

Unfortunately this has resulted in me being constipated and broke.
User avatar
Deadman
1337 p0st3r
1337 p0st3r
 
Joined: Sat Jan 15, 2005 2:17 pm

Postby Hansz on Mon Apr 18, 2005 6:35 am

Hansz wrote:
aiteile wrote:All is working but I have a blue line that runs along the top square roof of the sky box - what stupid thing am I doing :(

Thanks in advance for any info


Is this fixed already ??? i've got the same problem ... and no idea what this is all about...


I feel like a broken record... but ... erm ... Any ideas about the 'blue line' along the top square roof of the sky box ? It's looking kinda stupid ... :-D
Even the smallest person can change the course of the future.
Hansz
Dumpling
Dumpling
 
Joined: Sun Apr 17, 2005 1:24 pm
Location: Nieuw-Vennep, Netherlands

Postby spunky on Mon Apr 18, 2005 11:50 am

Hey the line around ur skybox is there because u have your textures set on low...medium and high dont have it :)

^^ had the same prob for awhile!
spunky
Dumpling
Dumpling
 
Joined: Mon Apr 18, 2005 11:48 am
Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users