Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Automated defense  (Read 1456 times)

Shades

  • Bay Watcher
    • View Profile
Automated defense
« on: June 18, 2009, 04:18:15 am »

I was playing on a frozen map when it occured to me that I could actually have running water (due to magma) and pump it into my entrance tunnel where it stayed liquid. (clearly I was low enough down for that). However I'm pretty sure if I open that tunnel to the air it would all freeze.

So here is my defence plan.

First off a line of pressure plates at the entrance which trigger a gear connected to a pump to fill a square of water. This square of water is on other plate and so produces an always on signal once any hostile triggers the entrance no matter that it'll flicker on and off as people travel over it.

This second plate will be connected to another gear/pump system or maybe just a flood gate which will fill a small room, time to allow hostiles to get a fair distance down the hall way. Once that is full a 7/7 plate will open a gate shifting all that water into the hall way.

As the hallway is ramped at both ends it will fill up to 7/7 quickly at which point a plate at just off the far end of the hall, which is covered by a roof, triggers both a delay pump/room combination and the trapdoors/bridge/whatever that covers the hallway. All the water then freezes killing the hostiles.

Once the last delay pump/room is full it triggers magma to fill the a hall below the hallway and a floodgate to drain out the water, finally this magma is allowed to drain as well and the trap is reset.

Does anyone see any major flaws in this, other than the fact I will obviously miss something and end up pumping magma into my living quarters or something. :)
Logged
Its like playing god with sentient legos. - They Got Leader
[Dwarf Fortress] plays like a dizzyingly complex hybrid of Dungeon Keeper and The Sims, if all your little people were manic-depressive alcoholics. - tv tropes
You don't use science to show that you're right, you use science to become right. - xkcd

Shima

  • Bay Watcher
  • Time to go fishing, lads.
    • View Profile
Re: Automated defense
« Reply #1 on: June 18, 2009, 04:31:44 am »

I thought water only froze if it was listed as an outside tile (Open air or with a floor overhead).

If you can make it work though, awesome.
« Last Edit: June 18, 2009, 04:34:53 am by Shima »
Logged
(giant worm leather coat)
Weight: 718238Γ
Owner: Udil Evonudil, Planter

Oh Armok, the spice.

Shades

  • Bay Watcher
    • View Profile
Re: Automated defense
« Reply #2 on: June 18, 2009, 04:39:17 am »

I thought water only froze if it was listed as an outside tile (Open air or with a floor overhead).

If that is the case I need a way to toggle that status. I'm pretty sure water with a floor overhead doesn't freeze so there must be something I can use to get that effect.
Logged
Its like playing god with sentient legos. - They Got Leader
[Dwarf Fortress] plays like a dizzyingly complex hybrid of Dungeon Keeper and The Sims, if all your little people were manic-depressive alcoholics. - tv tropes
You don't use science to show that you're right, you use science to become right. - xkcd

Scruga

  • Bay Watcher
  • Urist McDwarf cancels eat: Interupted by goat
    • View Profile
Re: Automated defense
« Reply #3 on: June 18, 2009, 04:52:38 am »

it does i'm sorry :(
Logged
New question! If I were to remove elves [INTELLIGENT] tag in the raws, would it work?
Dwarf Fortress: Where taking a creatures intelligence is an accepted way of modding.

Demonic Spoon

  • Bay Watcher
  • Peering from beyond the veil of reality
    • View Profile
Re: Automated defense
« Reply #4 on: June 18, 2009, 05:28:38 am »

Well, grates make the area under them inside and they can be linked to a pressure plate...
Logged

Shades

  • Bay Watcher
    • View Profile
Re: Automated defense
« Reply #5 on: June 18, 2009, 05:31:55 am »

Just realised I can leave it open and pump the magma below back and forth to create the the freeze / thaw system. This has the added bonus of keeping dwarfs out of the trap when stay inside is on.
Logged
Its like playing god with sentient legos. - They Got Leader
[Dwarf Fortress] plays like a dizzyingly complex hybrid of Dungeon Keeper and The Sims, if all your little people were manic-depressive alcoholics. - tv tropes
You don't use science to show that you're right, you use science to become right. - xkcd

Shima

  • Bay Watcher
  • Time to go fishing, lads.
    • View Profile
Re: Automated defense
« Reply #6 on: June 18, 2009, 05:33:01 am »

I supposed you COULD also make a trap wherein you fill the floor above with ice (More or less, an "ice casting" machine of some sort...), and then set it up so that you channel out the edge of that once it's done, with a single support holding it, and a lever hooked to that, allowing you to literally drop a wall of ice on the enemy, crushing them.  Just have to make sure there's no open space under THAT floor...

Not as awesome as freezing them solid, but close.
Logged
(giant worm leather coat)
Weight: 718238Γ
Owner: Udil Evonudil, Planter

Oh Armok, the spice.

pushy

  • Bay Watcher
  • [MEANDERER]
    • View Profile
Re: Automated defense
« Reply #7 on: June 18, 2009, 06:35:45 am »

Logged
Quote from: Tim Edwards, PC Gamer UK
There are three things I know about dwarves:
1. They've got beards. Even the women.
2. They're short. Especially the women.
3. They're Scottish.

Shades

  • Bay Watcher
    • View Profile
Re: Automated defense
« Reply #8 on: June 18, 2009, 08:58:21 am »

Seems someone has already done it :) oh well back to the drawing board. Although mine didn't need levers ;)
Logged
Its like playing god with sentient legos. - They Got Leader
[Dwarf Fortress] plays like a dizzyingly complex hybrid of Dungeon Keeper and The Sims, if all your little people were manic-depressive alcoholics. - tv tropes
You don't use science to show that you're right, you use science to become right. - xkcd

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: Automated defense
« Reply #9 on: June 18, 2009, 10:03:19 am »

 The difference, as far as I can see:
 The Drenchanator pumps out water into the air quick enough to fill an outside space before it freezes, thus freezing anything within the space.

 Your idea is to have a frozen pond with two magma cisterns underneath: One directly under the frozen lake the other just next to it. Only one cistern will be filled at a time. If you want water you pump magma underneath the lake. If you want ice you pump the magma out.

 I think the second option would result in a lot more ice and freezing. But can 3/7 water freeze into a solid block of ice?
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

Shades

  • Bay Watcher
    • View Profile
Re: Automated defense
« Reply #10 on: June 18, 2009, 10:09:11 am »

  But can 3/7 water freeze into a solid block of ice?

A 1/7 water will freeze into a solid block of ice and then thaw into a 7/7 water afterwards.
Logged
Its like playing god with sentient legos. - They Got Leader
[Dwarf Fortress] plays like a dizzyingly complex hybrid of Dungeon Keeper and The Sims, if all your little people were manic-depressive alcoholics. - tv tropes
You don't use science to show that you're right, you use science to become right. - xkcd

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: Automated defense
« Reply #11 on: June 18, 2009, 10:15:36 am »

 Then one would need to rig a way of draining a perfectly correct amount of water from the pond. Even so, this should be fun.
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

Starver

  • Bay Watcher
    • View Profile
Re: Automated defense
« Reply #12 on: June 18, 2009, 10:44:32 am »

I considered something similar[1].  But while I was experimenting (on a map with a freeze-thaw cycle and a partial aquifer) I ended up implementing a season-counter[2] instead.  At that time I wasn't able to work out how to create a freeze-thaw cycle (magma not available) outside of the seasonal variation my location naturally had.  (This would also prevent it working all year round, and my original design relied on shallow water turning into engulfing ice. Could have made it full height water for drowning fun in the summer months, of course.)

But I was sure someone had done something like it, and now I know they have.

[1] I've not generally been big on active auto-defences.  Most of the time I have some other fundemental flaws with the make-up of the fortress that doom the population. ;)

[2] The aquifer draining out into the open would create a frozen plug every time the cold months came around, stopping the draining, raising the water level and allowing a 'tick' to be registered (e.g. by a water-pressure plate).  When the warmth comes back, the plug melts, the water drains and a 'tock' could be measured.  With (quite) a bit of mechanical logic, and sticking with BCD logic to save time, I got half way to setting up a series of 21 bridges that would display the year number in something akin to 7-segment display format, more or less.  (Not Y1K compatible[3].  ;D)  Then something happened that terminated that experiment.  Can't remember what, but my forum handle was quite an apt indicator of the nature of my failures, back then. ;)

[3] But then I could have rigged up a carry-flag handler and further bridges while I was waiting for it to get that far, or just a self-destruct sequence to occur on a year of my choosing.  Maybe even a Mayan-style countdown sequence heralding it... Mwahahaha!  :D
Logged

Shakma

  • Bay Watcher
    • View Profile
Re: Automated defense
« Reply #13 on: June 18, 2009, 11:29:21 am »

To avoid having to pump out water, the default state could be a frozen pond with empty cistern below.  Enemies walk across frozen pond and then magma gets pumped to cistern below, melting ice and dropping them in the pond.  Then magma gets pumped or drained back out and they get encased.  If you want any items, just dig ramps down to get items and there should still be plenty of leftover ice to thaw and re-freeze for the next group.  This will probably reduce the number of steps to make the thing work if you want it automated. 
Logged

Lord_Shadow

  • Bay Watcher
  • [UNDEAD]
    • View Profile
Re: Automated defense
« Reply #14 on: June 18, 2009, 04:53:45 pm »

A 1/7 water will freeze into a solid block of ice and then thaw into a 7/7 water afterwards.

I must find some way to exploit this fact.
Logged
Urist McCarpenter cancels rest: QUITSCREWINGWITHMAHBUCKETSYOUSONOFABITCHES!!!
Urist Mccarpenter has gone stark raving mad!
Urist McWalrusCarpenter cancels rest: Has u seen mah bukkit?!
Pages: [1] 2