Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Vanilla (http://angband.oook.cz/forum/forumdisplay.php?f=3)
-   -   Can I reassign walk/run keys? (http://angband.oook.cz/forum/showthread.php?t=7427)

Shany August 7, 2015 09:14

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 August 8, 2015 06:39

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?

Nick August 8, 2015 06:53

Quote:

Originally Posted by Shany (Post 103550)
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.

Shany August 8, 2015 08:37

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.

MattB August 8, 2015 20:57

Quote:

Originally Posted by Nick (Post 103551)
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! :confused:


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

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