Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
T- Countdown/Launch Terminal
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
202.507 KB
2 Oct, 2022 @ 11:08am
1 Change Note ( view )

Subscribe to download
T- Countdown/Launch Terminal

Description
A simple lua countdown timer microcontroller for some added gravitas to your creation. Also included an example terminal setup.

The countdown is in the form of T-[time] (or T+[time] once passed 0), and supports formatting up until hours, e.g:
1 hour, 40 minutes, 30 seconds is T-01:40:30
20 minutes is T-20:00
35 seconds is T-35.00
-1 minute and 30 seconds is T+1:30
2 years, 39 minutes and 7 seconds is T-17532:39:7

in the options of the microcontroller there are two separate options:
"Display while Inactive" - this sets what should be displayed while the timer has not been initiated or after it has reset:
- STANDBY will display 'STANDBY"
-Current Input will display the current uninitiated T-[time]

"Reset at 0"
- True will reset when either the reset signal has been sent or once the timer has reached zero
- False will only reset when the signal is sent, otherwise it will count past 0 into T+[time]

Use instructions:
1. connect your initiating button to the "Launch" node, this will activate the whole system. In the case of toggle buttons they will only be pulsed
2. connect your number input to the "time to Initial" node, this is the timer's length
3. optionally connect a reset signal to the "Reset Signal" node, but this can be ignored if using reset at zero
4. the "Launch Active" node will be constantly active after initiation until reset
5. "Launch complete" node will only be active when the timer has reached zero; if reset at 0 is true this will only create a short pulse
1 Comments
Stratum 7 Oct, 2022 @ 4:15pm 
Perfect for if my friends board my ship ;)