CheckReplacement Doesn't Honor A_BossDeath

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Guest

CheckReplacement Doesn't Honor A_BossDeath

Post by Guest »

Using the new CheckReplacement feature can break any map that relies on A_BossDeath, such as Doom II MAP07.

https://github.com/coelckers/gzdoom/pull/542

Running the example Marisa posted, killing Archviles in MAP07 will not activate any of the doors/platforms that killing Mancubi and Arachnotrons should.
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: CheckReplacement Doesn't Honor A_BossDeath

Post by Blue Shadow »

This isn't actually something new. It happens even if you do replacement by using the "replaces" keyword in DECORATE and ZScript. The Archvile directly replaces both of those monsters, yet doesn't call A_BossDeath on death, so there is no way for it to trigger those specials.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: CheckReplacement Doesn't Honor A_BossDeath

Post by Graf Zahl »

The new replacement system cannot honor A_BossDeath, it's a technical impossibility. If you need handling for that the RandomSpawner is the only option.
Guest

Re: CheckReplacement Doesn't Honor A_BossDeath

Post by Guest »

Blue Shadow wrote:The Archvile... doesn't call A_BossDeath on death, so there is no way for it to trigger those specials.
I forgot about that. Good catch, thank you.
Graf Zahl wrote:The new replacement system cannot honor A_BossDeath, it's a technical impossibility.
I'll work around it, then. Thanks again.
Post Reply

Return to “Closed Bugs [GZDoom]”