Tabletop Simulator

Tabletop Simulator

Yet Another Roller
38 件のコメント
JJ.Sch 2023年6月8日 3時58分 
Is it also possible to use custom dice and display the legacy? When I use my HeroQuest dice, it also only shows 1-6 as a result!
Sabreman 2022年3月24日 14時01分 
The die-roll intensity may be governed by table gravity.
gmdmb3 2022年3月24日 12時08分 
Is there a way to increase the "intensity" of the rotational force of the rolling of dice itseems a little weak sometimes or is it possible to make this an option
Sabreman 2021年12月29日 11時43分 
It does print the number in the chat sorted by results, so I've always found it easy to check rolls over or under a threshold.
Top Shagger 2021年12月28日 22時39分 
Is it possible for a dice roller to detect successes rather than adding up all the results? like it counts how many dice rolled 5 and up and broadcasts that number?
Boki 2021年8月29日 0時10分 
My friends and i love this dice roller for our battletech rounds. I've added some bits of script for players to be able to use scripting shortcuts to roll 1 or 2 dice or clear them.
I had to script one for each player's color though, as otherwise everyone would've rolled everyone's dice, and i got an error for the object not being able to get the color when passing it to the callback function. Maybe someone can and actually want's to fix it and make it more flexible.

Here's the code snipped on Pastebin [pastebin.com]
Damien Thorn 2021年4月3日 20時50分 
Hey, I've edited your dice roller to add a unlocking line on the cloned die, so that we can lock the die inside the roller and still roll dice.

if die.getLock then
die.setLock(false)
end
msiggins 2021年3月16日 5時52分 
Ideal. Thanks. Would like to turn off sound and keep print results until Clear. Is this possible? I haven't yet used scripting. Mike
rhinotekmn 2021年1月16日 22時41分 
Would like to pick your brain on a roller I am working on if you'd be willing.
Whyrocknodie 2020年3月30日 6時55分 
Top notch.
I also have a question, is there a way to print the results in the chat in groups of values - say you roll six dice and get 1,2,2,2,5,6 - can it be made to say 1, 2 (x3), 5, 6 by some sorcery?
Lost Dream(lilcan) 2019年9月25日 3時55分 
I really love this dice roller, though i have a few suggestions.

Can you make it easier to up the number. Doing like 1-10 dice is not too hard, however if i wanted to do 200 dice, its time consuming.

IDK if this is possible, but make the dice spawn relative to the roller at all times. When placed on a custom tray object, the dice regardless if its locked or not will spawn on the TOP of the trays hit box. This becomes a issue when you have a enlarged tray to handle a 200 dice roll, and the dice spawn crazy high.

A way to force clear the roller memory even when in the middle of a roll. I have had a few times where some of the dice accidentally land in a bag, and i have to delete the roller and the dice it spawned then make a new one.

Maybe a way to adjust the distant based on amount of dice rolled? so like 100 dice will make the distance x10 of the original or something or something.
bandrsntch 2019年7月29日 8時23分 
The best Die roller available. Thanks for making it available. Only improvement I would want would be able to reset the number of dice being rolled back to "1" quicker. (e.g. you just rolled 24 shooting dice for hits and now you need to roll 1 dice for an effect). Even if you could just hover over the + or - button and hold the LMB down to scroll the number being rolled would help.
Sabreman 2019年3月15日 17時46分 
My favorite roller by far! Discovered that it doesn't like custom dice, though.
Lt. Dexter (Rune) 2019年2月22日 7時48分 
Player like to experiment when they are idle.
It seems you can break it by placing a generated die on the pad and furthermore getting the message to wait for all dice to stop rolling. Would be nice if the X button would be a way out. Or just add a note to the use instructions not to do that ;)
BUCHA 2019年1月15日 3時36分 
Hi! Its really cool mod! For Spartacus game is best :))
But, it can be change? - numbers go in the chat from small to big, but need from big numbers to small. Its really? :) Sorry about my english.
Vigo the Carpathian 2018年4月25日 15時31分 
Hands down my favorite roller on TTS. Fantastic work!!!
BaconCatBug™ 2018年4月24日 2時45分 
Hi, I have a question, how do you get the RollerColor? I can't seem to see how you're finding it.
MrStump  [作成者] 2017年7月24日 15時43分 
My next big plan is a roller like "click roller", my newest one. Except it has multiple buttons for multiple types of dice. But then working custom dice into that becomes more complicated.

So now I am starting to think I want to have individual buttons you can link together into a group so they work together like clickroller does with a modifier options for each
MrStump  [作成者] 2017年7月24日 15時39分 
Yeah this is the problem I run into. Either the die is out on the table, in which case it gets mistaken for a rollable die, or it is in a bag (or spawned) and you aren't sure what it was. I considered making a semi-transpaent cube to warp the die into, but then you can't move the tool around.

I'll figure out a good universal die roller solution one day... one day haha
Tragic 2017年7月24日 15時18分 
[Suggestion] ...... When you place the die on the roller, is saves the die scale, then makes it small (maybe during 1st roll)

I have been testing this in real world game situations for awhile now and I think it is the best roller so far, but the dice in the center is often the cause for confusion for other players, thinking it is one of the rolled dice. Maybe even change its texture or something! Or make a new mesh object to "house" the chosen die or sometrhing.
Liberty 2017年6月10日 12時46分 
Would love the ability to set modifiers, great roller!
DedMachine 2017年6月5日 12時36分 
okay, thanks anyways! It's still my favorite thing in the workshop right now :)
MrStump  [作成者] 2017年6月5日 9時23分 
The flip and "shaking" action on dice both use quats under the hood to assign random rotation, so rest assured that a player shaking some dice and throwing them is as random as real life if not more so.

As for setting deck, there's a command for that (object.setValue(number)). But I am not familiar enough with the general concepts involved in the setting of those dice to design a tool around it.

And I can't add a sound effect only because I would have to re-do the thing as an asset bundle to add a sound effect and that would mean re-doing all the buttons and whatnot. Maybe on the inevitable next edition I do someday though
DedMachine 2017年6月5日 6時07分 
One more small thing, if it's not hard to accomplish. Would it be possible to add a very brief sound effect when the dice are despawned from the timeout?
buddypun 2017年6月5日 3時47分 
Hi MrStump. In "Flash Point: Fire Rescue scripted" (during the auto-setup) and "Star Wars: Rebellion (scripted)", the principle of rolling dice is generating the numbers then setting the dice to those numbers. I hope you can make a roller based on that principle (preferably works for custom dice as well). I'm really skeptical about the physics of tts and generating random results from physically rolling a die with more faces.
Kassar 2017年6月4日 0時40分 
Awesome! Thanks a lot, This roller was the one thing I was missing in my campaign setup that I wasn't aware that I was missing until you provided. Thanks again!
DedMachine 2017年6月3日 21時14分 
That was fast! And it's perfect, thank you so much!
MrStump  [作成者] 2017年6月3日 21時09分 
Done
MrStump  [作成者] 2017年6月3日 20時24分 
Yeah, current plan is to make an auto-despawner with a timer delay (disabled by default but a simple toggle at the top of the script if you want it on) as well as a clearing button
DedMachine 2017年6月3日 5時30分 
And Kassar proposed a similar thing to what I was thinking. I was curious if it was possible to make the dice automatically despawn if the roller is idle after X amount of time?
DedMachine 2017年6月3日 5時12分 
Thank you for this. Really impressed and happy with it. I've included it in my Hero Quest mod. Great job and thanks for sharing!
MrStump  [作成者] 2017年6月2日 18時29分 
Makes sense. I will need to do some redesign on the graphic (move the top button over and squeen in a new one). Should be done in a couple of days.
Kassar 2017年6月2日 9時28分 
I'm aware that it cleans up after another throw is made, tis absolutely fine and a welcome feature, It's just that after the last throw you have to manually collect and delete the dice, a minor inconvenience really but a button would be nice i think.
MrStump  [作成者] 2017年6月2日 9時05分 
Rolling again cleans them up automatically. Is that not sufficient enough? I previously had an auto-cleanup on a different tool, would that be better as an options (cleans up the dice after, say, 5 seconds)
Kassar 2017年6月2日 4時44分 
...could u add a cleanup button aswell? You know, click to delete spawned dice?
Kassar 2017年6月2日 4時37分 
yup, progress! Thank You sir.
Not Sure 2017年5月28日 19時22分 
Ok so I saw this and thought the is a better dice roller then any I've seen before. I loaded it up spawned a custom d20 that I like to use to test how good it was and I liked the results. Then I feel in love with it when I set it to spawn 100 d20s.
Unreal Ed 2017年5月28日 16時47分 
I like this one !