v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

v0.34 Talk:Macros and keymaps

From Dwarf Fortress Wiki
Revision as of 14:45, 9 August 2018 by Lethosor (talk | contribs) (Lethosor moved page v0.34 Talk:Macros and Keymaps to v0.34 Talk:Macros and keymaps: DF:Rule N)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Designating start point

Recording mining operations

Press d, move the cursor to the start point. Start recording. If you want to mine press d again and continue with the macro.


Playing macros

Press d, move the cursor to the start position, load the macro Ctrl+l. Play the macro Ctrl+p

Coordinates

Macros are locally coordinated, that means they act on the current view and start at the default position, unless you move the cursor by pressing d

Moving mouse outside window

I can confirm it... sort of. Upon moving my mouse to the Window bar, the macro I was executing stopped, although the "Play" indicator remained. I'm using the latest SDL version, if it matters.--Doktoro Reichard (talk) 03:37, 16 February 2014 (UTC)

I also have this issue on other platforms, usually when switching to another application (using SDL, of course). Maybe it's SDL-specific, although I can't check because running the Legacy version in Wine would almost certainly produce different results than running it on Windows. I haven't found this on the bug tracker, but I'll check again when I get a chance. —Lethosor (talk) 03:58, 16 February 2014 (UTC)
FWIW it isn't a bug: it's the only way to stop a macro while executing. I merely posted this as to close a verify tag that was on the page.--Doktoro Reichard (talk) 12:22, 16 February 2014 (UTC)

How do you "delete and reload" a macro?

The article says this:

Changing, removing and adding macros while the game is running uses a counter-intuitive process. After editing the file, you must delete and reload the macro. Select Options>KeyBindings>Macros. Delete the macro and reload it with Ctrl+l.

However, in my experience, you can't reload a macro once it has been deleted. Can someone clarify this, please?

It's, as it indicates, contrived and counter intuitive, although the explanation is lacking. After deleting the macro from the Keybindings menu (but without leaving the menu), I then was compelled to copy a backup of the amended file to the macro folder, which worked. I may rewrite that part in order to match what I see from my testing.--Doktoro Reichard (talk) 04:21, 11 March 2014 (UTC)