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.

Difference between revisions of "User:MoQ"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Fixed an issue with staircase centering.)
Line 8: Line 8:
  
 
Press F1 for basic structure, Press F2 to layout a moat (I do not trust my dwarves with channels).
 
Press F1 for basic structure, Press F2 to layout a moat (I do not trust my dwarves with channels).
 
If building multiple layers, to make sure that your staircases line up properly: Move the cursor down one time after the macro runs, then move up or down a level and hit F1 again.
 
  
 
Planned: F3 will add bedroom chambers.  
 
Planned: F3 will add bedroom chambers.  
Line 41: Line 39:
 
send {NumpadEnd}{NumpadLeft 2}{Enter}{NumpadLeft 6}{Enter}
 
send {NumpadEnd}{NumpadLeft 2}{Enter}{NumpadLeft 6}{Enter}
 
; Creates Stairs in Center
 
; Creates Stairs in Center
send {NumpadUp 16}{NumpadRight 3}
+
send {NumpadUp 15}{NumpadRight 3}
 
send i
 
send i
 
send {Enter}{Enter}
 
send {Enter}{Enter}
Line 54: Line 52:
 
; creates the moat
 
; creates the moat
 
send dd
 
send dd
send {NumpadUp 17}
+
send {NumpadUp 18}
  
 
send {NumpadHome 4}{Enter}{NumpadRight 8}{NumpadDown 4}{Enter}
 
send {NumpadHome 4}{Enter}{NumpadRight 8}{NumpadDown 4}{Enter}
Line 118: Line 116:
  
 
; Resets to Center
 
; Resets to Center
send {NumpadRight 5}{NumpadDown 16}
+
send {NumpadRight 5}{NumpadDown 17}
 
Exit
 
Exit
 
</pre>
 
</pre>

Revision as of 23:47, 19 June 2008

MoQ's Macros

This uses AutoHotKey, a free keyboard scripting library. To use, copy+paste the code below into a notepad or .txt file, then rename the extension on the filenamehere.txt file to filenamehere.ahk

RoarCircle

As inspired by Necronopticous's Roarsilver [1]. Will be improved in the future...

Press F1 for basic structure, Press F2 to layout a moat (I do not trust my dwarves with channels).

Planned: F3 will add bedroom chambers.

#Persistent
F1::
; Creates main block
send dd{Enter}{NumpadHome 9}{Enter}{Enter}
send {NumpadLeft 4}{Enter}{Enter}{NumpadRight 26}{NumpadDown 18}{Enter}
; Creates Right-side bits
send {NumpadPgUp}{Enter}{NumpadUp 16}{Enter}
send {NumpadDown}{NumpadPgDn}{Enter}{NumpadDown 12}{Enter}
send {NumpadUp 2}{NumpadPgUp}{Enter}{NumpadUp 6}{Enter}
; Creates Top-side bits
send {NumpadHome 4}{NumpadUp 3}{Enter}{NumpadUp}{NumpadLeft 24}{Enter}
send {NumpadPgUp}{Enter}{NumpadRight 22}{Enter}
send {NumpadHome}{NumpadLeft}{Enter}{NumpadLeft 18}{Enter}
send {NumpadPgUp}{Enter}{NumpadRight 16}{Enter}
send {NumpadHome}{NumpadLeft}{Enter}{NumpadLeft 12}{Enter}
send {NumpadPgUp}{NumpadRight 2}{Enter}{NumpadRight 6}{Enter}
; Creates Left-side bits
send {NumpadEnd 8}{NumpadLeft 9}{Enter}{Numpaddown 16}{Enter}
send {NumpadHome}{NumpadUp}{Enter}{NumpadUp 12}{Enter}
send {NumpadDown 2}{NumpadEnd}{Enter}{NumpadDown 6}{Enter}
; Creates Bottom-side bits
send {NumpadPgDn 4}{NumpadDown 3}{Enter}{Numpaddown}{NumpadRight 24}{Enter}
send {NumpadEnd}{Enter}{NumpadLeft 22}{Enter}
send {NumpadPgDn}{NumpadRight}{Enter}{NumpadRight 18}{Enter}
send {NumpadEnd}{Enter}{NumpadLeft 16}{Enter}
send {NumpadPgDn}{NumpadRight}{Enter}{NumpadRight 12}{Enter}
send {NumpadEnd}{NumpadLeft 2}{Enter}{NumpadLeft 6}{Enter}
; Creates Stairs in Center
send {NumpadUp 15}{NumpadRight 3}
send i
send {Enter}{Enter}
send {NumpadPgUp}{Enter}{Enter}
send {NumpadHome}{Enter}{Enter}
send {NumpadEnd}{Enter}{Enter}
; Resets to center, for going up and down levels
send {NumpadRight}
Exit

F2::
; creates the moat
send dd
send {NumpadUp 18}

send {NumpadHome 4}{Enter}{NumpadRight 8}{NumpadDown 4}{Enter}
send {NumpadPgDn}{Enter}{NumpadUp 4}{NumpadRight 2}{Enter}
send {NumpadPgDn}{Enter}{NumpadDown 4}{NumpadRight}{Enter}
send {NumpadPgDn}{Enter}{NumpadUp 4}{Enter}
send {NumpadPgDn}{Enter}{NumpadDown 4}{NumpadRight}{Enter}
send {NumpadPgDn}{Enter}{NumpadUp 4}{Enter}
send {NumpadPgDn}{Enter}{Enter}
send {NumpadDown}{Enter}{NumpadPgDn}{Enter}
send {NumpadRight}{Enter}{Enter}

send {NumpadPgDn}{Enter}{NumpadLeft 3}{Enter}
send {NumpadDown}{Enter}{NumpadDown}{NumpadRight 4}{Enter}
send {NumpadPgDn}{Enter}{NumpadLeft 4}{Enter}
send {NumpadPgDn}{Enter}{NumpadRight 4}{NumpadDown}{Enter}
send {NumpadPgDn}{Enter}{NumpadLeft 4}{NumpadDown 2}{Enter}
send {NumpadPgDn}{Enter}{NumpadRight 4}{NumpadDown 8}{Enter}
send {NumpadEnd}{Enter}{NumpadLeft 4}{NumpadDown 2}{Enter}
send {NumpadEnd}{Enter}{NumpadRight 4}{NumpadDown}{Enter}
send {NumpadEnd}{Enter}{NumpadLeft 4}{Enter}
send {NumpadEnd}{Enter}{NumpadRight 4}{NumpadDown}{Enter}
send {NumpadEnd}{Enter}{NumpadLeft 4}{Enter}
send {NumpadPgDn}{Enter}{NumpadPgDn}{Enter}
send {NumpadPgUp}{Enter}{Enter}
send {NumpadEnd}{NumpadEnd}{Enter}{Enter}

send {NumpadEnd}{Enter}{NumpadUp 4}{Enter}
send {NumpadEnd}{Enter}{NumpadDown 4}{NumpadLeft}{Enter}
send {NumpadEnd}{Enter}{NumpadUp 4}{Enter}
send {NumpadEnd}{Enter}{NumpadDown 4}{NumpadLeft}{Enter}
send {NumpadEnd}{Enter}{NumpadUp 4}{NumpadLeft 2}{Enter}
send {NumpadEnd}{Enter}{NumpadDown 4}{NumpadLeft 8}{Enter}
send {NumpadHome}{Enter}{NumpadUp 4}{NumpadLeft 2}{Enter}
send {NumpadHome}{Enter}{NumpadDown 4}{NumpadLeft}{Enter}
send {NumpadHome}{Enter}{NumpadUp 4}{Enter}
send {NumpadHome}{Enter}{NumpadDown 4}{NumpadLeft}{Enter}
send {NumpadHome}{Enter}{NumpadUp 4}{Enter}
send {NumpadEnd}{Enter}{NumpadEnd}{Enter}
send {NumpadPgDn}{Enter}{Enter}
send {NumpadHome}{NumpadHome}{Enter}{Enter}

send {NumpadHome}{Enter}{NumpadRight 4}{Enter}
send {NumpadHome}{Enter}{NumpadLeft 4}{NumpadUp}{Enter}
send {NumpadHome}{Enter}{NumpadRight 4}{Enter}
send {NumpadHome}{Enter}{NumpadLeft 4}{NumpadUp}{Enter}
send {NumpadHome}{Enter}{NumpadRight 4}{NumpadUp 2}{Enter}
send {NumpadHome}{Enter}{NumpadLeft 4}{NumpadUp 8}{Enter}
send {NumpadPgUp}{Enter}{NumpadRight 4}{NumpadUp 2}{Enter}
send {NumpadPgUp}{Enter}{NumpadLeft 4}{NumpadUp}{Enter}
send {NumpadPgUp}{Enter}{NumpadRight 4}{Enter}
send {NumpadPgUp}{Enter}{NumpadLeft 4}{NumpadUp}{Enter}
send {NumpadPgUp}{Enter}{NumpadRight 4}{Enter}
send {NumpadHome}{Enter}{NumpadHome}{Enter}
send {NumpadEnd}{Enter}{Enter}
send {NumpadPgUp}{NumpadPgUp}{Enter}{Enter}

send {NumpadPgUp}{Enter}{NumpadDown 4}{Enter}
send {NumpadPgUp}{Enter}{NumpadUp 4}{NumpadRight}{Enter}
send {NumpadPgUp}{Enter}{NumpadDown 4}{Enter}
send {NumpadPgUp}{Enter}{NumpadUp 4}{NumpadRight}{Enter}
send {NumpadPgUp}{Enter}{NumpadDown 4}{NumpadRight 2}{Enter}

; Resets to Center
send {NumpadRight 5}{NumpadDown 17}
Exit