Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Two new repeater designs (and an automated archery range)  (Read 1928 times)

zuglar

  • Bay Watcher
    • View Profile
Two new repeater designs (and an automated archery range)
« on: July 31, 2012, 01:18:56 pm »

Hi all,

I've been playing around with repeaters a lot lately, and have hit on a couple of very useful things that I thought I'd pass on. I'm using it to build a fully automated version of Eli Dupree's crossbow range so I can train up marksdwarves quickly. Here's the visible part:
Code: [Select]
Key:
# wall
. floor
  open space
+ door

#########################
# . ++       +       ....
#########################

Goblin gets pitted onto the pillar at the left; dorfs stationed on the right. The special sauce is those two doors by the goblin: they're repeater-powered, with repeaters that work the doors fast enough to provoke and then block flying crossbow bolts (the door in the middle is used to shut down the range, since the repeaters take work  to get going again after you stop them). Naturally, it's fiendishly complex, and I won't guarantee it can be built fast enough to beat dwarves sitting in front of archery targets, but it's much more fun. The only drawback: no goblins are harmed in the making or operating of this semi-megaproject. Of course, that can be arranged in other ways, such as using these repeaters to power a trap alley (next on my TODO list).

Now to get under the hood.

The first problem is getting a repeater with a reasonably short period and a sane duty cycle: the best one I know of, the two step alternating repeater courtesy of MrFake, has a 200-tick period, but with a 199:1 ON/OFF duty cycle in the best case.

Fortunately, I've worked out a couple of ways to give the two-step repeater a 100:100 duty cycle:

Spoiler (click to show/hide)

With a good repeater in hand, the next task to figure out how to send multiple sets of ON/OFF signals to a door -- at different times -- to give it
an effective period much shorter than 200 ticks.

Spoiler (click to show/hide)

Finally, we need to set up a good pattern and then synchronize the repeaters to deliver it:

Spoiler (click to show/hide)

And there you have it! I'm only starting to buildi the archery range, but the pieces work so it should just be engineering to work out power train and build orders. I also plan to adapt it to raise and lower spikes in my trap alley: they're slower and don't have nearly the tight tolerance, so it should be even easier to set up.

Thoughts?
Logged

Hyndis

  • Bay Watcher
    • View Profile
Re: Two new repeater designs (and an automated archery range)
« Reply #1 on: July 31, 2012, 02:04:04 pm »

A practical result of a crossbow range that blocks the bolts from actually hitting the target is making infinite metal.

Melting down 25 individual bolts gives you more metal than it took to make a single stack of 25 bolts.
Logged

Dharma

  • Bay Watcher
    • View Profile
Re: Two new repeater designs (and an automated archery range)
« Reply #2 on: August 14, 2012, 02:49:25 pm »

I've been playing around with repeaters a lot lately, and have hit on a couple of very useful things that I thought I'd pass on. I'm using it to build a fully automated version of Eli Dupree's crossbow range so I can train up marksdwarves quickly.
I decided to build automated crossbow range for myself and intended to use your design, but get fascinated by minecarts and tried to employ them in this project.

One (dis?)advantage of design I'v come up with, is that it consists of only one door two pressure plates two rollers and minecart. Exact shape of the repeater still needs some refining, but even prototype opens door in 17 open 66 closed infinite cycle with oscillation of one, so it's ok. (Basically same thing you have done just with added flexibility of minecarts)

And here comes the problem - lag. Flapping door induces lag, and even walling it off completely doesn't reduce it. It was completely unexpected, and I don't know what can be done... Any insight on problem will be greatly appreciated. (It was definitely door - when it was deconstructed lag stopped)
« Last Edit: August 14, 2012, 02:51:53 pm by Dharma »
Logged