Search the Community
Showing results for tags 'hotkey'.
-
I've been working on a new feature to add to the game. The idea is to provide an easy way to preserve our hotkeys, create templates, and quickly switch between them. Potentially export presets into a plain text file. I currently have a basic implementation that covers the minimum functionality: duplicating and deleting hotkey presets, while always keeping a Default Preset as a baseline. The presets are stored in binaries\data\mods\public\moddata\hotkeypresets.json (in theory, this would be mods/user in a compiled redistributable version). Just like with user.cfg, this .json file only stores hotkeys that differ from the default hotkeys. Initially, I wanted to use an INI-style file structure, but I'm not sure if there is an equivalent function to WriteJSONFile for that. I chose this location because it is already included in the whitelist, so I can avoid making changes to the Engine. I also didn't want to use user.cfg and add dozens of extra lines to it. So basically, the code adds a .json file that stores, reads, and modifies hotkey presets, and then copies/applies the active hotkeys to user.cfg. As for mods that interact with hotkeys, the idea is to change the current workflow as little as possible. So if there are any details I should take into account from a modding perspective, please let me know. Do you think this functionality would be useful to have? And, especially for the devs, does this seem like an appropriate approach, or would you recommend a better alternative?
-
For alpha 23 release we get tab switch hotkeys for f.e. summary/options tabs. It will be binded at Alt+S and Alt+W for next and previous tab as due to possible focused text input fields simply tab then dont work (possibly in options text fields). My suggestion is making tab and shift+tab as normal hotkeys for tab switching and Alt+S and Alt+W as fallback hotkeys when text input field focused. Would that be good? Please discuss. In alpha 23 svn code u can test the code. Code: https://code.wildfiregames.com/D1176
-
Proposal for hotkey for going back in gui pages. Shift + Escape proposed as simply Escape dont work due to code and already taken as deselect hotkey or closing some dialogs window. Discuss test pls Code: https://code.wildfiregames.com/D846
-
So... the hotkeys for making the control groups (ctrl+0, ctrl+1, etc...) don't work by default on Azerty keyboard layouts. So, I dug into the documentation and made myself this config file: However, now when I launch the game, I get some error message saying that all the hotkeys with WorldX are invalid? Does anybody know how I could fix this issue? Thank you very much!
- 9 replies
-
- error
- control groups
- (and 4 more)
