Tabletop Simulator

Tabletop Simulator

128 hodnocení
Pocket Black Hole (scripted trash bag)
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Assets: Scripting
Značky: Misc, Templates
Velikost souboru
Přidáno
6.956 KB
3. čvc. 2017 v 19.42
Poznámky ke změnám (1) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Pocket Black Hole (scripted trash bag)

Popis
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.
Počet komentářů: 28
human_traffic99 14. čvc. 2024 v 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. čvc. 2024 v 18.44 
Doesn't seem to be functioning anymore, sorry.
MangoFeliz 29. čvn. 2024 v 21.23 
doesn't work
Fhatwah 1. dub. 2024 v 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. srp. 2023 v 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. čvc. 2023 v 12.52 
Broken
NettleSoup 6. úno. 2023 v 3.11 
Would be nice if this could be updated to use a backed up SteamCloud URL.
FuriousProgrammer 9. lis. 2022 v 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. lis. 2022 v 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. říj. 2022 v 15.46 
seems to have broken, it was good while it lasted