I'm a firm believer of defense in depth, even if it precludes certain types of fun. During the 1st year it looks like:
[tunnel] - [bait animal] - [1Z deep pit] - [retracting drawbridge over pit] - [tunnel] - [2nd bridge/pit] - [trade depot]
The 1Z deep pit is to prevent non-flying bridge destroyers (if there is such a thing) from beating on the closed drawbridge. The entrance tunnel is only 1Z high, so when the bridge closes, it's a solid wall. If something shows up, I force the dwarves into the burrow with a military alert and a burrow that only covers the trade depot and slam both gates shut. The entrance tunnel is 5-tiles wide and there's at least 20 tiles between the two bridges.
After the 1st year it ends up looking more like:
[tunnel entrance]
[5x5 area with the nastiest weapon traps I can make]
[first bridge door]
[5x5 area with more really nasty weapon traps, multiple weapons in each]
[3x15 to 3x30 path filled with training spears as weapon traps, combined with a 10Z pit on both sides of the path]
[3x3 section of cage traps]
[bait animals, behind fortifications]
[2nd bridge door]
[more weapon traps, moderately nasty]
[stairs down to bottom of pits]
[retracting bridge, 3x3 tiles]
[second section of 3x15 to 3x30 path filled with weapon trap training spears, middle of this section is filled with upright spears hooked to a lever in an unreachable observation room]
[3x3 section of cage traps]
[drawbridge]
Not much makes it past the first section of path with the pits on both sides. The "dodge-this" type traps are extremely effective. And if they survive the fall into the pits, when they come back up the stairs they still have to figure out how to get back across without falling again to leave the fortress.
The upright spears in the middle of the second dodge-this section are to take care of anything really nasty that seems to be "trap-avoid". I haven't tested that out yet.
I do have a short-cut to the entrance, guarded only by war animals, cage traps and a few weapon traps, it bypasses the two dodge-this sections to cut 60-80 tiles off the journey to the surface.
I keep building outwards too on the surface. Right now, before you can even get to the entrance tunnel, you have to cross a section of 3x15, with a 2Z pit on both sides that is populated with a combination of training spear weapon traps and a few of maximum damage weapon traps. I've had an ambush completely fail on that part because the leader dodged off the path, fell 2-3Z and died. My goal for the surface defense is that it will draw you in like a pitcher plant and that escape will be extremely difficult if you fall off the path at the outer edges.
Major issues at the moment are:
- dealing with trap-avoid (FBs and thieves)
- dealing with flying enemies (but the low roof inside combined with cage traps should take care of that)
Things I wish I'd add:
- Fortifications to let dwarves shoot at anyone trying to cross the "dodge-this" sections
- Magma
- Dwarven Atom Smashers
- Water flow to knock things off the dodge-this section and into the 10Z pits
- More bends at key spots to allow stationing of war animals that can spot thieves