Tabletop Simulator

Tabletop Simulator

127 ratings
Pocket Black Hole (scripted trash bag)
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc, Templates
File Size
Posted
6.956 KB
3 Jul, 2017 @ 7:42pm
1 Change Note ( view )

Subscribe to download
Pocket Black Hole (scripted trash bag)

Description
This is a simple tool. While closed, it is a standard prop. When open, it is a bag that destroys any object which tumbles into it. Switch between its modes by clicking the center of the device.

It is just meant to be a fun item with some functionality. Special thanks to CHRY for making the model and effects so I could make an updated, nicer looking version to an old toy.

As for scripting examples, this shows how to trigger Looping Effects, using setCustomObject to change the object type and deleting objects in a bag automatically.
28 Comments
human_traffic99 14 Jul, 2024 @ 10:22pm 
@fhatwah you need "asset bundle extractor", ive successfully unpacked many. problem is that it usually gives .fbx, so if you want to reupload after any changes, you must import to unity, convert into .obj, export as obj.

if it has multiple textures, youll need to bake them if you know how or more easily, use a script to re-pack the .obj to get a singular .png you can use as a texture in TTS (though its good to compress the shit out of it first via .jpeg because models tend to be small)

if the bundle contains more than one object, youll need to export your changed object to .fbx then import it to unity, where you can finally build it as an asset bundle (and if you made that singular .png earlier, you can use it as a material on the .fbx so it looks identical)
PersonDoingThing 4 Jul, 2024 @ 6:44pm 
Doesn't seem to be functioning anymore, sorry.
MangoFeliz 29 Jun, 2024 @ 9:23pm 
doesn't work
Fhatwah 1 Apr, 2024 @ 11:47am 
Does anyone have a way to gain more expertise with AssetBundles?

The problem is that unlike all these other mods and their scripts, you cannot unpack an assetbundle to learn. So while I've gotten pretty good at scripting and even blender/custom-object flows.....I'm pretty lost when it comes to assetbundles.

I have the basics working (I can create an assetbundle and bring it into TTS, but I can't build upon this base. I've tried approaching from the unity side, but many of those how-to's are all about custom shaders, reflection probes, and more that I'm not sure are applicable to TTS.

I've even tried the TTS modders Discord .

Let me know if I'm missing anything!
kermit 3 Aug, 2023 @ 2:13am 
forgot to comment here when i made it, but i did a fixed version here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2991841668

will remove it on owner request/if this original is ever updated.
Sekkuar666 24 Jul, 2023 @ 12:52pm 
Broken
NettleSoup 6 Feb, 2023 @ 3:11am 
Would be nice if this could be updated to use a backed up SteamCloud URL.
FuriousProgrammer 9 Nov, 2022 @ 6:16pm 
Good news! The blackhole asset bundle still exists! The script just needs to be updated to a new url: https://chry.me/tts/misc/new_blackhole_test.unity3d
yukonzach 3 Nov, 2022 @ 8:18pm 
Chry's model seems to have disappeared. That's too bad. It was really cool. http://chry.me/up/new_blackhole4.unity3d missing
theghostmann 21 Oct, 2022 @ 3:46pm 
seems to have broken, it was good while it lasted