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

[L4D] Shove Penalty Unlocker (1.5) [25-Apr-2022]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6791
Plugin Version:
1.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Unlocks shove penalty in coop and survival.
    Old 11-04-2019 , 13:41   [L4D] Shove Penalty Unlocker (1.5) [25-Apr-2022]
    Reply With Quote #1

    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.
    Attached Files
    File Type: txt l4d_shove_penalty.txt (821 Bytes, 128 views)
    File Type: sp Get Plugin or Get Source (l4d_shove_penalty.sp - 269 views - 7.9 KB)
    __________________

    Last edited by Silvers; 04-25-2022 at 07:21.
    Silvers 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 00:49.


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