Tabletop Simulator

Tabletop Simulator

78 ratings
Safe
   
Award
Favorite
Favorited
Unfavorite
Game Category: Original Games
Number of Players: 1, 2, 3, 4
Assets: Scripting
File Size
Posted
Updated
15.068 KB
12 Nov, 2017 @ 9:19am
13 Nov, 2017 @ 11:14am
3 Change Notes ( view )

Subscribe to download
Safe

Description
📌 I realize this is a popular workshop item and will keep it up on the workshop for posterity.
However I will no longer offer support for it as there have since been several additions and implementations that supersede it's functionality. Everything below is to be considered legacy information that may not be accurate or valid anymore. Thank you for your understanding.


Scripted Unity safe, for your Tabletop Security needs.

Animated, articulated and scripted to be mostly automated.
Basic usage instructions are provided in the "Owner's Manual".

The safe MUST be locked down and be resting on a surface to work. This is due to how colliders work in TTS. I would strongly recommend you both lock it down and set it to interactable = false (both of which you can do with the buttons on the manual), as the safe relies on it's loop/trigger states and colliders to keep things in and out of it.

- Added math to scale up the cast based on the size of the safe. You can now scale it freely.

Extra modifications and usage instructions - LUA

To change the passcode, change the sequence of numbers in "table_one = {1, 3, 5, 9}" on line 8.

Modifications to the script are welcome, though I don't have a lot of time to offer for support and updates.

Hugs to Mr.Stump for always being super helpful and informative. Probably wouldn't have figured out how to script this without his help.

[www.patreon.com]
18 Comments
Lok'd 0n 19 Aug, 2021 @ 10:15am 
is there a way to add more numbers to the code then just 4? i have an i idea for something funny for a friend and it requires more then 4 numbers
Xtal Lattice 9 Oct, 2020 @ 7:22am 
This is fantastic!

However, is there any way to prevent someone from selecting and grabbing things that are inside without unlocking the safe first?
burner 16 Aug, 2020 @ 6:34am 
going to use this in a pass&play game of TI4. TY!
Dust 3 Apr, 2018 @ 12:29pm 
https://i.gyazo.com/70ae82767d3b469e25e0839f0bd2c5cd.png
Owner's manual doubles as a mirror into another dimension.
ulia  [author] 3 Apr, 2018 @ 5:30am 
Changing the code is as easy as changing four digits in the script. I don't got the time or interest to update this submission.
ShadowVision667 2 Apr, 2018 @ 9:09pm 
Do you plan to make an easier way to set up a code? I've been trying to set one with no luck.
BEEZER 25 Mar, 2018 @ 3:23am 
Wow, this is really cool.
thatmagicstore 21 Feb, 2018 @ 2:25am 
NO WAY? MrStump? Totally friends with him. This is awesome
SCOTSChief 18 Nov, 2017 @ 12:01am 
thank you so much i was wondering if you would make this after you made the little vault things
Jackson =D 17 Nov, 2017 @ 5:29am 
This'd actually be really interesting to integrate into some kind of code breaking game. Great work!