Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: 40d# Macro Fun  (Read 776 times)

The_Fool76

  • Bay Watcher
    • View Profile
40d# Macro Fun
« on: September 10, 2009, 02:17:53 pm »

As some of you probably know, the latest versions of the 40d# series of DF have macro capabilities. 
I thought it might be interesting to share and discuss some of the macros folks have created.

A few notes before I start in on my current working set of Dwarf Mode Macros.

Macros are stored in the interface.txt file at the end.  I tend to edit that file directly rather than building macro's in the game for two reasons.  One is that the in game system for creating macro's is currently functional but that's about it.  It is a lot faster and easier to just open up the text file and edit there.  The other reason is that you can actually name the macro's in the text file.

Large or complex macro's can take forever to run at the default delay between commands (Set by the [MACRO_MS:150] option in the init.txt.)  I personally run with the delay set to 10 instead of the default 150.

With that out of the way, here are my macros.

Survey
Alt + 1
Marks out a one z level 48x48 grid (or one embark tile) of whatever your current designate selection is for exploratory mining.
Go to the upper left corner of the area you want to survey, select the appropriate designation,(Usually up/down stairs) and let'er rip. 
Spoiler (click to show/hide)

Hall
Alt + 2
Dig designates an empty hall square on one z level.
Just go into the designate menu and move the cursor to where you want the upper left corner.
Spoiler (click to show/hide)

Hall Block
Alt + 3
Dig designates an empty hall block that is 3 z levels high with connecting stairs.
This is the basic module I use when laying out my forts.
As with the above one, you pick the upper left corner with the designate cursor.
Spoiler (click to show/hide)

Craft Block
Alt + 4
Dig designates a crafting area with six 3x3 rooms for crafting and an 11x11 storage area above and below those rooms.
Move the designate cursor to the top left corner of the top level of a Hall Block and this will fill in the rooms inside the block.
Spoiler (click to show/hide)

Slum Block
Alt + 5
Like the Craft Block except that it fills the whole area with 36 3x1 rooms.
Spoiler (click to show/hide)

Housing Block
Alt + 6
Like the Craft Block except that it fills the whole area with 24 2x3 rooms.
Spoiler (click to show/hide)

Noble Block
Alt + 7
Like the Craft Block except that it fills the whole area with 12 5x5 rooms.
Spoiler (click to show/hide)

Entrance Block
Alt + 8
This block is a little special.  It is intended to be on the top z level of the fort and has space for the Depot, a barracks below that, and some storage space at the boottom for trade goods.
I tend to avoid the trap-hall style entrances because I've found that with vanilla DF channeling invaders through the barracks leads to more Fun.
Spoiler (click to show/hide)
Logged
Tis far better to be a witty fool than a foolish wit.

Danarca

  • Bay Watcher
  • [MILL_CHILD:ONLY_IF_GOOD_REASON]
    • View Profile
Re: 40d# Macro Fun
« Reply #1 on: September 10, 2009, 09:30:15 pm »

Unfourtantly the d12 and above versions have trouble recognizing danish qwerty keyboards, so I'm still on d11, but it looks good :)
Really hope a future d# version supports the danish ones >.>
Probably affects all the scandinavian ones >.>
Logged
Clutter god the god of godly gods.
Om Nom nom nom nom
Ah yes the god of stone stockpiles, long randomly generated names, and gods.

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Re: 40d# Macro Fun
« Reply #2 on: September 10, 2009, 10:09:50 pm »

On the other side of the fence, here is my fledgling topic about adventurer macros.  Particularly abusing the ability to leverage stats by training throwing/ambushing/swimming.  Special thanks again to TC for straightening it out.
Logged
EMPATHY - being able to feel other peoples' stuff.

Nabobalis

  • Bay Watcher
    • View Profile
Re: 40d# Macro Fun
« Reply #3 on: September 12, 2009, 01:55:54 pm »

Nothing happens, the marco light appears and the screen moves around but nothing is designated tho.  :-[
Logged

snooptodd

  • Bay Watcher
    • View Profile
Re: 40d# Macro Fun
« Reply #4 on: September 14, 2009, 03:20:54 pm »

you probably need to be in the designate menu "d" when the macro is started.

what macro are you having problems with?
Logged