Advanced Users: How to rebind locked hotkeys

Since we do not know when the devs are going to patch this, there is a way to gain access to specific hotkeys that are currently locked. I will explain (click on the points to see more):


  1. Create a new control profile in AOE4. If anything goes wrong, you can delete this profile again.
  2. Make your desired changes and save.
  3. Note down hotkeys that are locked or involve multiple keys like “control+shift”.
  4. Close the game.
  5. Navigate to “documents\My Games\Age of Empires IV\keyBindingProfiles”.
  6. Open the .rkp file using the Windows Editor or Notepad++.
  7. Find the hotkeys you want to edit, change them to your likings.
  8. Save
  9. Start Age Of Empires IV and make sure your control profile is selected.

If you want to edit the hotkeys again, repeat step 4 - 9.

Things to note
  • When combining keys, leave no space.

  • RepeatCount seems to indicate the amount of times you have to press something, but you can’t imitate control group behaviour (1x select, 2x jump to) since control groups have two interactions: one for selection, one for focus. I therefore suggest to leave them like they are.

  • Mouse Buttons I know of are MouseLeft, MouseRight and MouseMiddle. Currently MouseMiddle is used to pan the camera.

  • When using hotkeys like Control+Shift+V the option to rebind the shortcut in-game will be greyed out like the rest since the game does not support these. You can still change them through the editor though.

  • While the grid layout is labeled as “modern dynamic” layout in the file, there is an option for “classicKeys”. Setting it to true doesn’t change anything so maybe they were already working on classic hotkeys.

Things that do work
  • You can free the ALT key which is currently locked for turning the camera. To leave empty, just delete the key phrase without deleting the quotation marks.
    In my case I changed said key to MouseMiddle.

  • You can rebind keys like Select all Villagers, Send all back to Work and Select all Military.

  • You can use “Control+Shift+[insert letter]” for other shortcuts.

  • You can rebind mouse panning to any key and even the left or right mouse button. Setting it to the latter will make the game unplayable though, so consider pairing it with another key like Alt:

  • You can set multiple shortcuts to the same key, but keep in mind that it may result in weird control behavior (especially when going for WASD camera controls without changing the grid layout).

  • Setting the camera controls to WASD works but in my experience you have to unbind the secondary keybinds.

  • You can combine keys for the grid layout hotkeys.

Things that don't work
  • Activating the dev camera named “capture tool”, does not matter which keys you bind it to

  • Using the Mouse Side Buttons (I can’t find the correct key function to make AOE4 recognize them, in the worst case the devs have to update the engine to support these buttons since relic games like COH2 don’t support them as well afaik).

  • The Middle Mouse Button seems to be unwilling to accept keys like “jump to next idle eco unit” and I do not understand why. I could set panning to any key and even set camera rotation to Alt+MouseMiddle, but the idle worker key doesn’t do anything in that position. :confused:


This is great. I still need to bind to the side mouse buttons though. Hope they’ll fix it soon.



1 Like

Also added a guide to the steam guides.



  • The Middle Mouse Button seems to be unwilling to accept keys like “jump to next idle eco unit” and I do not understand why. I could set panning to any key and even set camera rotation to Alt+MouseMiddle, but the idle worker key doesn’t do anything in that position. :confused:

This should be pinned.

1 Like

As if the devs would support tinkering with their configs :smiley:

1 Like

So things like these are easily possible, yet the devs talk about roadmap for next year to implement these, they make it sound like it’s the most exhausting work ever.

1 Like

Well they said modding support and the scenario editor are coming next year, but hotkeys and global queue are on their “top priority list”…
So I guess it will come rather sooner than later.

One of the best topics out here.

Ty so much for the tutorial.

1 Like

hey, where they said that?

Thanks man, sadly we can’t bind the side mouse buttons, I’m so used to bind those as my TC Button in previous Age games :confused:

I wonder if and when they will fix this.

In the german review of AOE4 for example at 22:25.

Are we able to change Age 1, 2, 3 and 4 selection keys for buildings in any way? I hate clicking Q by accident for example and then having to press ESC to get back to the building age group selection. Such a garbage way to do it. I wish I could press 1 2 3 4 for the ages and QWER… for buildings. Then if I misclick age 1 and have to click to age 2, I can just click 2 instead of ESC > W

1 Like

I agree that it is really annoying when you accidentally press the wrong button and have to reach out for the esc key…
Unfortunately, there is no shortcut you could rebind for that :frowning:

That makes it even more stupid that you can’t rebind those keys ingame.
They would probably just have to change a single line of code to make them bindable.

They made such a nice game but than they made so many small stupid decisions.
Same with population limit. It’s changeable though the console but not in the UI.
Just why?

Clearly not enough time to fully create the multiplayer and singleplayer experiences by the release date. Instead, its a bit unfinished and they hope to patch it out.

Hotkeys should be fully rebindable, and its crazy to think they are not.
The zoom is also way too close imo, hopefully they will allow us to zoom a good 30% more in the future.

is there an option to “select all barracks” or “select blacksmith” hotkeys?

There are only the options you would find in the in-game options as well (except mouse panning).


You’re asking too much from a game that we’re all waiting for to change their hotkeys to AoE 2 De hahaha