Tabletop Simulator

Tabletop Simulator

Click Roller Universal
46 Comments
Majestic Unicorn 21 Mar @ 5:24am 
Hello, I would like to be able to make the dice spin quite a bit so its more random, right now they sometimes just do one spin, where in the script lua do i change to make it spin alot more?
BadBusiness 11 Aug, 2024 @ 3:57am 
Changing Decals: I'm not sure if you have to reset in the context menu, but try it and re-add it if it's giving you problems

Open Click Roller Universal: Let the table load, then create your own save file.

Create Your Save: Ensure it's your own save to avoid issues.

Load Your Save: Immediately open and load the save file you just created.

Delete Existing Decals: Go to the DECAL tab (F9) and delete all existing decals.

Upload New Decals: Click the plus sign to upload your decals (PNG, 512x512).

Enter Setup Mode: In the script editor, find setting.setup = false and change false to true. Then, IMPORTANT: Click "Save & Play" to apply the change.The button will disappear, entering setup mode.

Apply Your Decal: Place your decal on the dice roller without being interrupted by the button.

Revert Setup Mode: Change true back to false in the script editor. IMPORTANT: Click "Save & Play" again to finalize changes.
FizzMan 13 Apr, 2024 @ 4:24pm 
How to you change the decal image for the dice?
Duke Blitzein 11 Mar, 2024 @ 10:16am 
After I reset the dice roller and add a die how do stop the dice from falling into it?
MU/TH/UR 17 Dec, 2022 @ 11:13am 
Hi, "if you need to change/remove the decal on it." I cannot figure out how to change decal in setup mode. Help anyone?
Zabi 20 Aug, 2022 @ 8:24pm 
Same question as the one [NS] zu Pferd asked before, any way to make the dice rolled, at least by the Game Master, to not be announced to the rest of the table?

It could help a lot in my D&D sessions.

Thanks for creating this mod, is awesome.
Groovebot 4 Apr, 2022 @ 1:10pm 
This mod is brilliant and is almost exactly what I need for the game I'm working on.

Is there a way to bypass the cleanupDice() function and have rollInProgress still get set back to false? I'm looking for a version of this that doesn't ever clean up the dice, basically.
Rebe 21 Jan, 2022 @ 11:01am 
Ceigar

noone forces you to use this tool, get a grip lol
{†k£r$} Kill Biu Goiaba 11 Nov, 2021 @ 4:02pm 
Can i add a custom die like the one on betrayal at the house on the hill?
Happy Wanderer 25 Feb, 2021 @ 2:03pm 
...a brilliant mod Mr. stump...thank you!
JJ.Sch 20 Dec, 2020 @ 10:43am 
Hello MeStump! I changed the die as described. Unfortunately I always get a script error!

Error in Script (Click Roller Universal - 64e216) function <startLuaCoroutine/coroutine_monitorDice>: Object reference not set to an instance of an object !

What am I doing wrong? I'm slowly overwhelmed!
Udspoon 7 Sep, 2020 @ 3:35am 
Hey tanks for this awsome mod!
Is there a way to add the custom values to print in total? Were playing middara and the dice have some icons (star, shild, skull and book) The individual printing works fine, only the total dosnt work. There it counts only the num values but ignores the symbols.
andbruu 19 Jun, 2020 @ 7:27am 
When changing the setting.setup to true, the button is not disabled. I need to change the decal, but while the button is active, I cannot.
burner 1 Jun, 2020 @ 11:10am 
is it possible to make the dice roll more like someone is spamming R.
While I know the results are randomized.. people feel its should roll more before dropping.. thanks
Chapuzas 27 Mar, 2020 @ 7:48pm 
Thanks in 2020 for this gadget for roll dices
[NS] zu Pferd 22 Aug, 2019 @ 10:17am 
can I hide the dice result ? how ? I disabled chat and I can still see the die results pop up on the game screen. Thanks for your tools Mr Stump
Vindikaëll 21 Aug, 2019 @ 2:04pm 
Hi and thank's for your work :)
I have a question : Can we config the Click Roller to lauch 2 dice per "click"? And can we sort the result from de biggest to the smallest?

Sorry for my bad english. Thank.
adracko 18 Aug, 2019 @ 1:19pm 
Is there any way to add an exploding dice functionality to this?
Nipz 28 Jul, 2019 @ 7:26am 
I have not accepted LUA into my heart. Is it possible to give the dice more height and spin when rolling? This script only 'presses R' once on a randomly generated die. Is it possible to 'press R' 5 times?
Lichtmeister 25 Mar, 2019 @ 10:13am 
Really usefull tool.
Is there a way to add custom value at the end ? I've edited a custom dice with custom "named" value, I would like to get a message like :
3 "Shield", 2 "Success", 2 "Reroll"
Degenerate Paladin 17 Dec, 2018 @ 9:56pm 
Is there a way to leave the automatic clean up off but have all dice deleted when you start a new roll from any of the rollers? I am using it for decent and would like to be able to think about how to assign the dice rolled but then start with a clean slate for the next attack. Awesome mod by the way, love it.
transgender gaming 18 Nov, 2018 @ 2:56am 
(or also, something that may roll two dice at once, I'm kinda curious about building an automated character sheet or similar, that optionally rolls your attribute/skill checks at a button press. Which may require like... subtract 2 from the greatest rolled value between 1d4 & 1d6, which would be the check for all unskilled rolls in Savage Worlds. Maybe that math is a bit weird for it, and idk how this tool would handle multiple assets being rolled from the same button.)
transgender gaming 18 Nov, 2018 @ 2:50am 
Is there any possibility for adding modifiers (like -2/+2) or an option for printing lowest/highest value instead of sum?

Or should I go ahead and learn lua? :b I plan on doing it anyway for my series of other very specific modifications to this, but...
MrStump  [author] 15 Aug, 2018 @ 7:07pm 
From a brief google search, looks like those are dice with images on them.

Depending on your scripting knowledge level, it could potentially be easy. The tool will roll any die, and you can use the rotation value gizmo tool (part of the game) to assign names to the different dice faces. In the script, right now, it gets a table of all the rolled dice and then adds the numbers together. You could get the table of rolled dice and total up the # of different faces or announce results any other way, but you would need to know some basic Lua.
JohnnyDanger 15 Aug, 2018 @ 7:30am 
How easy would it be to change the dice to Warhammer Fantasy Roleplay 3 dice?
Kendo353 18 Jan, 2018 @ 5:59am 
really nice tool. thanks mrStump.
MrStump  [author] 5 Nov, 2017 @ 1:04pm 
Very cool =)
Azrael 4 Nov, 2017 @ 10:25pm 
entr0py 17 Aug, 2017 @ 1:56am 
thanks for checking...the game notified that this mod was updated, so i copied the script over the ones i brought into my mod, and presto, all works like the demo :) dunno if i somehow messed up the script originally. All good now, thanks again.
MrStump  [author] 16 Aug, 2017 @ 10:45pm 
Changing physics modes, radius, or any other setting and I don't get that result, sorry entr0py.

If you spawn too many dice too close to eachother though they don't fly up right, due to clipping into their neighbor. Decreasing the max dice, increasing the radius, increasing the arc are all solutions to that, though.
entr0py 14 Aug, 2017 @ 2:37pm 
setting.radius has something to do with it...i had it set to 4 and the dice would spawn, turn, and drop straight down every time. i switched it back to 2 and now it only does that once in awhile.
MrStump  [author] 14 Aug, 2017 @ 8:15am 
@entr0py, May have just been a bug of that session you had. I just checked, it gives the die a little toss with 1 die. It may also just have been the "Random" feature that does the little toss. Sometimes it throws it up a very small amount.
entr0py 14 Aug, 2017 @ 2:52am 
I have a question about something i noticed while playing with this roller. If you roll multiple dice, it gives them all a little toss giving them a little spin on the way down. When you only roll one die, it just seems to drop the dice straight down. Why is that?
It's probably just aesthetics and doesn't seem to effect the "randomness", but your previous rollers didn't work like that.
entr0py 13 Aug, 2017 @ 3:03pm 
This contributer (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1081152807) has some fantastic models usable with this mod... props to the designer!
Baryonyx 13 Aug, 2017 @ 2:02pm 
Fantastic. I don't like those mods that tell just tell you numbers, but this one works with the real dice so you still get that... dice feeling. When you look at the dice and wait anxiously for the result. And then it is also very customisable. You are a master.
MrStump  [author] 13 Aug, 2017 @ 11:13am 
@Eskander Oh, you may have my friend haha This does pretty much everything I ever wanted out of the idea of a script doing a die roll for you.
MrStump  [author] 13 Aug, 2017 @ 11:12am 
entr0py, enable setup mode in the variables. It turns off the button for just that purpose (and gives a display of where dice will be rolled) for use when placing the tool)
Eskander 13 Aug, 2017 @ 10:54am 
somehow i have a feeling we have not seen the last of the MrStump dice rolling incarnations. I love this one and look forward to the next as well.
entr0py 13 Aug, 2017 @ 10:26am 
It mentions in the mod that decals can be changed.. not sure how. Each time i try to stick a different decal a dice rolls instead.
MrStump  [author] 13 Aug, 2017 @ 9:39am 
@Flotania Sorry I didn't have time to keep doing it, as I had a previous engagement to push a bolder up a pointed mountain for eternity.
MrStump  [author] 13 Aug, 2017 @ 9:38am 
@entr0py, the functionality of using a row of 6 of these is very similar to the strip. My goal was to make it so you could basically make your own strip with as many (or few) buttons as were needed. Just joint them together and its prety much there. haha

As for the Strip, you can change the graphic with any image editor. Right click the tool, copy the URL for the diffuse and then go put it into a browser. Save it, edit it, and then paste it in over the old URL in the diffuse setting.
Flolania 13 Aug, 2017 @ 9:09am 
Does it bother anyone else that the dice are 4, 1, 2, 15 .. MrStump, you should keep rolling till you get 1,2,3,4 on those dice..
entr0py 13 Aug, 2017 @ 8:46am 
sorry, that dice would be marked 00 thru 90...sorry for any confusion.
entr0py 13 Aug, 2017 @ 8:45am 
This is great. Is it possible to make these into a strip like your other mod? I figured out how to change the dice inside them, but i can't change the graphic to match. What i really want is to add a ten sider marked 00 thru 99 for percentile rolls. Or if it would be easier to add that to your RollerStrip mod that would be fine too...thanks!
darleth 13 Aug, 2017 @ 1:06am 
Thanks a lot