Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game Keyboard Shortcuts #1834

Open
krs0 opened this issue Apr 1, 2023 · 19 comments
Open

Game Keyboard Shortcuts #1834

krs0 opened this issue Apr 1, 2023 · 19 comments
Labels
enhancement Improving beyond Heroes 3 behavior

Comments

@krs0
Copy link
Collaborator

krs0 commented Apr 1, 2023

Global Game shortcuts

  • Enter - Confirmation
  • Escape - Cancel
  • E - End turn (Does not work from everywhere, EG: town window)
  • L - Load game
  • S - Save game
  • Ctrl + R - restart game with Yes/No window
  • F4 - Toggle Windowed/Full Screen Mode
  • F5 - Quick Toolbar?
  • F6 - Toggle Hex Grid

Adventure screen shortcuts

  • Hold Left/Middle Mouse Button + Mouse move - map panning
  • Space - move hero to selected tile (Currently M key is used)
  • V or Space - Visit/Revisit current location (now only Space)
  • Cursor keys - move hero on adventure map (Diagonal movement not possible)
  • Numeric keypad keys - move hero on adventure map (Diagonal movement possible)
  • Ctrl + Cursor Keys - Map scrolling
  • Hold Alt + hover mouse - See movement points required to reach map tile
  • Shift + Left Click on hero - Make clicked hero the active one (Instead of default hero meetup)
  • Enter - open the selected hero's info window / open the selected town's window
  • N - Select next Hero/Town, depends on context
  • H - Select and center fist hero (Currently does Next Hero)
  • Ctrl + H - Center map on first hero and open hero's window
  • T - Select and center map on first listed town
  • Ctrl + T - Center map on first town and open town window
  • M - open first Market Place from a town (Currently done by CTRL + T)
  • G - open first Thieves Guild from a town with tavern
  • Left, Right - selects left/right choice in dialogs (new level, arena, etc.)
  • Hold Ctrl while in window mode - disable map scrolling when you leave the window
  • BACKSPACE - Resets zoom

Heroes / Towns Panel

  • Alt + Mouse Drag - rearrange heroes/towns
  • Mouse wheel scroll when hovering over the town/hero list
  • Alt + H - Select Next hero (Currently done by H)
  • Alt + T - Select next town (Currently done by T)
  • Right Click - show hero/town mini info
  • Z - Toggle Sleep/Wake Hero (zzzzzzzzz) (now W, Z)
  • A - Adventure Options
  • O - System(Game) Options
  • K - Kingdom Overview
  • U - Toggle between map layers (U from Underground)
  • I - Scenario information
  • Q - Quest Log
  • P - Puzzle map
  • W - View World (Currently V)
  • D - Dig
  • C - Adventure map casting
  • Escape - cancel Adventure map casting

Combat screen

  • W - Wait
  • D or Space - Defend
  • ALT - Alternate action (Harpy, Beholder, etc)
  • G - Ground Area attack / Cast (with Gogs and Liches), Fairy Dragons
  • C - Open Spell book
  • Escape or Right Click - Cancel Spell Casting
  • I - Show hero stats permanently
  • T - View Unit Info (T for Troup)
  • B - Toggle Battle Queue visibility
  • Ctrl + hover mouse unit - See unit's general movement
  • Shift + hover mouse unit - See exact unit's movement (calculate obstacles)
  • Q - Finish combat with Quick Combat (currently assigned show Battle Queue)
  • A - Auto Combat On/Off
  • R - Retreat (With Yes/No)
  • S - Surrender
  • O - Combat Options
  • Up/Down Arrow Keys - Scrolls through combat messages
  • Hold Shift + Hover Mouse on Unit - Highlight Unit movement
  • Hold Ctrl + Hover Mouse on Unit - Highlight Unit movement disregarding other units
  • Space - Selects next creature
  • S - Start combat during Tactics Phase
  • F5 – Cycle through creature pop-up types (All details / only Effects)
  • F6 – Toggle hex grid display
  • F7 – Toggle mouse shadow display
  • F8 – Toggle movement shadow display
  • F9 – Toggle hovered units movement highlight
  • F10 - Toggle hovered units full ranged damage highlight

Town Screen

  • Space - Move hero from garrison into town, and vice versa
  • Up Arrow – Previous town
  • Down Arrow – Next town
  • F10 - Switch armies from garrison into town, and vice versa
  • E - Open Hero trade window
  • B - Open build menu (town hall)
  • R - Open recruit creatures menu (fort click)
  • M - Open marketplace (B in HotA)
  • Click creature portrait in town screen - open buy creature window
  • Alt + Click creature portrait in town screen - Immediately buy all creatures of that type (available in town)
  • Click town icon (to the left of income icon) to open quick buy creatures window
  • Alt + Click town icon (to the left of income icon) to instantly buy ALL available creatures in town

View Unit Info Window

  • D - Dismiss Unit
  • U - Upgrade Unit

Town Quick buy creatures screen

  • M - select maximum available numbers of all creatures
  • Enter - buy creatures according to selection
  • Up Arrow - select maximum available number for current creature (currently SHIFT selects max for all creatures)
  • Down Arrow - to select 0 of the current creature (currently CTRL selects min for all creatures)
  • Right Arrow - select next creature
  • Left Arrow - select previous creature

Town screen / Hero info window / Hero info panel / Hero meetup screen

On Stack
  • Alt + Shift + Click - dismiss stack with confirmation window
  • Ctrl + Click - splits current stack to next empty slot, if possible
  • Ctrl + Shift + Click - splits from current stack, stacks of 1 in all free slots
  • Alt + Click - merges all units of same type into 1 stack
  • Shift + Click - progressively splits the current stack into equal stacks on available slots (empty and occupied by same unit), but not over 1 unit slots of that type. (you can do multiple clicks to divide the stack further)
  • Left Arrow key - Scroll artifact backpack left
  • Right Arrow key - Scroll artifact backpack right
On Artifact
  • Alt + Click - move the artifact from the doll to the backpack and from the backpack to the doll
  • Ctrl + Click - transfer the artifact to the other hero's doll
  • Alt + Ctrl + Click - transfer the artifact to the other hero's backpack

Town screen / Hero meetup screen

  • F10 - full army exchange between heroes
  • Alt + Ctrl + Click - transfers whole stack to other hero, filling the left most slot, or putting it over an existing stack of same type
  • Alt + Ctrl + SHIFT + Click - transfers full army except 1 unit of current selected stack

Hero meetup screen

  • Ctrl + Click on transfer artifacts button - transfer doll artifacts only
  • Shift + Click on transfer artifacts button - transfer backpack artifacts only

Spell Book

  • Left/Right Arrow keys - Turn pages
  • Up/Down Arrow keys - Move through School of Magic bookmarks
  • A – Displays adventure spells
  • C – Combat spells
  • Hold Alt + Key 1-9, -, = - Cast spell from your spell book from that slot

Hero Info Window

  • D - Dismiss Hero
  • Q - Quest Log
  • T - Unit Formation Tight
  • L - Unit Formation Loose
  • C - Open Commander (WoG)

World View Screen

  • 1 - x1 Zoom
  • 2 - x2 Zoom
  • 4 - x4 Zoom
  • P - Puzzle map
  • U - Toggle between map layers (U from Underground)

Kingdom Overview

  • H - View Heroes
  • T - View Towns

Hill Fort

  • 1-7 key - Upgrade all creatures from that creature slot

Chat

  • Tab - Start Chat Mode (Shows prompt that allows you to enter text and commands)
  • Escape - Exit Chat Mode (Discards current text in chat)
  • Enter - Sends Chat message (Exiting Chat Mode)
  • Backspace - Deletes text from chat
  • Up Arrow key - Next entry in chat history
  • Down Arrow key - Previous entry in chat history
  • / - If it is the first character in chat, a client command is expected

System Menu

  • L - Load Game
  • S - Save Game
  • R - Restart Scenario
  • Q - Quit to Desktop
  • Escape - Return to Game

In game Lobby Menu

  • S - Show Available Scenarios
  • R - Random Map Menu
  • A - Advanced Options
  • H - Show Chat (Does not toggle, better option?)
  • B - Begin Scenario/Campaign
  • L - Load Scenario

Scenario Selection

  • Up Arrow Key - Move Up in List
  • Down Arrow key - Move Down in List
  • Page Up - Move Up one Page
  • Page Down - Move Down on Page
  • Home - Move to the first Scenario in list
  • End - Move to last Scenario in list

Ideally, all hotkeys should be configurable via json.

@krs0 krs0 added the enhancement Improving beyond Heroes 3 behavior label Apr 1, 2023
@kambala-decapitator
Copy link
Collaborator

related: #1382

@krs0
Copy link
Collaborator Author

krs0 commented Apr 1, 2023

@kambala-decapitator Combine and discard that one?

@kambala-decapitator
Copy link
Collaborator

@kambala-decapitator Combine and discard that one?

I'm fine with that

@krs0
Copy link
Collaborator Author

krs0 commented Apr 1, 2023

From kambala-decapitator for debate :)
"purchase buildings" screen can also receive hotkeys, e.g. 1-7 keys to build/upgrade respective dwelling

@krs0 krs0 mentioned this issue Apr 1, 2023
@IvanSavenko
Copy link
Member

Space - move hero to selected tile (Currently M key is used)
H - open first listed hero's window (Currently Next Hero)

Not sure if we should change shortcuts that were in H3

G - Ground Area attack / Cast (with Gogs and Liches), Fairy Dragons

I think we already have that but at 'F'

Left, Right - selects left/right choice in dialogs (new level, arena, etc.)

I believe we have 1/2/3... for these. IMO might be better since works for 3+ components.

@krs0
Copy link
Collaborator Author

krs0 commented Apr 8, 2023

Regarding changes to original H3, or even HotA shortcuts... 99% of the time they should stay as they are so players do not get surprises, but!
Game evolved a lot in functionality, and some things can be corrected.
AFAIK 2 keys (99% out of 150 keys :) ) were proposed to be changed: M, and H for Next Hero.

Regarding M key for move hero... Space key fills that functionality already with revisit object. M is natural for Marketplace, on adventure map and in Town screen.
By consolidating hero move to Space, M key is freed up for Marketplace, which in turn frees B (HotA Marketplace) for morè natural Build (in Town menu).

M opens Marketplace, G opens Guild, T opens first town, H opens what...? first hero :) Alt H cycles heroes, Alt T cycles towns.
Opening first hero will be more useful once heroes can be rearanged. You will have a one Key shortcut to go to view your main.

@IvanSavenko
Copy link
Member

If we're OK with rearranging shortcuts a bit then:

  1. Market & Space behavior:
  • W -> Z - Wake Hero - merged with Sleep, making it into a toggle
  • V -> W - View World
  • V - Visit Current Object
  • Space - Move Hero
  • M - Open Market
  1. Lists scrolling:
    H - Select First Hero
    T - Select First Town
    N - Select Next (Town or Hero, context-depending)
    Enter - Open Selected

Also, I think we should minimize shortcuts with modifiers keys - Alt, Ctrl, Shift & use them only for "advanced" functionality - something that casual players are unlikely to use.

@krs0
Copy link
Collaborator Author

krs0 commented Apr 8, 2023

I like the proposals... its simple and clean! will update issue.
I would keep Space as secondary option for revisit. It is likenthat since forever and it does not disturb your proposal.

@IvanSavenko
Copy link
Member

In that case, here is how adventure map keyboard layout looks like:

(your list is nice, but hard to visualize & find unused buttons)
Shortcuts

@krs0
Copy link
Collaborator Author

krs0 commented Apr 8, 2023

Updated list with your suggestions.
What you said about Ctrl,Alt makes sense.... I would still keep them available, but will group those at some point as Advanced Sortcuts.

@Laserlicht
Copy link
Contributor

Laserlicht commented Jul 29, 2023

Maybe we can adapt some things from SOD_SP?

For example quick save/load, quick spell, auto upgrade (all units)?

@krs0
Copy link
Collaborator Author

krs0 commented Jul 29, 2023

Quickspell is a nice one.
You save some 9 spells, they appear always besides your combat screen, and you can cast them by pressing the according number key

@luk3ZPL
Copy link

luk3ZPL commented Oct 27, 2023

  • Backspace reset zoom.

@krs0
Copy link
Collaborator Author

krs0 commented Oct 27, 2023

Added ty.

@swats-the-floran
Copy link

Hero meetup screen - may i suggest closing the screen by Esc?

@IvanSavenko
Copy link
Member

That's not possible at the moment?
Makes sense. IMO any screen should be possible to close via both Enter and Escape

@swats-the-floran
Copy link

That's not possible at the moment? Makes sense. IMO any screen should be possible to close via both Enter and Escape

totally agree. i will add other screens here if i find any.

@swats-the-floran
Copy link

swats-the-floran commented Feb 15, 2024

Screens that user can't close by Esc atm:

  • View World
  • Quest Log
  • Hero Exchange
  • Battle result screen
  • University (elemental city building)
  • harrison (mines)

@Laserlicht
Copy link
Contributor

Would also great if such windows could closed by clicking outside window (better experience on touch screen).

This was referenced May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving beyond Heroes 3 behavior
Projects
Status: Partial Support
Status: No status
Development

No branches or pull requests

6 participants