by RaveYard » Sat May 29, 2021 10:28 am
I tested this both on GZDoom 4.7 latest commit + GZDoom 4.5pre with Vulkan backends. It is a doom software renderer only bug tho.
Spawning this fella will cause the game to crash when any part of sky is visible.
Supposedly any kind of non-existing texture will do.
Code: Select all
Class SkyChangingZombieman : Zombieman
{
Override Void PostBeginPlay()
{
Super.PostBeginPlay();
Level.ChangeSky(TexMan.CheckForTexture("<FWATER1>",TexMan.Type_Any), TexMan.CheckForTexture("FWATER1",TexMan.Type_Any));
}
}
Credit for code and discovery goes to: inkoalawetrust
I tested this both on GZDoom 4.7 latest commit + GZDoom 4.5pre with Vulkan backends. It is a doom software renderer only bug tho.
Spawning this fella will cause the game to crash when any part of sky is visible.
Supposedly any kind of non-existing texture will do.
[code]
Class SkyChangingZombieman : Zombieman
{
Override Void PostBeginPlay()
{
Super.PostBeginPlay();
Level.ChangeSky(TexMan.CheckForTexture("<FWATER1>",TexMan.Type_Any), TexMan.CheckForTexture("FWATER1",TexMan.Type_Any));
}
}
[/code]
Credit for code and discovery goes to: inkoalawetrust