Go Back   Angband Forums > Angband > Vanilla

Thread Tools Display Modes
Old May 12, 2022, 16:34   #1
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,067
Sky is on a distinguished road
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"
Sky is offline   Reply With Quote
Old May 13, 2022, 18:51   #2
Join Date: Oct 2021
Location: WA
Posts: 211
smbhax is on a distinguished road
According to the documentation, you can also use [race].prf. : )
My roguelike gameplay videos
smbhax is offline   Reply With Quote
Old May 14, 2022, 03:58   #3
Pete Mack
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,670
Donated: $40
Pete Mack is on a distinguished road
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.
Pete Mack is offline   Reply With Quote
Old May 22, 2022, 23:37   #4
m0stlym0nk's Avatar
Join Date: Nov 2013
Posts: 25
m0stlym0nk is on a distinguished road
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.
m0stlym0nk is offline   Reply With Quote

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
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

All times are GMT +1. The time now is 18:33.

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