Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pac_movement cannot be overriden #1295

Open
Python1320 opened this issue Jul 13, 2023 · 0 comments
Open

pac_movement cannot be overriden #1295

Python1320 opened this issue Jul 13, 2023 · 0 comments

Comments

@Python1320
Copy link
Collaborator

Python1320 commented Jul 13, 2023

With https://github.com/CapsAdmin/pac3/blob/develop/lua/pac3/core/shared/movement.lua if you, for example, enter a trigger where noclip is not allowed, any code setting MOVETYPE_WALK on the player gets overriden by movement.lua

It also uses MOVETYPE_NONE which can be mistaken as not noclip, MOVETYPE_NOCLIP should work okay if we return in the move hooks to prevent default?

setting ply.pac_movement=false; ply.pac_custom_movement_reset=true shared could work but there is no such net message so I am assuming this is a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant