Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
LUA Customizable 1x1 4-digit Pin Lock Microcontroller [2x2]
   
奖励
收藏
已收藏
取消收藏
Vehicles: Creative
标签: v0.10.14
文件大小
发表于
更新日期
330.339 KB
2020 年 4 月 15 日 下午 8:41
2020 年 4 月 17 日 上午 9:39
3 项改动说明 ( 查看 )

订阅以下载
LUA Customizable 1x1 4-digit Pin Lock Microcontroller [2x2]

描述
I couldn't find any code lock microcontrollers on the workshop that fit on a 1x1 screen, so I took the time to make one.

I always have issues with microcontrollers that are confusing and hard to connect up to everything, so I made this pretty simple with only the key features.

You can change the color of the code and the buttons in the microcontroller, and you can set the code from an exterior node or the interior property number.

You can customize the output pulse length from the property menu, and when you get the code correct, the little rectangle at the top of the screen will flash green or red, depending on if you entered the correct code or not.

The buttons aren't labeled, but they're in a standard order:



Please credit me if you use this in a creation, thanks!

I hope this is useful!

For future updates and quick notice when I post new creations, hit the follow button!

If you enjoy this creation, please rate it up!
9 条留言
optimistic  [作者] 2020 年 7 月 31 日 上午 10:13 
You can't see the numbers on on the buttons themselves, but you should be able to see the numbers you've imputed into the system on the display. You can customize the output pulse in the controller or add a capacitor if you want to make a door hold open for a while.
Feirefiz 2020 年 7 月 27 日 下午 2:11 
how do i see the numbers on the display and how do i make it hold open for a period of time
optimistic  [作者] 2020 年 5 月 1 日 下午 7:53 
You have to understand hexadecimals to figure it out on your own, but it's often just easier to look up the hex code for the color you want. If you do decide to do it on your own, just know it's set up like this: RRGGBB.
BokaBoka 2020 年 5 月 1 日 下午 7:47 
im to stupid how to change colors?
Luthous 2020 年 4 月 18 日 上午 10:26 
Is there any way it can be made to something like 5 seconds? Instead? I vejust changed the slider to 5 and its still too short?
optimistic  [作者] 2020 年 4 月 18 日 上午 9:37 
Yes, that's exactly what I did. You can easily change the output pulse with a property slider, but you may need to update the mic you're using because it was an edit I made fairly recently.
Luthous 2020 年 4 月 18 日 上午 9:34 
Did you manage to add a timer? As im struggling to edit it to make it longer than a split second
optimistic  [作者] 2020 年 4 月 17 日 上午 9:30 
Yeah, thanks for the suggestion! I'll add a timer and a property for that.
Megahurts 2020 年 4 月 17 日 上午 4:17 
Nice. Works good. Any way to make the pulse length a property? Would be handy. My lockable button kept closing before I could click on it. Not a big deal to change it in the MC itself but it would be a nice feature...
Thanks for sharing regardless, I plan to use it on a build or two :)