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.

DF2014 Talk:Macros and keymaps

From Dwarf Fortress Wiki
Revision as of 14:46, 9 August 2018 by Lethosor (talk | contribs) (→‎Recommending an external macro tool)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Recommending an external macro tool[edit]

i feel the built in macro system is inefficient. for example it doesnt play well with dfhacks. trying to build a construction with a specfic dfhack shortcut (like shift + g for green glass) doesnt work. the way macros are structured make editing it nigh unpossible. luckily my preferred gui macroer (windows) works just fine with it, and autokey (linux) works well too. just as long as you set a long enough delay between dfhack specific hotkeys. on my 50 FPS calculation and graphics, 80 millisecond delay works.

https://github.com/Pulover/PuloversMacroCreator

note: since df is a keyboard intensive game, you should also disable everything under 'mouse clicks' in the record button dropdown (red circle icon). you should also remap the default record action (f9), start a new record (f10), and play recording (f5) if you want to maximize speed. if not, then you can simply click the 'action bar' which pops up once youre ready to record.

it may look daunting at first but believe me this will help in the long run as this tool can be used on nearly everything windows related. it can also export as a .ahk for those who prefer autohotkey. unsigned comment by FONZACUS

Regarding DFHack, that's because the DF macro system only supports DF keys (defined in interface.txt or the "esc" menu). DFHack hotkeys use a completely different system that DF has no reason to support. Anyway, this page already mentions AutoHotKey and a few other external utilities, so feel free to add that if you want. (Also, apparently the macros and keymaps page didn't follow DF:Rule N, so I've fixed that - thanks for drawing attention to it.) —Lethosor (talk) 14:44, 9 August 2018 (UTC)