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

make so that when sneak = false in the physics properties the player doesn't slow down #13699

Open
immagiov4 opened this issue Jul 29, 2023 · 2 comments
Labels
Breaking Change Changes an existing API behavior in an incompatible way @ Client / Controls / Input Concept approved Approved by a core dev: PRs welcomed! Feature request Issues that request the addition or enhancement of a feature

Comments

@immagiov4
Copy link
Contributor

Problem

I want to disable the sneaking feature in my mod (based on Minetest Game), but setting sneak = false in the physics_override table doesn't prevent me from slowing down while holding shift.

Solutions

Make so that when sneak = false the player doesn't slow down.

Alternatives

Having a parameter in the physics_override to control the sneaking speed.

@immagiov4 immagiov4 added the Feature request Issues that request the addition or enhancement of a feature label Jul 29, 2023
@sfan5
Copy link
Member

sfan5 commented Jul 29, 2023

Having a parameter in the physics_override to control the sneaking speed.

see #11465

it kinda got stuck along the way however

@Zughy
Copy link
Member

Zughy commented Jul 29, 2023

As a modder, what I expect from something called sneak turned off, is that I can't sneak at all, speed included. I understand that it'll cause backwards incompatibility, so I suggest to make it default behaviour starting from 6.0.

If then someone also declares the speed_crouch modifier, it'll override the normal speed when people sneak

@sfan5 sfan5 added Concept approved Approved by a core dev: PRs welcomed! Breaking Change Changes an existing API behavior in an incompatible way labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Change Changes an existing API behavior in an incompatible way @ Client / Controls / Input Concept approved Approved by a core dev: PRs welcomed! Feature request Issues that request the addition or enhancement of a feature
Projects
None yet
Development

No branches or pull requests

3 participants