You may find all the key-presses involved in ToME a long and time-consuming way to play the game. There are ways to speed up repeated commands by assigning them to a trigger key which can help. These are called macros or keymaps.

The most obvious use for these in ToME is for mage-types, especially sorcerors, who rely on their spells for just about everything. Typing mbaa*t in order to fire a Manathrust is fine if you only have to do it once or twice, but can quickly get annoying when you're doing every move. Far easier to assign that sequence of keypresses to a single trigger key which you can then press as many times as you need. (Until your SP run out of course!)

The easiest way to assign a macro is to use the macro-recorder. Start this by hitting the '$' key. You'll then receive a message telling you that the macro recorder has now started and you will need to press the '$' key a second time to stop the recorder. Preparation is all important here. It is best to be in a situation where you really NEED to cast the spell before recording the macro, so you use all the correct casting techniques and the game behaves as it would in a real (combat) situation (if the spell is to be generally cast in combat).

So assume we're going to create a macro for manathrust. We've walked into a room and there's a nasty small kobold. What do we do?

Step

Press

Description

1

$

Start macro recorder

2

*t

target monster (or player if no monster in Line of sight)

3

m

open skills menu

4

@

enter verbose mode

5

Cast a Spell

this selects the skill to use (spell-casting) - CASE SENSITIVE

6

@

enter verbose mode

7

Manathrust

casts spell from any book/spell container - CASE SENSITIVE

8

$

end macro recorder

9

y

confirm macro keystrokes (see Note below)

10

(enter trigger key)

(choose trigger key)

11

@

open macro saving/loading screen

12

2

appends macros to a file

13

(enter filename)

(choose a name for the file eg sorceror.prf)

14

(Enter)

(Hit Enter)

15

(Escape)

(Hit Esc to exit the editor)

This will search for the spell in all your books and equipment. If it is found, in either a book or a wielded item that contains a spell, then the spell is cast at the targetted monster.

This technique can be used for all the other skills as well (Use Mindcraft, Forge Ammo) etc.

Note: If you answer no, the recorder continues recording keypresses. If you know you have made a mistake, you need to answer yes and then not save the macro!

Macro/Quick start tutorial/Using the macro recorder (last edited 2004-06-27 01:26:11 by MayLith)