#1882 closed enhancement (fixed)
[PATCH] Location hotkeys
Reported by: | alpha123 | Owned by: | peter |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 14 |
Component: | UI & Simulation | Keywords: | patch |
Cc: | Patch: |
Description
Allows saving a location and jumping the camera back there later.
The user presses one hotkey to save the location and another to jump back there. If they press the latter hotkey again while at the saved location, they jump back to where they were before the first jump. (Does that make sense? I feel like I'm not explaining this all that well....)
Scenario: I press Ctrl+U to save the location of my base. I go out to do a little raiding, and hit U to jump back to build a new house at my base, then hit U again to go back to my raid. Make sense now?
Unfortunately this patch requires recompiling, because there weren't functions to get the camera location exposed to JS.
Attachments (3)
Change History (7)
comment:1 by , 11 years ago
by , 11 years ago
Attachment: | location-hotkeys.3.patch added |
---|
comment:2 by , 11 years ago
I decided to move these hotkeys to F5-F8 (still Ctrl+F5-F8 to set) in order to make more room for cycling through buildings.
by , 11 years ago
Attachment: | location-hotkeys.4.patch added |
---|
Update manual to list the new hotkeys.
comment:4 by , 11 years ago
Keywords: | review removed |
---|
Currently it supports 10 locations (well, the code supports infinite locations, but there are only hotkeys set up for 10). The first 4 are assigned to UIOP (and Ctrl+UIOP to set), and the other 6 are unassigned.