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 40d:One-way

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 "40d"). Please make sure you intend to do this.

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 1: Line 1:
{{quality|Fine|01:17, 18 August 2012 (UTC)}}{{av}}
 
 
<!--Thanks and credit to VengefulDonut for this, at least for making it better known!
 
<!--Thanks and credit to VengefulDonut for this, at least for making it better known!
 
             http://mkv25.net/dfma/movie-1422-one-waypassageexample
 
             http://mkv25.net/dfma/movie-1422-one-waypassageexample
 
-->
 
-->
  
Due to a minor bug rather than a feature, it's not only possible but quite easy to create '''one-way gates''' with [[ramp]]s - and with those, one-way halls, [[stair]]s, and any other restricted [[path]] you can create from one controlled access point to another. Note that this bug has subsequently been fixed so this idea is not feasible in more recent versions.
+
Currently{{version|0.28.181.40d}}, due to what seems to be a minor bug rather than a feature, it's not only possible but quite easy to create '''one-way gates''' with [[ramp]]s - and with those, one-way halls, [[stair]]s, and any other restricted [[path]] you can create from one controlled access point to another.
  
 
The set-up has only a few requirements:
 
The set-up has only a few requirements:
Line 13: Line 12:
  
 
Lack of the first would allow any dwarf to wander in and go where they want from the "leak".  Having only 1 gate at one end would, again, allow a counter-directional leak at the far end.  
 
Lack of the first would allow any dwarf to wander in and go where they want from the "leak".  Having only 1 gate at one end would, again, allow a counter-directional leak at the far end.  
:'' (If the route has nothing to cause dwarves to seek a [[job]] or [[path]] there, such as a long empty hallway from one area to another, that last may not be a problem since they cannot exit the far end and so have no (good) reason to ever enter. You could still send military in if you had reason to, but tantruming dwarves or other creatures could as well.  Your own tame animals could also wander as they please in such a setup, unless restricted by pet-locked [[door]]s or [[hatch]]es.)''
+
:'' (If the route has nothing to cause dwarves to seek a [[job]] or [[path]] there, such as a long empty hallway from one area to another, that last may not be a problem since they cannot exit the far end and so have no (good) reason to ever enter. You could still send military in if you had reason to, but tantruming dwarfs or other creatures could as well.  Your own tame animals could also wander as they please in such a setup, unless restricted by pet-locked [[door]]s or [[hatch]]es.)''
  
  
Basically, the trick is that when you build a ramp under a constructed floor ''(not a natural floor!)'', and then remove that floor, the game fails to recognize that as a ''down''-ramp but still sees it as an ''up''-ramp, and so only the "up" half of its path is recognized.  Since neither the game nor your dwarves can see or find a down-path, they only have one way off the upper level - ''one way.''
+
Basically, the trick is that when you build a ramp under a constructed floor ''(not a natural floor!)'', and then remove that floor, the game fails to recognize that as a ''down''-ramp but still sees it as an ''up''-ramp, and so only the "up" half of its path is recognized.  Since neither the game nor your dwarfs can see or find a down-path, they only have one way off the upper level - ''one way.''
  
  
Line 28: Line 27:
 
*1) Build a wall ({{k|b}}, {{k|C}}, {{k|w}}).  This can be 1 tile or many more than 1, but the gain in z-levels is necessary.
 
*1) Build a wall ({{k|b}}, {{k|C}}, {{k|w}}).  This can be 1 tile or many more than 1, but the gain in z-levels is necessary.
  
   side view:  ___█___<br />
+
   side view:  ___■___<br />
     top view: ...'''O'''... (single wall)<br />
+
     top view:     '''O'''   (single wall)<br />
         z+1:    +   (single wall-top)
+
         z+1:    +   (single wall-top)
  
  
Line 36: Line 35:
  
 
         <--'' traffic flow'' <--<br />
 
         <--'' traffic flow'' <--<br />
   side view:  __/█___<br />
+
   side view:  __/■___<br />
     top view: ..▲'''O'''... (up slope & single wall)<br />
+
     top view:   ▲'''O'''   (up slope & single wall)<br />
         z+1:    ▼+   (down slope & single wall-top)  
+
         z+1:    ▼+   (down slope & single wall-top)  
  
  
Line 45: Line 44:
 
         <-- ''traffic flow'' <--<br />
 
         <-- ''traffic flow'' <--<br />
 
                   _
 
                   _
   side view:  __/█___<br />
+
   side view:  __/■___<br />
     top view: ..▲'''O'''... (up slope & single wall)<br />
+
     top view:   ▲'''O'''   (up slope & single wall)<br />
         z+1:    ▼++   (down slope, single wall-top and constructed floor)  
+
         z+1:    ▼++ (down slope, single wall-top and constructed floor)  
  
  
Line 54: Line 53:
 
         <-- ''traffic flow'' <--<br />
 
         <-- ''traffic flow'' <--<br />
 
                   _
 
                   _
   side view:  __/\__<br />
+
   side view:  __/\__<br />
     top view: ..▲'''O'''▲.. (up slope, single wall, 2nd up slope)<br />
+
     top view:   ▲'''O'''▲ (up slope, single wall, 2nd up slope)<br />
         z+1:    ▼++   (down slope, single wall-top and constructed floor)  
+
         z+1:    ▼++ (down slope, single wall-top and constructed floor)  
  
  
Line 63: Line 62:
 
         <-- ''traffic flow'' <--<br />  
 
         <-- ''traffic flow'' <--<br />  
 
                   ..
 
                   ..
   side view:  __/\__<br />
+
   side view:  __/\__<br />
     top view: ..▲'''O'''▲.. (up slope, single wall, 2nd up slope)<br />
+
     top view:   ▲'''O'''▲ (up slope, single wall, 2nd up slope)<br />
         z+1:    ▼+   (down slope, single wall-top...and ''no'' down slope!)  
+
         z+1:    ▼+   (down slope, single wall-top...and ''no'' down slope!)  
  
 
''Success!''
 
''Success!''
Line 97: Line 96:
 
The video demonstrates that one-way passage breaks are considered connected (at least some of the time). This means if you are not careful building these, it could be dangerous for your processing speed. Dwarves repeatedly trying to path to an unreachable area could be a huge setback!
 
The video demonstrates that one-way passage breaks are considered connected (at least some of the time). This means if you are not careful building these, it could be dangerous for your processing speed. Dwarves repeatedly trying to path to an unreachable area could be a huge setback!
  
 +
Having used two of these in one fort (one going in each direction) and locking down one of them I did discover how Dwarf Fortress reacts:
 +
 +
Quite calmly.  A dwarf needing to travel in the opposite direction ''will'' go "against the flow" after a minute of hesitation.  There was no apparent game slowdown due to pathing lag, but it did take the dwarf a minute to figure out that he could, indeed, travel the "wrong" way.--[[User:Draco18s|Draco18s]] 20:28, 18 March 2010 (UTC)
  
 
----
 
----

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)

This page is a member of 1 hidden category: