Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: a trap to push enemies from one tile to another?  (Read 572 times)

Khris

  • Bay Watcher
    • View Profile
a trap to push enemies from one tile to another?
« on: January 10, 2011, 10:12:55 am »

Is this possible?
Making a trap which somehow pushes an enemy from a tile to the next one when he steps on a pressure plate?
Because while it sounds like a pretty obvious trap, it seems too mighty. You could just make your entrance a row of tiles along each wall with pressure plates and pushing-mechanisms in the wall and in the middle a pit, and when enemies come in, they're just pushed into the pit.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: a trap to push enemies from one tile to another?
« Reply #1 on: January 10, 2011, 10:28:49 am »

Nope. It is possible, though, to use weapon traps to trick attackers into dodging into open space, but it won't consistently force them to dodge in the same direction every time.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: a trap to push enemies from one tile to another?
« Reply #2 on: January 10, 2011, 10:46:44 am »

This can be done to a degree with water, although the physics of how water pushes objects and creatures make it a little bit tricky to set up.  It can also be done with magma, with the additional bonus of incinerating the target.

You can also place a retracting bridge on a flat surface.  When it retracts, creatures standing on it may be flung randomly up to three spaces away.  Not very reliable, but I have in the past build traps which used ledges covered with retracting bridges to fling enemies into nearby pits.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Khris

  • Bay Watcher
    • View Profile
Re: a trap to push enemies from one tile to another?
« Reply #3 on: January 10, 2011, 10:53:21 am »

So is there a lag between the pressing of a pressure plate and the reaction of a retracting bridge or a trap?
Like having an enemy step on a plate before the unretracted bridge and then having enough time to step on the bridge before it retracts so that it retracts at the right moment when he's on it?
Or when having the plate connected with a spike on tile ahead?
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: a trap to push enemies from one tile to another?
« Reply #4 on: January 10, 2011, 11:19:55 am »

So is there a lag between the pressing of a pressure plate and the reaction of a retracting bridge or a trap?
Like having an enemy step on a plate before the unretracted bridge and then having enough time to step on the bridge before it retracts so that it retracts at the right moment when he's on it?
Bridges have a 100 tick delay between triggering and opening, so if you have a pressure plate immediately followed by a retracting bridge it is possible to time things so that an enemy steps on the pressure plate, triggers it, then has time to walk onto a bridge before the bridge retracts.  Raising spikes, on the other hand, are instantaneous, so you can't easily have an enemy step on a pressure plate that then triggers a spike when he steps on the spike.  It is possible to build automated spike traps, but takes some clever mechanics.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Khris

  • Bay Watcher
    • View Profile
Re: a trap to push enemies from one tile to another?
« Reply #5 on: January 10, 2011, 12:05:05 pm »

How long is a tick?
Logged

Fancy Admiral

  • Bay Watcher
    • View Profile
Re: a trap to push enemies from one tile to another?
« Reply #6 on: January 10, 2011, 12:21:57 pm »

A tick and a step and a frame are synonymous.  So when your fortress is new and small and not cluttered, 100 ticks per second is about right.  Later on, this number drops, so you can expect it to take more time in real life.  Things from your perspective slow down.

From the perspective of dwarves, an average speed human takes 10 ticks to move 1 tile (accoring to the wiki, I'm sure someone can show how to derive this from the RAWs).  So from the time the bridge is triggered to the time it changes state, it's not bad to assume things can move at least that far.
Logged