You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In-game commands are assigned to mouse and keyboard keys. Some of those assignments can be changed by the player in the Controls menu. Other commands like Show Hint (F1) are not reassignable.
The keybinding data is stored in a binary array. Adding more commands with assignable keys to while retaining compatibility with previous configuration is very difficult this way. Out-of-game editing of the keybindings by the player is also very difficult.
A new data structure for the keybindings should be devised.
One simple way would be a separate INI file with a very simple structure like this:
[OTPKeyBindings]
Jump=Q
Crouch=Z
Hand=LMB
...
Importing the binary key assignment format from previous INI files or the registry should remain possible.
The text was updated successfully, but these errors were encountered:
In-game commands are assigned to mouse and keyboard keys. Some of those assignments can be changed by the player in the Controls menu. Other commands like Show Hint (
F1
) are not reassignable.The keybinding data is stored in a binary array. Adding more commands with assignable keys to while retaining compatibility with previous configuration is very difficult this way. Out-of-game editing of the keybindings by the player is also very difficult.
A new data structure for the keybindings should be devised.
One simple way would be a separate INI file with a very simple structure like this:
Importing the binary key assignment format from previous INI files or the registry should remain possible.
The text was updated successfully, but these errors were encountered: