Raised This Month: $ Target: $400
 0% 

[L4D2] Revive Patch


Post New Thread Reply   
 
Thread Tools Display Modes
Franco20
Member
Join Date: Nov 2022
Old 05-16-2023 , 14:09   Re: [L4D2] Revive Patch
Reply With Quote #31

Quote:
Originally Posted by BHaType View Post
Probably not the best decision but I prefer to necessitate people to compile plugins locally.
you can make it work with this plugin it breaks when you pick yourself up it doesn't stop because of the damage :C

https://forums.alliedmods.net/showthread.php?p=2779573
Franco20 is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 05-19-2023 , 04:26   Re: [L4D2] Revive Patch
Reply With Quote #32

Quote:
Originally Posted by Franco20 View Post
you can make it work with this plugin it breaks when you pick yourself up it doesn't stop because of the damage :C

https://forums.alliedmods.net/showthread.php?p=2779573
Revive Patch has nothing to do with it. Stated plugin force resets revive.
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Mika Misori
Senior Member
Join Date: Sep 2022
Old 06-18-2023 , 17:21   Re: [L4D2] Revive Patch
Reply With Quote #33

Quote:
Originally Posted by BHaType View Post
Revive Patch has nothing to do with it. Stated plugin force resets revive.
Any way to add a cvar with a choice of a certain type of damage at which you can revive, please?

Example, I want to be able to revive incapped only when he takes acid damage. In all other cases, I want the revive to be cancelled as before when incapped takes the rest of the damage type.

(I suggested this in the Spitter Acid Damage plugin by Silvers).
Mika Misori is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 06-19-2023 , 01:54   Re: [L4D2] Revive Patch
Reply With Quote #34

Quote:
Originally Posted by Mika Misori View Post
Any way to add a cvar with a choice of a certain type of damage at which you can revive, please?

Example, I want to be able to revive incapped only when he takes acid damage. In all other cases, I want the revive to be cancelled as before when incapped takes the rest of the damage type.

(I suggested this in the Spitter Acid Damage plugin by Silvers).
I added sv_revive_damage_interrupt convar to interrupt revive based on dmgtype but I guess acid is a combination of those so eventually some revives could be interrupted besides acid.

Updated
PHP Code:
Added sv_revive_damage_interrupt 
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Mika Misori
Senior Member
Join Date: Sep 2022
Old 06-19-2023 , 08:15   Re: [L4D2] Revive Patch
Reply With Quote #35

Quote:
Originally Posted by BHaType View Post
I added sv_revive_damage_interrupt convar to interrupt revive based on dmgtype but I guess acid is a combination of those so eventually some revives could be interrupted besides acid.

Updated
PHP Code:
Added sv_revive_damage_interrupt 
Thank you so much for the cvar!

I found a lot of damage types that kind of relate to acid:
Code:
DMG_ACID = 1048576
DMG_ENERGYBEAM = 1024
DMG_PREVENT_PHYSICS_FORCE = 2048
DMG_RADIATION = 262144
How do I specify them correctly in the variable?
Code:
sv_revive_damage_interrupt "1048576, 1024, 2048, 262144"
Like that?
Mika Misori is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 06-19-2023 , 18:00   Re: [L4D2] Revive Patch
Reply With Quote #36

Quote:
Originally Posted by Mika Misori View Post
...
Sum them and use result as convar value.

Example
__________________
cry

Last edited by BHaType; 06-19-2023 at 18:01.
BHaType is offline
Send a message via AIM to BHaType
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode