![]() |
#1 |
Veteran
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,073
![]() |
keymaps for everyone !!
so, after playing agband non stop for uh .. how long has it been ? six years nearly, i just discovered a feature.
If you create a PRF file (which you can do simply by creating a new character and then create a keymap), and you name that file - or character - MAGE, RANGER, etc, then any new character, regardless of name, or race, or class, will use the appropriate PRF file as a default. Example; i create a Dwarf Mage and call him "MAGE". I create a keymap file for him. At any point that i create a new mage character, regardless of its name, or of it being a dwarf or not, it will automatically load the MAGE keymaps. You can override this by creating a PRF / keymap file with the character's name.
__________________
"i can take this dracolich" |
![]() |
![]() |
![]() |
#2 |
Adept
Join Date: Oct 2021
Location: WA
Posts: 222
![]() |
According to the documentation, you can also use [race].prf. : )
https://angband.readthedocs.io/en/la...hey-get-loaded
__________________
My roguelike gameplay videos |
![]() |
![]() |
![]() |
#3 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,677
Donated: $40
![]() |
You dont have to create a character-- in fact it it is better igmf you dont. Instead, set up the basic preferences for the class in a new character, and save to <class>.prf
That way none of the character-specific bindings are saved. |
![]() |
![]() |
![]() |
#4 |
Scout
Join Date: Nov 2013
Posts: 25
![]() |
Is any of this in the in-game manual?
Also, the text you see as you interact with key binding and saving could benefit from a callout on the general topic. |
![]() |
![]() |
![]() |
#5 |
Veteran
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,073
![]() |
__________________
"i can take this dracolich" |
![]() |
![]() |
![]() |
#6 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,355
Donated: $60
![]() ![]() |
The in-game help (from '?') is now really just a list of commands. The comprehensive manual is now online here, with the bit about pref file use here.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#7 | |
Veteran
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,073
![]() |
Quote:
work in 4.1.3 ? Or, rather, rephrasing the question, why does this not work in 4.1.3? i'm trying =g2 on my spellbooks but it still picks them up past the number.
__________________
"i can take this dracolich" |
|
![]() |
![]() |
![]() |
#8 |
Swordsman
Join Date: Aug 2019
Posts: 289
![]() |
The feature to include a number after =g and limit the number that'll be kept in the pack was added in 4.2.1 and isn't available in 4.1.3: there =g2 will be treated the same as =g.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keymaps help for version =+4 | joeljpa | Vanilla | 18 | June 6, 2020 04:15 |
Easier keymaps | Derakon | Development | 7 | December 18, 2016 15:50 |
problem with keymaps in 3.3.0 | biini | Vanilla | 3 | January 13, 2014 08:27 |
Keymaps can't do what I want them to... | Tobias | Vanilla | 1 | August 1, 2011 16:41 |
macros => keymaps | jens | Vanilla | 2 | May 19, 2011 02:43 |