2 Skys in one map?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

2 Skys in one map?

Postby ToxicBlade_2505 » Thu Nov 18, 2021 3:13 am

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.
User avatar
ToxicBlade_2505
 
Joined: 28 Oct 2021
Location: France

Re: 2 Skys in one map?

Postby Graf Zahl » Thu Nov 18, 2021 3:25 am

Post your map. If something went wrong we need to be able to investigate.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: 2 Skys in one map?

Postby ToxicBlade_2505 » Thu Nov 18, 2021 3:36 am

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
User avatar
ToxicBlade_2505
 
Joined: 28 Oct 2021
Location: France

Re: 2 Skys in one map?

Postby Kappes Buur » Fri Nov 19, 2021 12:15 am

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.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: 2 Skys in one map?

Postby ToxicBlade_2505 » Fri Nov 19, 2021 10:00 am

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.
User avatar
ToxicBlade_2505
 
Joined: 28 Oct 2021
Location: France


Return to Mapping

Who is online

Users browsing this forum: No registered users and 0 guests