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.
CheckReplacement Doesn't Honor A_BossDeath
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.
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.
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
Re: CheckReplacement Doesn't Honor A_BossDeath
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: CheckReplacement Doesn't Honor A_BossDeath
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.
Re: CheckReplacement Doesn't Honor A_BossDeath
I forgot about that. Good catch, thank you.Blue Shadow wrote:The Archvile... doesn't call A_BossDeath on death, so there is no way for it to trigger those specials.
I'll work around it, then. Thanks again.Graf Zahl wrote:The new replacement system cannot honor A_BossDeath, it's a technical impossibility.