Jump to content

Mapping [Ctrl] + mouse wheel does not seem to work for rotating the map up/down


Ceres
 Share

Recommended Posts

Hello!

Is this a bug at all or some other problem (e.g. myself ;))? I set this up:

image.png.18e4ec5cab273210b70e49ae87209f46.png

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 by Ceres
Link to comment
Share on other sites

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:

image.png.287d1ca0a4850107330fcd10d8186c3e.png

When I filter for "rotate", it shows up (this time with the [Alt] instead of the [Ctrl] combination, but it does not work either):

image.png.dc4cf03362b5d814ffbaee3d27e87ae5.png

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 by Ceres
Link to comment
Share on other sites

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 by Ceres
Link to comment
Share on other sites

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 by Ceres
Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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 by Ceres
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...