Commander Hotkey Re-bindings - some keys don't work [Windows and Linux]
Chingzilla
Join Date: 2013-09-15 Member: 188239Members, Reinforced - Diamond
Was vary excited to see commander re-binding added in 261. I have been trying to get the "grid" layout with my keyboard layout, Dvorak. I am able to bind most normal letter keys, A,O,E,U,Q, etc. but when I try and assign non-alpha keys all hotkeys stop working!
So, for instance, my 'E' key is really '.'. When I assign Period to Grid3, all commander keys stop working. I have been able to reproduce with keys 'Comma', 'Apostrophe', 'Semicolon', and 'Period'.
I have also tried manually changing the bindings in 'options.xml', to the same effect.
Thanks to the developers for adding this, I know there was some significant re-writing to get this far. Now just a little more please
So, for instance, my 'E' key is really '.'. When I assign Period to Grid3, all commander keys stop working. I have been able to reproduce with keys 'Comma', 'Apostrophe', 'Semicolon', and 'Period'.
I have also tried manually changing the bindings in 'options.xml', to the same effect.
Thanks to the developers for adding this, I know there was some significant re-writing to get this far. Now just a little more please
Comments
Spark hands input to the game in two ways: Commands and Hotkeys. There can be up to 32 commands, and NS2 already uses all of them. There can be any number of hotkeys, but Spark only defines A-Z, Esc, and Space.
This means that even though you can use apostrophe, comma, etc for commands (e.g. move, shoot) it's impossible to use the same keys as hotkeys. And it's hotkeys which drive the UI.
The good news is that's it's entirely possible and probably quite easy for UWE to extend the hotkey system to cover every single key.
For reference, here is every keyboard input that NS2's game code knows about: