Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Reverse Friendly-Fire [v2.8.5 (07-Oct-2023)]


Post New Thread Reply   
 
Thread Tools Display Modes
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 12-21-2020 , 02:45   Re: [L4D2] Reverse Friendly-Fire [v1.4 (21-Dec-2020)]
Reply With Quote #11

New version 1.4 released, see original post for download.

21-Dec-2020 v1.4
- Option to specify maximum damage allowed per chapter before ban. (default: 180)
("reverseff_maxdamage")

- Option to specify ban duration in minutes when reverseff_maxdamage is exceeded. (default: 10)
("reverseff_banduration")
Mystik Spiral is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-04-2021 , 16:40   Re: [L4D2] Reverse Friendly-Fire [v1.5 (04-Jan-2021)]
Reply With Quote #12

New version 1.5 released, see original post for download.

04-Jan-2021 v1.5
- Now reverses friendly-fire for mounted machine guns too.


I originally missed reversing friendly-fire from mounted machine guns (mini-guns), but it is fixed now.
Mystik Spiral is offline
Shao
Senior Member
Join Date: Jan 2015
Old 01-10-2021 , 01:05   Re: [L4D2] Reverse Friendly-Fire [v1.5 (04-Jan-2021)]
Reply With Quote #13

Very nice release.

I would like to suggest to find a way to disable friendly fire reverse for people that are incapacitated, because there's a lot of accidental damage that is really hard to avoid, such as survivors bouncing up when revival is interrupted.
Shao is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-10-2021 , 10:35   Re: [L4D2] Reverse Friendly-Fire [v1.5 (04-Jan-2021)]
Reply With Quote #14

Quote:
Originally Posted by Shao View Post
Very nice release.

I would like to suggest to find a way to disable friendly fire reverse for people that are incapacitated, because there's a lot of accidental damage that is really hard to avoid, such as survivors bouncing up when revival is interrupted.

That is a good suggestion, thank you. When I have time, I'll work on adding that option with a ConVar.

Last edited by Mystik Spiral; 01-10-2021 at 10:36.
Mystik Spiral is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-11-2021 , 20:58   Re: [L4D2] Reverse Friendly-Fire [v1.6 (11-Jan-2021)]
Reply With Quote #15

As requested, in version 1.6 added option to reverse friendly-fire when victim is incapacitated. [reverseff_incapped (default: false)]. Refer to the original post for download.
Mystik Spiral is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-16-2021 , 11:24   Re: [L4D2] Reverse Friendly-Fire [v1.6 (11-Jan-2021)]
Reply With Quote #16

Is there a reason that the plugin doesn't support L4D1? The only part of the code that is exclusive to L4D2 are the grenade launcher and special ammo checks, which should both automatically return false in L4D1 anyway. The code is simple enough to work in both games, so you just need to add support for Engine_Left4Dead inside AskPluginLoad2.
__________________
Psyk0tik is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-16-2021 , 19:50   Re: [L4D2] Reverse Friendly-Fire [v1.6 (11-Jan-2021)]
Reply With Quote #17

Quote:
Originally Posted by Crasher_3637 View Post
Is there a reason that the plugin doesn't support L4D1? The only part of the code that is exclusive to L4D2 are the grenade launcher and special ammo checks, which should both automatically return false in L4D1 anyway. The code is simple enough to work in both games, so you just need to add support for Engine_Left4Dead inside AskPluginLoad2.

I don't have an L4D1 server to do testing, but if someone can confirm it works properly, I'm certainly fine with adding it to the engine checks. Here is a draft version for someone to test and provide feedback.

Last edited by Mystik Spiral; 01-20-2021 at 13:37. Reason: removed defective attachment
Mystik Spiral is offline
Maku
Member
Join Date: Dec 2020
Location: United Kingdom
Old 01-17-2021 , 00:11   Re: [L4D2] Reverse Friendly-Fire [v1.6 (11-Jan-2021)]
Reply With Quote #18

Hello, this is a really great plugin but is it possible to have an option to minimise the normal FF damage and not only the special ammo one?

I have modded the weapons in a .vpk file and each hit causes the player to get incapped instantly even with melee weapons.

So I was hoping if it was possible to add a smaller value of FF damage? Like for example, 1 would be normal damage and 0.1 would be 10% of the normal damage?
Maku is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-17-2021 , 16:08   Re: [L4D2] Reverse Friendly-Fire [v1.6 (11-Jan-2021)]
Reply With Quote #19

Quote:
Originally Posted by Maku View Post
Hello, this is a really great plugin but is it possible to have an option to minimise the normal FF damage and not only the special ammo one?

I have modded the weapons in a .vpk file and each hit causes the player to get incapped instantly even with melee weapons.

So I was hoping if it was possible to add a smaller value of FF damage? Like for example, 1 would be normal damage and 0.1 would be 10% of the normal damage?

There are already standard cvars for this. For example, if you are playing a campaign on expert...


survivor_friendly_fire_factor_expert


I believe the default value above is 0.5, so you could adjust it up to cause more damage or adjust it down to cause less damage. Have you tried this already?
Mystik Spiral is offline
Maku
Member
Join Date: Dec 2020
Location: United Kingdom
Old 01-19-2021 , 16:02   Re: [L4D2] Reverse Friendly-Fire [v1.6 (11-Jan-2021)]
Reply With Quote #20

Quote:
Originally Posted by Mystik Spiral View Post
There are already standard cvars for this. For example, if you are playing a campaign on expert...


survivor_friendly_fire_factor_expert


I believe the default value above is 0.5, so you could adjust it up to cause more damage or adjust it down to cause less damage. Have you tried this already?
I'll try it out, thanks!
Some of the Cvars doesn't have a description of what they are so I didn't notice that would have anything to do with damage.


Edit: The Cvar worked. I thought that the "survivor_friendly_fire_factor_expert" is friendly fire enabler instead of damage.

Last edited by Maku; 01-19-2021 at 18:01. Reason: Tested out the Cvar
Maku is offline
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 06:32.


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