I'm stuck with the skybox feature. Well, that was so easy in BUILD: every ceiling could be just switched between regular / parallax mode right in build.exe. With gzDoom I have spent a couple of days, have watched a lot of videos, and still can't do such a simple thing. Please help me!
What I did:
1. Created a new resource pack named main.pk3 in SLADE.
2. Added a couple of tiles in the TEXTURE subfolder.
3. Added SKYBOX.png (256*128) there.

4. Added it to the patch table.

5. Added it to TEXTUREx.

6. Created a new entry, MAPINFO, in the root folder of main.pk3.
7. Added the following text there:
Code: Select all
map MAP01 "TestSkybox"
sky1 "SKYBOX" 0
sky2 "SKYBOX" 0

9. Created a sector, set its ceiling to SKYBOX.
I expected to see it as a parallax texture, but alas, it was just a regular texture:

10. I tried it in gzDoom (F9) — the same. But! The automap shows, that the map name is TestSkybox. It means, that my MAPINFO was applied.


What I also tried to make it work:
10. Opened MAP01.wad in SLADE.
11. Added the same MAPINFO there.
12. Run it from command line:
Code: Select all
"D:\Games\GZDoom\gzdoom.exe" -iwad "" -skill "3" -file "D:\Code\Alma\gzDoomTutorial\!Skybox\main.pk3" "D:\Code\Alma\gzDoomTutorial\!Skybox\MAP01.wad"
The only way I achieved the result is the following:
1. I had added doom2.wad to resources when creating a map.
2. Set a ceiling to F_SKY1 (it immediately starts showing as a skybox in UDB, and that is what I want also!)
3. Added a script:
Code: Select all
#include "zcommon.acs"
script "SkyMapChange" ENTER
{
ChangeSky("SKYBOX", "SKYBOX");
}
But I don't want any references to doom2.wad, so this is not an option for me. It seems, I tried everything I can think of. I even unpacked doom2.wad and examined its content, looking for what makes SKY1 parallax, but to no avail. Please help me!
Both my MAP01.wad and main.pk3 are uploaded here, if you want to take a look.
Thank you in advance!