Raised This Month: $ Target: $400
 0% 

[L4D2] No Reload Animation Fix (1.8) [03-Apr-2024]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
7692
Plugin Version:
1.8
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    45 
    Plugin Description:
    Prevent filling the clip and skipping the reload animation when taking the same weapon.
    Old 06-19-2021 , 09:04   [L4D2] No Reload Animation Fix (1.8) [03-Apr-2024]
    Reply With Quote #1

    About:
    • Fixes picking up a weapon of the same type and refilling the clip size to full.
    • Returns the clip size to the previous value and adds the new ammo to the reserve.


    Thanks:
    • Eärendil - For the idea and request



    Related Plugins:



    ConVars:

    Saved to l4d2_reload_fix.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // When using the give command and replacing the same weapon type, transfer ammo to the new weapon. 0=No. 1=Yes.
    l4d2_reload_fix_give "0"

    // No Reload Animation Fix plugin version
    l4d2_reload_fix_version 


    Changes:
    Code:
    1.8 (03-Apr-2024)
        - Fixed wrong weapons ammo when switch weapons. Thanks to "HarryPotter" for the update.
    
    1.7 (12-Mar-2024)
        - Save all clients weapons ammo, useful if weapon ammo exceeded the official ammo cvar. Thanks to "HarryPotter" for the update.
    
    1.6 (25-May-2023)
        - Added cvar "l4d2_reload_fix_give" to optionally prevent "give" command with same type of weapon setting to the previous weapons ammo.
    
    1.5 (20-Aug-2022)
        - Records all weapons clip and ammo. Thanks to "HarryPotter" for writing.
    
    1.4 (29-Mar-2022)
        - Fixed not always detecting the correct current weapon. Thanks to "Forgetest" for fixing.
    
    1.3 (02-Nov-2021)
        - Fixed treating different weapon skins as the same weapon. Thanks to "tRololo312312" for reporting.
    
    1.2 (06-Jul-2021)
        - Fixed throwing errors about invalid entity. Thanks to "HarryPotter" for reporting.
    
    1.1 (27-Jun-2021)
        - Fixed throwing errors about invalid entity. Thanks to "HarryPotter" for reporting.
    
    1.0 (19-Jun-2021)
        - Initial release.


    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_reload_fix.sp - 217 views - 13.4 KB)
    __________________

    Last edited by Silvers; 04-03-2024 at 05:31.
    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 02:19.


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