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

[L4D & L4D2] Special Infected Slap/Shove Ability [15-Sep-2020]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Plugin ID:
7276
Plugin Version:
1.3.1
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
9 
Plugin Description:
Provides to Special Infected the ability to slap and shove Survivors.
Old 09-02-2020 , 06:37   [L4D & L4D2] Special Infected Slap/Shove Ability [15-Sep-2020]
Reply With Quote #1

About:
Provides to Special Infected the ability to slap and shove Survivors.
This is a complete rework of classic l4d plugin [L4D & L4D2] Boomer Bit** Slap.




Features:
  • Add new ability to SI.
  • Make you laugh.
  • Flexible configs.
  • Supports both left 4 dead games.

Credits:
Сonsole Variables:
PHP Code:
// L4D & L4D2 Special Infected Slap/Shove Ability Plugin Version
l4d_si_ability_version
// Enable/Disable the Special Infected Slap/Shove Ability Plugin.
l4d_si_ability_enabled "1"
// How much force is applied to the victim (Slap ability)
l4d_si_ability_power "150"
// Vertical force multiplier (Slap ability)
l4d_si_ability_vertical_mult "1.5"
// 0=Off, >0: Seconds before SI can slap again.
l4d_si_ability_cooldown_slap "1.0"
// 0=Off, >0: Seconds before SI can shove again.
l4d_si_ability_cooldown_shove "1.0"
// 0=Off, 1=Chat, 2=Center chat, 3=Hint.
l4d_si_ability_announce "1"
// Slapping incapacitating people. Add numbers together: 0=Off, 2=Smoker, 4=Boomer, 8=Hunter, 16=Spitter, 32=Jockey, 64=Charger, 126=All.
l4d_si_ability_incap "68" // Default: Boomer|Charger.
// "Special Infected who can slap. Add numbers together: 0=Off, 2=Smoker, 4=Boomer, 8=Hunter, 16=Spitter, 32=Jockey, 64=Charger, 126=All. 
l4d_si_ability_slap "68" // Default: Boomer|Charger.
// "Special Infected who can shove. Add numbers together: 0=Off, 2=Smoker, 4=Boomer, 8=Hunter, 16=Spitter, 32=Jockey, 64=Charger, 126=All.
l4d_si_ability_shove "18" //  Default: Smoker|Spitter. 
Plugin Requirements:
Left 4 DHooks Direct


Source Code:
l4d_si_ability.sp
l4d_lib.inc


Changelog:
v 1.3.1 (15-Sep-2020)
Fix: l4d survivors emitting l4d2 survivors sounds. (Reported by aiyoaiui)
Refractor: l4d_lib v2.4 migration.
v 1.3 (05-Sep-2020)
- Fix SI release the Survivor. (Reported by fbef0102)
- Fix l4d_si_ability_announce incorrect upper bound. (Reported by fbef0102)
v 1.2 (04-Sep-2020)
- Separate cooldown convar.
- Change sound level.
v 1.1 (02-Sep-2020)
- Fix native is not bound error (Reported by Silvers)
v 1.0 (02-Sep-2020)
- Initial release.
Attached Files
File Type: smx l4d_si_ability.smx (9.7 KB, 885 views)
__________________

Last edited by disawar1; 12-18-2023 at 15:30. Reason: update l4d_lib.inc url
disawar1 is offline
 



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 15:03.


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