Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 17, 2008, 09:43   #1
Remuz
Apprentice
 
Join Date: Apr 2007
Posts: 77
Remuz is on a distinguished road
[All] Keyboard interface and keymaps

Hi everyone,

I am sure this has been beaten to death before, but I was not around at that time, so here it goes. Feel free to point me to an old thread though.

Quote:
I've been wondering if it's worth creating a new default keymap, together with the current Roguelike and standard ones, but everybody would have different opinions on where the moved keys should go
This was said by Lebannen in another thread, and led me to think about the current keymaps. There is a lot a redundancy, and some commands apply only to a subset of items. Considering that some commands apply to distinct subsets of items, we could fuse them together.

For example :
- 'u'se a staff
- 'a'im a wand
- use 'm'agic to cast a spell from a book
- 'p'ray for priests
- 'A'ctivate an artifact
- 'r'ead a scroll
- 'q'uaff a potion
- 'z'ap a rod
- 'F'uel a lantern/torch

All those commands could be accessed from only one command, say 'u' for 'u'se an item. For people that cannot type like me, this would speed up gameplay, help new players to learn how to play, and overall improve the game. Also, it could ease the introduction of a mouse driven interface (I would love to see my equipment in a term window, and then simply click on an item to use it).

Please note that this kind of reasoning has been applied before, thanks to the existence of the '+' command, that disarms, digs, open and close door, etc.

Optionally, the 'b'rowse command could be discarded, and accessed through the 'u'se book menu, as this command is seldom used after a while.

Other simplifications in the keymap could be as follows. I am not saying all should be done, only that they are technically possible :
- 'w'ear/'t'ake off could be one command (can not be 'u'se, because there is a conflict for activable artifacts).
- '<' and '>' need not to be separate, as one only ever stands on one type of stairs at a time.
- '=', '@', '%' can be a subset of the options menu

That's it, thanks for your comments.
Remuz is offline   Reply With Quote
Old April 17, 2008, 09:53   #2
Lebannen
Apprentice
 
Join Date: Apr 2008
Posts: 61
Donated: $20
Lebannen is on a distinguished road
ZAngband combined a lot of commands, from what I remember, and also supported easy-open/easy-disarm etc via movement; the net result was that far fewer keys were required, making it much easier to create new keymaps.

The only advantage I see to having all the separate commands is that the combination with inscription support means you can hotkey more easily. But that's much more of an advanced player trait anyway...
Lebannen is offline   Reply With Quote
Old April 17, 2008, 10:34   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,463
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by Remuz View Post

For example :
- 'u'se a staff
- 'a'im a wand
- use 'm'agic to cast a spell from a book
- 'p'ray for priests
- 'A'ctivate an artifact
- 'r'ead a scroll
- 'q'uaff a potion
- 'z'ap a rod
- 'F'uel a lantern/torch

All those commands could be accessed from only one command, say 'u' for 'u'se an item.
You are pretty much describing the 'h'andle command, described on this page. I don't know whether there are any plans to put this into Vanilla; I have, by coincidence, included it in the next version of FA.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old April 17, 2008, 10:41   #4
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,950
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Nick View Post
You are pretty much describing the 'h'andle command, described on this page. I don't know whether there are any plans to put this into Vanilla; I have, by coincidence, included it in the next version of FA.
There are. Sometime. The work I did in V in cmd-obj.c with separating out the different commands and their UI entry points was to make this kind of thing easier without doing things quite as hackily (sorry!) as in the handle patch.
takkaria is offline   Reply With Quote
Old April 17, 2008, 10:49   #5
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,950
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Remuz View Post
This was said by Lebannen in another thread, and led me to think about the current keymaps. There is a lot a redundancy, and some commands apply only to a subset of items. Considering that some commands apply to distinct subsets of items, we could fuse them together.

For example :
- 'u'se a staff
- 'a'im a wand
- use 'm'agic to cast a spell from a book
- 'p'ray for priests
- 'A'ctivate an artifact
- 'r'ead a scroll
- 'q'uaff a potion
- 'z'ap a rod
- 'F'uel a lantern/torch

All those commands could be accessed from only one command, say 'u' for 'u'se an item. For people that cannot type like me, this would speed up gameplay, help new players to learn how to play, and overall improve the game. Also, it could ease the introduction of a mouse driven interface (I would love to see my equipment in a term window, and then simply click on an item to use it).
Many people have argued for and against this kind of reductionism.

Let me present a few arguments against this.

1. Imagine the situation where you're playing, think "ah, time to read that scroll of summon monster", hit 'r', and the small number of scrolls shown, your eyes find it and you hit the appropriate letter almost instantly.

2. Imagine the situation where you have a staff of summon monster in slot 'g' and a rod of acid bolt in 'h'. You want h, your finger slips and you hit g. Ouch.

This all said, I think people should be able to a) spend more time looking at the screen and b) shoot themselves in the foot, so a command like this will turn up at some point. It's not a priority, though.

[quote]
Quote:
Please note that this kind of reasoning has been applied before, thanks to the existence of the '+' command, that disarms, digs, open and close door, etc.
And what a horrible command it is too. (*coughs*. IMO, obviously)

Quote:
Optionally, the 'b'rowse command could be discarded, and accessed through the 'u'se book menu, as this command is seldom used after a while.
If you'd played anything past 3.0.6 then you would see that browsing now lets you examine individual spells for more detail on their effects. You couldn't do this if the command was merged.

Quote:
Other simplifications in the keymap could be as follows. I am not saying all should be done, only that they are technically possible :
- 'w'ear/'t'ake off could be one command (can not be 'u'se, because there is a conflict for activable artifacts).
I think these are far too easily muddled up if they're the same command. ("Oh, I appear to have accidentally taken off my sword, which is why I'm being pwned by the Great Wyrm... wield, oh, dead.")

Quote:
- '<' and '>' need not to be separate, as one only ever stands on one type of stairs at a time.
I think nothing is gained by merging these.

Quote:
- '=', '@', '%' can be a subset of the options menu
I take it you've not played anything past 3.0.6 then? They've already been done.
takkaria is offline   Reply With Quote
Old April 17, 2008, 10:51   #6
Remuz
Apprentice
 
Join Date: Apr 2007
Posts: 77
Remuz is on a distinguished road
Nice. This patch seems to address every one of my points, and more. The exception being the '>' and '<', which is very minor. I can't wait to test it in FA.

As for the '=', '@' and '%' grouped together, this is already in vanilla, I just noticed.
Remuz is offline   Reply With Quote
Old April 17, 2008, 10:56   #7
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,463
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by takkaria View Post
The work I did in V in cmd-obj.c with separating out the different commands and their UI entry points was to make this kind of thing easier without doing things quite as hackily (sorry!) as in the handle patch.
That's OK - I'm used to recoding everything I do several times, and it's nice to know that this time the algorithm will terminate.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old April 17, 2008, 11:23   #8
Remuz
Apprentice
 
Join Date: Apr 2007
Posts: 77
Remuz is on a distinguished road
Quote:
I take it you've not played anything past 3.0.6 then? They've already been done.
Yup, sorry about that. Angband development is going so fast these days, that I can hardly keep up. (ok, that's a lame excuse, I should have checked before posting)
Remuz is offline   Reply With Quote
Old April 17, 2008, 17:29   #9
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,950
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Remuz View Post
Yup, sorry about that. Angband development is going so fast these days, that I can hardly keep up. (ok, that's a lame excuse, I should have checked before posting)
When you say "so fast", and you mean "a major release two years after the last one", ...
takkaria is offline   Reply With Quote
Old April 17, 2008, 19:23   #10
Big Al
Swordsman
 
Big Al's Avatar
 
Join Date: Apr 2007
Location: Calgary
Age: 35
Posts: 327
Donated: $18.32
Big Al is on a distinguished road
I'd prefer most of the commands are not merged. I'm hardly have a lack of keyboard space to make macros (I count 16 unused commands on the a-z, A-Z keys, in addition to ^-key combos). I die of typos far too often as it is and it'll only happen so much more if I have the possibility of using a type of object that I wasn't intending. I could see combining 'z', 'a', 'u' and maybe 'A' (since they're all debatably all the same action), and combining 'm' with 'p', but don't merge them all the rest.
Big Al is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Variant(s) with the best user interface? CJNyfalt Variants 14 April 5, 2008 20:51
Macros/keymaps question Jude Variants 7 November 18, 2007 22:45


All times are GMT +1. The time now is 07:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.