AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Charging Charger Stagger [v1.0.3 | 13-November-2021] (https://forums.alliedmods.net/showthread.php?t=335142)

Marttt 11-10-2021 09:41

[L4D2] Charging Charger Stagger [v1.0.3 | 13-November-2021]
 
24 Attachment(s)
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.

thewintersoldier97 11-11-2021 00:41

Re: [L4D2] Charging Charger Stagger [v1.0.0 | 10-November-2021]
 
Don't Charger already do this? What's particular different this plugin bring if I may ask?

This really need a video demonstration :D

HarryPotter 11-11-2021 22:50

Re: [L4D2] Charging Charger Stagger [v1.0.1 | 11-November-2021]
 
Funny plugin :)
Make charger more stressful.

Tonblader 11-13-2021 11:46

Re: [L4D2] Charging Charger Stagger [v1.0.2 | 12-November-2021]
 
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.

Marttt 11-13-2021 14:35

Re: [L4D2] Charging Charger Stagger [v1.0.3 | 13-November-2021]
 
Plugin updated (1.0.3)

Code:

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

ddd123 11-25-2021 19:19

Re: [L4D2] Charging Charger Stagger [v1.0.3 | 13-November-2021]
 
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)


All times are GMT -4. The time now is 16:55.

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