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

[CSGO] Trigger_push Fix


Post New Thread Reply   
 
Thread Tools Display Modes
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 12-25-2018 , 06:31   Re: [CSGO] Trigger_push Fix
Reply With Quote #31

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 - 786 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 #32

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 #33

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 09-22-2021 , 11:46   Re: [CSGO] Trigger_push Fix
Reply With Quote #34

After latest CSGO update (22/09/21) offsets were changed in the gamedata, attaching latest gamedata file. (Haven't actually tested CBaseVPhysicsTrigger:: PassesTriggerFilters offset myself, only saw it being changed in the binary itself)
Attached Files
File Type: txt pushfix.games.txt (536 Bytes, 176 views)

Last edited by butare; 09-22-2021 at 11:47.
butare is offline
Gold Fish
Senior Member
Join Date: Mar 2020
Old 01-27-2022 , 06:24   Re: [CSGO] Trigger_push Fix
Reply With Quote #35

This fix will work in Left 4 Dead2? For example, will be corrected in elevators?
__________________
-

PHP Code:
public OnClientConnect(int Client) {
    
KickClient(Client"sorry");

Gold Fish 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 17:08.


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