Tabletop Simulator

Tabletop Simulator

Tumba's Magic Dice Trays v5.2. Update 20180929
85 Comments
Tumba  [author] 15 Dec, 2022 @ 11:35am 
@JPday. Thank you for asking. Almost normal. Still problems with colored text on dark background, and reading text if there's a lot of it. Scripting/coding is a bit hard. With a light themed editor and a bright working environment I can still do it. But doing TTS scripts with Atom, in the evenings, is something I would not enjoy anymore...
JP2day 15 Dec, 2022 @ 6:54am 
@tumba just saw the remark about your eyesight and surgery. Hope (1 year later) all is well.
Tumba  [author] 5 Dec, 2021 @ 7:55pm 
@Caprica55. Great! Good job on figuring it out.
Caprica55 5 Dec, 2021 @ 2:26pm 
My apologies Tumba. It would help if I read the instructions :) I went back to your original mod and saw the instructions on one of your note cards. Only a single modification needs to be made so the values I enter into the diceTrayBehaviourBase table works: change the value of <reset> at the top of the script from <false> to <true> i.e. reset = true.
Tumba  [author] 2 Dec, 2021 @ 2:57pm 
@Caprica55. Wish I could have helped more. I hope you figure it out. Good luck.
Caprica55 2 Dec, 2021 @ 1:56pm 
One thing I will be trying later tonight is associating another remote or removing all together. I saw a message in an earlier thread that mentioned that the remote may be overriding any changes. Thanks for the feedback and take care. Hope you are feeling better
Tumba  [author] 2 Dec, 2021 @ 11:36am 
@Caprica55. Normally I'd create a sample one for you, but sadly I'm experiencing sight problems at the moment. I've gone through eye surgery that is not healing as it should...
The only advice I can give you at the moment, is to try to debug the issue by using the print (or broadcast) command at different stages of the code to see why the values don't work like you'd want them to.
Caprica55 1 Dec, 2021 @ 9:01pm 
I have a question about modifying the script for one of the dice trays (Sci-Fi dice tray). I would like to change the values for the d10 die to the following:
["Die_10"] = {
ValueSpecs = {
{Values = {10} ,Name = "Failures" ,DiceCount = 0 ,Color = "Red" ,RolledValues = {} },
{Values = {4,5,6,7,8,9} ,Name = "Others" ,DiceCount = 0 ,Color = "White" ,RolledValues = {} },
{Values = {1,2,3} ,Name = "Successes" ,DiceCount = 0 ,Color = "Green" ,RolledValues = {} },

No matter what I change the values to, 1 is always a failure (red) and 10 is always a success (green). Something must be overriding my changes. I am saving the script and re-launching the game but it appears that my changes are ignored. Also, it would be great if I could just eliminate the Failure line and just have Successes or Others.
Tumba  [author] 4 Jan, 2021 @ 8:01am 
@BakeSloth. Emptied cache and reloaded everything. Works for me...
Re-uploaded the mod to make sure it works. No idea why it didn't work for you...
Hope this helped...
BakeSloth 3 Jan, 2021 @ 5:31pm 
hey! happy new year! just wanted to let you know, the scyfi tray assets arent available anymore. thats my favorite tray and use it in many of the games i play. if you get a chance, could you please fix? Thank you for this must have mod either way!
JP 19 Nov, 2020 @ 10:46am 
Ok, going to work my way through the script. Equipped with the comment marker this should be an easy task. Thanks!
Tumba  [author] 19 Nov, 2020 @ 9:42am 
Not as a just a parameter value. But if you take your time and look at the Lua script, you should be able to locate the "broadcast" commands. Just add a comment marker (two lines --) in front of them, and no messages should be displayed.
JP 18 Nov, 2020 @ 3:43pm 
@Tumba Thank for making this mod! Been using it for my d&d group since we started over a year ago. I'm in the process of revamping our table setup and was wondering if there is a way to disable the dice roll pop-up message and the chat message?
MoonkeyMod 8 Oct, 2020 @ 5:06am 
Much obliged, thank you sir.
Tumba  [author] 8 Oct, 2020 @ 4:41am 
It is possible, but it will require a bit of Lua scripting from you. https://api.tabletopsimulator.com/event/#oncollisionenter
MoonkeyMod 7 Oct, 2020 @ 1:49pm 
Great mods! Thanks for your work. Is it possible to use another object on buttons rather than manually clicking them? I'd like to drop a ball on button to set off tray effect. Thanks.
Tumba  [author] 12 May, 2020 @ 11:44pm 
@yukonzach. Looks nice! Congrats!
yukonzach 12 May, 2020 @ 3:52pm 
Search up "Showdown Yahtzee". Just uploaded it today. Your mod is the "Yahtray"! With four colored buttons for each player. Eventually, once I get more into modeling, I would like to build a replicate of the actual dice tray for the game and employ your code to have it roll like your trays do. Thanks again!
Tumba  [author] 12 May, 2020 @ 1:01am 
@yukonzach. Glad you liked them. Let me know when your mods are ready. I'd love to see them in action.
yukonzach 11 May, 2020 @ 1:08pm 
These things are amazing! I use them in practically every game I play on TTS. I will be adding them to my own mods and will be giving you full credit. Thank you Tumba!
Tumba  [author] 14 Apr, 2020 @ 10:11am 
@Cakelake. Not sure if I understood you correctly. To roll D100. I'd roll two different color D10s. One for single digits and one for double digits. You tried this? And you got an error?
Karlmit 14 Apr, 2020 @ 8:58am 
Really cool!

Just added it to my Swedish roleplaying game "Hjältarnas Tid" But it would be really cool if you added D10 and D10+ to make a D100 roll. As this is used in the game.

Still works now, even if you get an error at first roll :P
Tumba  [author] 22 Nov, 2018 @ 6:11am 
@Tyrant. Ok. Sure. Thanks for understanding. At the moment I'm a bit too busy to be a useful tester. You noticed my mod fixes haven't been very fast. I'll see if I can help with the testing later.
Tyrant 22 Nov, 2018 @ 4:12am 
Abomb's TTS Mod Backup, which has been around for years. At my request he's added features to it for automatic upload to the cloud and automatic replacement with a single click, but it is in beta and he's looking for testers before it goes release.

He just did a new build that addresses some of the problems I had with it and I feel like it's ready for me to start having others test (he requested I find some people for it).

Add me if you change your mind.
Tumba  [author] 22 Nov, 2018 @ 2:16am 
Umm. With all the respect. I tend to accept friend invites only after I known somebody a bit longer. Sorry, I hope you understand. I get a lot of invites. Maybe a bit later...? What tool are you talking about?
Tyrant 22 Nov, 2018 @ 2:08am 
Yeah, people have tried. It's not a big deal though, there are new Dark Souls Board Game mods without the problem. Anyway, I'm adding you on Steam, I have a really useful tool for you I'd like you to try.
Tumba  [author] 22 Nov, 2018 @ 1:46am 
Can you contact the maker? He could update the DT to latest version. If there is some custom script needed, I could help him....
Tyrant 22 Nov, 2018 @ 1:30am 
Dark Souls: The Board Game, the original one. I had every asset but the dice trays.
Tumba  [author] 21 Nov, 2018 @ 10:46pm 
What mod is it?
Tyrant 21 Nov, 2018 @ 2:57pm 
Well, the idea was to fix it without changing a thing, but it doesn't appear that's possible. In any case, I've learned that the script itself is busted, it keeps throwing a 'No trigger found with that exact name' error, so I'm concluding that the mod author must've either messed something up, tried to make his own version of the dice trays, or there was a TTS Lua scripting change that happened after their last update that messed things up.

I tried both those assetbundles and it didn't fix the button issue or the trigger error (though I don't think replacing the assetbundle COULD fix a scripting error, but I don't really know if triggers can be attached to assetbundles).

I suppose if I make a backup archive for the mod I'm working with I will just have to provide a fixed save file instead of the workshop file.
Tumba  [author] 21 Nov, 2018 @ 12:35pm 
The old tray models have a slightly thicker bottom. That is probably why the button is showing through. You could probably use the newer assetbundle with old script too, just change the color of the button to ransparent. Are you familiar with Lua? The change should be pretty simple.
Tumba  [author] 21 Nov, 2018 @ 12:30pm 
Ok. The mod that had the v4 should still work. I tend to leave old versions hanging in dropbox just to make sure others mods that use them work. So it should work unless it is some unfortunate subversion I needed to redo...? That said. Here's the versions that I could find.
https://www.dropbox.com/s/j3s0hg28fdzrwg9/v45_war.unity3d?dl=1
https://www.dropbox.com/s/wlfjejogqm9o6uk/v_45_war_1.unity3d?dl=1
Tyrant 21 Nov, 2018 @ 11:29am 
I never had a problem with this mod, I was just asking for some old files.
Tumba  [author] 21 Nov, 2018 @ 9:36am 
@Tyrant. Checked the latest dicetrays. They look fine to me. Let me know if your problem persists.
Tumba  [author] 20 Nov, 2018 @ 12:27am 
No prob. always glad to have subscribers reporting possible problems. Thank you for that. :)
Tyrant 20 Nov, 2018 @ 12:22am 
Ah, you might be right. Alright, thank you.
Tumba  [author] 20 Nov, 2018 @ 12:16am 
Not entirely sure if the assetbundle of v4 is different than the latest version. The white square is most likely not part of the assetbundle, but is likely to be the Lua button in the middle. So fixable in script. The latest versions script should have the button marked as invisible, but I can re-check that.
Tyrant 19 Nov, 2018 @ 1:54pm 
Could you upload the assetbundle to v4 War somewhere? I'm trying to archive a mod without altering it, and it used that. I tried putting in the new one but it makes a white square on the bottom.
Tumba  [author] 24 Oct, 2018 @ 6:05am 
I take suggestions. :)
If an older version (v2.6) is enough, then maybe. If I can find the time. If you already have some suitable bitmap images that you'd like me to use, or have a clear vision of it, let me know.

You can also mod one yourself. Make a copy of the "Vanilla" or "Template" DT and edit the bitmap it has. Remember to upload the new "skin" to the cloud and set it as the new bitmap of your DT.

But if you wish for a new 5.X version (with animations etc), then the answer is no. Would love to, but no. Sorry. Those buggers are way too much work to do requests on.
FluffyMao 23 Oct, 2018 @ 3:56pm 
I don't know if you take requests, but would you consider adding a dice tray with a fire theme?
Tumba  [author] 30 Sep, 2018 @ 12:11am 
Small update:
- Added alternate Cadpat AR.
Tumba  [author] 29 Sep, 2018 @ 11:35pm 
@Richthofen56. Ole hyvä. :)
Richthofen56 29 Sep, 2018 @ 2:46pm 
Canadian vets and boardgamers everywhere salute you Tumba :) Kiitos
Tumba  [author] 29 Sep, 2018 @ 1:41pm 
Update:
- Added a couple of user requests: Camo2 (without camonet), Cadpad, Cadpad AR and Template.
- Added a second accessories box for user request DiceTrays.
- Added new Template bitmap for TMDT 2.6's (for "Vanilla" tray.).
Tumba  [author] 12 Mar, 2018 @ 9:15am 
Update:
- Added new example button demonstrating how to use inputs with remotes.
Tumba  [author] 17 Feb, 2018 @ 9:12am 
Updated all to v 5.2 and v2.6.
New features:
- Player name and color is now used by "rolling" broadcast.
- New options for showing total value, including "Just Total".
- TMDT now straightens itself automatically when picked up.
- Collision detection is now trimmed to recognize TTS bug of taking a deck or container out of container triggering collision-detections for everything.

NOTE! Old Remotes will NOT work with TMDT v5.2. Use new ones.
However, if you have done extensive modifications to old remotes, and want to keep using it.
Read update notes Note or contact me. The fix is quite easy.
Tumba  [author] 28 Jan, 2018 @ 10:44am 
"War" added to betatest. Fixed some bugs.
Tumba  [author] 18 Jan, 2018 @ 1:05pm 
The Vanilla should now say the player name instead of just "Player"...
Tumba  [author] 17 Jan, 2018 @ 6:57am 
Hmmm. Should be possible... I'll see what I can do.
ChizBallz 16 Jan, 2018 @ 8:56pm 
Seems to work great, but is there a way to make it say the Player name instead of their Color? Thanks for the update!