Search the Community
Showing results for tags 'ux'.
-
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?
-
Hello everyone. Please forgive my English. English is not my native language. I use Google Translate. I updated to alpha 27: Agni and Vulcan enabled. I encountered the following problems and I am disappointed: - it is now impossible to select units with a rectangular selection using a mouse gesture; - it is now objects, such as huts, do not rotate with the right mouse button when specifying the location of the building; - it is now the path or/and target for units is not highlighted when hovering over an object; - it is now it is impossible to specify a target for future units when to start unit production in the center of the civilization. Are these intentional changes or some kind of bug?
