Opened 11 years ago
Last modified 4 years ago
#1899 new enhancement
[PATCH] Cycle entities
Reported by: | alpha123 | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | UI – In-game | Keywords: | patch |
Cc: | Patch: |
Description (last modified by )
This patch allows quick selection of training buildings by means of keyboard shortcuts. For example, I can press J to select my first civ center, and J again with that CC selected to get my second civ center. Alt+J would select all CCs, and Shift+J adds them to the selection (Shift+Alt+J adds all CCs to the selection).
This patch has hotkeys for:
heroes: '
civcentre: J
barracks: K
fortress: Y
corral: O
market: P
stables: L
elestables: L
kennel: L
gymnasion: L
syssiton: L
armycamp: L
apadana: I
prytaneion: I
Attachments (1)
Change History (15)
by , 11 years ago
Attachment: | cycle-entities.patch added |
---|
comment:1 by , 11 years ago
Type: | defect → enhancement |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
I personally don't feel that it is at all yucky.
I thought about something generic like .special, but config entries are so cheap that allowing a little extra customization seems just fine. Not everything has to be displayed in the options GUI anyway.
I didn't include docks or temples because they are of very little importance currently and I was starting to run a little low on available keys. I could add them if you feel like they're necessary.
comment:4 by , 11 years ago
Owner: | set to |
---|
comment:5 by , 11 years ago
Milestone: | Alpha 14 → Alpha 15 |
---|
comment:6 by , 10 years ago
Milestone: | Alpha 15 → Alpha 16 |
---|
comment:7 by , 10 years ago
Milestone: | Alpha 16 → Alpha 17 |
---|
comment:8 by , 10 years ago
I think a '.special' would be easier to explain to users. I don't even know what a number of those buildings are.
comment:9 by , 10 years ago
Keywords: | review removed |
---|
specialN (N being a decimal) to account for multiple special buildings would be nice.
The hotkeys should go to the hotkey specific gui file, and there are probably other merge issues with this patch (thus removing review).
comment:10 by , 10 years ago
Milestone: | Alpha 17 → Backlog |
---|
comment:11 by , 9 years ago
Component: | Core engine → UI & Simulation |
---|---|
Owner: | removed |
comment:12 by , 8 years ago
First the user should press a button like K to enter "building-selection-mode" which would then enable those hotkeys while disabling other hotkeys (to avoid conflicts) (like the broken patches in #1492).
IMO we should have one hotkey for every building type, so players can assign a hotkey for every type easily instead of having to lookup the numbers ingame and then still failing when picking a civ which has a different button order (f.e. spartans cant build walls).
comment:13 by , 5 years ago
Component: | UI & Simulation → In-game UI |
---|
Move tickets to In-game UI
as UI & Simulation
got some sub components.
comment:14 by , 4 years ago
Description: | modified (diff) |
---|
Implemented and successfully added/working to/in autociv mod https://wildfiregames.com/forum/index.php?/topic/24649-autociv-mod-0ad-enhancer/page/3/&tab=comments#comment-380525. The code was refactored and made more performant but used this a base.
For stables through prytaneion, it seems yucky to be adding civ-specific hotkeys to the config file, I would prefer if instead they were grouped into more generic categories e.g. "hotkey.selection.building.special", whichever is most appropriate.
What about docks?