[Boom compat] change effect trigger

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
Dynamo
Posts: 1042
Joined: Sat Jun 07, 2008 5:58 am
Location: Industrial District

[Boom compat] change effect trigger

Post by Dynamo »

Mordeth wrote: Sat Oct 14, 2017 12:59 pm Hi,

In a Doomworld thread (https://www.doomworld.com/forum/topic/9 ... fic-sector) the question was asked how to create a triggerable secret tag for Boom-compatible ports. My suggestion was to turn the sector the player was standing on from normal to secret by using a 'change effect' trigger. See example level https://www.dropbox.com/s/z2eex38v2g4bk ... r.wad?dl=0. Two secrets: the red area counts as one; the blue area turns red & secret after pulling the switch.

That is, in PrBoom and Eternity. In (G)ZDoom this does not work. However, other sector flags (eg damage, friction) work as intended. The 'light' based flags might work, but they will not yield the intended result anyway in any port so I did not test that.
Hello! So, I saw this report back from 2017, which was closed with this explanation from Graf:
Graf Zahl wrote: Sat Oct 14, 2017 1:58 pm This was a fully intentional change because this behavior broke the secret counting in one of Heretic's IWAD maps (E3M4).
My understanding is that this was at a time when ZScript was still in its infancy and the the levelpostprocess compatibility layers were nowhere near as robust as they are today. Because of that, I figured it wouldn't hurt to bring this up again, as I imagine by now, if there's a vanilla map error, then surely both the fix could be applied and a new workaround fix could be supplied in levelpostprocess, so this way both Heretic as well as mods that take advantage of this trick could work. :) What do you think?
Professor Hastig
Posts: 256
Joined: Mon Jan 09, 2023 2:02 am
Graphics Processor: nVidia (Modern GZDoom)

Re: [Boom compat] change effect trigger

Post by Professor Hastig »

You won't be able to address the problem with level postprocessing. It gets triggered while the level runs by performing an overeager sector type transfer that transfers the secret flag along with the desired parts of the flag field.
You need at least a new compatibility flag here to have both the correct behavior and support for all these ugly hacks that abuse the bug.

It's typical Doom: Once an issue becomes known it is not "How do I avoid it?" but "How can I exploit it?" :twisted:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [Boom compat] change effect trigger

Post by Graf Zahl »

Yup, it definitely needs a compatibility option. This is a behavioral change, not something that can be edited in the map data.
Professor Hastig wrote: Mon Nov 25, 2024 7:50 am It's typical Doom: Once an issue becomes known it is not "How do I avoid it?" but "How can I exploit it?" :twisted:
Welcome to the wonderful world of Doom editing where there's no glitch some mapper did not find useful to exploit.
Does anybody wonder why the engine cannot really be optimized anymore?

Return to “Bugs [GZDoom]”