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

[L4D2] Knock Down The Attacker On Friendly Fire v2.4【2024-04-08】


Post New Thread Reply   
 
Thread Tools Display Modes
Author
little_froy
Senior Member
Join Date: May 2021
Plugin ID:
8609
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Old 12-23-2023 , 00:29   [L4D2] Knock Down The Attacker On Friendly Fire v2.4【2024-04-08】
Reply With Quote #1



Cvars
PHP Code:
// damagetype bypass. add damagetypes together
// -
// Default: "64"
knock_down_on_friendly_fire_damagetype_bypass "64"

// 1 = enable, 0 = disable. include self as victim?
// -
// Default: "0"
knock_down_on_friendly_fire_include_self "0"

// interval to knock down the same one again
// -
// Default: "0.5"
// Minimum: "0.000000"
knock_down_on_friendly_fire_interval "0.5"

// weapon bypass. split up with ","
// -
// Default: "inferno,fire_cracker_blast,pipe_bomb,grenade_launcher_projectile"
knock_down_on_friendly_fire_weapon_bypass "inferno,fire_cracker_blast,pipe_bomb,grenade_launcher_projectile" 
Change log
Spoiler
Attached Files
File Type: sp Get Plugin or Get Source (knock_down_on_friendly_fire.sp - 4 views - 7.5 KB)

Last edited by little_froy; 04-08-2024 at 04:32.
little_froy is offline
NekoYa4r
Junior Member
Join Date: Mar 2020
Old 04-03-2024 , 06:57   Re: [L4D2] Knock Down The Attacker On Friendly Fire v2.3【2024-02-17】
Reply With Quote #2

Can it disable friendly fire dmg? Or it just add knockback effect and i have to use another plugin to disable FF dmg ???
__________________
Sorry for my bad english
NekoYa4r is offline
little_froy
Senior Member
Join Date: May 2021
Old 04-03-2024 , 07:40   Re: [L4D2] Knock Down The Attacker On Friendly Fire v2.3【2024-02-17】
Reply With Quote #3

Quote:
Originally Posted by NekoYa4r View Post
Can it disable friendly fire dmg? Or it just add knockback effect and i have to use another plugin to disable FF dmg ???
PHP Code:
sm_cvar survivor_friendly_fire_factor_easy "0"
sm_cvar survivor_friendly_fire_factor_normal "0"
sm_cvar survivor_friendly_fire_factor_hard "0"
sm_cvar survivor_friendly_fire_factor_expert "0" 
you have to use these cvars. because other plugins can totally block player_hurt event, then this knockdown plugin no longer take effect.

Last edited by little_froy; 04-03-2024 at 07:42.
little_froy is offline
JustMadMan
Member
Join Date: Feb 2023
Old 04-03-2024 , 08:50   Re: [L4D2] Knock Down The Attacker On Friendly Fire v2.3【2024-02-17】
Reply With Quote #4

Quote:
Originally Posted by little_froy View Post


Cvars
PHP Code:
// 1 = enable, 0 = disable. include self as victim?
// -
// Default: "0"
knock_down_on_friendly_fire_include_self "0"

// interval to knock down the same one again
// -
// Default: "0.5"
// Minimum: "0.000000"
knock_down_on_friendly_fire_interval "0.5"

// weapon bypass. split up with ","
// -
// Default: "inferno,fire_cracker_blast,pipe_bomb,grenade_launcher_projectile"
knock_down_on_friendly_fire_weapon_bypass "inferno,fire_cracker_blast,pipe_bomb,grenade_launcher_projectile" 
Change log
Spoiler
As for me, the best way is to stun the player but not charge him, and shooting at a incappacitated Survivor also needs to be removed, otherwise there are cases when explosive ammo accidentally hit a prone person and you fall
JustMadMan 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 11:38.


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