Author Topic: Key Bindings  (Read 6407 times)

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • OPHD Lead Developer
    • LairWorks Entertainment
Key Bindings
« on: September 06, 2017, 03:03:26 PM »
There has been some question about the keybindings for OutpostHD with users mentioning differences in keyboard layouts. This is a good point and one I intended to address at a later time but it seems like now is as good a time as any to start talking about it.

While OPHD is in development, I've bound several keys to specific actions (such as complete turn, cancel action, move, etc.). These are mapped to work well on a standard QWERTY keyboard. This isn't carved in stone, though, so any suggestions on different keybindings and keybindings for other actions are entirely welcome.

Default Bindings

Key      Mapping
F2Save Game
F3Load Game
F10Show debug info
F11Toggle fullscreen/windowed mode
PAGE UPGo up one level
PAGE DOWNGo down one level
HOMEGo to surface
ENDGo to max depth level
ENTEREnd turn
ESCAPECancel edit mode.
W / A / S / DMove one tile UP / LEFT / DOWN / RIGHT
ARROWSSame as WASD
0Go to Surface
1Underground 1
2Underground 2
3Underground 3
4Underground 4

« Last Edit: September 06, 2017, 03:06:35 PM by leeor_net »

Offline havkyp

  • Newbie
  • *
  • Posts: 22
Re: Key Bindings
« Reply #1 on: September 06, 2017, 05:29:45 PM »
Thanks for the keybindings!!  :D

Does development plans include:

  • A human-readable keybinding configuration file?
  • A GUI for configuring keybindings?
I saw in the other thread that good keybindings take a lot of effort to develop, and I agree. Therefore I suggest that at this point we should focus on having custom keybindings functionally working, and they be optimised post 1.0?

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: Key Bindings
« Reply #2 on: September 07, 2017, 11:09:29 AM »
Yes and yes.

I'll focus on it for a later development, perhaps for the 0.8.x series of releases?

Offline Goof

  • Jr. Member
  • **
  • Posts: 57
Re: Key Bindings
« Reply #3 on: September 07, 2017, 04:27:58 PM »
In fact on french keyboard the WASD map as ZQSD.
It may be the same kind of problems with non QWERTY keyboards.

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: Key Bindings
« Reply #4 on: September 10, 2017, 03:03:50 PM »
Which is why I wanted to talk about it. You and lhark both mentioned that the WASD keymapping doesn't work well on your keyboards. It never occurred to me until then that not everybody uses the same keyboard layout.

Offline Goof

  • Jr. Member
  • **
  • Posts: 57
Re: Key Bindings
« Reply #5 on: September 10, 2017, 07:46:42 PM »
You could add QWERTZ/BEPO/DVORAK/... keyboard as well.

or almost any layout from https://en.wikipedia.org/wiki/Keyboard_layout

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: Key Bindings
« Reply #6 on: October 21, 2018, 12:54:36 PM »
True. I think what I'll do is "ship" the game with WASD as default and allow for easy reconfiguration of bindings. Possibly offer config files for other common configurations.

Offline Arklon

  • Administrator
  • Hero Member
  • *****
  • Posts: 1269
Re: Key Bindings
« Reply #7 on: October 21, 2018, 02:27:17 PM »
Only took you over a year to reply to him. :P

Configurable key bindings ought to be standard in pretty much all games these days.

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2352
  • OPHD Lead Developer
    • LairWorks Entertainment
Re: Key Bindings
« Reply #8 on: October 21, 2018, 03:27:09 PM »
Yeah yeah, I know. :P :P On both points.

Still though I've gotten enough questions about whether it'll be a thing or not that it made sense to make a topic about it.