v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing v0.34:Flow

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.34"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 58: Line 58:
 
There's one way to push a fluid higher than its starting level, but it might be considered a bug on the flow mechanics and probably will be changed in following versions since allows for what could be considered exploits.
 
There's one way to push a fluid higher than its starting level, but it might be considered a bug on the flow mechanics and probably will be changed in following versions since allows for what could be considered exploits.
  
A ''natural'' wall of any material '''[[cave-in|falling]]''' onto either water ''or'' '''[[magma]]''' will teleport each tile of displaced fluid to open space directly above it, leaving 1 additional tile of open space directly above the wall itself:
+
A ''natural'' wall of any material '''[[cave-in|falling]]''' onto both water ''or'' '''[[magma]]''' will teleport each tile of displaced fluid to open space directly above it, leaving 1 additional tile of open space directly above the wall itself:
<diagram>
 
 
  Start              Step 1            Step 2
 
  Start              Step 1            Step 2
 
  ▒ ▒ ▒              ▒ ▒ ▒              ▒ ▒ ▒
 
  ▒ ▒ ▒              ▒ ▒ ▒              ▒ ▒ ▒
 
  ▒ I ▒  Collapse  ▒  ▒    Fluid    ▒  ▒
 
  ▒ I ▒  Collapse  ▒  ▒    Fluid    ▒  ▒
  ▒ ▒ ▒ -----------> ▒ [#f00]7[#] ▒ -----------> ▒  ▒
+
  ▒ ▒ ▒ -----------> ▒ 7 ▒ -----------> ▒  ▒
  ▒  ▒  Support    ▒  ▒  Spreads    ▒[#f00]232[#]▒
+
  ▒  ▒  Support    ▒  ▒  Spreads    ▒232▒
  ▒▒[#f00]7[#]▒▒             ▒▒▒▒▒              ▒▒▒▒▒
+
  ▒▒7▒▒             ▒▒▒▒▒              ▒▒▒▒▒
 
  ▒▒▒▒▒              ▒▒▒▒▒              ▒▒▒▒▒
 
  ▒▒▒▒▒              ▒▒▒▒▒              ▒▒▒▒▒
</diagram>
 
 
When done in an u-bend example the pushing above original fluid level can be easily appreciated, although it breaks the laws of regular fluid physics:
 
When done in an u-bend example the pushing above original fluid level can be easily appreciated, although it breaks the laws of regular fluid physics:
<diagram>
 
 
   Start              Step 1              Step 2     
 
   Start              Step 1              Step 2     
 
  ▒ ▒ ▒ ▒              ▒ ▒ ▒ ▒              ▒ ▒ ▒ ▒
 
  ▒ ▒ ▒ ▒              ▒ ▒ ▒ ▒              ▒ ▒ ▒ ▒
 
  ▒ I ▒ ▒              ▒  ▒ ▒              ▒  ▒ ▒
 
  ▒ I ▒ ▒              ▒  ▒ ▒              ▒  ▒ ▒
 
  ▒ ▒ ▒ ▒              ▒  ▒ ▒              ▒  ▒ ▒
 
  ▒ ▒ ▒ ▒              ▒  ▒ ▒              ▒  ▒ ▒
  ▒ ▒ ▒ ▒              ▒ [#f00]7[#] ▒ ▒              ▒  ▒ ▒
+
  ▒ ▒ ▒ ▒              ▒ 7 ▒ ▒              ▒  ▒ ▒
  ▒  ▒ ▒  Collapse  ▒ [#f00]7[#] ▒ ▒    Fluid    ▒  ▒ ▒
+
  ▒  ▒ ▒  Collapse  ▒ 7 ▒ ▒    Fluid    ▒  ▒ ▒
  ▒  ▒ ▒ -----------> ▒  ▒ ▒ -----------> ▒[#f00]545[#]▒
+
  ▒  ▒ ▒ -----------> ▒  ▒ ▒ -----------> ▒545▒
  ▒▒[#f00]7[#]▒▒[#f00]7[#]▒   Support    ▒▒▒▒▒[#f00]7[#]▒   Spreads    ▒▒▒▒▒[#f00]7[#]▒
+
  ▒▒7▒▒7▒   Support    ▒▒▒▒▒7▒   Spreads    ▒▒▒▒▒7▒
  ▒▒[#f00]7777[#]▒             ▒▒▒[#f00]777[#]▒             ▒▒▒[#f00]777[#]▒
+
  ▒▒7777▒             ▒▒▒777▒             ▒▒▒777▒
 
  ▒▒▒▒▒▒▒              ▒▒▒▒▒▒▒              ▒▒▒▒▒▒▒
 
  ▒▒▒▒▒▒▒              ▒▒▒▒▒▒▒              ▒▒▒▒▒▒▒
</diagram>
+
This is the basic principle that the '''[[magma piston]]''' exploit, if you want to prevent a future fix or simply want to simulate regular physics fluid behaviour, you can do something like this:
This is the basic principle that the '''[[magma piston]]''' exploit, if you want to anticipate a future fix or simply want to simulate regular physics fluid behaviour, you can do something like this:
 
<diagram>
 
 
  z-level  Start                  Step 1                Step 2
 
  z-level  Start                  Step 1                Step 2
 
   z+0  ▒ ▒  ▒ ▒              ▒ ▒  ▒ ▒              ▒ ▒  ▒ ▒
 
   z+0  ▒ ▒  ▒ ▒              ▒ ▒  ▒ ▒              ▒ ▒  ▒ ▒
 
   z-1  ▒ |  ▒ ▒              ▒    ▒ ▒              ▒    ▒ ▒
 
   z-1  ▒ |  ▒ ▒              ▒    ▒ ▒              ▒    ▒ ▒
   z-2  ▒ ▒ ▒ ▒ ▒              ▒ [#f00]7 7[#] ▒ ▒              ▒    ▒ ▒
+
   z-2  ▒ ▒ ▒ ▒ ▒              ▒ 7 7 ▒ ▒              ▒    ▒ ▒
   z-3  ▒ ▒ ▒ ▒ ▒  Collapse  ▒ [#f00]7 7[#] ▒ ▒    Fluid    ▒    ▒ ▒
+
   z-3  ▒ ▒ ▒ ▒ ▒  Collapse  ▒ 7 7 ▒ ▒    Fluid    ▒    ▒ ▒
   z-4  ▒    ▒[#f00]?[#]▒ -----------> ▒    ▒[#f00]?[#]▒ -----------> ▒[#f00]55455[#]▒[#f00]?[#]
+
   z-4  ▒    ▒?▒ -----------> ▒    ▒?▒ -----------> ▒55455▒?▒
   z-5  ▒▒[#f00]777[#]▒▒[#f00]7[#]▒   Support    ▒▒▒[#f00]7[#]▒▒▒[#f00]7[#]▒   Spreads    ▒▒▒[#f00]7[#]▒▒▒[#f00]7[#]▒
+
   z-5  ▒▒777▒▒7▒   Support    ▒▒▒7▒▒▒7▒   Spreads    ▒▒▒7▒▒▒7▒
   z-6  ▒▒[#f00]777777[#]▒             ▒▒▒[#f00]7[#]▒[#f00]777[#]▒             ▒▒▒[#f00]7[#]▒[#f00]777[#]▒
+
   z-6  ▒▒777777▒             ▒▒▒7▒777▒             ▒▒▒7▒777▒
 
   z-7  ▒▒▒▒▒▒▒▒▒              ▒▒▒▒▒▒▒▒▒              ▒▒▒▒▒▒▒▒▒
 
   z-7  ▒▒▒▒▒▒▒▒▒              ▒▒▒▒▒▒▒▒▒              ▒▒▒▒▒▒▒▒▒
  
 
       z-3 Top View          z-5 Top View          z-3 Top View (Step 1) z-4 Top View (Step 2)
 
       z-3 Top View          z-5 Top View          z-3 Top View (Step 1) z-4 Top View (Step 2)
 
         ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒
 
         ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒
         ▒    ▒                ▒▒▒▒▒▒▒                ▒    ▒                ▒[#f00]44544[#]▒
+
         ▒    ▒                ▒▒▒▒▒▒▒                ▒    ▒                ▒44544▒
   Axis  ▒ ▒▒▒ ▒▒▒              ▒▒[#f00]777[#]▒▒▒▒             ▒ [#f00]777[#] ▒▒▒              ▒[#f00]45554[#]▒▒▒   Axis
+
   Axis  ▒ ▒▒▒ ▒▒▒              ▒▒777▒▒▒▒             ▒ 777 ▒▒▒              ▒45554▒▒▒   Axis
  --------▒ ▒ ▒ ▒ ▒--------------▒▒[#f00]777[#]▒▒[#f00]7[#]▒--------------▒ [#f00]7 7[#] [#f00]?[#]▒---------------▒[#f00]55455[#]▒[#f00]?[#]▒--------
+
  --------▒ ▒ ▒ ▒ ▒--------------▒▒777▒▒7▒--------------▒ 7 7 ▒?▒---------------▒55455▒?▒--------
   Cut    ▒ ▒▒▒ ▒▒▒              ▒▒[#f00]777[#]▒▒▒▒             ▒ [#f00]777[#] ▒▒▒              ▒[#f00]45554[#]▒▒▒   Cut
+
   Cut    ▒ ▒▒▒ ▒▒▒              ▒▒777▒▒▒▒             ▒ 777 ▒▒▒              ▒45554▒▒▒   Cut
         ▒    ▒                ▒▒▒▒▒▒▒                ▒    ▒                ▒[#f00]44544[#]▒
+
         ▒    ▒                ▒▒▒▒▒▒▒                ▒    ▒                ▒44544▒
 
         ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒
 
         ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒                ▒▒▒▒▒▒▒
</diagram>
 
 
This example involves dropping a giant ''(minimum size 3x3x1)'' donut/cylinder/tube of natural walls onto the fluid pool, given that it will teleport a donut/cylinder/tube of fluid in the same way ''(step 1)'' but after it spreads ''(step 2)'' it'll seem that the fluid actually went through the opening in the middle of the donut/cylinder/tube like a real fluid should behave, of course one exception it won't be pushed through the right tube like it should, you'll probably want to close the tile marked with a question mark "?" so it can give the impression of real fluid mechanics.
 
This example involves dropping a giant ''(minimum size 3x3x1)'' donut/cylinder/tube of natural walls onto the fluid pool, given that it will teleport a donut/cylinder/tube of fluid in the same way ''(step 1)'' but after it spreads ''(step 2)'' it'll seem that the fluid actually went through the opening in the middle of the donut/cylinder/tube like a real fluid should behave, of course one exception it won't be pushed through the right tube like it should, you'll probably want to close the tile marked with a question mark "?" so it can give the impression of real fluid mechanics.
  

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: