Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old July 11, 2021, 22:04   #1
Julian
Apprentice
 
Join Date: Apr 2021
Posts: 89
Julian is on a distinguished road
Whatever happened to macros?

Back in the day, I used to be able to have a macro to target the nearest beastie, which I could use either from the command prompt, or from the targeting prompt when casting a spell. There were other things I found useful, but that was the big one.

Why were macros removed?
Julian is offline   Reply With Quote
Old July 12, 2021, 01:58   #2
Sky
Veteran
 
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,064
Sky is on a distinguished road
AFAIK keybinds fully replace macros.

bind: F1 -> paa'
casts magic missile at the nearest mob

'h' shoots arrows at the nearest monster

if you inscribe rods you can make a keybind to zap those to the nearest monster, but i dont know how to do that.

the ' command is the "nearest enemy" command.
__________________
"i can take this dracolich"
Sky is offline   Reply With Quote
Old July 12, 2021, 02:19   #3
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,124
Donated: $10
will_asher is on a distinguished road
I recently discovered the tab button is a built in macro to fire default ammo at the nearest monster. (I wish it would target the currently targetted monster instead of the nearest monster.)
__________________
Will_Asher
aka LibraryAdventurer

My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)
will_asher is offline   Reply With Quote
Old July 12, 2021, 02:36   #4
archolewa
Swordsman
 
Join Date: Feb 2019
Location: Midwest
Age: 33
Posts: 384
archolewa is on a distinguished road
Also, in the Roguelike keyset (not sure what it is in the normal keyset) Ctrl+V repeats your last command. Very handy when bombarding Gothmog with arrows of demon slaying.
archolewa is offline   Reply With Quote
Old July 12, 2021, 03:46   #5
Julian
Apprentice
 
Join Date: Apr 2021
Posts: 89
Julian is on a distinguished road
Quote:
Originally Posted by Sky View Post
AFAIK keybinds fully replace macros. .
They do not; they are only used when the game is waiting at the command prompt. Macros just inserted a set of keystrokes into the input stream, and so were useful for targeting mid-command, among other things.


Quote:
'h' shoots arrows at the nearest monster
It moves you east; I don't know what you're talking about. :-p

Quote:
if you inscribe rods you can make a keybind to zap those to the nearest monster, but i dont know how to do that.
Make a keymap that maps to 'a1*t' if you want to zap the closest, and don't have 'use old target by default' set. (Or, I suppose, '*ta1')

If you do have 'use old target'€™ set, I find it more useful to have a separate keymap to target the closest beastie, and keymaps that'€™ll just cast your attack spells. If you don't have a target set, it'€™ll give you the prompt, and that'€™s where I want my target command to be a macro. As it is, I have to type '*t'€™, like some sort of primitive caveman.

Last edited by Julian; July 12, 2021 at 03:57.
Julian is offline   Reply With Quote
Old July 12, 2021, 11:18   #6
ewert
Knight
 
Join Date: Jul 2009
Posts: 599
ewert is on a distinguished road
Inscribing @[cmd][number], for those who did not know, will let you use that number to pick that item for that command.

Some of my standards for example include @r0!d!r for my ?WoR, which means when I (r)ead a scroll I can press 0, and it will verify the action, or if I try to drop them.

So for example keybind of ^D = z1 will use my Detection rod if that is inscribed with @z1 ...
ewert is offline   Reply With Quote
Old July 12, 2021, 15:28   #7
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,595
Donated: $40
Pete Mack is on a distinguished road
^D = @z1 for rod activation on ctrl-D. Or @a1 for theroguelike keymap.
Pete Mack is offline   Reply With Quote
Old August 1, 2021, 06:24   #8
rizarefaldi
Rookie
 
Join Date: Jul 2021
Posts: 1
rizarefaldi is on a distinguished road
Quote:
Originally Posted by Julian View Post
They do not; they are only used when the game is waiting at the command prompt. Macros just inserted a set of keystrokes into the input stream, and so were useful for targeting mid-command, among other things cara install windows 10




It moves you east; I don't know what you're talking about. :-p



Make a keymap that maps to 'a1*t' if you want to zap the closest, and don't have 'use old target by default' set. (Or, I suppose, '*ta1')

If you do have 'use old target'€™ set, I find it more useful to have a separate keymap to target the closest beastie, and keymaps that'€™ll just cast your attack spells. If you don't have a target set, it'€™ll give you the prompt, and that'€™s where I want my target command to be a macro. As it is, I have to type '*t'€™, like some sort of primitive caveman.
They don't? I thought keybinds fully replace macros
rizarefaldi 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
Not sure how this death happened sffp Vanilla 26 June 13, 2021 13:41
I died - but What the f* happened? Cfant Vanilla 9 June 2, 2015 10:56
What happened yesterday at 06.05? MattB Oook! 1 July 18, 2013 23:10
What happened to artifacts? Ingwe Ingweron Vanilla 54 April 9, 2013 07:00
What happened to Angband? Nightmarjoo Vanilla 17 June 18, 2011 09:04


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


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