Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: make floodgates detect water levels and act accourdingly  (Read 1130 times)

blizzerd

  • Bay Watcher
    • View Profile
make floodgates detect water levels and act accourdingly
« on: January 24, 2012, 04:09:15 pm »

there is no real difference between doors with a lever and a floodgate with a lever

suggestion: make a floodgate have the same options a pressure pad has concerning liquids, but applied on the tiles orthogonally next to the floodgate (option disabled if a wall water or lava that touches it, from the north, south, east or west... each side can be set separately, triggers it...) or you can decide not to let anything trigger it (and attach it to a lever or a pressure pad somewhere else

Code: [Select]
.
. N .
W X E
. S .

x floodgate
N,E,S,W tiles where the fluid dept testing goes on

new possibilities:

Code: [Select]
S=x=B

= pathway
x floodgate
S source
B drinking basin

from the north, no action
from the south, no action
from the west the floodgate opens at water level 7
from the east the floodgate opens at water level 0


the floodgate now regulates the filling of the basin,
if the basin is totally empty, the floodgate opens no matter what
if the source is drained too much by other water demanding systems (and falls under 7 water level) the floodgate is closed to let the source replenish

« Last Edit: January 25, 2012, 06:12:11 am by blizzerd »
Logged

aepurniet

  • Bay Watcher
    • View Profile
Re: make floodgates detect water levels and act accourdingly
« Reply #1 on: January 24, 2012, 10:34:02 pm »

try using pressure plates. they have this option and link them to your floodgate. but be careful!
Logged

blizzerd

  • Bay Watcher
    • View Profile
Re: make floodgates detect water levels and act accourdingly
« Reply #2 on: January 25, 2012, 06:03:57 am »

try using pressure plates. they have this option and link them to your floodgate. but be careful!

i know this, but it seems rather redundant that floodgates (the name implies liquids, or things that move like liquids, like hordes of goblins)

1: are in no way different then doors when it comes to liquids, or when it comes to "once a switch is attached" there literally is no difference other then the image used

2: are less convenient while still being placed and not being rigged to a lever or other switch yet (traps people because of not budging)

in other words, other for immersion they shouldn't be in the game...
and they can be so much more then just doors that does not open when a dwarf wants to walk trough them
Logged

aepurniet

  • Bay Watcher
    • View Profile
Re: make floodgates detect water levels and act accourdingly
« Reply #3 on: January 25, 2012, 07:05:18 am »

they have some other subtle differences. doors open immediately and floodgates dont (they have a 100 tick delay after being pulled by a lever). a floodgate is just a gate (or door) for liquids. i agree with you that they are identical in almost every way, but floodgates in real life are just gates. they dont have water pressure sensing technology inside.
Logged

10ebbor10

  • Bay Watcher
  • DON'T PANIC
    • View Profile
Re: make floodgates detect water levels and act accourdingly
« Reply #4 on: January 25, 2012, 09:37:40 am »

Quite off-topic but still related: It would be fun if floodgates could be half-open(3/7) open or closed: allowing water passage whenever it reaches a certain level

Also floodgates don't need walls to lean against when building, unlike doors.
Logged

blizzerd

  • Bay Watcher
    • View Profile
Re: make floodgates detect water levels and act accourdingly
« Reply #5 on: January 25, 2012, 11:29:12 am »

but floodgates in real life are just gates. they dont have water pressure sensing technology inside.

this isnt real life, this is a game, and content should have a purpose...  i agree they dont have these mechanisms in real life, but it would add to the game and make the content usefull
Logged

ArPharazon

  • Bay Watcher
    • View Profile
Re: make floodgates detect water levels and act accourdingly
« Reply #6 on: January 25, 2012, 02:35:17 pm »

So why do doors stop fluid passage, anyway? Can't they just let fluids pass through, perhaps at a low rate until enough accumulates to force the door open?
Logged

coolio678

  • Bay Watcher
  • whooshing winds and all that jazz
    • View Profile
Re: make floodgates detect water levels and act accourdingly
« Reply #7 on: January 25, 2012, 03:01:28 pm »

So why do doors stop fluid passage, anyway? Can't they just let fluids pass through, perhaps at a low rate until enough accumulates to force the door open?
someone suggested something similar. I think it was that 4/7 or above water (or something) depth would cause a regular door to be forced open.
Logged
Dwarves passing by get good thoughts from the mist of water and exploding felines.
Anyone of the equivalent to the royal bloodline in a nomadic group would have a sun tattooed on their hand, or a scrotum on their forehead (it's a little-known fact that fraternities are based off of long-forgotten tribes).

aepurniet

  • Bay Watcher
    • View Profile
Re: make floodgates detect water levels and act accourdingly
« Reply #8 on: January 26, 2012, 02:38:47 am »

i also really like the idea of having a half height (or configurable) floodgate.  when water reaches 5 or above it would let the remainder through. this could be useful for controlling pressure, and make baths easier to make.
Logged