Raised This Month: $ Target: $400
 0% 

Idea for Shove


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bald14
Member
Join Date: Aug 2021
Old 12-15-2021 , 05:04   Idea for Shove
Reply With Quote #1

Can someone help me make a plugin where shove infected will cause the survivor to lose health ( I want to set it to lose 1 health per shove ) and shove will not be delayed .
Sorry for my English
bald14 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 12-15-2021 , 06:13   Re: Idea for Shove
Reply With Quote #2

For unlimited shove just set the cvars to higher values [L4D2]

z_gun_swing_coop_max_penalty : 8 : , "rep", "cl", "launcher" : **The number of swings before the maximum punch/melee/shove fatigue delay is set in (coop).
z_gun_swing_coop_min_penalty : 5 : , "rep", "cl", "launcher" : **The number of swings before the minimum punch/melee/shove fatigue delay is set in (coop).
z_gun_swing_vs_max_penalty : 6 : , "rep", "cl", "launcher" : **The number of swings before the maximum punch/melee/shove fatigue delay is set in (vs).
z_gun_swing_vs_min_penalty : 3 : , "rep", "cl", "launcher" : **The number of swings before the minimum punch/melee/shove fatigue delay is set in (vs).
__________________
Marttt is offline
TBK Duy
Member
Join Date: Jun 2017
Location: Vietnam
Old 12-15-2021 , 08:26   Re: Idea for Shove
Reply With Quote #3

Due to my poor programming, this is the best I could do.

However its only lose permanent health(main green health), while the temporary health(the health when you eat pills) does not.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_shove_lose_health.sp - 73 views - 2.6 KB)
TBK Duy 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 11:49.


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