AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D] Shove Penalty Unlocker (1.5) [25-Apr-2022] (https://forums.alliedmods.net/showthread.php?t=319505)

Silvers 11-04-2019 13:41

[L4D] Shove Penalty Unlocker (1.5) [25-Apr-2022]
 
14 Attachment(s)
About:
  • For L4D1 only.
  • The games default behaviour only applies a penalty for shoving in Versus.
  • This plugin unlocks the shove penalty in coop and survival.



Thanks:
  • Dragokas - For the idea, request and testing.



CVars:

Saved to l4d_shove_penalty.cfg in your servers \left4dead\cfg\sourcemod\ folder.

PHP Code:

// The number of swings before the punch/melee/shove fatigue delay is set in (coop). (Min: 2, Max: 5, default: 5).
z_gun_swing_coop_penalty_time "5"

// Shove Penalty Unlocker plugin version.
l4d_shove_penalty_version 



Changes:
Code:

1.5 (25-Apr-2022)
    - Fixed the plugin not initializing. Thanks to "Orinuse" for reporting.

1.4 (01-Mar-2022)
    - Removed unused code. Thanks to "Orinuse" for reporting.

1.3 (03-Jan-2022)
    - Added cvar "z_gun_swing_coop_penalty_time" to set the number of swings before melee fatigue delay. Thanks to "HarryPotter" for writing.
    - Changes to work with the latest Linux update. Thanks to "HarryPotter" for testing.
    - Plugin and GameData updated.

1.2a (06-Dec-2021)
    - GameData update: Changed patch count to fix crashing. Thanks to "ZBzibing" for reporting.

1.2 (07-Sep-2021)
    - GameData update: Fixed crashing since the last L4D1 update.

1.1 (10-May-2020)
    - Added better error log message when gamedata file is missing.
    - Various changes to tidy up code.

1.0 (04-Nov-2019)
    - Initial release.



Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
  2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.

Beatles 11-08-2019 00:07

Re: [L4D] Shove Penalty Unlocker (1.0) [04-Nov-2019]
 
This is the best idea that could have occurred to you, in fact it is something that I have been looking for for almost a year.

HarryPotter 11-09-2019 10:27

Re: [L4D] Shove Penalty Unlocker (1.0) [04-Nov-2019]
 
This is what I am looking for for almost two years,
finally someone made it, thanks, Silvers

ZBzibing 01-17-2020 02:19

Re: [L4D] Shove Penalty Unlocker (1.0) [04-Nov-2019]
 
This is a great thing, it really needs it

ZBzibing 05-05-2020 14:35

Re: [L4D] Shove Penalty Unlocker (1.0) [04-Nov-2019]
 
How to set the number of times

Beatles 01-17-2021 00:53

Re: [L4D] Shove Penalty Unlocker (1.1) [10-May-2020]
 
Something like this I was looking for for a long time, when I saw it, downloaded it and installed it on my server, I realized that when you play it only works very well, but when there are many people it causes the server to close, crash, uninstall it and I thought it was a server error or something out there, I recently installed it in my own game, for private games with friends, and exactly the same thing happens, when I play alone it goes great, but when I play with several people it produces game to close.

Silvers 09-07-2021 03:25

Re: [L4D] Shove Penalty Unlocker (1.2) [07-Sep-2021]
 
Quote:

Originally Posted by ZBzibing (Post 2698345)
How to set the number of times

I don't think it's possible, or only by modifying the players address + 1696 (linux). Left4DHooks has the m_iShovePenalty offset for "GetShovePenalty" and "SetShovePenalty" natives. These could be opened up to L4D1 if really required.

Quote:

Originally Posted by Beatles (Post 2732911)
Something like this I was looking for for a long time, when I saw it, downloaded it and installed it on my server, I realized that when you play it only works very well, but when there are many people it causes the server to close, crash, uninstall it and I thought it was a server error or something out there, I recently installed it in my own game, for private games with friends, and exactly the same thing happens, when I play alone it goes great, but when I play with several people it produces game to close.

Could you please let me know if it's still crashing? Maybe the crash issue I just fixed was from before the update (although for me it didn't crash, and I can only test alone).



I think the last update changed some things (I don't have the files to compare) and I noticed it crashing on Windows. Also fixed Linux (untested) but think it should work.

Code:

1.2 (07-Sep-2021)
    - GameData update: Fixed crashing since the last L4D1 update.


Beatles 09-28-2021 17:50

Re: [L4D] Shove Penalty Unlocker (1.2) [07-Sep-2021]
 
I have been testing it since yesterday, I have not had any problem, it seems that it is already perfect, if for any reason I find a problem, I will let you know :3

ZBzibing 11-21-2021 03:11

Re: [L4D] Shove Penalty Unlocker (1.2) [07-Sep-2021]
 
Great, it was updated! I will download and test now, if there is a problem, I will give feedback

ZBzibing 11-21-2021 04:13

Re: [L4D] Shove Penalty Unlocker (1.2) [07-Sep-2021]
 
Modify which codes can be limited to 3 times, the default is 5


All times are GMT -4. The time now is 09:28.

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