Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old May 12, 2022, 16:34   #1
Sky
Veteran
 
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,074
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
smbhax
Adept
 
Join Date: Oct 2021
Location: WA
Posts: 228
smbhax is on a distinguished road
According to the documentation, you can also use [race].prf. : )

https://angband.readthedocs.io/en/la...hey-get-loaded
__________________
My roguelike gameplay videos
smbhax is offline   Reply With Quote
Old May 14, 2022, 03:58   #3
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,681
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
Scout
 
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
Old June 13, 2022, 21:41   #5
Sky
Veteran
 
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,074
Sky is on a distinguished road
Quote:
Originally Posted by m0stlym0nk View Post
Is any of this in the in-game manual?
"lol"
of course not.
__________________
"i can take this dracolich"
Sky is offline   Reply With Quote
Old June 14, 2022, 01:06   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,369
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by m0stlym0nk View Post
Is any of this in the in-game manual?
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.
Nick is offline   Reply With Quote
Old June 20, 2022, 18:33   #7
Sky
Veteran
 
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,074
Sky is on a distinguished road
Quote:
Originally Posted by Nick View Post
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.
does this: Inscribing an item with ‘=g’:
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"
Sky is offline   Reply With Quote
Old June 21, 2022, 06:22   #8
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 296
backwardsEric is on a distinguished road
Quote:
Originally Posted by Sky View Post
does this: Inscribing an item with ‘=g’:
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.
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.
backwardsEric 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
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 06:08.


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