SFTtech / SFTtech/openage

Add useful shortcuts

Open
#929 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: ui lang: c++ nice new thing ☺ to-discuss
Dominant language
Python
Stars
14.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

We could integrate a bunch of useful shortcuts from other strategy games, e.g. Rise of Nations, into this project.

  • CTRL+SHIFT with selection box: Only select villagers.
  • CTRL with selection box: Only select military. Right now SHIFT and CTRL have the same behavior.
  • ALT with selection box: Only select non-siege/non-support units.
  • CTRL+ALT with selection box: Only select siege/support units.
  • RIGHT-CLICK+ALT on building: If selection contains siege, set all non-siege units on guard to defend the siege.
  • CTRL+RIGHT-CLICK: Perform attack move (TAB in HD)
  • CTRL+SHIFT+RIGHT-CLICK: Patrol (Q in HD)
  • LEFT-CLICK while using RIGHT-CLICK+DRAG: Iterate through formation types (requires #928 ).
  • SCROLL while using RIGHT-CLICK+DRAG: Change width of a formation (requires #928 ).

Keep adding your own ideas in the comments.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name implementation files or tests. Start by locating the input, selection-box, and formation-control entry points, then compare them with the listed shortcuts and the #928 dependency; done means the requested shortcuts work without changing existing selection behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.