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 = |
+ | |image = Timer.png |
− | |category = |
+ | |category = Parts |
− | |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]] |
− | + | 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 == |
|
− | + | The Timer is a 1x1x2 block. |
|
== Usage == |
== Usage == |
||
[[File:Timer UI.png|right|frameless|175x175px]] |
[[File:Timer UI.png|right|frameless|175x175px]] |
||
− | + | 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. |
+ | 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. |
||
− | * |
+ | * 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 |
+ | ** Added Timer. |
− | [[Category: |
+ | [[Category:Interactive Parts]] |
Revision as of 16:04, 25 February 2021
Timer | ||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||
Timer is part of the Program Node family in Scrap Mechanic.
Overview
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 Hourglass.
Sizing
The Timer is a 1x1x2 block.
Usage
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
2 | 2 | 1 |
00:45 00:24 (Level 5) | ||
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
- 0.1.31
- Added Timer.