I've been playing DF for about a week now, and I realized that my defense was... well... shoddy.
I came up with a plan when I saw the "Arena" idea for traps, where you can capture up enemies and have them sit, or fight, in an arena until they die. I believe, if I'm not mistaken, the way one does that was to cage trap most of the enemies. However, I had another idea I'd like to inquire about, and possibly get some help with.
The Idea was fairly simple, and rested on a variation of the fluid repeater. what I would do is, at the entrance of my village (the only entrance, mind you), the village being completely underground, there would be two straight corridors, each channeled out with bridges on top to allow passage. That is, dwarves would naturally just walk over the bridges during peace times.
Below the bridges, from the channeled area, I would make, essentially, a labyrinth of passageways, allowing any captured enemies to starve, fight, or otherwise rot themselves to death down there. the staircases to get in and out would be effectively isolated and impossible to reach after the completion of the plan, which means there should be no escape.
The last part, the harder part, that I can't seem to get just right, is as follows. The bridges, aforementioned A and B were to alternate in retraction. That is, during war-times, a repeater would be used to make sure that at any given time, at least one was retracted and one was down. This way, the attackers would believe there's a constant path into the fortress and bypass any unnecessary building destruction. However, the repeater will, inevitably, switch to the other option, dropping the enemies on the first bridge into the labyrinth, and giving the remainder of foes the false illusion that there was still a way to get inside. This would continue until all assailants are in the dungeon, and I could turn on the repeater and allow my dwarves to go outside once more.
The pressure plates are what's killing me. The current setup I have, which is the best I've done yet, looks like this:
the drop-out bridges:
##################
A-----------------------A
##################
B-----------------------B
##################
# = solid Wall
A = bridge A
B = bridge B
and the repeater:
###########
-> GGGG PA GGGG#
-> GGGG PB GGGG#
###########
-> = flow of water
# = solid wall
G = retractable bridges that lead to a channel where the water is let out in a chasm, yes, a chasm. There should never be an overflow of water. I substituted the channel from under the bridges in place of a floodgate.
PA = Pressure plate linked to bridge A and the G rectractable bridges. The water level is set to 4/7 through 7/7
PB = Pressure plate linked to bridge B and nothing else. The water level is set to 0/7 through 2/7,
although I tried up to 3/7 on PB, it appeared nothing truly happened, but now, with2/7 is almost always retracted.
Is there any way to make this a little smoother? or should I even be concerned about what the enemy pathing thinks? All I really want is a trap that's never-ending and doesn't have to be reloaded.
(it was fairly late when I wrote this, if you don't understand anything, please ask)