Tabletop Simulator

Tabletop Simulator

Not enough ratings
Custom Card Back Changer
   
Award
Favorite
Favorited
Unfavorite
Type: Game
Complexity: Low Complexity
Assets: Scripting, Cards
File Size
Posted
Updated
31.936 KB
14 Apr, 2021 @ 4:18am
20 Jun, 2021 @ 11:21am
6 Change Notes ( view )

Subscribe to download
Custom Card Back Changer

Description
Changes the card backs of custom cards.

Set the url to the new card back, put your card/deck into the box and a copy with the new card back will spawn.

Room/Table is "Flex Table" by MrStump: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1169112551&searchtext=flex+room
15 Comments
Lunaherogod 4 Jul @ 9:09am 
i get that error when it tries loading the model of the box to put my deck in like its a missing model or something
Larikk  [author] 4 Jul @ 8:45am 
@Lunaherogod Never heard of that error. Try to disable Mod Caching in the settings temporarily before entering the mod to force a re-download of the assets. If that doesn't help describe how the error occurs in more detail. I may look into it sometime this weekend.
Lunaherogod 4 Jul @ 7:50am 
any idea how to fix failed model .obj
OXO 26 Mar @ 7:53am 
Godly Device :resmile:
Agniko Fireking 11 Sep, 2021 @ 6:11pm 
You, sir, are a genius. You have saved me SO much work.
BENNOdaBOMB 21 Jun, 2021 @ 4:35am 
OMG this is amazing thank you so so much!!!!!!!! @Larikk thank you for this!!!!
Larikk  [author] 20 Jun, 2021 @ 11:38am 
@benno I pushed an update. The URL now gets saved and restored when you save the game and load your save.

If you dont want the URL to be changeable at all use this: https://gist.github.com/larikk/7cc68ee6961a400a0520d29f6faa4d4d

Open the script of any container or box (Rightclick -> Scripting -> Scripting Editor), paste the code from the link and adjust the url at the top.
BENNOdaBOMB 19 Jun, 2021 @ 8:14pm 
@larikk is there a way that i can have the box permanently change the card to a specified URL?
I want one box to always change the card to a specific URL even after reloading the server.

thanks for your help!
bhfred 14 Apr, 2021 @ 3:38pm 
Yes, I tried a card from Marvel United and it worked perfect with my custom card back, but doesn't work with my custom cards. I just have to right click and add custom back to my cards. Thanks for putting this up on TTS.
Larikk  [author] 14 Apr, 2021 @ 3:13pm 
@bhfred

The images used for front/back should not make a difference for this mod. It does however matter, how the cards were created. The first version I posted for example worked on the cards I create with code in another mod of mine but not on cards that were created with the "Custom Card" option in the GUI of TTS because I didnt know that there were different kinds of custom cards (I fixed that by now)

I posted an update. Please try it out again when you have some spare time. If it still does not work, please tell me how the cards were created (if you created them yourself) or where I can find them on the workshop so that I can analyze them.

Btw, I'm super grateful for bug reports/feedback. That helps a lot. Your first comment for example helped me find and fix the issue I mentioned above so thanks for that :)