Don't you hate it when you get beaned by a zombie from the other side of the map on a survival server and die? Maybe you want to play a weird form of freeze tag in TLMS? Or maybe you just want to give your duel opponent another chance because you feel bad for ending them with that surprise rocket. However you need it to work, this mod makes players downed instead of dead, giving them back a little hp before letting them bleed it all out until someone takes pity and rescues them, reviving and giving a small health boost to the saved player
Download
Does not replace actors so should be compatible with whatever mods you pair it with. Recommended to be last in the loading list
CVars:
ez_downedHealth: how much health is given to a downed player, default is 40
ez_bleedRate: How much a downed player's health decays in seconds, default is 4
ez_revivedHealth: How much health is given when a player is revived, default is 40
ez_reviveFactor: How fast a player is revived as a percentage, with 100 being 1 second, default is 200
ez_canBeKilled: Determines whether a downed player can be killed by outside sources or not, default is false
ez_addRevivedHealth: Determines whether a rescued player's health is added or set to ez_revivedHealth, default is false
ez_dropKeys: Takes any keys or related items from players that die and drops them, taking them out of their inventory similarly to SV_Coop_LoseKeys, default is false
Spoiler: Changelog & Known bugs (Open)
>Ver 1.0:
-Hello world!
v1.1
-added marker on downed players
-fixed trying and failing to revive actually dead players
-cleaned up hudMessage acs
v1.2
-added the option to be invulnerable when downed with cvar "ez_canKill"
-bleeding out can now be disabled by setting ez_downRate to 0
>v1.3
-added the option to be invulnerable when downed with cvar "ez_canKill"
-bleeding out can now be disabled by setting ez_downRate to 0
>v1.4
-fixed an issue with zandronum 3.0
v1.5
-players now die immediately when all other players are downed
-fixed bug where if a player disconnected all players would be no longer marked as dying
ez_downHealth is now ez_downedHealth
ez_downRate is now ez_bleedRate
ez_reviveHealth is now ez_revivedHealth
ez_reviveRate is now ez_reviveFactor
ez_canKill is now ez_canBeKilled
v1.5.1
-fixed a mistake that broke everything
v1.6
-fixed bug when downed players are present when the level ends
-added a message when players are saved
-players are saved when entering a level downed
v1.7
-added credits~
-downed marker now uses its own sprite
-Revive meter doubled for those sadists out there
v1.8
-rewrote ACS
-revive rate is now percentage based, with 100 = 1 second
v1.8.1
-Removed debug prints
-ez_dropKeys added, players can now drop all key inventory items at their place of death
>Vanilla bugs:
-Players double die, once when going down and again when actually dying
-A_Gunflash overrides the death state when downed, making players visually get back up
-Players can walk through downed players for 2 frames if the actor calls A_NoBlocking and get stuck inside when reviving
-Telefragging a player can easily result in you getting stuck inside that player if you revive them
-Setting ez_downRate and ez_canKill to 0 softlocks death and a player must console kill to die
-Players that bleed out when ez_canKill is set to false are considered to have killed themselves
-Height is not taken into consideration when reviving a player
-Player distance is ignored once revival starts
>Mod bugs:
-none so far...
Spoiler: Screens (Open)
I look forward to the horrendous bugs you all find