Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Vanilla (http://angband.oook.cz/forum/forumdisplay.php?f=3)
-   -   Is there a way to walk to somewhere far away? (http://angband.oook.cz/forum/showthread.php?t=8722)

Talharim November 24, 2017 22:29

Is there a way to walk to somewhere far away?
 
I'm not necessarily talking about auto explore (like in other games like DCSS) but it would be a nice feature.
I'm talking about something like a path searching algorithm (A* for instance, actually, I'd wager that even a flood fill algorithm would work) that could for instance use only explored squares and that one could use to walk from spot A to B.
The map is huge and it is quite boring to have to manually control the character to walk from one place to the other.

Estie November 24, 2017 22:51

The macro is .-<dir>, where dir is the direction key for walk in that direction. On common keyboards it should be already set to shift -<dir>. Press a direction key while holding shift and see if it works.

Zikke November 24, 2017 23:14

Quote:

Originally Posted by Talharim (Post 126437)
The map is huge and it is quite boring to have to manually control the character to walk from one place to the other.

I find that running helps speed this up.

Talharim November 24, 2017 23:35

I know about running. I meant something like NetHack ‘s _ command if I’m not mistaken. You press a command then choose where you want to go.

Gwarl November 26, 2017 17:45

you can do it with mouse clicks, so you'd just need to hijack some code for targetting using the keyboard. Poschengband has this (called 'travel'), seemingly having gotten bits of it from Xangband and PsiAngband.


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

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