Scrap Mechanic Wiki
Register
No edit summary
(Undo revision 12382 by 88.120.128.100 (talk) It's length-width-height, so the dimensions are correct when the part is standing upright)
Tag: Undo
(12 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Infobox gear
 
{{Infobox gear
|image =Timer icon.png
+
|image = Timer.png
|category =Machine parts
+
|category = Parts
|weight =Light Weight
+
|weight = 3
  +
|durability = 3
  +
|friction = 5
  +
|buoyancy = 4
  +
|flammable = no
 
}}
 
}}
 
'''Timer''' is part of the Program Node family in ''Scrap Mechanic.''
 
'''Timer''' is part of the Program Node family in ''Scrap Mechanic.''
   
 
== Overview ==
 
== Overview ==
[[File:Timer.png|center|frameless]]
+
[[File:Timer States.png|center|frameless]]
'''Timer''' is used to delay a signal from a input. Only able to be activated by a [[Button]], [[Switch]], [[Sensor]], and/or [[Logic Gate]]; as well as another '''Timer'''. When active the '''Timer''' will delay for the set time. It shows the delay visually on the four long sides. The lights will go from one end to the other much like a progress bar. The design is reminiscent of a [[wikipedia:Hourglass|Hourglass]].
+
A Timer is used to delay a signal from an input. This input can be a [[Button]], [[Switch]], [[Sensor]], [[Logic Gate]], or another Timer. When a Timer receives an ON signal, it delays the signal before outputting it. The signal passing through the Timer is visually indicated on all four sides, resembling a progress bar. The design is reminiscent of an [[wikipedia:Hourglass|Hourglass]].
   
=== Sizing ===
+
== Sizing ==
'''Timer''' is a 1^1x2 block.
+
The Timer is a 1x1x2 block.
   
 
== Usage ==
 
== Usage ==
 
[[File:Timer UI.png|right|frameless|175x175px]]
 
[[File:Timer UI.png|right|frameless|175x175px]]
'''Timer''' can only have one input at a time and multiple outputs. The UI, accessed by looking at the block and pressing E (default), allowing for edit of the delay cycle. The left bar controls the delay for ''forty'' tick intervals (1 second); The right bar controls the delay for ''one'' tick intervals (0.025 seconds). The scale maximizes at ''two-thousand four hundred'' tick (60 seconds).
+
A Timer can only have one input at a time and multiple outputs. The UI, accessed by looking at the block and pressing E (default), allows the player to edit the Timer's delay. The left bar sets the delay in ''forty-tick'' intervals (1 second). The right bar sets the delay in ''one-tick'' intervals (0.025 seconds). The scale maximizes at two-thousand four hundred ticks (60 seconds).
   
The connection path is critical on these blocks. You have to make aware of the parent-child connection line. If you connect block two to block one, the signal will be sent from block two to block one.
+
The connection path is critical on these blocks. Make sure to connect inputs ''to'' the timer and connect outputs ''from'' the timer to other connection points.
   
 
=== Advance Use ===
 
=== Advance Use ===
  +
* Timers can be useful in the creation of advanced logic circuits.
* The position of the start, the source of progress, is determined by the block you place it on.
 
  +
* A Timer can carry multiple signals (patterns of ON/OFF signals).
* Combined with [[Logic Gate|Logic Gates]] you can create memory cells. These will carry a pulse with the information given to it.
 
* The '''Timer''' can carry more than one signal at a time.
+
* A Timer can function as a "repeater" for Logic Gates.
  +
* The Timer has an output delay of '''one tick (0.025 seconds)'''. This delay is in addition to the delay set in the Timer's UI.
* Used properly a timer can function as a repeater for Logic Gates.
 
  +
*If you are planning a really complicated build, you might want to use the [https://github.com/SteveBenz/ScrapMechanicLogicGateSimulator Scrap Mechanic Logic Gate Simulator].
* '''Timer''' has a output delay of ''two'' ticks (0.050 seconds)
 
  +
  +
== Crafting ==
  +
{{Crafting
  +
|in=Metal Block 1/2;Circuit Board/2;Glue/1
  +
|time=45
  +
|station=craftbot
  +
}}
  +
  +
== Save/Load Behavior ==
  +
Unlike [[Switch|switches]] and [[Logic Gate|logic gates]], timer state is recorded when the creation it is a part of is unloaded and restored when it is rebuilt.
   
 
== History ==
 
== History ==
Line 30: Line 44:
 
=== Beta ===
 
=== Beta ===
 
* [[Beta|0.1.31]]
 
* [[Beta|0.1.31]]
** Added '''Timer'''.
+
** Added Timer.
   
[[Category:Machine parts]]
+
[[Category:Interactive Parts]]

Revision as of 16:04, 25 February 2021

Timer
Timer
Overview
CategoryParts
Weight
Durability
Friction
Buoyancy
FlammableNo

Timer is part of the Program Node family in Scrap Mechanic.

Overview

Timer States

A Timer is used to delay a signal from an input. This input can be a ButtonSwitch, Sensor, Logic Gate, or another Timer. When a Timer receives an ON signal, it delays the signal before outputting it. The signal passing through the Timer is visually indicated on all four sides, resembling a progress bar. The design is reminiscent of an Hourglass.

Sizing

The Timer is a 1x1x2 block.

Usage

Timer UI

A Timer can only have one input at a time and multiple outputs. The UI, accessed by looking at the block and pressing E (default), allows the player to edit the Timer's delay. The left bar sets the delay in forty-tick intervals (1 second). The right bar sets the delay in one-tick intervals (0.025 seconds). The scale maximizes at two-thousand four hundred ticks (60 seconds).

The connection path is critical on these blocks. Make sure to connect inputs to the timer and connect outputs from the timer to other connection points.

Advance Use

  • Timers can be useful in the creation of advanced logic circuits.
  • A Timer can carry multiple signals (patterns of ON/OFF signals).
  • A Timer can function as a "repeater" for Logic Gates.
  • The Timer has an output delay of one tick (0.025 seconds). This delay is in addition to the delay set in the Timer's UI.
  • If you are planning a really complicated build, you might want to use the Scrap Mechanic Logic Gate Simulator.

Crafting

MetalBlock1 CircuitBoard Glue
2 2 1
Arrowdown
00:45
00:24 (Level 5)
Craftbot
Arrowdown
Timer
1


Save/Load Behavior

Unlike switches and logic gates, timer state is recorded when the creation it is a part of is unloaded and restored when it is rebuilt.

History

Beta