Raised This Month: $7 Target: $400
 1% 

[L4D1 & L4D2] Special Infected Shove Immunity [v1.0.0 | 23-September-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
7801
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Turns special infected immune to survivors shove
Old 09-23-2021 , 20:16   [L4D1 & L4D2] Special Infected Shove Immunity [v1.0.0 | 23-September-2021]
Reply With Quote #1

Description

This plugin turns special infected immune to survivors shove, preventing them to be staggered by survivor's shove.

Features
  • Allow configuring which SI should be immune to survivor's shove.

Cvars

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

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

// Which special infected should be immune to survivors shove.
// 1 = SMOKER, 2 = BOOMER, 4 = HUNTER, 8 = SPITTER, 16 = JOCKEY, 32 = CHARGER, 64 = TANK.
// Add numbers greater than 0 for multiple options.
// Example: "127", turns all SI immune to survivors shove.
// -
// Default: "127"
// Minimum: "0.000000"
// Maximum: "127.000000"
l4d_si_shove_immunity_si "127" 
Related Game Cvars
  • z_charger_allow_shove => L4D2 only. Allow charger to be shoved? 0 = No, 1 = Yes. (default: 0)

Admin Commands
  • sm_print_cvars_l4d_si_shove_immunity => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Notes
  • Tanks are already immune by game design.
  • L4D2 only. To enable Charger to be shoved set the z_charger_allow_shove game cvar to 1.

Thank you!

Related Plugins

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

Requirements

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

Last edited by Marttt; 01-15-2023 at 12:20.
Marttt is offline
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 09-23-2021 , 20:59   Re: [L4D1 & L4D2] Special Infected Shove Immunity [v1.0.0 | 23-September-2021]
Reply With Quote #2

Tested on my server and no errors, nice plugin Marttt!
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline
Reply


Thread Tools
Display Modes

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 23:24.


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