AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Knock Down The Attacker On Friendly Fire v2.4【2024-04-08】 (https://forums.alliedmods.net/showthread.php?t=344955)

little_froy 12-23-2023 00:29

[L4D2] Knock Down The Attacker On Friendly Fire v2.4【2024-04-08】
 
1 Attachment(s)
https://s2.loli.net/2024/01/26/SVLbmdpgPi1swoY.gif

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

NekoYa4r 04-03-2024 06:57

Re: [L4D2] Knock Down The Attacker On Friendly Fire v2.3【2024-02-17】
 
Can it disable friendly fire dmg? Or it just add knockback effect and i have to use another plugin to disable FF dmg ??? :)

little_froy 04-03-2024 07:40

Re: [L4D2] Knock Down The Attacker On Friendly Fire v2.3【2024-02-17】
 
Quote:

Originally Posted by NekoYa4r (Post 2820512)
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.

JustMadMan 04-03-2024 08:50

Re: [L4D2] Knock Down The Attacker On Friendly Fire v2.3【2024-02-17】
 
Quote:

Originally Posted by little_froy (Post 2814818)
https://s2.loli.net/2024/01/26/SVLbmdpgPi1swoY.gif

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


All times are GMT -4. The time now is 05:01.

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