Raised This Month: $32 Target: $400
 8% 

[L4D2] Charging Charger Stagger [v1.0.3 | 13-November-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
7851
Plugin Version:
1.0.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Stagger clients around the charger while on charging mode
Old 11-10-2021 , 09:41   [L4D2] Charging Charger Stagger [v1.0.3 | 13-November-2021]
Reply With Quote #1

L4D2 ONLY

Description

By default, the charger throws survivors only when hitting them.

This plugin pushes clients nearby the charger in a radius, forcing them to "dodge" (stagger), while the charger is charging.

Features
  • Allow configuring the chance.
  • Allow configuring the max distance from a charger.
  • Allow configuring the interval check.
  • Allow configuring to stagger only once per charging.
  • Allow configuring which SIs should be affected.
  • Allow configuring which teams should be affected.

Preview



Cvars

A configuration file named "l4d2_charge_stagger.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

PHP Code:
// Chance (%) to stagger nearby clients while charging.
// 0 = OFF.
// -
// Default: "100"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d2_charge_stagger_chance "100"

// How far a client can be from a charging charger to be staggered.
// -
// Default: "200.0"
// Minimum: "0.000000"
l4d2_charge_stagger_distance "200.0"

// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_charge_stagger_enable "1"

// Interval in seconds to stagger nearby clients while charging.
// -
// Default: "0.5"
// Minimum: "0.100000"
l4d2_charge_stagger_interval "0.5"

// Should stagger the client only once per charging.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_charge_stagger_once "1"

// Which special infected should be affected by the plugin.
// 1 = SMOKER, 2 = BOOMER, 4 = HUNTER, 8 = SPITTER, 16 = JOCKEY, 32 = CHARGER, 64 = TANK.
// Add numbers greater than 0 for multiple options.
// Example: "127", enables for all SI.
// -
// Default: "127"
// Minimum: "0.000000"
// Maximum: "127.000000"
l4d2_charge_stagger_si "127"

// Which teams should be affected by the plugin.
// 0 = NONE, 1 = SURVIVOR, 2 = INFECTED, 4 = SPECTATOR, 8 = HOLDOUT.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables for SURVIVOR and INFECTED.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "15.000000"
l4d2_charge_stagger_team "1" 
Admin Commands
  • sm_print_cvars_l4d2_charge_stagger => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Thank you!

Post Reply
  • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

Requirements

Installation
  • Put the "l4d2_charge_stagger.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_charge_stagger.sp - 400 views - 24.4 KB)
__________________

Last edited by Marttt; 01-15-2023 at 12:20.
Marttt is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 11-11-2021 , 00:41   Re: [L4D2] Charging Charger Stagger [v1.0.0 | 10-November-2021]
Reply With Quote #2

Don't Charger already do this? What's particular different this plugin bring if I may ask?

This really need a video demonstration
__________________

Looking for some fun!
thewintersoldier97 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 11-11-2021 , 22:50   Re: [L4D2] Charging Charger Stagger [v1.0.1 | 11-November-2021]
Reply With Quote #3

Funny plugin
Make charger more stressful.
__________________

Last edited by HarryPotter; 11-11-2021 at 22:51.
HarryPotter is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 11-13-2021 , 11:46   Re: [L4D2] Charging Charger Stagger [v1.0.2 | 12-November-2021]
Reply With Quote #4

It is possible to add a limit of how many times you can stagger by a charger?
The video demonstration it was seen that pushed you 2 times, it would be good if it was only 1 time or cvar.
Tonblader is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-13-2021 , 14:35   Re: [L4D2] Charging Charger Stagger [v1.0.3 | 13-November-2021]
Reply With Quote #5

Plugin updated (1.0.3)

Code:
    - Added cvar to stagger only once per charging. (thanks "Tonblader" for requesting)
__________________

Last edited by Marttt; 11-13-2021 at 14:35.
Marttt is offline
ddd123
Senior Member
Join Date: May 2021
Old 11-25-2021 , 19:19   Re: [L4D2] Charging Charger Stagger [v1.0.3 | 13-November-2021]
Reply With Quote #6

Gonna have this intresting plugin. Thank you.

Just some suggestion but could you also do the same but also for Hunter and Jockey abilities? (Leaping/Lunging/Diving)

Last edited by ddd123; 11-26-2021 at 11:53.
ddd123 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 09:50.


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