Raised This Month: $ Target: $400
 0% 

[L4D2] Charger Shoved Fix (1.3) [09-Jun-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
JLmelenchon
Senior Member
Join Date: Mar 2019
Plugin ID:
6915
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    13 
    Plugin Description:
    Prevents the Charger from slowing down when shoved while charging.
    Old 01-22-2020 , 02:02   Re: [L4D2] Charger Shoved Fix (1.0) [22-Jan-2020]
    Reply With Quote #1

    Wow awesome thank you, will need to test that in depth to see if it does not cause bugs.
    JLmelenchon is offline
    TrueSurvivor
    Member
    Join Date: Jun 2010
    Old 01-22-2020 , 10:46   Re: [L4D2] Charger Shoved Fix (1.0) [22-Jan-2020]
    Reply With Quote #2

    I haven't tested this extensively, but as we're talking about a class that can't be shoved no matter what.
    Wouldn't a cleaner (and safer) method be to block OnEntityShoved (TerrorWeapon::OnHit) regarding Chargers (and possibly Tanks)?

    Either way,

    Last edited by TrueSurvivor; 01-22-2020 at 10:47. Reason: typo
    TrueSurvivor is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 01-22-2020 , 13:57   Re: [L4D2] Charger Shoved Fix (1.0) [22-Jan-2020]
    Reply With Quote #3

    Quote:
    Originally Posted by JLmelenchon View Post
    Wow awesome thank you, will need to test that in depth to see if it does not cause bugs.
    I don't see how it could cause bugs. Simply detects when shoved, on next think sets velocity back to previous because for that 1 frame the game sets to 0,0,0.

    Quote:
    Originally Posted by TrueSurvivor View Post
    I haven't tested this extensively, but as we're talking about a class that can't be shoved no matter what.
    Wouldn't a cleaner (and safer) method be to block OnEntityShoved (TerrorWeapon::OnHit) regarding Chargers (and possibly Tanks)?

    Either way,
    Why make it more complicated than it has to be?

    Keep the bacon, that stuff is disgusting.
    __________________
    Silvers 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 22:26.


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