Ceres Posted October 28, 2022 Report Share Posted October 28, 2022 (edited) Hello! Is this a bug at all or some other problem (e.g. myself )? I set this up: But when I hold the [Ctrl] key and rotate the mouse wheel, nothing happens. When I hold the [Ctrl] key and push the arrow keys or [W], the map gets rotated up/down. I.e., the function itself works but the mapping does not seem to. Other mouse wheel mappings work, though, and there is no conflict mentioned. BTW, maybe instead of calling it "Rotate up/down", it should be rather called "Tilted up/down"? As I am not a native English speaker I might be wrong, but this is not my major concern anyway. Thanks for your help! Edited October 28, 2022 by Ceres Quote Link to comment Share on other sites More sharing options...
Feldfeld Posted October 28, 2022 Report Share Posted October 28, 2022 That mapping works for me (but i set it to another command). Maybe an other command takes priority for Ctrl+WheelUp/Down in your case? 1 Quote Link to comment Share on other sites More sharing options...
Ceres Posted October 28, 2022 Author Report Share Posted October 28, 2022 (edited) I have not mapped this combination for anything else. Furthermore, I find it odd that when filtering for "wheel", the setting shown in my initial post does not appear in the list: When I filter for "rotate", it shows up (this time with the [Alt] instead of the [Ctrl] combination, but it does not work either): In my case it seems as if the setting appears in that window but does not really catch (that is my understanding; maybe I am wrong). Edited October 28, 2022 by Ceres Quote Link to comment Share on other sites More sharing options...
Feldfeld Posted October 28, 2022 Report Share Posted October 28, 2022 For the filtering, the same happens for me, looks like it has a weird behaviour. 1 Quote Link to comment Share on other sites More sharing options...
Ceres Posted October 28, 2022 Author Report Share Posted October 28, 2022 (edited) Thank you - good to know that it is weird (and is maybe a bug) but does not seem to affect if it works (in your case) or not (in my case). Can you please let me know where the key bindings are stored? I checked default.cfg, local.cfg, and user.cfg, but none of them has key bindings for me. Edited October 28, 2022 by Ceres Quote Link to comment Share on other sites More sharing options...
Feldfeld Posted October 28, 2022 Report Share Posted October 28, 2022 For me they are stored (and are updated correctly) in user.cfg 1 Quote Link to comment Share on other sites More sharing options...
Ceres Posted October 28, 2022 Author Report Share Posted October 28, 2022 (edited) Is some heading needed, e.g. [key bindings] or similar in that file? Sorry for my many questions and thanks for your patience! EDIT: For other users' and my own reference (might be useful in this context): HotKeys – Wildfire Games 0ad/keys.txt at master · 0ad/0ad (github.com) E.g.: hotkey.camera.rotate.ccw = "Ctrl+RightArrow", "E" ; Rotate camera anticlockwise around terrain hotkey.camera.rotate.cw = "Ctrl+LeftArrow", "Q" ; Rotate camera clockwise around terrain And from 0ad/intro.txt at master · 0ad/0ad (github.com): hotkey.camera.rotate.up – Rotate camera to look upward hotkey.camera.rotate.down – Rotate camera to look downward hotkey.camera.rotate.cw – Rotate camera clockwise around terrain hotkey.camera.rotate.ccw – Rotate camera counter-clockwise around terrain hotkey.camera.rotate.wheel.cw – Rotate camera clockwise around terrain hotkey.camera.rotate.wheel.ccw – Rotate camera counter-clockwise around terrain Edited October 28, 2022 by Ceres Quote Link to comment Share on other sites More sharing options...
Feldfeld Posted October 28, 2022 Report Share Posted October 28, 2022 There shouldn't be any heading in that file. It should be updated automatically by the game as you set key bindings (or do some other actions), each line being independent from the others. (meanwhile, local.cfg is kind of the "old" way of setting bindings and it is no longer needed to change it, but maybe you could look in there, maybe it has priority over user.cfg) Quote Link to comment Share on other sites More sharing options...
Ceres Posted October 28, 2022 Author Report Share Posted October 28, 2022 (edited) My ..\AppData\Roaming\0ad\config\user.cfg does not contain any key bindings but only this: antialiasing = "fxaa" fog = "false" gui.gamesetup.aibehavior = "balanced" gui.gamesetup.aidifficulty = "2" gui.gamesetup.assignplayers = "disabled" gui.scale = "1" gui.session.ceasefirecounter = "true" gui.session.notifications.phase = "all" gui.session.respoptooltipsort = "1" gui.session.timeelapsedcounter = "true" gui.splashscreen.enable = "false" gui.splashscreen.version = "<some-numerics-here>" lobby.columns.gamerating = "true" locale = "en_US" mod.enabledmods = "mod public" modio.disclaimer = "<some-alphanumerics-here>" overlay.fps = "true" overlay.realtime = "true" playername.multiplayer = "" playername.singleplayer = "Ceres" sharpening = "cas" showdetailedtooltips = "true" silhouettes = "true" userreport.enabledversion = "0" userreport.id = "<some-alphanumerics-here>" userreport.terms = "0" vsync = "true" If user.cfg should contain key bindings but mine does not, then there is definitely something wrong with my setup. Edited October 28, 2022 by Ceres Quote Link to comment Share on other sites More sharing options...
Feldfeld Posted October 28, 2022 Report Share Posted October 28, 2022 9 minutes ago, Ceres said: My ..\AppData\Roaming\0ad\config\user.cfg does not contain any key bindings but only this: antialiasing = "fxaa" fog = "false" gui.gamesetup.aibehavior = "balanced" gui.gamesetup.aidifficulty = "2" gui.gamesetup.assignplayers = "disabled" gui.scale = "1" gui.session.ceasefirecounter = "true" gui.session.notifications.phase = "all" gui.session.respoptooltipsort = "1" gui.session.timeelapsedcounter = "true" gui.splashscreen.enable = "false" gui.splashscreen.version = "<some-numerics-here>" lobby.columns.gamerating = "true" locale = "en_US" mod.enabledmods = "mod public" modio.disclaimer = "<some-alphanumerics-here>" overlay.fps = "true" overlay.realtime = "true" playername.multiplayer = "" playername.singleplayer = "Ceres" sharpening = "cas" showdetailedtooltips = "true" silhouettes = "true" userreport.enabledversion = "0" userreport.id = "<some-alphanumerics-here>" userreport.terms = "0" vsync = "true" If user.cfg should contain key bindings but mine does not, then there is definitely something wrong with my setup. You could try some things to check behaviour Trying another custom keybind -> does it work? Making an action that should change already present settings in user.cfg (eg enabling some mods) -> is the corresponding setting updated in user.cfg? If not perhaps it updates a user.cfg located somewhere else Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.