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:Repeater

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 1: Line 1:
{{quality|Exceptional|11:18, 8 March 2011 (UTC)}}{{Computing}}
+
<!-- Comment -->{{quality|Exceptional|11:18, 8 March 2011 (UTC)}}{{Computing}}
 
{{av}}
 
{{av}}
  
In ''Dwarf Fortress''<sup>1</sup>, a '''repeater''' is a device which creates a cyclic pattern of on and off signals. The simplest repeater design is a [[dwarf]] pulling a [[lever]] on [[repeat]]. However, numerous fully-automated designs are possible which can be made to operate at varying rates and linked to other systems for precise timing. Most repeaters use [[minecart]]s, fluids, or creatures to trigger [[pressure plate]]s cyclically.
+
A '''repeater''' is a device which creates a cyclic pattern of on and off signals. The simplest repeater design is a [[dwarf]] pulling a [[lever]] on [[repeat]]. However, numerous fully-automated designs are possible which can be made to operate at varying rates and linked to other systems for precise timing. Most repeaters use [[minecart]]s, fluids, or creatures to trigger [[pressure plate]]s cyclically.
  
 
As a general warning, always have a way to turn off the repeater, and/or allow your dwarves later access for repairs or modifications.
 
As a general warning, always have a way to turn off the repeater, and/or allow your dwarves later access for repairs or modifications.
 
[1] Everywhere else, a "repeater" is a signal retransmitter, and an "oscillator" or "clock generator" is what this article describes.
 
  
 
===Lever repeater===
 
===Lever repeater===
Line 31: Line 29:
 
The traditional repeater design is probably this [[fluid logic|fluid]]-based one, described on the [http://www.bay12games.com/forum/index.php?topic=33563.msg495183#msg495183 forum] by [http://www.bay12games.com/forum/index.php?action=profile;u=16168 AncientEnemy]):
 
The traditional repeater design is probably this [[fluid logic|fluid]]-based one, described on the [http://www.bay12games.com/forum/index.php?topic=33563.msg495183#msg495183 forum] by [http://www.bay12games.com/forum/index.php?action=profile;u=16168 AncientEnemy]):
  
<diagram> [#1:1]≈≈≈≈≈[#]  - infinite source of water
+
<diagram> ≈≈≈≈≈ - infinite source of water
  ═╗[#1:1]≈[#]╔═  - wall to channel out after construction
+
  ═╗≈╔═ - wall to channel out after construction
   ╠[#7:0][@7:1]X[@#]╣  - shutoff floodgate (linked to exterior lever)
+
   ╠F╣  - shutoff floodgate (linked to exterior lever)
   ║#║   - 1-tile drawbridge (linked to pressure plate)
+
   ║#║ - 1-tile drawbridge (linked to pressure plate)
   ║[#5:1]^[#]┼  - pressure plate (set to 7-7 water), and access door  
+
   ║p┼  - pressure plate (set to 7-7 water), and access door
   ╠[#7:0][@7:1]X[@#]╣  - floodgate (linked to pressure plate)
+
   ╠F╣  - floodgate (linked to pressure plate)
 
   ╚═╝
 
   ╚═╝
 
</diagram>
 
</diagram>
Line 49: Line 47:
 
Designs based on [[creature logic]] are also possible.  The following example is compact, reliable, and fairly predictable.
 
Designs based on [[creature logic]] are also possible.  The following example is compact, reliable, and fairly predictable.
  
<diagram>
+
{{diagram|spaces=yes|\
 
   ╔═╗   
 
   ╔═╗   
═══╝[#FF0]¢[#]╚══
+
═══╝[#FF0]¢╚══
[#F00]p[#FF0]¢^¢[#00F]¢[#F0F][@00F]^[#00F][@]¢[#F00]p[#]
+
[#F00]p[#FF0]¢[#FF0]^[#FF0]¢[#00F]¢[#F0F][#00F]^[#00F]¢[#F00]p
══╗[#00F]¢[#]╔═══
+
══╗[#00F]¢╔═══
   ╚═╝
+
   ╚═╝   }}
</diagram>
 
  
 
A captured goblin placed between the two pressure plates drives this system in his attempts to reach map edge through paths {{Raw Tile|¢p|#F00|#000}}.  {{Raw Tile|^|#FF0|#000}} is linked to all {{Raw Tile|¢|#FF0|#000}}, and {{Raw Tile|^|#F0F|#00F}} is linked to all {{Raw Tile|¢|#00F|#000}}, as well as to output.  This gives the goblin a path away from his constrained tile every 100 ticks.  Delays in picking up path tend to make it run a cycle every 250 ticks. with on and off signals separated by about 120 ticks.  Its rate of repetition can be doubled by hooking both {{Raw Tile|^|#FFF|#000}} to output, although this leads to close placement of on and off signals.
 
A captured goblin placed between the two pressure plates drives this system in his attempts to reach map edge through paths {{Raw Tile|¢p|#F00|#000}}.  {{Raw Tile|^|#FF0|#000}} is linked to all {{Raw Tile|¢|#FF0|#000}}, and {{Raw Tile|^|#F0F|#00F}} is linked to all {{Raw Tile|¢|#00F|#000}}, as well as to output.  This gives the goblin a path away from his constrained tile every 100 ticks.  Delays in picking up path tend to make it run a cycle every 250 ticks. with on and off signals separated by about 120 ticks.  Its rate of repetition can be doubled by hooking both {{Raw Tile|^|#FFF|#000}} to output, although this leads to close placement of on and off signals.
Line 65: Line 62:
 
The [[Minecart#Impulse ramps|impulse ramp]] <s>bug</s> feature allows the design of completely autonomous minecart-based repeaters. Changing the length and friction of the route provides the ability to fine-tune the period of the repeater.
 
The [[Minecart#Impulse ramps|impulse ramp]] <s>bug</s> feature allows the design of completely autonomous minecart-based repeaters. Changing the length and friction of the route provides the ability to fine-tune the period of the repeater.
  
See [http://www.bay12forums.com/smf/index.php?topic=114695.0 this forum thread] for designs tuned for bridge and upright spike traps, though the images no longer exist.
+
See [http://www.bay12forums.com/smf/index.php?topic=114695.0 this forum thread] for designs tuned for bridge and upright spike traps.
  
 
See [http://www.bay12forums.com/smf/index.php?topic=126154.0 this forum thread] for a super-compact design.
 
See [http://www.bay12forums.com/smf/index.php?topic=126154.0 this forum thread] for a super-compact design.
Line 71: Line 68:
 
Minecart repeaters can be calibrated to periods usable in the construction of clocks, like 200, 300 or 400 steps. Powered repeaters of this type will require nothing but a single roller and the power to run it, one pressure plate and a bit of space for the track. Repeaters using ramps to create perpetual motion don't need the roller or power but tend to be a bit more difficult to calibrate to useful periods and need additional infrastructure to stop their operation.
 
Minecart repeaters can be calibrated to periods usable in the construction of clocks, like 200, 300 or 400 steps. Powered repeaters of this type will require nothing but a single roller and the power to run it, one pressure plate and a bit of space for the track. Repeaters using ramps to create perpetual motion don't need the roller or power but tend to be a bit more difficult to calibrate to useful periods and need additional infrastructure to stop their operation.
  
Minecart repeaters can also be synchronized with other systems. Adding additional pressure plates to the tracks can allow a single repeater to provide multiple offset signals. Alternatively, a pressure plate can trigger another independently-timed system.
+
Minecart repeaters can also be synchronized with other systems. Adding additional pressure plates to the tracks can allow a single repeater to provide multiple offset signals. Alternatively, a pressure plate can trigger another independently-timed system.  
  
 
==Clock Generation==
 
==Clock Generation==

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: