Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
ACI Keypad Lock Microcontroller MK2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Creative
Microcontrollers: Composite, Microcontroller
Tags: v1.0.31
File Size
Posted
Updated
72.150 KB
24 Jan, 2021 @ 8:38pm
24 Jan, 2021 @ 9:14pm
3 Change Notes ( view )

Subscribe to download
ACI Keypad Lock Microcontroller MK2

Description
A LUA based keypad lock that hides the entered digits and allows you to secure your doors, or anything else that may require a security code.

Use it for doors, use it for scuttles, or use it to launch a [RETRACTED].

Supports up to six digits! Set a digit to "-1" to disable a digit slot (note: setting a slot to "-1" will disable subsequent slots).

Setup
• Configure the desired PIN code in the controller's properties. Set a slot to "-1" to disable said slot. Note: All digits after a "-1" are ignored -- Although pointless, the PIN can be set to a length of zero digits which will require no PIN is entered to unlock else denied.
• Use the override input to configure buttons to open and close the door on the inside.
• Override composite input 1 opens the door bypassing the PIN, and input 2 resets and thus closes the door. (Note: The output can be inverted via a toggle). An instrument panel is recommended for the override buttons.

Instructions
• To unlock a door (or whatever is connected), enter the PIN code on the display, then press the "E" button to submit. The override unlock button will also unlock the system.
• To lock the door, press the "LOCK" button on the keypad when it appears. The reset override signal will also reset the keypad and lock the system.
• If the PIN flashes red and says "DENIED," then the code you entered was incorrect.
• If the PIN flashes green and says "UNLOCK," the controller has accepted the code and the boolean output is now active (or inactive if inverted).

Todo:
• Make PIN code editable in-game; a PIN edit mode
• Option to draw entered PIN centered


A complete rewrite of the ACI Keypad Lock Microcontroller MK1.
Differences:
• You can enter digits faster than the MK1 thanks to a pulse gate.
• Supports PIN codes of any length up to six digits!
• Can set master PIN to a zero-length PIN... and then question your choices...
Popular Discussions View All (1)
0
20 Feb, 2021 @ 6:24pm
PINNED: Color Themes
Peekofwar
3 Comments
Peekofwar  [author] 1 Mar, 2021 @ 2:57pm 
PS: There is a video attached at the top. I actually hook one up in the video using an instrument panel.
Peekofwar  [author] 1 Mar, 2021 @ 2:56pm 
@vinceEde123
Either use an instrument panel, which can give you up to four button in one block, or use a boolean to composite adapter.
Specerijenman123 1 Mar, 2021 @ 6:27am 
I dont get how the override works bevause buttons have a on off signal and not a composite