-
Notifications
You must be signed in to change notification settings - Fork 17
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
Dedicated keybind to activate flying? & hold/toggle option #55
Comments
You effectively request two different features. The I agree with you. Both features would be nice. The first (flying keybinding) with an simple implementation would be easy to make. But if we would add such a feature that differentiates between single pressing and double pressing we would add it generally as a "modifier". As already explained in #53 (comment) this is not easy. The second feature (hold/toggle option) is also not so clear how to implement if seen for all possible keybindings and their actions. The sprint, sneak, fly and show inventory actions are easy/clear. But with actions like dropping it is difficult. What would toggling the drop-keybinding mean? Repeatedly dropping items? I do not know.
Please tell me your thoughts. |
I've singled out flying (that is, being in a flying state, as opposed to the control that makes you fly upwards) as something that should be hold/toggle switchable since it's a player movement state much like sneaking and sprinting are. I don't see much point in other controls like item dropping being made hold/toggle. Should I go ahead and split the hold/toggle part of this request into its own ticket? |
No. Leave it for now.
Me neither. But the question is still how to handle mod keybindings with hold/toggle? Just for clarification. You want a new keybinding "Activate Flying" that can additionally be configured to either "Hold" or "Toggle". |
Yes.
I assume this is referring to mods that would introduce keybinds for other player movement states, such as a mod that adds a keybind for crawling? Just noticed that I had actually suggested something like this for RandomPatches over a year ago, which obviously never got implemented as it appears the mod has been discontinued: TheRandomLabs/RandomPatches#237 |
I will look into it and try some things. I will let you know when there is a version with this feature to try. |
@Klotzi111 It's been a while, is a build with this feature and/or secondary sprint available anywhere? |
This request is related to #53. In #53, double-pressing the "move forward" key will cause the player to start sprinting, and that ticket raises the issue that this functionality cannot be unlinked from the move forward key and assigned to some other key.
Flying is a similar case - it is activated by double-pressing the key that causes the player to jump. The problem is that it too follows the jump key around, which is undesirable. It'd be expected that by default, the "jump" and "start flying" keys would both be bound to spacebar, and could be rebound to any desired key. Pressing the "start flying" key once, if the jump key isn't bound to the same key as it, would immediately cause the player to start flying.
And for consistency with sneaking and sprinting, there would be an option to change whether this key toggles flying when pressed, or if it should be held down continuously to remain in flying mode.
I would like a dedicated flying key a lot, since my computer lags a lot and sometimes it takes a lot of spacebar spamming to have the game register that I want to fly. The ability to split that key from the spacebar and only have to press it once to initiate fly mode would make things a lot easier.
The text was updated successfully, but these errors were encountered: