Raised This Month: $ Target: $400
 0% 

[CSGO] Trigger_push Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Plugin ID:
4746
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    8 
    Plugin Description:
    Removes the lag you see when entering and leaving a trigger_push.
    Old 12-25-2018 , 06:31   Re: [CSGO] Trigger_push Fix
    Reply With Quote #1

    Quote:
    Originally Posted by Syoudous View Post
    I think it messes up when triggers are parented and perhaps it may be based on pre-set pushdir angles. So, while an angle like 0 0 0 will work and act normal, 0 180 0 won't while parented. When parented it will push at 0 0 0 angles regardless of the preset. When unparenting, it acts "normal" reverting back to the push angles but not where the trigger was last located. Otherwise, restarting the round fresh without touching anything acts normal.

    Here's a screenshot of a push that will not push at the appropriate direction that it was compiled for.

    I was able to confirm this by toggling triggerpushfix_enable and it does appear to be coming from the plugin.
    Might be due to the fact that the plugin doesn't take into account parent rotations. Try using the version I've attached which uses m_angAbsRotation rather than m_angRotation and let me know if it works.
    Attached Files
    File Type: sp Get Plugin or Get Source (pushfix.sp - 797 views - 6.7 KB)
    hmmmmm is offline
    Syoudous
    Junior Member
    Join Date: Feb 2013
    Old 12-25-2018 , 15:17   Re: [CSGO] Trigger_push Fix
    Reply With Quote #2

    Quote:
    Originally Posted by hmmmmm View Post
    uses m_angAbsRotation rather than m_angRotation
    Seems to work now with no hassle. Nice!
    Syoudous is offline
    hmmmmm
    Great Tester of Whatever
    Join Date: Mar 2017
    Location: ...
    Old 12-26-2018 , 02:21   Re: [CSGO] Trigger_push Fix
    Reply With Quote #3

    Quote:
    Originally Posted by Syoudous View Post
    Seems to work now with no hassle. Nice!
    Cool, I'll update my original comment.
    hmmmmm is offline
    butare
    Senior Member
    Join Date: Nov 2016
    Old 06-13-2018 , 18:15   Re: [CSGO] Trigger_push Fix
    Reply With Quote #4

    That plugin didn't recognize negate filters, so trigger_push's on bhop_ponpon [csgo] bonus are broken, and didn't boost you!

    Last edited by butare; 06-13-2018 at 18:18.
    butare is offline
    hmmmmm
    Great Tester of Whatever
    Join Date: Mar 2017
    Location: ...
    Old 06-13-2018 , 21:48   Re: [CSGO] Trigger_push Fix
    Reply With Quote #5

    I've edited my version to have better filter checks by using the internal CBaseTrigger:: PassesTriggerFilters game function which means that it will account for all types of filters, but this also means that it now requires gamedata. Credits to rio for idea & implementation.

    I tested it out briefly on the map you mentioned and it worked.

    Last edited by hmmmmm; 06-13-2018 at 22:14.
    hmmmmm is offline
    butare
    Senior Member
    Join Date: Nov 2016
    Old 06-13-2018 , 21:51   Re: [CSGO] Trigger_push Fix
    Reply With Quote #6

    Quote:
    Originally Posted by hmmmmm View Post
    I've edited my version to have better filter checks by using the internal CBaseTrigger:: PassesTriggerFilters
    game function which means that it will account for all types of filters, but this also means that it now requires gamedata. Credits to rio for idea & implementation.

    I tested it out briefly on the map you mentioned and it worked.
    Woah, ty for sharing it, gonna test it rn

    EDIT: Yep, it's working fine!

    Last edited by butare; 06-13-2018 at 22:10.
    butare is offline
    hmmmmm
    Great Tester of Whatever
    Join Date: Mar 2017
    Location: ...
    Old 12-07-2018 , 01:23   Re: [CSGO] Trigger_push Fix
    Reply With Quote #7

    The latest CS:GO update broke the gamedata from the edited version of the plugin. I've edited my post to include the updated gamedata. Thanks to rio for finding the updated gamedata.
    hmmmmm is offline
    freak.exe_uLow
    AlliedModders Donor
    Join Date: Jul 2012
    Location: Germany
    Old 12-07-2018 , 13:06   Re: [CSGO] Trigger_push Fix
    Reply With Quote #8

    Quote:
    Originally Posted by hmmmmm View Post
    The latest CS:GO update broke the gamedata from the edited version of the plugin. I've edited my post to include the updated gamedata. Thanks to rio for finding the updated gamedata.
    can you share that?
    freak.exe_uLow is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 12-07-2018 , 14:10   Re: [CSGO] Trigger_push Fix
    Reply With Quote #9

    Quote:
    Originally Posted by freak.exe_uLow View Post
    can you share that?
    He updated his post on the second page with the updated gamedata.
    __________________
    sneaK is offline
    freak.exe_uLow
    AlliedModders Donor
    Join Date: Jul 2012
    Location: Germany
    Old 12-07-2018 , 15:41   Re: [CSGO] Trigger_push Fix
    Reply With Quote #10

    Quote:
    Originally Posted by sneaK View Post
    He updated his post on the second page with the updated gamedata.
    thanks sneaK
    freak.exe_uLow 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 14:20.


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