Tabletop Simulator
Оценок: 128
Pocket Black Hole (scripted trash bag)
   
Наградить
В избранное
В избранном
Удалить
Assets: Scripting
Метки: Misc, Templates
Размер файла
Добавлен
6.956 KB
3 июл. 2017 г. в 19:42
Обновлений: 1 (просмотреть)

Подпишитесь, чтобы загрузить
Pocket Black Hole (scripted trash bag)

Описание
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
human_traffic99 14 июл. 2024 г. в 22:22 
@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 июл. 2024 г. в 18:44 
Doesn't seem to be functioning anymore, sorry.
MangoFeliz 29 июн. 2024 г. в 21:23 
doesn't work
Fhatwah 1 апр. 2024 г. в 11:47 
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 авг. 2023 г. в 2:13 
forgot to comment here when i made it, but i did a fixed version here: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2991841668

will remove it on owner request/if this original is ever updated.
Sekkuar666 24 июл. 2023 г. в 12:52 
Broken
NettleSoup 6 фев. 2023 г. в 3:11 
Would be nice if this could be updated to use a backed up SteamCloud URL.
FuriousProgrammer 9 ноя. 2022 г. в 18:16 
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 ноя. 2022 г. в 20:18 
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 окт. 2022 г. в 15:46 
seems to have broken, it was good while it lasted