Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old August 7, 2015, 09:14   #1
Shany
Rookie
 
Shany's Avatar
 
Join Date: Aug 2015
Location: Kiev, Ukraine
Age: 24
Posts: 18
Shany is on a distinguished road
Can I reassign walk/run keys?

I want to use hjklyubn keys for run, and HJKLYUBN for walk (roguelike keyset). How can I do it?
Shany is offline   Reply With Quote
Old August 8, 2015, 06:39   #2
Shany
Rookie
 
Shany's Avatar
 
Join Date: Aug 2015
Location: Kiev, Ukraine
Age: 24
Posts: 18
Shany is on a distinguished road
50 views, and no answers... I think, I was right, it's impossible. Ok, let's change the question. Can you please help me to find run/walk keys processing in source code? Or should I ask it in Development subforum?
Shany is offline   Reply With Quote
Old August 8, 2015, 06:53   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 52
Posts: 7,023
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by Shany View Post
50 views, and no answers... I think, I was right, it's impossible. Ok, let's change the question. Can you please help me to find run/walk keys processing in source code? Or should I ask it in Development subforum?
Some of us old people need time to think...

The roguelike movement keys are defined in lib/customize/pref.prf, down near the bottom. Editing that directly, or making a copy and putting it in your user directory should both work. You could probably also make keymaps from the options menu, but in this case I think directly changing the .prf file is probably easier.
__________________
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 August 8, 2015, 08:37   #4
Shany
Rookie
 
Shany's Avatar
 
Join Date: Aug 2015
Location: Kiev, Ukraine
Age: 24
Posts: 18
Shany is on a distinguished road
Thank you. And sorry for impatience.

I already edited some keymaps in user pref file created by "save keymaps" options menu item, so I added these there. Earlier didn't understand I can use ";"/"," commands with directions from original keyset.

It's a big relief not to hold down Shift constantly. ) By the way, the idea came to me when I realized I can open doors, disarm traps, attack monsters by "run" keys in angband, not receive this dumb "you can't run this direction" message instead like in some other roguelikes I played. So I want to thank developers also, for this good idea.
Shany is offline   Reply With Quote
Old August 8, 2015, 20:57   #5
MattB
Veteran
 
Join Date: Mar 2013
Location: Berkshire, UK
Posts: 1,094
MattB is on a distinguished road
Quote:
Originally Posted by Nick View Post
Some of us old people need time to think...
...and some of the 50 of us that viewed your post...simply didn't have a clue!
MattB 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
Bug: walk in place Raggy Development 4 June 22, 2011 22:12
Keys that don't work Timo Pietilš Vanilla 6 June 15, 2011 13:33
Man on the run....well High Elf on the run. Fendell Orcbane AAR 10 May 1, 2010 08:50
Z+Angband keymaps (w/function keys?) PaulBlay Variants 3 January 30, 2009 04:13
Number and arrow keys Nick Vanilla 3 December 6, 2008 21:58


All times are GMT +1. The time now is 00:28.


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