Page 1 of 1

Haze Affecting 360° Skybox

Posted: Sun May 14, 2006 17:44
by Tormentor667
Is there any way to make a skybox (360° with textures) be affected by an outer sector's fog/haze?

Posted: Sun May 14, 2006 17:52
by Enjay
When I need that, I usually put the haze on to the sky textures directly using a grahics editing program.

Posted: Sun May 14, 2006 18:00
by Paul
Yep. Or try matching the fog with the skybox's color/part. Go to the game and type "Testfade RRGGBBAA" (where RGGBBAA is the hex value of a color). You may try typing string names of colors as well, like "Testfade khaki" or "testfade orange". Do that to check what color will work best in the game. Useful.

Posted: Sun May 14, 2006 18:45
by Tormentor667
Okay, that makes sense to me but afaik it isn't possible to use more than one 360° skybox in one map, isn't it? I want some parts with fog and others without fog...

Posted: Sun May 14, 2006 18:50
by Tormentor667
Okay, tried "Testfade ffaa00" and also "testfade ffaa0000" or "testfade ffaa00ff" but I always get a red fog with that. Testfade "orange" and similar things work.

Posted: Sun May 14, 2006 18:59
by Paul
Gldefs:
skybox FOGSKY // normal sky edited in Photoshop/PSP to look like hazey
{
SKY1N
SKY1E
SKY1S
SKY1W
SKY1T
SKY1B
}
skybox NORMALSKY
{
SKY2N
SKY2E
SKY2S
SKY2W
SKY2T
SKY2B
}
Mapinfo:
map map01 "Mymap"
sky1 FOGSKY 0.0
sky2 NORMALSKY 0.0
There's a sector property that selects the "2nd sky" for the sector. That *should* work

Posted: Sun May 14, 2006 19:02
by Graf Zahl
Try to mess around with the 'skyfog' MAPINFO option.

Posted: Mon May 15, 2006 1:05
by Paul
Tormentor667 wrote:Okay, tried "Testfade ffaa00" and also "testfade ffaa0000" or "testfade ffaa00ff" but I always get a red fog with that.
The syntax is
Testfade "RR GG BB"
so Testfade "FF FF FF" produces white.

Posted: Mon May 15, 2006 1:44
by Tormentor667
@Paul - Thx, that sounds like a good solution, I will play around with that ;)