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 User:Gnidan

Jump to navigation Jump to search

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


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:
 
== Minecart Routing ==
 
== Minecart Routing ==
 
[[File:Minecart-routing.gif]]
 
  
 
===Overview===
 
===Overview===
  
 
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.
 
I've come up with a scheme for getting minecarts to travel from a source to destination automatically using shared track. The scheme ultimately keeps careful control of individual sections of shared track so that only one minecart can be on a single piece of shared track at a given time. Through carefully timed access, a signaling scheme, and stateful record-keeping of how far each minecart is along its way to its destination, I have been able to create a fully automated minecart router.
 
'''Ref:''' [http://www.bay12forums.com/smf/index.php?topic=155397.0 ''Original forum thread'']
 
  
 
===Shared Track===
 
===Shared Track===
Line 32: Line 28:
  
 
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)
 
The track circuit here is set up to make each arriving minecart wait until the track is empty (and possibly wait until the other side has released and cleared the track, should both carts start waiting at the same time.)
 
====Design====
 
 
The track circuit is designed to use signals for input/output. Internally, the circuit comprises 5 "Newton's Cradle" bits. The pressure plates for these bits are linked to internal gear assemblies, which function as logic gates to emit signals as output. Three of the bits get set one way from an input signal, and unset via internal mechanisms. Two of the bits are entirely controlled internally and used for timing.
 
 
To clarify the design of the track circuit, there are four logic conditions that can cause the circuit to change/emit signals:
 
 
; The track is not in use and the left entrance is "waiting"
 
: Sets ''waiting<sub>left</sub>'' to false, sets ''releasing<sub>left</sub>'' to true, sets ''track in use'', and signals ''release<sub>left</sub>''
 
; The track is not in use and the right entrance is "waiting" and the left entrance is not
 
: Sets ''waiting<sub>right</left>'' to false, sets ''releasing<sub>right</left>'' to true, sets ''track in use'', and signals ''release<sub>right</sub>''
 
;The ''releasing<sub>left</sub>'' bit is finished being set
 
: Unset ''releasing<sub>left</sub>'' and signal ''clear<sub>left</sub>''
 
; The ''releasing<sub>right</sub>'' bit is finished being set
 
: Unset ''releasing<sub>right</sub>'' and signal ''clear<sub>right</sub>''
 
 
  
 
====Track====
 
====Track====
Line 68: Line 48:
 
   O            O
 
   O            O
 
   ╤☼O╟^╢O O╟^╢O☼╤
 
   ╤☼O╟^╢O O╟^╢O☼╤
   ^[#8B4513]│ ☼[#8B4513]─☼  ☼[#8B4513]─☼ [#8B4513]│^
+
   ^[#8B4513]│ ☼ ^[#8B4513]─☼  ☼ ^[#8B4513]─☼ [#8B4513]│^
   ╨☼O [#8B4513]│   [#8B4513]│  O☼╨
+
   ╨☼O   ^[#8B4513]│     ^[#8B4513]│  O☼╨
 
   O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O
 
   O[#8B4513]│╤[#8B4513]─[#8B4513]─[#0FF]☼[#8B4513]─[#FFF]☼[#8B4513]─[#FF0]☼[#8B4513]─[#8B4513]─╤[#8B4513]│O
 
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│
 
   [#8B4513]│[#0FF]^    [#8B4513]│    [#FF0]^[#8B4513]│
Line 81: Line 61:
 
- Right-hand side [#F0F]☼ should be disengaged.
 
- Right-hand side [#F0F]☼ should be disengaged.
 
}}
 
}}
 
This diagram shows the linkages from the 5 bits to the internal gear assemblies that use them as logic gates. The pressure plates with a given color should be linked to the gear assembly/assemblies with matching color. Note that a temporary lever will have to be hooked up to the right-most purple bit, and pulled, so that the gear assembly starts disengaged.
 
 
These linkages should be done before the minecarts are placed.
 
  
 
====Minecarts====
 
====Minecarts====

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: