Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Water pressure through z levels  (Read 548 times)

Aeloi

  • Bay Watcher
    • View Profile
    • http://www.myspace.com/aeloi
Water pressure through z levels
« on: November 03, 2007, 05:06:00 pm »

Here is what I did:

First, I dug a channel then created a figure 8 pattern of walls above and surrounding it.  I went one z level up and designated the right pit as a pond.  When my dwarves filled it, the pit to the left should have had a 7/7 water level same as the pit on the right, but it didn't.  To test further, on the next z-level up, I built another wall around the first pond and another ramp and designated *that* as a pond.  When my dwarves filled it, the pit to the left on the z level below this instantly filled to 7/7.  Technically, it should have started overflowing onto the ground.  It seems basically that water pressure through z-levels is off by one z-level.
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Water pressure through z levels
« Reply #1 on: November 03, 2007, 08:49:00 pm »

Water pressure being off by one is a limitation of the current system.  It would need to know how balance a 3 and 4 for example, without doing extra calculations.  Right now it uses one map bit to store if a given situation is static.  I can add more map bits to simulate pressure with more precision, but I'm reluctant to waste memory for it.
Logged
The Toad, a Natural Resource:  Preserve yours today!