Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 17, 2008, 08: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, 08: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, 09:34   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,525
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, 09:41   #4
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
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, 09:56   #5
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,525
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, 10:23   #6
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, 16:29   #7
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
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, 18:23   #8
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
Old April 17, 2008, 20:59   #9
roustk
Adept
 
Join Date: Dec 2007
Posts: 167
roustk is on a distinguished road
Quote:
Originally Posted by Big Al View Post
I could see combining 'z', 'a', 'u' and maybe 'A'...
I would argue against that, because I'm one of those people who use inscriptions (and I often have more than 10 numbered rod/staff/wand/artifacts). For example, my current warrior has a rod of detection @z0, staff of <magic mapping> @u0, and artifact of identify @A0. I also will inscribe scrolls of magic mapping @r0 and potions of enlightenment @q0, when I have them. (I use codes 1-8 for attacks, but 0 and 9 are for informative things.)

As I reflect on this, I realize that I mis-coded my artifact -- at the start of this game I planned to use 9 for identify and 0 for detection. Maybe I'll change it.

Kevin
roustk is offline   Reply With Quote
Old April 17, 2008, 21:07   #10
Remuz
Apprentice
 
Join Date: Apr 2007
Posts: 77
Remuz is on a distinguished road
Quote:
When you say "so fast", and you mean "a major release two years after the last one", ...
Really? Where have I been all that time? I wonder. I honestly had not realized.

The issue with inscriptions can be easily solved by leaving the old commands. That way you can continue using the old 'u'se, 'a'im, etc, if you decide to do so. I am not sure this would be a good thing in the long run, but this would be a way to please everyone.
Remuz 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 19:51
Macros/keymaps question Jude Variants 7 November 18, 2007 21:45


All times are GMT +1. The time now is 12:22.


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