Raised This Month: $ Target: $400
 0% 

[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 01-17-2023 , 21:19   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #161

Quote:
Originally Posted by wendigo View Post
Does this plugin, default respect admin immunity?
So admin can shoot any survivor, and not get ff reflected?

If not, what do I need to change to make it happen?

Also if an special infected graps player A. Lets say hunter. What happens if player B shoots shotgun to free player A? I'm sure some of the bullets will hit the survivor, and he will get xx amount dmg reflected back to him.
If you do not want admins to have friendly-fire reversed, set reverseff_admin = 0. Shooting a hunter while pounced on a survivor should not generate friendly-fire.
__________________
Mystik Spiral is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-17-2023 , 21:22   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #162

Quote:
Originally Posted by Hajitek Majitek View Post
Hello, Mystik Spiral! I see you only have on/off options for admins . do you think it's possible to include an admin-only feature that only reverses half of the damage done to admins? so, for example, if an admin hits someone in Expert Difficulty, he loses 50HP rather than becoming incapacitated. btw awesome plugin, and excellent work. This is the best medicine for griefers.
If you want to only reverse 50% of damage, set reverseff_dmgmodifier = 0.5. Note that this will apply to both admins and regular players.
__________________
Mystik Spiral is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-17-2023 , 21:26   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #163

Quote:
Originally Posted by Diabolik001 View Post
Hi, I'm using left 4 dead 1 and it doesn't work for me. Sourcemod and metamod are up to date. Did it stop working or is there something I didn't do? when compiling the plugin does not give an error, I just try it on my server and nothing. some answer? Thank you
Make sure you have downloaded the l4d_reverse_ff.phrases.txt file and copied it to the <left4dead_installation_directory>\addons\sou rcemod\translations directory.
__________________
Mystik Spiral is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-17-2023 , 21:27   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #164

Quote:
Originally Posted by Erika Santos View Post
Good afternoon, when my friend shoots at me I lose my life. the plugin is already activated, is it a bug?
Make sure you have downloaded the l4d_reverse_ff.phrases.txt file and copied it to the <left4dead_installation_directory>\addons\sou rcemod\translations directory.
__________________

Last edited by Mystik Spiral; 01-17-2023 at 21:27.
Mystik Spiral is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 01-17-2023 , 21:29   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #165

Quote:
Originally Posted by NoroHime View Post
i have an idea from back4blood
add switch when hold +duck then no send or receive friendly fire
anyway i tried add myself
---
yeah doen
PHP Code:
if (immunite_ff_ducking && (GetClientButtons(attacker) & IN_DUCK) || (GetClientButtons(victim) & IN_DUCK))
    
damage 0
Code:
// do not cause ff when victim or attack ducking (0=disable)
// -
// Default: "1"
reverseff_immunite_ducking "1"
--
oh sh1t i forgot annotate debug statement
Please see my post here:
https://forums.alliedmods.net/showpo...&postcount=160
__________________
Mystik Spiral is offline
applesrbest
Junior Member
Join Date: Mar 2022
Old 04-13-2023 , 11:30   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #166

Would anyone be able to help me set this up?
i put the files were they belong.
When i start the game it says ''This server has reverse friendly fire''

Friendly fire seems to be disabled completely, and i am not sure where to add or edit the things said in the post.

in the console it says: .
L 04/13/2023 - 14:12:06: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "survivor_friendly_fire_factor_easy") (value "1")
[SM] Changed cvar "survivor_friendly_fire_factor_expert" to "1".
L 04/13/2023 - 14:12:06: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "survivor_friendly_fire_factor_expert") (value "1")
[SM] Changed cvar "survivor_friendly_fire_factor_hard" to "1".
L 04/13/2023 - 14:12:06: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "survivor_friendly_fire_factor_hard") (value "1")
[SM] Changed cvar "survivor_friendly_fire_factor_normal" to "1".
L 04/13/2023 - 14:12:06: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "survivor_friendly_fire_factor_normal") (value "1")

idk of its related.
any help is appreciated
also add me on discord: Red Banana#6982
applesrbest is offline
applesrbest
Junior Member
Join Date: Mar 2022
Old 04-13-2023 , 11:31   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #167

Would you be able to help me install reverse friendly fire? ive been trying it for days and it just wont work
applesrbest is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 04-13-2023 , 21:43   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #168

Post a reply with the complete output from the following command run on the server console:

sm plugins list

Besides putting the l4d_reverseff.smx file in the addons\sourcemod\plugins directory, also make sure you download and put the required l4d_reverse_ff.phrases.txt file in the addons\sourcemod\plugins\translations directory. Both files are required.

Last edited by Mystik Spiral; 04-13-2023 at 21:52.
Mystik Spiral is offline
applesrbest
Junior Member
Join Date: Mar 2022
Old 04-14-2023 , 04:27   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #169

I think i got it to work, is there a way to show a message when someone shoots someone? like: Person A Shot Person B and got 25 reversed damage?
applesrbest is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 04-14-2023 , 08:56   Re: [L4D & L4D2] Reverse Friendly-Fire [v2.8.2 (16-Sep-2021)]
Reply With Quote #170

Quote:
Originally Posted by applesrbest View Post
I think i got it to work, is there a way to show a message when someone shoots someone? like: Person A Shot Person B and got 25 reversed damage?
Option to display/suppress ReverseFF chat messages (0=Suppress chat messages, 1=Display chat messages) [reverseff_chatmsg (default=1)]
Mystik Spiral 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 05:34.


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