8

Keybindings to build orders

  • Open

Avatar
Paul Schyska

I wish that we could keybind destroy, mark/unmark trees, and buildings.

As there are numerous buildings, it'd be great if we could bind sequences of key presses. E.g.: b(for build), f(for 4th category: housing), a(big shelter). So pressing bfa in quick succession would build a big shelter (vim users might know why that's a good idea in general :-). To escape a partial command, ESC could be used. That said, it might be a bit hard to implement. You'd have to check after "b" if there are multi-key mappings starting with "b", e.g. "bf" in my example, an likewise on "bf" you'd have to check for "bfa". Additionally it might be hard in terms of discoverability/explaining how it works. Also, you can't directly bind to "b" and "bf" if there is a "bfa" bind.
Alternatively, this could just a special-case for the build menu, "b" opens it, "a" selects the first category, etc. The user would have visual feedback in that case. As the building list can be quite long, it could be done in two rows, e.g. b->[qwertasdf]->[qwertasdf]. Examples, mark trees: "bd", build wood cutters "bwa", and so on (depending on building availability, of course).

A