New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New formula for XDeaths? #233
Comments
As requested by @Anotherlife in issue #233.
Thanks for the suggestion. "Gib health" can now be changed in DeHackEd lumps. See 64cba7d. |
Thanks, I changed the Demon's gib health to -10 and I gib him fine with the rocket launcher but not with the SSG! When you made the SSG able to gib did you make it a special case for some monsters? |
Ah yes, I did! I forgot about this case. |
Even with gibhealth at -50 I still can't gib a Demon with the SSG, only with -1 or something like that. But then everything gibs. I guess it's because the pellet damage isn't being added. That code is confusing. Why is it doing a CheckMeleeRange? So that stray SSG pellets don't gib probably? Actually, I think with this commmit I can't gib Imps at short range with the SSG anymore(?) |
Whoops! Health needs to be less than gibhealth to cause xdeathstate, so subtract 1. Fixed in commit bd9ff4c.
Yes. I guess it's not really necessary though. |
Hmmm, so basically the way it is now, point blank range, there is a 66% chance that the SSG will gib the monster (if it has an XDeath state) regardless of Gib health or current monster Health. And if I set Gib health to around 100-120, there is a good chance of a rocket/berserkfist gibbing the monster if it is at low health already. That's how I understand it, in case someone googles around what is happening with gibbing, Gib health etc in Doom Retro, heh. |
I created an Explode state for the Demon and noticed that it was almost impossible to get the Xdeath. Then I checked out the requirements, the thing's Health must reach a (negative) value lower than his GibHealth (as zdoom calls it), which is his negative Health (in Doom, in the other games it's half that)
That is OK for Trooper, Sergeant, Imp, Chaingunner and SSNazi, it is hard to get with the Demon and practically impossible with all other monsters because they have high health. That's why they didn't even bother to create XDeath resources for the Demon and higher monsters lol.
According to this:
ftp://ftp.fu-berlin.de/pc/games/idgames/lmps/tyson/weapons.html
the rocket's max damage is 288. That means that if a Revenant has 1 health point and eats a max-damage rocket in the face, he won't be gibbed/XDeath'ed, because his health will be -287 and his GibHealth is -300.
This only matters for dehacked mods, since the game doesn't have XDeath states for Demon and higher, but do you plan to change the formula in the engine or to provide some way to change the GibHealth (dehacked or MAPINFO)?
(Or maybe the rocket and the berserk would have a small hardcoded chance to gib, regardless?)
The text was updated successfully, but these errors were encountered: