Star Trek Fan Games
http://bote2.square7.ch/forum/

Key mapping
http://bote2.square7.ch/forum/viewtopic.php?f=12&t=2576
Page 1 of 1

Author:  Iceman [ 23 Jan 2009, 18:50 ]
Post subject:  Key mapping

Unfortunately (IMO), key mapping in ST:S is tied to the CTL key, which kind of invalidates the usefulness of keyboard mapping :( Maybe this should be reviewed?
So far, this is what I've found:

CTL+RET : end turn
CTL+HOME : center on the center of the galaxy
CTL+END : center on homeworld
CTL+LMBdrag : drag map
CTL+[+] : zoom in
CTL+[-] : zoom out

BTW, the +/- keys in the keypad do not work (for zooming), not sure it's intended or not.
Also, I'm used to have the HOME key center on the homeworld, but maybe that's just me?
I understand the use of the CTL key with RET though, to prevent accidents.

I read somewhere someone asking for a way to end turn from any screen. F1 -> CTL+RET :D

Author:  mstrobel [ 24 Jan 2009, 00:54 ]
Post subject:  Re: Key mapping

.Iceman wrote:
Unfortunately (IMO), key mapping in ST:S is tied to the CTL key, which kind of invalidates the usefulness of keyboard mapping :( Maybe this should be reviewed?
The idea behind shortcut or accelerator keys is that they involve invoking some normal key in combination with a modifier key (generally CTRL, as ALT is often used for selecting alternate character forms in other languages). Binding commands to key gestures that do not include a modifier key is problematic because it interferes with normal usage of that key (e.g. typing the "+" key in a text box could cause the map to zoom in). Avoiding those problems requires scoping the use of the shortcut to certain controls, like the galaxy grid. Unfortunately, this means the key would only work when the galaxy grid has focus. I find this is generally the best way.

.Iceman wrote:
BTW, the +/- keys in the keypad do not work (for zooming), not sure it's intended or not.
Also, I'm used to have the HOME key center on the homeworld, but maybe that's just me?
I have not implemented any shortcuts using the Home/End keys. However, you they will probably invoke the default behavior for any scroll container (Home scrolls to top-left, End scrolls to bottom-right). I'm certainly open to adding shortcuts for navigating to the player's homeworld.

Author:  Iceman [ 24 Jan 2009, 11:44 ]
Post subject:  Re: Key mapping

Oh, those were not intended? Ooops. :D Anyways, I guess it's good to know they work..
Maybe you could use F7~F12 to implement additional screens like System Overview, Empire Overview, Fleet Overview, etc.

Oh, and BTW, maybe a testing ("cheat") key for removing/toggling fog of war wouldn't hurt? (Ins/Del?) Maybe even making it an option in the Options screen?

Author:  mstrobel [ 24 Jan 2009, 16:12 ]
Post subject:  Re: Key mapping

.Iceman wrote:
Oh, and BTW, maybe a testing ("cheat") key for removing/toggling fog of war wouldn't hurt? (Ins/Del?) Maybe even making it an option in the Options screen?

F12 :). It will remove fog of war until the next turn.

Author:  Matress_of_evil [ 24 Jan 2009, 19:14 ]
Post subject:  Re: Key mapping

If the home/end keys move the focus to the map corners, then perhaps the 5 key on the number pad could be used to take you to your homeworld? That or make it Ctrl+H...or both. :D

Page up and page down should take you to the opposite map corners if they don't already. I still haven't got my computer back so can't test whether they do. I've temporarily borrowed my sister's laptop though to type this hehe.

Author:  Iceman [ 26 Jan 2009, 11:25 ]
Post subject:  Re: Key mapping

mstrobel wrote:
[F12 :). It will remove fog of war until the next turn.


Hehe, thanks, I could have sworn I had tried all the F keys - along with pretty much of of the keyboard :wink:

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/