Improve Hotkeys


  • Admin

    So @CrazyG recently brought up that it would be useful to have a hotkey for the territory tab. Which got me thinking that it would probably be useful to have more hotkeys in general for the often used features.

    Existing hotkeys:
    N - cycle through units with movement left (move phases only).
    F - highlight all units you own that have movement left (move phases only).
    I or V - popup info on whatever territory and unit your mouse is currently over.
    U - while mousing over a unit to undo all moves that unit has made (beta).
    Ctrl+B - show battle calc for current territory
    Ctrl+S - save game
    Ctrl+Q - leave game
    arrow keys or WASD (Ctrl) - move your map around. Holding down control will move the map faster.

    Proposal

    1. Remove WASD as this already conflicts with Ctrl+S and I don't think is used much
    2. Add Ctrl+hotkey for each tab panel
      -- Ctrl+A - Actions
      -- Ctrl+P - Stats (rename to Players)
      -- Ctrl+R - Economy (rename to Resources)
      -- Ctrl+O - Objectives
      -- Ctrl+N - Notes
      -- Ctrl+T - Territory
    3. Add Ctrl+(-/+) to zoom out/in
    4. Ctrl+E - Toggle edit mode
    5. Ctrl+H & Ctrl+G - Toggle history and game mode
    6. Ctrl+W - Toggle show politics panel (W for war)
    7. Ctrl+L - Toggle unit help list
    8. Ctrl+F - Toggle full screen (hide all tabs and minimap)

    Future Ideas

    1. Ctrl+C -Toggle chat
    2. M - Show all moves the unit stack the cursor is pointing at made in this phase
    3. Ctrl+M - Toggle showing all moves made in this phase (could get messy though)
    4. Hotkey to cycle through or show all pending battle results

  • Moderators

    Also Hotkeys should be more easily available to see (maybe even set custom hot keys?)

    I did not know about the F hotkey until now and only new about N because I hit by accident


  • Admin

    @crazyg They are all in the 'Help'>'Movement/Selection Help' menu 🙂

    Could consider renaming that menu option. We could eventually consider custom hotkeys but I'd say let's get some decent defaults first and what should be available for hotkeys before getting too crazy.


  • Admin

    @redrum

    Looks good. Here's a couple more suggestions for existing UI. All should toggle on/off, I think.

    Your at end of post look acceptable too.

    1. Ctrl+E - Toggle edit mode

    2. Ctrl+H - Toggle history mode

    3. Ctrl+C -Toggle chat

    4. For zoom suggest Ctrl+, +/- for 1% increments, but also Ctrl+, 9/3 for 10% increments as well. This will allow fine quick fine tuning of zoom levels.

    5. Ctrl+H - Hide all tabs including minimap. (or Ctrl+C - Collapse all tabs)

    6. Ctrl+P - Toggle show politics panel

    7. Ctrl+L - Toggle unit help list

    8. Is it possible to make the shortcut for territory tab, right mouse click while hover on territory, instead of Ctrl+T. This will likely be used a lot and should be doable with mouse.

    9. Actually now that I'm looking at the keyboard. It would be cool if all the others where doable by left hand (or at least main ones). So a combination of keys reachable by left hand. Since right hand is mostly on the mouse. Some of these like zoom would literally suck, if need right hand to do them.
      Is something with user programmable from defaults possible?

    10. Fix the spacebar chatting quirk. So it can't accidently go confirming stuff all over the place.
      https://forums.triplea-game.org/topic/644/chat-dialouge-lock-mechanism



  • @general_zod 5 looks sweet. Map would be the whole screen : ) Easier to look around and then back to action mode : )

    I was thinking it'd go back to default when you moved, but no reason for that. Leave it full screen until you want to know something : ) Probably get an extra 10-15% view !



  • @redrum

    • M - Show all moves the unit stack the cursor is pointing at made in this phase
    • Ctrl+M - Toggle showing all moves made in this phase (could get messy though)


  • What I think would be a nice hotkey is the ability to cycle through the territories that have been moved into while the BC was open. That way you could assess each battle prior to pressing 'Done' on the 'Action' screen.

    Cheers...



  • @wc_sumpton I would go further and add a hotkey to calculate all pending battles and display win % as a green - yellow - red (% dependent) number over the territories.


  • Admin

    @alkexr

    It would be a very cool to do all combat moves and see generic win % for each attack, over each territory. Either with a hotkey or automatic.


  • Admin

    Well, some good ideas here though I mostly wanted to focus on hotkeys for existing functionality first. Updating the first post to show what I'll look to add in the short-term vs some longer term ideas.


  • Admin

    Updated short-term list:

    Proposal

    1. Remove WASD as this already conflicts with Ctrl+S and I don't think is used much
    2. Add Ctrl+hotkey for each tab panel
      -- Ctrl+A - Actions
      -- Ctrl+P - Stats (rename to Players)
      -- Ctrl+R - Economy (rename to Resources)
      -- Ctrl+O - Objectives
      -- Ctrl+N - Notes
      -- Ctrl+T - Territory
    3. Add Ctrl+(-/+) to zoom out/in
    4. Ctrl+E - Toggle edit mode
    5. Ctrl+H - Toggle history mode
    6. Ctrl+P - Toggle show politics panel
    7. Ctrl+L - Toggle unit help list

  • Admin

    @redrum

    Add Ctrl+(-/+) to zoom out/in - In best case this one is very hard to do with left hand if at all. I suggest Ctrl+Z (-) / Ctrl+X (+).

    Ctrl+T is not useful for left hand. Can we make it Ctrl+Q?

    Ctrl+C - toggle all existing panes on/off seems very useful.

    Having coded to letters is nice, but if they aren't helpful, I would skip letter coding and go for usefulness.

    Or ability to customize from default hotkeys would be great.


  • Admin

    PR addressing the proposed changes: https://github.com/triplea-game/triplea/pull/3329


  • Admin

    @redrum Do we have a Hot Key for Hot Keys? 😉


  • Admin

    @hepps ... they are all listed in the movement/selection help.


  • Admin

    @hepps No hepps we need a general reference in help for everything you know! Please make it concise and Point form. Minister of Propaganda
    gigglez


  • Admin

    Added a little bonus hot key for the full screen diehards 🙂



  • @redrum cool stuff redrum. I'm on 9957 but none of the new stuff is working . Is it not available yet ?


  • Admin

    @beelee last nights release has some 9964



  • @prastle Thanks