Left 4 Dead 2

Left 4 Dead 2

444 ratings
Self Revive (When Incapped)
2
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
640.220 KB
11 Oct, 2023 @ 7:55pm
11 Aug @ 8:07am
13 Change Notes ( view )

Subscribe to download
Self Revive (When Incapped)

Description
Name: Self Revive (When Incapped)
Description: An add-on to Self Revive when incapped.




>> Do you liked this add-on? Please, don't forgot to rate and favorite it! Also, follow me on Steam :) <<





[+] INFORMATIONS:

[!] Works only on Local Server. [!]

[!] When you get incapped, you can revive yourself manually by holding "CTRL" OR automatically. As you wish. [!]

[!] While reviving you keep losing life. [!]

[!] If you take damage, the timer to revive resets. [!]

[!] All Players in the Match (including bots) can revive when incapped. [!]




[+] CHAT COMMANDS:

Command
Usage
Option
Example
Description
!self_revive_method
!self_revive_method <Self Revive Method>
manual
!self_revive_method manual
Switch Self Revive Method To Manual (HOLDING CTRL)
!self_revive_method
!self_revive_method <Self Revive Method>
auto
!self_revive_method auto
Switch Self Revive Method To Auto (AUTOMATICALLY REVIVE)
!self_revive_time
!self_revive_time <Self Revive Time>
any value higher or equals to 0
!self_revive_time 3
Changes Self Revive Time (TIME TO REVIVE YOURSELF)

Originally posted by Sr.Caveira | 頭蓋骨 </> Dark':
You don't need to send these commands every time you're going to play.
Just one time and the current Configs will be saved into:

\Left 4 Dead 2\left4dead2\ems\sr_self_revive\self_revive_method.txt
\Left 4 Dead 2\left4dead2\ems\sr_self_revive\self_revive_time.txt




[+] FIXES:

- (12/10/2023) - Fixed not reviving when in Grabbed Ledge. Now it's working.
- (14/10/2023) - Fixed not reviving the Reviver and the Victim after the event OnReviveEnd be called. Now it's working!
- (15/10/2023) - Fixed reviving bug of the same revive timer for all players.
- (15/10/2023) - Fixed not reviving all players sometimes.
- (15/10/2023) - Fixed not reviving automatically when you or someone was helping someone manually.
- (15/10/2023) - Fixed Self Revive message being show when getting incapped by some Special Infected. Now isn't showing anymore.
- (15/10/2023) - Code refactoring and improvement.
- (16/10/2023) - Added missing translations.
- (20/03/2025) - Code refactoring and improvement.
- (11/08/2025) - Code refactoring and improvement.
- (11/08/2025) - Fixed some syntax errors translation-related.




[+] UPDATES:

- (18/10/2023) - CVars added to change the Time and the Method to revive yourself.
- (18/10/2023) - Hold "Duck" Button (CTRL) to revive yourself OR automatically. As you wish, by the CVars.
- (18/10/2023) - Code refactoring and improvement.
- (20/10/2023) - Added ZH-CN(Simplified Chinese) translations phrases provided by (@gameluna). Thanks a lot!
- (20/10/2023) - Added ZH-TW(Traditional Chinese) translations phrases provided by (@gameluna). Thanks a lot!




[+] TRANSLATIONS AVAILABLE:

PT-BR
ES
EN
FR
DE
IT
NL
RU
PL
JA
KO
ZH-CN
ZH-TW
303 Comments
Frigid★Empress 29 Aug @ 2:12pm 
It would be nice if you needed a medkit to revive yourself.
@Sr.Caveira Probably some hidden glitch, conflict with other mods, only God knows. Anyway, thank you so much for the support!
Sr.Caveira | 頭蓋骨 </> Dark'  [author] 15 Aug @ 1:38pm 
@East Laos Confederation - Victor I'm glad it worked. I really can't tell you why it doesn't work in your game... It works perfectly in mine, it's a mystery.
@Sr.Caveira, Hi. So I have changed the file self_revive_time.txt directly and it appeared to work. When I was incapacitated, I saw a message when I pressed the Ctrl button indicating how many seconds I have to wait to self revive.
The remaning question is why it does not work via CHAT COMMANDS.
Sr.Caveira | 頭蓋骨 </> Dark'  [author] 13 Aug @ 1:22pm 
@Arda I already have a similar mod: Death Check Toggle. It doesn't work for some people, but here it is working.
Arda 13 Aug @ 12:06pm 
@Sr.Caveira | 頭蓋骨 </> Dark' Can you please make this useful in solo? (No other people, only 1 survivor in the game) I want my campain to not end when I get incapped. Disabling the auto game over when solo incapped might work and you can add a like 30-60 second time limit to kill the player if incapped too long if you want to too, for some balance.
jajajajaj:steammocking:
Sr.Caveira | 頭蓋骨 </> Dark'  [author] 12 Aug @ 7:17pm 
@from my perspective Thank you anyway. I'll keep trying to figure out why this happens for some users.
Sr.Caveira | 頭蓋骨 </> Dark'  [author] 12 Aug @ 7:16pm 
@from my perspective I didn't write anything to manage it to work. Just opened a local server and it's working. No matter what I do, it never bugs, I've tried a lot of things, so it really is a MYSTERY.
Sr.Caveira | 頭蓋骨 </> Dark'  [author] 12 Aug @ 7:14pm 
@from my perspective Hmm... I see. This is very strange. I didn't make any dependencies on the Admin System, but if it works for you, that's fine. I tried a lot of things, even uninstalled L4D2 and so on, but my mod always worked.