- 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.
40d:Fortress defense
This page needs improving: Images and screenshots should clearly depict the subject. Small diagrams can be constructed with <diagram> or {{RT}}, for easy editing, and to save on space. When uploading images, give them a name that is descriptive and unlikely to be duplicated. Names like "1", "screenshot", and "untitled" should be avoided. Read more on the Community portal. |
There are two important things to consider when designing defenses for your fortress. First, you must protect the fortress itself. Second, protecting your dwarves is also often a priority. These two goals can often be rather divergent, as without careful planning your dwarves may wander the open countryside to collect herbs, cut trees, hunt, fish, or otherwise just enjoy nature, and while outside your fortress are vulnerable.
Entrance design and traps
You can help your soldiers a great deal by sensible entrance design and use of traps and siege engines. Simple approaches include clustering stone fall traps or cage traps in your entrance. More care is needed when placing ballistas or catapults as they can hurt your dwarves too. Below are some example designs of more elaborate possibilities.
Fortification based entrance designs
Keep in mind that the entrance to defensive chokepoints should be outside. If you try to set up your defense somewhat underground, ordering your dwarves to stay inside has the result that your carefully designed 'kill zone' will be chock full of your own dwarves at the critical moment.
This particular design works well with plenty of archers, siege engines, and other ranged weaponry.
- ╬ - fortification
- - pit (filled with spikes, water, magma, whatever you prefer)
- + - Floor
- 1 - Bridge 1 (over pit)
- 2 - Bridge 2 (over pit)
- 3 - Bridge 3 (over pit)
- ═ - Wall
- @ - Your ranged stuff here
Template:Qd Template:Qd Template:Qd Template:Qd Template:Qd The 3 tile wide lane is for traders, so if you have your trade depot before this, cut it down to a 1 tile lane to slow down invaders more. Retract bridge 1 to force invaders to take the long way, for maximum exposure to your ranged units. Bridges 2 and 3 can be put down to allow more enemies into this pit entrance, then retracted again to trap them again.
The "Inverse Battlement" design
|'|'|'|'|'|║|+|+|+|║|'|'|'|'|' |═|═|═|═|═|║|+|+|+|║|═|═|═|═|═ |.|.|.|.|.|╬|@|+|+|║|.|g|.|T|. |.|.|.|.|.|╬|@|+|+|║|.|.|.|.|g |.|.|.|.|.|╬|@|+|+|║|.|.|g|.|. |.|.|.|.|.|╬|@|+|+|║|H|.|.|g|g |.|.|.|.|.|╬|@|+|+|║|.|g|.|.|. |═|═|═|═|═|║|+|+|+|║|═|═|═|═|═ |'|'|'|'|'|║|+|+|+|║|'|'|'|'|'
Note that in this diagram, the fortress interior is to the West, and the enemy forces come from the East. Furthermore, it is somewhat stylized - the dwarves on the bridge with the fortifications are one level above the goblins and trolls and such. One by one, they fall as soon as they pass this "bridge" (which is one level above), as the marksdwarves wait in ambush. For extra safety, hollow this tunnel out to the mountain, upwards into the sky (so it counts as "surface" and Dwarfs can "stay inside"). The bridge part can then be made out of construction, as soldiers can be ordered to go outside anyway.
If you're feeling especially nasty, make the tunnel really long into the mountain and build a ballista behind some fortifications. In my current version of the fortress, the goblins have to cross a long series of drawbridges to even get inside the mountain, so the ballista dwarf gets a lot of shots, and I can launch any escaping troops into the air.
Flooded entrance
Using a chamber as your entrance alongside a chamber full of water and some machinery you can flood or drain the entrance at will.
The basic premise requires two levers, two screw pumps and two gear assemblies. The amount of power required and the number of additional components needed to get the power to the screw pumps varies depending on distance/setup. One pump is placed to draw from chamber 1 and dump into chamber 2. The other is set in reverse. A gear assembly is placed next to each pump and connected to the main power system. Each gear is linked to a lever. Now at the flip of a switch you can submerge your entrance with water or magma for easy, secure defense against creatures that aren't amphibious or magma-dwelling, depending.
The picture above shows the design in action. The green pump is currently on while the red has been disconnected through the grey marked axle. The yellow X is just to mark that there is a channel under the axle.
Siege weapons
One effective way to have seige weapons defend your fortress is:
- + - floor
- ═ - wall
- ▼ - ramp
- \ - channel
- ╬ - fortification
|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|╦|═|═|═ |E|n|t|r|a|n|c|e|+|+|+|+|+|+|+|+|+|+|+|+|▼|\|\|\|\|\|║|▐|▀|▀| |E|n|t|r|a|n|c|e|+|+|+|+|+|+|+|+|+|+|+|+|▼|\|\|\|\|\|╬|◄|═|« |E|n|t|r|a|n|c|e|+|+|+|+|+|+|+|+|+|+|+|+|▼|\|\|\|\|\|║|▐|▄|▄| |═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|╩|═|═|═|═|═
Using this design you can cripple an army using a well timed volley. The hallway can be much longer than shown if you wish, as ballistae have extended ranges. The channeled area should perhaps be larger than shown, as civilians (siege operators are "civilians") will run when enemies get within about 15 tiles of them, regardless of the actual path to that threat.
3 (or more!) ballistae can be put into a "battery" if overlapped - one per tile-width of the hallway, with each ballista aiming down their row of tiles.
|╦|═|═|═| |═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|╦|═|═|╦|═|═|║|▐|▀|▀| |E|n|t|r|a|n|c|e|+|+|+|+|+|+|+|+|+|+|+|+|▼|\|\|\|\|\|║| ║|▐|▀|▀|◄|═|« (~ammo~) |E|n|t|r|a|n|c|e|+|+|+|+|+|+|+|+|+|+|+|+|▼|\|\|\|\|\|╬|▐|▀|▀|◄|═|«|▐|▄|▄| |E|n|t|r|a|n|c|e|+|+|+|+|+|+|+|+|+|+|+|+|▼|\|\|\|\|\|║|◄|═|«|▐|▄|▄| (~ammo~) |═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|═|╩|▐|▄|▄| (~ammo~) |═|═|═|═|═|═|═|═|═|
Be sure to use fortifications to prevent dwarfs from wandering in front of the ballista to their deaths. If desired (and you have the mandwarfpower to spare), catapults may be put behind those, as they shoot safely over workers in front of them. Altho' less effective than ballistae, it's a little more firepower - and that can't be a bad thing.
Tar Baby
Enemies will hunt down and kill friendly tame animals wandering outside if they have nothing better to do. Put a puppy on a chain in some random spot outside, build a few columns around it to reduce the chance of them shooting it, and trap that area to hell and back.
Defending your dwarves
The best way to prevent dwarves outside from being ambushed and slaughtered by hostile creatures is to keep them from going outside. Unfortunately, there are valuable commodities like wood which are hard to acquire inside.
The next best thing is to provide defenses which protect your dwarves while outside. On the truly labor intensive end, you can fully enclose areas of wilderness you wish to utilize in walls or behind moats with the only access being from within your base. While faster, the moat is less effective because it can be seen over, and unless the area beyond the moat also has no access to any entrance to the fortress (and no dwarves) you will still be vulnerable to archers. Hostile creatures, even 'invisible' ones like ambushers, start at map edges and travel across the map - they will only spawn in regions where they can path to a dwarf. By controlling which areas have access to paths to dwarves, you can force all hostile forces to appear in predictable and limited areas. Basically, creating artificially constrained outdoors areas for dwarves to work in is like keeping your dwarves inside - you're only vulnerable while establishing the defense system, afterward its part of the fortress for most purposes.
Another options for outside defenses is scattered traps. Most hostile forces will flee if they take enough casualties, and stone-fall traps can be quite damaging to goblins and are easy to set up. Cage traps work even on Bronze Colossi and Dragons. You just have to make sure your dwarves working outside actually stay near your traps - a fisherdwarf who goes wandering screens away from the nearest trap is not protected.
War dogs can also be assigned to dwarves who go outside frequently. Then when the dwarf encounters danger, the war dog runs at the danger while the dwarf runs away from it. Unfortunately, war dogs can't be reassigned once they are assigned. To get around this, have the dwarf you want to be guarded train the dog. (Dogs follow the one who trained them until they are assigned.)
Finally, a sufficiently large military could be used as a reactive force to rescue ambushed dwarves. The disadvantages are many - soldiers must physically move to the conflict zone which may be many screens away from the nearest entrance to your fortress, by which point dwarven lives may have already been lost. And while squad organization may make ordering a large army easier, a squad commander who is sleeping, eating, or drinking prevents his entire squad from responding. At best, an army should be considered supplemental for defending dwarves outside your fortress.
Armed civilians
Sometime you will embark in an area devoid of (huntable) wildlife. In that case, you can turn on the hunting skill for all civilians and use the military menu to arm (and more importantly, armor and shield) them. Normally turning on hunting will cause dwarves to wander outside looking for wildlife, and turning it on on all your dwarves would delay your economy greatly. But without wildlife, no hunting jobs are generated.
Human trader: "Please, do not kill us, just take our goods and let us go!
Mayor: "Kill you? We've just come to trade with your caravan."
Human trader: "Why is it, then, that you have us surrounded by 200 soldiers the moment we arrive?"
Mayor: "They're not soldiers. They're civilians."
Human trader: "Civilians, eh? Civilians clad in full steel and armed to the teeth. You expect me to believe that? Come on you sadist, just get it over with and kill us now."
Mayor: "We're... Hunters."
Human trader: "Hunters. Right. You know as well as I do that nothing bigger than a fluffy wambler lives in these lands.
Mayor: "Yes. That is... very convenient!"
Armed Civilians (Gobbo Season Open!
It can be a fairly decent idea to keep mass numbers of cheaply-made crossbows and bolts on hand and all expendable dwarves in one mass military squad set to use crossbows (and leather armor, if you have enough). What dabbling marksdwarves lack in speed and accuracy, they more than make up for with incredible enthusiasm, as a hailstorm of pathetically-aimed bolts will tear over anything stupid enough to move. Not really as useful as properly-emplaced marksdwarves with high skill, but a good emergency measure, especially if you keep your craftsdwarves busy churning out cheap ammo.
See also
- Defense guide for a complete guide