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

[L4D1 & L4D2] Hold Shove and Switch Fix [v1.0.2 | 16-October-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
7312
Plugin Version:
1.0.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Fixes a bug that prevents a client from continuing to shove when the weapon is switched while still holding down the shove button (M2)
    Old 10-01-2020 , 08:56   [L4D1 & L4D2] Hold Shove and Switch Fix [v1.0.2 | 16-October-2020]
    Reply With Quote #1

    Description

    This plugin removes the behavior of preventing a client from continuing to shove when the weapon is switched while still holding down the shove button (M2).

    Features
    • Allow continuing to shove when the weapon is switched while still holding down the shove button (M2).

    Steps to Reproduce

    Bug more noticeable when holding melees.
    • Pick up a weapon and start to shove.
    • Hold the shove button.
    • Pick up another weapon while still holding the shove button.
    • Check if shoves.
    • Now the shove button does nothing although the button is still pressed.
    • Release the shove button.
    • Try to shove again, now works.

    Cvars

    A configuration file named "l4d_hold_shove_n_switch_fix.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_hold_shove_n_switch_fix_enable "1" 
    Admin Commands
    • sm_print_cvars_l4d_hold_shove_n_switch_fix => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    Notes
    • Bots aren't affected by this plugin.

    Related Plugins

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

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

    Last edited by Marttt; 01-15-2023 at 12:18.
    Marttt is offline
    AlexAlcala
    Member
    Join Date: May 2019
    Location: Perú
    Old 10-01-2020 , 09:41   Re: [L4D2] Hold Shove and Switch - Fix [v1.0.0 | 01-October-2020]
    Reply With Quote #2

    Marttt Pro <3 good plugin
    AlexAlcala is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 04-05-2024 , 14:50   Re: [L4D1 & L4D2] Hold Shove and Switch Fix [v1.0.2 | 16-October-2020]
    Reply With Quote #3

    useful plugin
    little_froy 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 23:59.


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