skybox

skybox

Re: skybox Posted by a19clarke on Wed Jan 25th 2006 at 8:48pm
a19clarke
6 posts
Posted 2006-01-25 8:48pm
6 posts 1 snarkmarks Registered: Jan 23rd 2006
hi i was wondering if someone could help me with this weird problem im havin, i hav a normal map using skybox, in the skybox is land used for the outside of my map, eg. mountains. but when ive compiled an start the map all its does is enlarge my normal part of the map an uses it as the background in my skybox, it was working last time i compiled so i think ive changed somethin on accident resulting in this problem but dont know how to fix it, if any1 could help id be grateful, thanx
Re: skybox Posted by Captain P on Wed Jan 25th 2006 at 8:57pm
Captain P
1370 posts
Posted 2006-01-25 8:57pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Then you've probably not sealed off the 3d skybox part completely, or you've accidentally left a sky_camera in the playable area...

Do you remember what you changed last time? What I do now is saving to a different filename (map_01, map_02, etc.) every now and then, so I can revert to an older version when something got messed up completely, and I can look back at the progress I made. Just a tip... :smile:

Create-ivity - a game development blog
Re: skybox Posted by a19clarke on Wed Jan 25th 2006 at 9:04pm
a19clarke
6 posts
Posted 2006-01-25 9:04pm
6 posts 1 snarkmarks Registered: Jan 23rd 2006
ive just check the skybox an the isnt any leaks, an the only 2 sky_cameras i have are 1 in map and 1 in skybox, i normally save as different name everytime aswell. heres alittle veiw of what i mean

http://img91.imageshack.us/my.php?image=run00016zn.jpg
Re: skybox Posted by Captain P on Wed Jan 25th 2006 at 10:48pm
Captain P
1370 posts
Posted 2006-01-25 10:48pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
And there's your problem: the sky_camera in the map (playable part). Remove that one, as a sky_camera marks the area it is in as 3d skybox. Perhaps you assumed it was necessary as a reference point, but it isn't.
The (0, 0, 0) point is used as a reference point for the sky_camera: the 3d skybox is moved so that the sky_camera is at (0, 0, 0), then it's scaled up (16x by default). Of course, that's what's happening in-game, not in the editor.

So, my previous post was actually true. :smile:

That map looks interesting bytheway. What mod is it for?
Oh, and it's unlit. Did you compile without lighting or is there a leak somewhere?

Create-ivity - a game development blog
Re: skybox Posted by Orpheus on Wed Jan 25th 2006 at 11:04pm
Orpheus
13860 posts
Posted 2006-01-25 11:04pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
232k :cry:

I do like the content though. 24 fps and all that viewable. Either its a big machine, or well made.

The best things in life, aren't things.
Re: skybox Posted by a19clarke on Sat Jan 28th 2006 at 12:47am
a19clarke
6 posts
Posted 2006-01-28 12:47am
6 posts 1 snarkmarks Registered: Jan 23rd 2006
<html>thanks matey, that did the trick. ive always used 2, but dont know why i started doin that an its the first time this has happend

its a wild west mod called Wanted:Outlaws&lawmen. if u wanna check it out goto http://www.wantedmod.planethalflife.gamespy.com/saloon/index.php

yea when im tweaking i turn vrad and vvis off so i can compile quicker.
Re: skybox Posted by fishy on Sat Jan 28th 2006 at 4:38am
fishy
2623 posts
Posted 2006-01-28 4:38am
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
probably something to do with the order that the entities get written into the bsp. as the hl2 engine can only use one sky_camera[assumption], then when it reads the bsp, it'll pick one from the possibilities, i'd imagine the first, and use it.
i eat paint