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.

Editing 40d:Macros and keymaps

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
 
Playing Dwarf Fortress means lots of typing.  Although the game has no internal macro/keymap system (except in alpha version 40d12), using an external program can save you a great deal of time when dumping, rewalling, designating, and so forth.
 
Playing Dwarf Fortress means lots of typing.  Although the game has no internal macro/keymap system (except in alpha version 40d12), using an external program can save you a great deal of time when dumping, rewalling, designating, and so forth.
  
#  Go to [[Utilities#AutoHotKey]] and download AutoHotKey.  Installation is simple and the program uses few system resources.
+
#  Go to {{L|Utilities#AutoHotKey}} and download AutoHotKey.  Installation is simple and the program uses few system resources.
 
#  Write macro scripts (file type .ahk), which may contain any number of commands.  You activate scripts by double-clicking .ahk files and deactivate them by right-clicking the AutoHotKey icon on the task bar.  Both of these can be done at any time - even right in the middle of a game.  AutoHotKey also allows for automated activation of scripts.
 
#  Write macro scripts (file type .ahk), which may contain any number of commands.  You activate scripts by double-clicking .ahk files and deactivate them by right-clicking the AutoHotKey icon on the task bar.  Both of these can be done at any time - even right in the middle of a game.  AutoHotKey also allows for automated activation of scripts.
  
Line 80: Line 80:
 
===Dumping===
 
===Dumping===
  
====[[GuiDumper.ahk]]====
+
===={{L|GuiDumper.ahk}}====
 
This script allows the user to specify a range of squares to dump.
 
This script allows the user to specify a range of squares to dump.
  
Line 826: Line 826:
 
A circular room with eight equal-sized chambers, suitable for everything from housing to workshops to a mausoleum.<br>
 
A circular room with eight equal-sized chambers, suitable for everything from housing to workshops to a mausoleum.<br>
 
[http://mkv25.net/dfma/movie-216-room-designationmacro01 See this macro in action]<br>
 
[http://mkv25.net/dfma/movie-216-room-designationmacro01 See this macro in action]<br>
[[Macros_and_Keymaps_Examples#Room-designation Macro 01|Macro text]]
+
{{L|Macros_and_Keymaps_Examples#Room-designation Macro 01|Macro text}}
  
 
====Valdemar's bedroom complex====
 
====Valdemar's bedroom complex====
Line 840: Line 840:
  
 
====Tulip's room macros====
 
====Tulip's room macros====
Based on [[Bedroom_design|the bedroom designs.]]
+
Based on {{L|Bedroom_design|the bedroom designs.}}
  
 
^g means alt+g, !g means ctrl+g, and so on.
 
^g means alt+g, !g means ctrl+g, and so on.
Line 925: Line 925:
  
 
====LordGrunt's room macro====
 
====LordGrunt's room macro====
Based on 1 of the fractal [[Bedroom_design|bedroom designs.]]
+
Based on 1 of the fractal {{L|Bedroom_design|bedroom designs.}}
  
 
[http://mkv25.net/dfma/movie-1226-fractalbedrooms Demo Movie]
 
[http://mkv25.net/dfma/movie-1226-fractalbedrooms Demo Movie]
Line 1,498: Line 1,498:
  
 
===Fancy Exploration Mining===
 
===Fancy Exploration Mining===
This script digs a connected series of mine shafts, as in [[Mineshaft Stitching]]. Start this script in the upper-left corner of the area you want to explore. Set the spacing to a value greater than 1 if you want to look for large clusters. Note that this pattern creates a very long walkway back to the start of the mineshafts. If you do not excavate routinely, consider connecting the top-level paths of areas you have already explored.
+
This script digs a connected series of mine shafts, as in {{L|Mineshaft Stitching}}. Start this script in the upper-left corner of the area you want to explore. Set the spacing to a value greater than 1 if you want to look for large clusters. Note that this pattern creates a very long walkway back to the start of the mineshafts. If you do not excavate routinely, consider connecting the top-level paths of areas you have already explored.
  
 
<pre>
 
<pre>

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: