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:Pressure plate

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|21:03, 26 April 2011 (UTC)}}{{av}}
 
{{quality|Exceptional|21:03, 26 April 2011 (UTC)}}{{av}}
'''Pressure plates''' act in similar ways to [[lever]]s, in that they require [[mechanisms]] to be built, and then a pair of mechanisms to be linked to a [[floodgate]], [[Trap_component|spike trap]], [[bridge]], or what-have-you. Their accompanying activity is triggered the instant a creature has stepped on them (not including the delay associated with the triggered item); leave a time delay space for traps based on enemy movement as necessary.
+
'''Pressure plates''' act in similar ways to [[lever]]s, in that they require [[mechanisms]] to be built, and then a pair of mechanisms to be linked to a [[floodgate]], [[Trap_component|spike trap]], [[bridge]], or what-have-you. Their accompanying activity is triggered the instant a creature has stepped on them (not including the delay associated with the triggered item); leave a time delay space for traps based on enemy movement as necessary. Pressure plates will not be targeted by [[building destroyer]]s.
 
 
Pressure plates are sensitive to some creatures and uninfluenced by others (see [[#Unusual Triggers|Unusual Triggers]]). They are not sensitive to inert weight. Pressure plates trigger when the accumulated weight of sensitive creatures reaches a threshold specified by the player (see [[#Choosing Weights|Choosing Weights]]). Pressure plates are not targeted by [[building destroyer]]s.  
 
  
 
==Types==
 
==Types==
Line 20: Line 18:
 
Resetting pressure plates send two signals: an ''open'' signal, when first triggered by an appropriate creature or fluid; and a ''close'' signal, set to occur 99 ticks after the pressure criteria are no longer met.  They do not send continuous ''open'' signals while the pressure criteria are met.  A pressure plate that is untriggered then retriggered before it has sent a ''close'' signal will not send an ''open'' signal on the second trigger, and will abort the ''close'' signal scheduled to occur from the untriggering.
 
Resetting pressure plates send two signals: an ''open'' signal, when first triggered by an appropriate creature or fluid; and a ''close'' signal, set to occur 99 ticks after the pressure criteria are no longer met.  They do not send continuous ''open'' signals while the pressure criteria are met.  A pressure plate that is untriggered then retriggered before it has sent a ''close'' signal will not send an ''open'' signal on the second trigger, and will abort the ''close'' signal scheduled to occur from the untriggering.
  
Special care must be taken when linking multiple pressure plates to a single device.  When doing so, it's possible for one of the plates to become activated before another plate has sent a ''close'' signal.  Unlike with single plates, the triggering of the second plate will not abort the ''close'' signal scheduled from the first plate, and the triggered device can become deactivated (closed) despite a triggered pressure plate linked to the device.
+
Special care must be taken when linking multiple pressure plates to a single device.  When doing so, it's possible for one of the plates to become activated before another plate has sent a ''close'' signal.  Unlike with single plates, the triggering of the first plate will not abort the ''close'' signal scheduled from the second plate, and the triggered device can become deactivated (closed) despite a triggered pressure plate linked to the device.
  
 
Similar situations can occur when activating a bridge or other refractory building with a pressure plate: if the pressure plate sends an ''open'' too rapidly after sending a ''close'', the bridge will ignore the ''open'' and wedge close.
 
Similar situations can occur when activating a bridge or other refractory building with a pressure plate: if the pressure plate sends an ''open'' too rapidly after sending a ''close'', the bridge will ignore the ''open'' and wedge close.
Line 57: Line 55:
  
 
===Lightspeed repeater===
 
===Lightspeed repeater===
Pressure plates have a refractory period of 99 ticks, limiting [[repeater]]s to triple-digit cycles. However, multiple pressure plates attached to a target can be "staggered" such that the ''open'' signal from one plate is followed much sooner by the ''close'' signal from another plate. Using three pressure plates, a repeater can be constructed to toggle a target three times in 100 ticks:
+
Pressure plates have a refractory period of 99 ticks, limiting [[repeater]]s to triple-digit cycles. However, multiple pressure plates attached to a target can be "staggered" such that the '''open''' signal from one plate is followed much sooner by the '''close''' signal from another plate. Using three pressure plates, a repeater can constructed to toggle a target three times in 100 ticks:
  
 
  Time --->
 
  Time --->
Line 68: Line 66:
 
This can be extended, with additional pressure plates, up to a maximum of one cycle every two ticks (one tick for open, and one for close) using 50 pressure plates. While these designs were [http://www.bay12forums.com/smf/index.php?topic=92454.msg2585477#msg2585477 originally created with fluid-logic], the introduction of [[minecart]]s provides a much simpler way to stagger the signals from multiple pressure plates.
 
This can be extended, with additional pressure plates, up to a maximum of one cycle every two ticks (one tick for open, and one for close) using 50 pressure plates. While these designs were [http://www.bay12forums.com/smf/index.php?topic=92454.msg2585477#msg2585477 originally created with fluid-logic], the introduction of [[minecart]]s provides a much simpler way to stagger the signals from multiple pressure plates.
  
Note that only a few targets that don't have a built-in delay can handle switching at such speeds ([[door]]s, [[hatch]]es, and [[gear assembly|gears]]).
+
Note that only a few targets that don't have a built-in [[delay]] can handle switching at such speeds ([[door]]s, [[hatch]]es, and [[gear assembly|gears]]).  
 
 
Keep also in mind that quickly switching buildings will seriously hurt the performance of your game. A single door opening and closing every dozen steps may reduce your frame rate by about a third.
 
  
 
===Priority close===
 
===Priority close===
Pressure plates are very timely when detecting a trigger and sending an ''open'' signal, but require 99 ticks when sending a ''close'' signal. Unfortunately, there are situations where closing a hatch or door 100 ticks later might just be too late. This limitation can be overcome by constructing multiple pressure plates that are continually refreshed in a cycle less than 100 ticks. When a trigger condition occurs the cycle is stopped, leading the pressure plate that would have been refreshed next to send a ''close'' signal much sooner. [http://www.bay12forums.com/smf/index.php?topic=128095.msg4449221#msg4449221 A well-calibrated design] should be able to provide a ''close'' signal in five ticks or less.
+
Pressure plates are very timely when detecting a trigger and sending an '''open''' signal, but require 99 ticks when sending a '''close''' signal. Unfortunately, there are situations where closing a hatch or door 100 ticks later might just be too late. This limitation can be overcome by constructing multiple pressure plates that are continually refreshed in a cycle less than 100 ticks. When a trigger condition occurs the cycle is stopped, leading the pressure plate that would have been refreshed next to send a '''close''' signal much sooner. [http://www.bay12forums.com/smf/index.php?topic=128095.msg4449221#msg4449221 A well-calibrated design] should be able to provide a '''close''' signal in five ticks or less.
  
 
==Construction==
 
==Construction==

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: