2 Skys in one map?
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.
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.
- ToxicBlade_2505
- Posts: 10
- Joined: Thu Oct 28, 2021 6:46 am
- Location: France
2 Skys in one map?
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: 2 Skys in one map?
Post your map. If something went wrong we need to be able to investigate.
- ToxicBlade_2505
- Posts: 10
- Joined: Thu Oct 28, 2021 6:46 am
- Location: France
Re: 2 Skys in one map?
https://www.mediafire.com/file/04jxc01q ... e.wad/fileGraf Zahl wrote:Post your map. If something went wrong we need to be able to investigate.
- Kappes Buur
-
- Posts: 4120
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: 2 Skys in one map?
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
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.
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.
- ToxicBlade_2505
- Posts: 10
- Joined: Thu Oct 28, 2021 6:46 am
- Location: France
Re: 2 Skys in one map?
Thanks I used the linedef action 190 and it worked just fine.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 skiesSpoiler: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.