Fading Corpses Universal (AKA I hate leaving corpses lying)
Posted: Sat Jun 25, 2016 7:23 pm
by Beed28
I'm one of the few people who absolutely hates leaving monster corpses lying around, cluttering up the place. Thankfully, with the power of A_RadiusGive and A_FadeOut, slain monsters will slowly fade away to nothingness, thus, solving the eternal problem of those massive Cacodemon corpses obscuring your view. It also works with almost anything. Doom monsters, Heretic monsters, Hexen monsters, even custom monsters, you name it.
Requires the latest SVN revisions of ZDoom or GZDoom!
- Monsters crushed into gibs will not fade out, unless compat_corpsegibs is on.
- If an Arch-vile resurrects a monster that's faded, the revived monster can be very translucent depending on how faded it was.
- If a monster had a really long death state, it fade out completely and be removed before it can complete its state (and thus not be able to run any intended action functions afterwards).
- Because the monster actors are removed after fading out, monsters will not respawn with either the Nightmare! difficulty or if sv_monsterrespawn is on.
Re: Fading Corpses Universal (AKA I hate leaving corpses lyi
Posted: Sun Jun 26, 2016 1:27 am
by Greyfalll
Hey Beed, I made an update for this that should fix the Archvile/Nightmare/Really long monster death issues; All I did was give the monsters a special item which is given from the "FadingCorpses_FadeItem" to keep track of if it faded or not, then made another FadeGiver that fades monsters in if they are not dead and have that item(which also removes said item when they have become opaque to keep compatability with monsters that like to mess around with their alpha). Here: https://dl.dropbox.com/s/766xjru8ku3aoj ... G.wad?dl=0
Cheers!
Re: Fading Corpses Universal (AKA I hate leaving corpses lyi
Posted: Sun Jun 26, 2016 2:10 am
by Nevander
Beed28 wrote:- Because the monster actors are removed after fading out, monsters will not respawn with either the Nightmare! difficulty or if sv_monsterrespawn is on.
So it has a side effect of making Nightmare into Ultra-Violence 2.0 or something. Not sure if that's cool or bad... the thing that makes Nightmare so hard is the fact that they respawn. Now it will be like a harder UV, but with more ammo.
Re: Fading Corpses Universal (AKA I hate leaving corpses lyi
Posted: Sun Jun 26, 2016 5:06 am
by Beed28
Greyfalll wrote:Hey Beed, I made an update for this that should fix the Archvile/Nightmare/Really long monster death issues; All I did was give the monsters a special item which is given from the "FadingCorpses_FadeItem" to keep track of if it faded or not, then made another FadeGiver that fades monsters in if they are not dead and have that item(which also removes said item when they have become opaque to keep compatability with monsters that like to mess around with their alpha). Here: https://dl.dropbox.com/s/766xjru8ku3aoj ... G.wad?dl=0
Cheers!
Good job! The only gripe I found so far with this is that spectres don't "vanish" like the other corpses.
Re: Fading Corpses Universal (AKA I hate leaving corpses lyi
Posted: Sun Jun 26, 2016 5:48 am
by Greyfalll
Beed28 wrote:
Greyfalll wrote:Hey Beed, I made an update for this that should fix the Archvile/Nightmare/Really long monster death issues; All I did was give the monsters a special item which is given from the "FadingCorpses_FadeItem" to keep track of if it faded or not, then made another FadeGiver that fades monsters in if they are not dead and have that item(which also removes said item when they have become opaque to keep compatability with monsters that like to mess around with their alpha). Here: https://dl.dropbox.com/s/766xjru8ku3aoj ... G.wad?dl=0
Cheers!
Good job! The only gripe I found so far with this is that spectres don't "vanish" like the other corpses.
Yeah, it seems to be an issue with the "Fuzzy" render style on actors. Not sure if it's a bug or if that's just the way it is. :shrug:
Re: Fading Corpses Universal (AKA I hate leaving corpses lyi
Posted: Sun Jun 26, 2016 7:01 am
by BFG
how will the Archvile ressurrect enemies if the corpses are gone?
Re: Fading Corpses Universal (AKA I hate leaving corpses lyi
Posted: Thu Oct 14, 2021 2:30 pm
by hima3009
How can i increase the time of which the corpses laying around before fading out?