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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 28: Line 28:
  
 
===Rewall Macro===
 
===Rewall Macro===
This is a macro to aid with rewalling. To use, copy-paste the script into a new .ahk file and run the script with [[AutoHotkey]]. Then, in Dwarf Fortress, press b-C-w, move the cursor to where you want to start the wall, and hold Ctrl-Shift-Arrowkey, using the direction you want to rewall in. To build floors, press b-C-f instead, and use Ctrl-Alt-Arrowkey. To stop, just release the keys.
+
This is a macro to aid with rewalling. To use, copy-paste the script into a new .ahk file and run the script with [http://www.autohotkey.com AutoHotKey]. Then, in Dwarf Fortress, press b-C-w, move the cursor to where you want to start the wall, and hold Ctrl-Shift-Arrowkey, using the direction you want to rewall in. To build floors, press b-C-f instead, and use Ctrl-Alt-Arrowkey. To stop, just release the keys.
  
 
The script will use the first material in the list. I suggest you create a stockpile near the construction site that only accepts the item you wish to build with and temporarily forbid any nearby materials you don't want to build with.
 
The script will use the first material in the list. I suggest you create a stockpile near the construction site that only accepts the item you wish to build with and temporarily forbid any nearby materials you don't want to build with.
  
 
[[User:Valdemar/Rewall Macro|View/Download Code]]
 
[[User:Valdemar/Rewall Macro|View/Download Code]]

Revision as of 05:58, 27 April 2008

Valdemar's Macros

These macros all use AutoHotKey, a free keyboard scripting library.


Fractal Bedroom Macro

This macro will create a fractal-ish bedroom complex. You can press Alt-B to create a bedroom block, or Alt-C to create a full complex with 4 bedroom blocks and a dining block in the center.

Note - the macro is much faster than the demo movie shows, it is done in under a minute.

Demo Movie

Download

Bedroom Builder and Furnisher Macro

Extract the .zip and run bedroom.ahk. If you don't have AutoHotKey installed, get it at http://www.autohotkey.com or just run bedroom.exe. Usage instructions are in the readme file.

Download

Demo Video - Part 1 Part 2

More Ini Examples


Rewall Macro

This is a macro to aid with rewalling. To use, copy-paste the script into a new .ahk file and run the script with AutoHotKey. Then, in Dwarf Fortress, press b-C-w, move the cursor to where you want to start the wall, and hold Ctrl-Shift-Arrowkey, using the direction you want to rewall in. To build floors, press b-C-f instead, and use Ctrl-Alt-Arrowkey. To stop, just release the keys.

The script will use the first material in the list. I suggest you create a stockpile near the construction site that only accepts the item you wish to build with and temporarily forbid any nearby materials you don't want to build with.

View/Download Code