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 User:DDR

Jump to navigation Jump to search

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


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 56: Line 56:
  
 
====Fortress Mode Keys:====
 
====Fortress Mode Keys:====
 +
Examples: Please see [[:File:DA Quarters.JPG|Quarters.jpg]] and [[:File:DA Level.JPG|Level.jpg]] for disambiguation.
 
<pre>; AutoHotkey Version: 1.x
 
<pre>; AutoHotkey Version: 1.x
 
; Language: English
 
; Language: English
 
; Platform: WinXP
 
; Platform: WinXP
 
; Author: D. D. Roberts <robertsdavidddr@gmail.com>
 
; Author: D. D. Roberts <robertsdavidddr@gmail.com>
; Version: MIN-1.0
+
; Version: 7
 
; License: GNU GPL
 
; License: GNU GPL
 
+
;
 
; Script Keys:
 
; Script Keys:
; These keys aim to speed up the playing of Dwarf Fortress by automating some common tasks.
+
; These keys aim to speed up the playing of Dwarf Fortress by automating some simple tasks, like laying out walls and digging quarters.
;
+
; . . . . . .
; Furnish & Room:
+
; Build: . . . .
 
;~ w + arrow key . . Position a single wall segment. Hold w and an arrow key to build that wall and advance a tile.
 
;~ w + arrow key . . Position a single wall segment. Hold w and an arrow key to build that wall and advance a tile.
 +
; . . . . . .
 +
; Designate: . . .
 +
; ctrl i . . . . Designate a 2x2 up/down staircase and advance one level deeper. Start: Upper left corner. Dig mode, up/down staircase selected.
 +
; ctrl q . . . . Dig quarters bloc. 3x3 rooms, ((8 rooms in 2x4 grid) on hallway) x4. 2x2 up/down stairway in center. Start: Upper left corner of future stairway, dig mode.
 +
; alt q . . . . Same as above, but rotated by 90 degrees cw.
 +
; alt l . . . . Dig an industry bloc. Digs 4 9x9 rooms, with 2-wide passages surrounding all four sides of the rooms. Up/down stairs are dug at passage intersections. Start: Upper right corner, dig mode.
 +
; alt ; . . . . Dig only one 9x9 room, otherwise like above.
 +
; alt d . . . . Dig a double spiral staircase down, filled style. Center cursor to start.
 +
; ctrl d . . . . Dig an industrial 9x9 room, but leave the central 3x3 square undesignated.
 +
; ctrl t . . . . Designate a 3x3 embark square, 2 z-levels, for felling.
 +
;~ f + numpad . . . Designate a fern-style quarters block for digging in the direction of the arrow key. up:89 - right:63 - down:21 - left:47
 +
; ctrl / . . . . Designate 3x spiral ramp w/ central staircase. Center mouse on stairs. Starts with upper right corner.
 +
; ctrl x . . . . Choose dig style. Position cursor at upper left corner and run to apply designation to a 10x10 square.
 +
; . . . . . .
 +
; Furnish & Room: . .
 +
; ctrl f . . . . Fill 2x4 quarters grid with furniture. Graceful failure. Start: Highlight furniture, enter, position furniture in top left room.
 +
; alt f . . . . Same as above, but rotated by 90 degrees cw.
 +
; ctrl a . . . . Make the above furniture into a room. Start: Press q to view the furniture you want to make the room from.
 +
; alt a . . . . Same as above, but rotated by 90 degrees cw.
 +
; alt c . . . . Build a row of furniture (useful for coffins). Start: Highlight furniture, enter, position furniture.
 +
; ctrl b . . . . Toggle a row (see above) of coffins for burial use. Start: q, highlight upper-leftmost coffin.
 +
; alt number pad plus . Press keys tiq+. For use selecting squads to train at a baracks.
 
;~ g + arrow key . . Position a floor grate. Press g and {direction} arrow key to build that grate and position a floor grate to the {direction} of the first grate.
 
;~ g + arrow key . . Position a floor grate. Press g and {direction} arrow key to build that grate and position a floor grate to the {direction} of the first grate.
;
+
; . . . . . .
; Misc.:
+
; List Selection: . .
; alt <, > . . . Move up or down ten levels. Very handy for 150 z-level forts. (Or, alt-shift-,, ..)
 
 
; ctrl enter . . . Enter select, and advance the cursor with the down arrow key.
 
; ctrl enter . . . Enter select, and advance the cursor with the down arrow key.
; alt enter . . . Enter select, enter confirm, and advance the cursor with the down arrow key.
 
 
; ctrl number pad plus. Enter select, and advance the cursor with the number pad plus key.
 
; ctrl number pad plus. Enter select, and advance the cursor with the number pad plus key.
; ctrl page down . . Select current barrel or bin in trade screen (traders' side), and advance to the next barrel.
+
; . . . . . .
; alt number pad plus . Press keys tiq+. For use selecting squads to train at a baracks.
+
; Misc.: . . . .
 
+
; alt <, > . . . Move up or down ten levels. Very handy for 150 z-level forts. (Or, alt-shift-,, ..)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
+
; ctrl o . . . . Designates an industrial block (alt-l) with pathing zones. Start: d, o, choose cost, cursor in upper right stairs.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
+
; alt t . . . . After pressing 's' to enter a stockpile's settings, press ctrl-t to set a finished goods stockpile to only commonly traded goods.</pre>
SetKeydelay, 20
 
 
 
#SingleInstance force
 
 
 
;WinWaitActive, Shortcut to dfvdig.exe
 
;Send, {ENTER}
 
;WinActivate, Dwarf Fortress
 
;Reload
 
 
 
#IfWinActive Dwarf Fortress
 
 
 
!+.::Send {> 10}
 
Return
 
!+,::Send {< 10}
 
Return
 
 
 
^Enter::
 
Send {ENTER}{DOWN}
 
Return
 
!Enter::
 
Send {ENTER}{ENTER}{DOWN}
 
Return
 
 
 
^PGDN::
 
Send, {ENTER}{PGDN}{UP}{UP}
 
Return
 
 
 
^NumpadAdd::
 
Send {ENTER}{NumpadAdd}
 
Return
 
 
 
!NumpadAdd::
 
Send, tiq{+}
 
Return
 
 
 
; -- Begin G Section --
 
g & Right::
 
Send, {ENTER}
 
Sleep, 300
 
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{RIGHT} ;Grate in direction. Traps g, though, so re-g code is needed.
 
Return
 
 
 
g & Left::
 
Send, {ENTER}
 
Sleep, 300
 
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{LEFT}
 
Return
 
 
 
g & Up::
 
Send, {ENTER}
 
Sleep, 300
 
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{UP}
 
Return
 
 
 
g & Down::
 
Send, {ENTER}
 
Sleep, 300
 
Send, {ENTER}{SHIFTDOWN}g{SHIFTUP}{DOWN}
 
Return
 
 
 
 
 
+g::Send, {SHIFTDOWN}g{SHIFTUP} ;Send g if g pressed; otherwise g won't work. Script traps g in above trigger.
 
Return
 
g::Send, g
 
Return
 
 
 
 
 
; -- Begin W Section --
 
w & Left::
 
Send, {ENTER}
 
Sleep, 250
 
Send, {ENTER 2}{LEFT}
 
Return
 
 
 
w & Up::
 
Send, {ENTER}
 
Sleep, 250
 
Send, {ENTER 2}{UP}
 
Return
 
 
 
w & Right::
 
Send, {ENTER}
 
Sleep, 250
 
Send, {ENTER 2}{RIGHT}
 
Return
 
 
 
w & Down::
 
Send, {ENTER}
 
Sleep, 250
 
Send, {ENTER 2}{DOWN}
 
Return
 
 
 
+w::Send, {SHIFTDOWN}w{SHIFTUP}
 
Return
 
w::Send, w
 
Return
 
</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)