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

[L4D2] Worldmodel Pistol Reload Animation On Empty Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Plugin ID:
6869
Plugin Version:
1.0
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes pistol reload animation on thirdperson when performing empty reload
    Old 12-24-2019 , 21:49   [L4D2] Worldmodel Pistol Reload Animation On Empty Fix
    Reply With Quote #1

    This plugin simply fix survivor's pistol reload animation failed to play while reloading on empty mag. For instance when your pistol clip is out of mag, the pistol will play empty reload animation on viewmodel but for world model which if you go on thirdperson, it does not perform the reload animation.

    Thanks Lux for helping me find this DoAnimationEvent signature.

    During The Last Stand update, this issue still occurs so this plugin fix is still needed.

    Installation:

    1. Download smx and place it in the plugins
    2. Download txt and place it in the gamedata
    3. Done, restart the server.
    Attached Files
    File Type: txt pistol_reload_fix.txt (516 Bytes, 982 views)
    File Type: sp Get Plugin or Get Source (l4d2_pistol_reload_empty_fix.sp - 1161 views - 2.1 KB)
    File Type: smx l4d2_pistol_reload_empty_fix.smx (5.1 KB, 863 views)
    __________________
    EdisonGar

    Last edited by Edison1318; 10-03-2020 at 15:28. Reason: Update the code to do proper checks on client (Thanks to Lux)
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    Momodo303
    Junior Member
    Join Date: Jul 2017
    Old 12-25-2019 , 22:10   Re: [L4D2] Worldmodel Pistol Reload Animation On Empty Fix
    Reply With Quote #2

    L 12/26/2019 - 138:08: [SM] Exception reported: Invalid Handle 0 (error 4)
    L 12/26/2019 - 138:08: [SM] Blaming: l4d2_pistol_reload_empty_fix.smx
    L 12/26/2019 - 138:08: [SM] Call stack trace:
    L 12/26/2019 - 138:08: [SM] [0] SDKCall
    L 12/26/2019 - 138:08: [SM] [1] Line 57, E:\SteamLibrary\steamapps\common\left 4 dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ pistol_reload_empty_fix.sp::reload


    Had to rename the gamedata to "pistolfix" aswell because it was looking that not "pistol_reload_fix"
    Momodo303 is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 12-26-2019 , 01:58   Re: [L4D2] Worldmodel Pistol Reload Animation On Empty Fix
    Reply With Quote #3

    Quote:
    Originally Posted by Momodo303 View Post
    L 12/26/2019 - 138:08: [SM] Exception reported: Invalid Handle 0 (error 4)
    L 12/26/2019 - 138:08: [SM] Blaming: l4d2_pistol_reload_empty_fix.smx
    L 12/26/2019 - 138:08: [SM] Call stack trace:
    L 12/26/2019 - 138:08: [SM] [0] SDKCall
    L 12/26/2019 - 138:08: [SM] [1] Line 57, E:\SteamLibrary\steamapps\common\left 4 dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ pistol_reload_empty_fix.sp::reload


    Had to rename the gamedata to "pistolfix" aswell because it was looking that not "pistol_reload_fix"
    Oh my bad, I forgot to change it in the sp/smx file.
    __________________
    EdisonGar
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 12-28-2019 , 13:12   Re: [L4D2] Worldmodel Pistol Reload Animation On Empty Fix
    Reply With Quote #4

    Nice plugin for thirdperson player like me
    __________________
    HarryPotter is offline
    Shadowysn
    Senior Member
    Join Date: Sep 2015
    Location: Location:
    Old 01-18-2020 , 00:43   Re: [L4D2] Worldmodel Pistol Reload Animation On Empty Fix
    Reply With Quote #5

    Oh yeah btw, this plugin's been set to any game and all categories when it isn't.

    Should change that to L4D and a single category that best fits the plugin, also there's no need to provide a seperate .smx file when the source already compiles.
    __________________
    ragdoll spam, that is all

    Steam profile, where I game, obviously.
    Youtube channel, where I do Stick Death Maze animations and some other stuff.
    no plugin requests, sorry


    My Plugins:
    -search list-
    Modified Plugins:
    1 | 2 | 3 | 4
    Shadowysn is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 10-03-2020 , 15:25   Re: [L4D2] Worldmodel Pistol Reload Animation On Empty Fix
    Reply With Quote #6

    Quote:
    Originally Posted by fbef0102 View Post
    signature update

    PHP Code:
    ... 

    Updated successfully.
    __________________
    EdisonGar
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    Noobguy95
    New Member
    Join Date: Jun 2022
    Old 08-22-2023 , 20:24   Re: [L4D2] Worldmodel Pistol Reload Animation On Empty Fix
    Reply With Quote #7

    Quote:
    Originally Posted by Edison1318 View Post
    This plugin simply fix survivor's pistol reload animation failed to play while reloading on empty mag. For instance when your pistol clip is out of mag, the pistol will play empty reload animation on viewmodel but for world model which if you go on thirdperson, it does not perform the reload animation.

    Thanks Lux for helping me find this DoAnimationEvent signature.

    During The Last Stand update, this issue still occurs so this plugin fix is still needed.

    Installation:

    1. Download smx and place it in the plugins
    2. Download txt and place it in the gamedata
    3. Done, restart the server.
    I've doing this all the time, but it doesnt work, still bugged, can somebody help me? Ive sent like 3 posts with nobody replies
    Noobguy95 is offline
    Reply


    Thread Tools
    Display Modes

    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 19:53.


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