Page 1 of 1

2 Skys in one map?

Posted: Thu Nov 18, 2021 3:13 am
by ToxicBlade_2505
Hello. I'm working on a WAD, with an area that is supposed to have a different skybox. I have used Sky2 in MAPINFO, tho i set the action special for the sector yet nothing seemed to work. Any help would be greatly appreciated.

Re: 2 Skys in one map?

Posted: Thu Nov 18, 2021 3:25 am
by Graf Zahl
Post your map. If something went wrong we need to be able to investigate.

Re: 2 Skys in one map?

Posted: Thu Nov 18, 2021 3:36 am
by ToxicBlade_2505
Graf Zahl wrote:Post your map. If something went wrong we need to be able to investigate.
https://www.mediafire.com/file/04jxc01q ... e.wad/file

Re: 2 Skys in one map?

Posted: Fri Nov 19, 2021 12:15 am
by Kappes Buur
Yes, you could use a different texture as in your example Demosbase (Sky5), but then the sky will be a flat image, which would not be a convincing sky.

A better solution would be to use a linespecial 190 for DiHF or UDMF (use the sky image between TX_ markers, or a linespecial 271 for Boom or MBF (use the sky image in Texture1 and PNAMES). This way you could have a different sky for each tagged sector.

Here I use 5 different skies
Spoiler:
Link to map

Whichever format you want to use, the sky image must be tiled properly and be of the correct size, default is 256 x 128 to repeat 4 times for 360°. Or 512 x 128 to repeat twice for 360° or 1024 x128 for 360° as in Plutonia.wad.

Re: 2 Skys in one map?

Posted: Fri Nov 19, 2021 10:00 am
by ToxicBlade_2505
Kappes Buur wrote:Yes, you could use a different texture as in your example Demosbase (Sky5), but then the sky will be a flat image, which would not be a convincing sky.

A better solution would be to use a linespecial 190 for DiHF or UDMF (use the sky image between TX_ markers, or a linespecial 271 for Boom or MBF (use the sky image in Texture1 and PNAMES). This way you could have a different sky for each tagged sector.

Here I use 5 different skies
Spoiler:
Link to map

Whichever format you want to use, the sky image must be tiled properly and be of the correct size, default is 256 x 128 to repeat 4 times for 360°. Or 512 x 128 to repeat twice for 360° or 1024 x128 for 360° as in Plutonia.wad.
Thanks :D I used the linedef action 190 and it worked just fine.