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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with '== AHK Scripts == ===Dwarf Fortress General Script=== This script contains hotkeys that automate some repetitive tasks, such as selecting trade goods and designating 100 z-level…')
 
Line 3: Line 3:
 
===Dwarf Fortress General Script===
 
===Dwarf Fortress General Script===
 
This script contains hotkeys that automate some repetitive tasks, such as selecting trade goods and designating 100 z-levels of up/down stairs. If any problem or key conflicts are encountered, please leave me a message on the talk page.
 
This script contains hotkeys that automate some repetitive tasks, such as selecting trade goods and designating 100 z-levels of up/down stairs. If any problem or key conflicts are encountered, please leave me a message on the talk page.
 
+
<pre>; AutoHotkey Version: 1.x
<nowiki>; AutoHotkey Version: 1.x
 
 
; Language:      English
 
; Language:      English
 
; Platform:      WinXP
 
; Platform:      WinXP
Line 34: Line 33:
  
 
^i::Send {ENTER}3{ENTER}7{SHIFTDOWN}.{SHIFTUP}
 
^i::Send {ENTER}3{ENTER}7{SHIFTDOWN}.{SHIFTUP}
Return</nowiki>
+
Return</pre>

Revision as of 23:15, 22 April 2010

AHK Scripts

Dwarf Fortress General Script

This script contains hotkeys that automate some repetitive tasks, such as selecting trade goods and designating 100 z-levels of up/down stairs. If any problem or key conflicts are encountered, please leave me a message on the talk page.

; AutoHotkey Version: 1.x
; Language:       English
; Platform:       WinXP
; Author:         D. D. Roberts <robertsdavidddr@gmail.com>
;
; Script Function:
;	This script is a collection of hotkeys that make playing Dwarf Fortress (fortress mode) much, much faster.
;
; Help:
;	ctrl <, >	.	.	.	- Move up or down ten levels. Very handy for the nice new 150 z-level forts.
;	ctrl enter	.	.	.	- Enter select, 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 i	.	.	.	.	- Dig mode, up/down staircase selected, position mouse cursor in upper left corner. Press to designate a 2x2 up/down staircase and advance one level deeper.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

^+.::Send {> 10}
Return
^+,::Send {< 10}
Return

^Enter::Send {ENTER}{DOWN}
Return

^NumpadAdd::Send {ENTER}{NumpadAdd}
Return

^i::Send {ENTER}3{ENTER}7{SHIFTDOWN}.{SHIFTUP}
Return