Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Okay, how to make a hallway full of repeating spike traps?  (Read 1523 times)

evanvolker

  • Bay Watcher
    • View Profile
Okay, how to make a hallway full of repeating spike traps?
« on: November 24, 2009, 03:36:17 am »

Tried on my current fortress and failed. I set up a pressure plate that ranges from 1/7 to 7/7 water, set a pump to drop water on it, and set another pump to draw water off of it in hopes that it would reset from 0/7 water to 1/7 water constantly. Creating a repeating spike trap. It didnt work and I'm not quite sure why. Any ideas? Or a more simple/working way of doing this?
Logged

dogstile

  • Bay Watcher
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #1 on: November 24, 2009, 03:48:00 am »

isn't putting a lever on repeat the way most people do this?
Logged
my champion is now holding his artifact crossbow by his upper left leg and still shooting with is just fine despite having no hands.
What? He's firing from the hip.

sephur

  • Escaped Lunatic
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #2 on: November 24, 2009, 06:00:14 am »

aside from a lot of simple questions, like, "did you set the pumps up right?" and, "are they powered?", the next thing I'm thinking... what water level does the input, or liquid source, have to be?  Would a 1/7 even pump upward, or does it need to be at 7/7?  something tells me that it won't pump out water from the floor below if there's only 1/7 there.
What were the results of your test? this might be the case if the water completely submerged the pressure plate.
Logged

Firnagzen

  • Bay Watcher
  • [CURIOUSBEAST_INSANE]
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #3 on: November 24, 2009, 07:35:48 am »

The problem is that the water changes too fast, so the pressure plate doesn't respond. They have an off hysteresis of 100 steps or the attached's off hysteresis, whichever is longer; and an on hysteresis of 0 steps or the attached's on hysteresis, whichever is longer.

So your best solution is, yes, a lever on repeat or one of the tried and true repeaters; look at the wiki under 'Repeater'.
Logged
Christ, are you dwarves or are you elves? If you think Hell has too many demons, then you kill them till the population reaches an acceptable number.

Kidiri

  • Bay Watcher
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #4 on: November 24, 2009, 11:35:41 am »

Try this.
Logged
Veni, Vidi, Pompeii.
Soylent Green is kittens!
Sometimes, when my Dorfs are exceptionally stupid again, I wonder what exactly the [INTELLIGENT]-tag does.

evanvolker

  • Bay Watcher
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #5 on: November 24, 2009, 12:26:30 pm »

I cant quite get my head around the fluid repeater on the wiki, but I'll build it exactly as it is there and see how I like it. Thanks a bunch.
Logged

Hyndis

  • Bay Watcher
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #6 on: November 24, 2009, 12:27:53 pm »

Easiest way really is just a lever. Place it in your meeting zone or dining hall, or any other heavily used place.

Nobles are actually great for this. A noble will pull the lever and will never be doing other tasks since they don't work.

Just have the [P]ull command on repeat. Suspend it when you're done squishing/stabbing things. When you need to kill more things, move to the lever and hit S again to resume carnage.

If you want redundancy you can even have two levers hooked up to alternating traps, so you will have two waves of spikes going through the hall, each controlled by a different lever. Thus even if one dwarf is AWOL the other will still be pulling the lever.
Logged

Skorpion

  • Bay Watcher
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #7 on: November 24, 2009, 01:11:30 pm »

isn't putting a lever on repeat the way most people do this?

Yes, but that's SIMPLE. Can't have that.
Logged
The *large serrated steel disk* strikes the Raven in the head, tearing apart the muscle, shattering the skull, and tearing apart the brain!
A tendon in the skull has been torn!
The Raven has been knocked unconcious!

Elves do it in trees. Humans do it in wooden structures. Dwarves? Dwarves do it underground. With magma.

Grendus

  • Bay Watcher
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #8 on: November 24, 2009, 01:22:21 pm »

Children also pull levers, which can be great. Just make sure you put the lever near a meeting hall, not in the barracks like I did. Never caused real problems, but the orcs got through once because a hauler pulling the lever got hungry and the child who went to fill in had to walk across the fort to pull it.
Logged
A quick guide to surviving your first few days in CataclysmDDA:
http://www.bay12forums.com/smf/index.php?topic=121194.msg4796325;topicseen#msg4796325

Derakon

  • Bay Watcher
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #9 on: November 24, 2009, 01:37:30 pm »

To answer an above question: pumps will not pump 1/7 fluid. They will pump 2/7 fluid, though, and when they do they grab both "stacks" (i.e. taking it from 2/7 to 0/7).
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

Reese

  • Bay Watcher
    • View Profile
Re: Okay, how to make a hallway full of repeating spike traps?
« Reply #10 on: November 25, 2009, 12:21:21 am »

spikes take about 40 steps to react to a lever pull or a pressure plate change
pressure plates take 100 steps to reset after being triggered (that's 100 after the trigger condition ends)

a step is one frame of the frames per second you are getting in DF; it takes a no skill dwarf 11 steps to move one square... 10 waiting and one to move...

easy repeater, make a pressure plate that dwarfs can trigger, set a dwarf with no agility on an 11 square patrol route with the pressure plate in the middle of it, link all spikes to the plate; every time the dwarf completes one patrol, the spikes go up and down once.

When the big siege comes, your dwarf will decide it is a good time to get a drink or go to sleep; fun ensues.
Logged
All glory to the Hypno-Toady!