Tabletop Simulator

Tabletop Simulator

Click Roller Strip
53 Comments
dsedge11 25 Apr @ 2:15am 
Any way to limit the players that the total is broadcasted to? (DM)
FizzMan 13 Apr, 2024 @ 3:59pm 
Hmmmm having json issues loading the file.

Anyone else experiencing this?
SquirelFeed 3 May, 2023 @ 6:27pm 
Is there any sort of way to make the save slots have rows? I'm asking for a forgetful party.
MaxRunes 11 Apr, 2023 @ 6:32am 
anyone having sizing issues? i changed the scale in scripting with 0 effect
Navaronegun 12 Sep, 2021 @ 7:24am 
Hi Mr. Stump. Your Scripts are fantastic! I'd like to commission a custom die roller for a TTS game I am preparing. I've sent a friend request. If you are interested, please reach out. Thanks!
pato 21 Aug, 2021 @ 2:59pm 
i readed fast and i seen "rick roller strip"
victorhurtado 13 Mar, 2021 @ 4:04pm 
Hello there! I changed the dieColor from "default" to "tool", but the color of the die stays the same, it does not take the color of the tool.

dieColor = "tool"
garbadthestrong 20 Feb, 2021 @ 7:08pm 
great dice roller. This works perfectly for all my players. Putting a new name on one, putting false in a bunch of the options, and moving it to a hidden area allowed me to have a DM dice roller. It keeps everything hidden as far as dice rolls go and doesn't display anything in the chat. Only thing is that was pretty handy not having to do any of the math. Is there a way you can get it to display to a text box or something that could be placed in a hidden area? Maybe a custom dice tray or something?
Penisland 9 Oct, 2020 @ 11:29am 
Coolest looking tool i found so far. Extremely clean and tidy way to roll dice. How would you do percentile dice using this item?
Snake3y3s_ZA 18 Sep, 2020 @ 2:52pm 
can this be adapted to take different X-wing dice?
Pawel 4 Jul, 2020 @ 2:30am 
Hey Mr. Stump!

Love the tool and I'm using it liberally in my game (As well as about a million other tools of yours.)

One issue I have with the spawned dice from the clicker is that they all spawn with snap to grid active. Is there a way to make them not snap to grid on spawning?

This is what I've tried, but doesn't seem to work

if spawn_type == "Custom_Dice" then
spawnedDie.setCustomObject({
use_grid = false, <--- My attempt
image = ref_diceCustom[dieIndex].url,
type = ref_customDieSides[tostring(spawn_sides)]
})
end
Niki 15 Jun, 2020 @ 2:32am 
I've re-uploaded this wonderful tool with a single line of code removed so that it doesn't auto-sort the results anymore here:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2130864721

This is useful if you're playing with a wizard attacking 9 targets in a blast and want to apply the result in a grid or something, rather than low to high, or to have the log print tell you whether the first arrow missed and the second one hit on your ranger's double shot or vice versa.

Obviously, that is 100% copied from MrStump's work, so if he'd prefer me to take it down it's just a word and down she goes.
GrayGeist 14 Jun, 2020 @ 9:40am 
This is amazing, thank you so much. I can't help but ask for the D100 functionality as well. Any pointers on how to do it myself?

Also I ran into the issue of setting "player" for the color of the dice and it won't work as well - are we doing something wrong? :steammocking:
zomnombie 6 Jun, 2020 @ 2:59pm 
Amazing tool. Love using it for savage worlds. Is there a way to make the exploding dice spawn a new die of the same type instead of re-rolling? I tried to add it to the code but it doesn’t seem to want to spawn a new die. Let me know what you think. Awesome tools!
Xochikawuq 27 May, 2020 @ 3:14am 
I use your roller strip for my RPG table, but the game we use also requires percentiles. You never really have to roll more than one percentile at a time. Typically, that takes the form of two d10's, where one ten represents the tens and one the digits.

The only things that would make your dice roller even better would be:

1) adding a d100 after the d20 button, and having it spit out two d10s, which then print out the result as a % on the screen and chat window. And

2) A toggle button that automatically makes the various dice rolls projected to everyone in game, on the screen and in the chat. A toggle that allows you to turn that on or off for each strip roller would allow a referee or DM to hide their rolls (if they wish), while players' rolls are visible.

Anyway, not trying to create more work for you. But well, okay, I *am* trying to create more work for you.
Morty Smith IRL 28 Apr, 2020 @ 4:29pm 
if they want to roll 3 d6 then just grab 3 dice with a click and drag then when you roll you can see the sum of the 3 dice
ImaTarget 29 Mar, 2020 @ 2:00pm 
I really like how the dice results get sumemd up so nicely. My players like to roll their dice by hand though, is there a way to have dice retain that function when rolled by hand?
Foxy Fox 27 Jan, 2020 @ 7:13pm 
Im trying to figure out the custom color too and no luck
Goldenpearl 11 May, 2019 @ 4:20am 
This is the absolute best! I was skeptical about replacing my dice set at first, but this is just too good to ignore.

I love that the dice are color-coded based on the dice size, and that the rolls are summed automatically. I also love that the dice disappear automatically after the roll.

Thanks so much for a stellar mod! 10/10.
Zathrodock 30 Mar, 2019 @ 11:48pm 
is it possible to disable the print option for a single player/color? Trying to hide the print for the DM, while all the player rolls are still visible. :) Thanks for any help!
Pizarro 10 Mar, 2019 @ 10:34pm 
Love the mod, but the dieColor option under "--Chooses what color dice that are rolled are" doesn't seem to be working
TheCrimsоnFакер (aka Alucar 7 Oct, 2018 @ 1:25pm 
awesome mod!
command "dieColor = "player" " in "--Chooses what color dice that are rolled are. Options:..." doesn't seem to work. Am I doing something wrong?
Acemore 27 Jun, 2018 @ 4:05am 
Mr Stump, first off I want to say that this is an excellent mod! I prefer it over Click Roller Universal because of its streamlined, simple and easy setup.

I've been looking into the code, and trying to figure something out, but it might be out of my league ^_^'

Basically I'm trying to implement the only thing I feel this mod is missing, which is a percentile roll, or basically a d100 (d10 * d10). I'm sure you know of the dice I'm talking about, a d10 which has all the sides multiplied by 10.

A simple way I tried to include this in your roller strip was to have it spawn such a d10 whenever you right clicked the d10 symbol (and also have its result then multiplied by 10). I figured it wouldn't be much work, but seems it is maybe? Not sure. Could find a way to differentiate between left and right clicking.

If you're able to shed any light on this, it would be much appreciated.
MrStump  [author] 5 Jun, 2018 @ 5:05am 
You got it! Nice work
Joystick 3 Jun, 2018 @ 10:55am 
I figured it out! I deleted the "Sort Result Order Into Table" lines and it's working. Thanks again for the great mod!
Joystick 3 Jun, 2018 @ 10:39am 
Hey I love this mod! We just replaced our dice roller with this and it has really sped up our game. I noticed that when it lists out the results of multiple die rolls, it lists them lowest to highest. Is there a way to have it list the dice in the order they are spawned?
MurderHobo 30 Apr, 2018 @ 9:07am 
Mr sump, could you make a duplicate set of these dice that ace for Savage worlds? On the highest number they will roll again and add em all up?
MrStump  [author] 14 Apr, 2018 @ 7:44pm 
You could reskin this model or make your own, then only spawn the buttons that spawn the dice you want. Just look in its script for self.createButton
FirePenguin 14 Apr, 2018 @ 1:12pm 
Is it possible to show only a selection of the dice? For instance, my game requires only d6, d10, and d20 — the rest of them would never be used. (I know this is a niche ask, but if there is a way, that'd be awesome.)
MrStump  [author] 2 Aug, 2017 @ 9:07am 
@nsa, fair enough, but I don't feel a particular need to change it for a person who can't just not click a button for 1/2 a second.
nsa 2 Aug, 2017 @ 2:56am 
some people are really pokey and some people are really inpatient, if there was just a button to commence the rolling that would fix that
Magikarp 1 Aug, 2017 @ 2:35pm 
That did the trick. Thanks!
MrStump  [author] 1 Aug, 2017 @ 9:40am 
@Magikarp, I was lazy and just used rotation to read the face of the coin. I didn't get it quite right it seems. So I went back and put my best face-reading script behind it. So now the results should be spot on (and were in my tests). =D

https://pastebin.com/BQA3XLT7
MrStump  [author] 1 Aug, 2017 @ 9:27am 
@nsa You can modify how long it delays before rolling in the script. Its 1.5 seconds by default, but you could lower it significantly. Just don't make it so low you can't click twice. You're right about there not being a cancel, but you can't cancel dice you physically roll.

If you want to abort a roll, if you highlight those dice and delete them even before they are done rolling, the script will handle the dice going missing without erroring I believe.
Magikarp 1 Aug, 2017 @ 5:11am 
I seem to have run into a silly little bug with the coin flipping thing you made, the text it displays seems to be random, and disconnected from the actual result.
nsa 1 Aug, 2017 @ 3:13am 
a "roll" button to speed up the process and a way to cancel or delete dice would be nice
Lunar Wolves 31 Jul, 2017 @ 11:55am 
Thank you so much, just whats needed.
MrStump  [author] 30 Jul, 2017 @ 7:38am 
It already is editable! Sort of! haha The model has a diffuse. You can find that diffuse texture by right clicking and going to custom. Then you can modify it and viola, custom texture!

I had considered a single button version with the images for dice built in, but I decided letting people edit the image on their own is a lot more flexible. If someone wanted the PSD file I'd be happy to share it too.
H4sT3 30 Jul, 2017 @ 5:40am 
Well, I wonder why this question was not asked yet...
Is it possible to make the texture of the strip editable (just like custom die)? You know, so you could switch out the texture to match the die.

PS: These rollers keep getting better and better.
entr0py 29 Jul, 2017 @ 9:08am 
Wow... thanks for the fast reply...and the new skin really helps!
MrStump  [author] 29 Jul, 2017 @ 8:45am 
That red dot is the button icon to indicate a button is there. Its part of tabletop. You can HIDE it by right clicking the tool (where there isn't a button) and in the toggle menu, unchecking the tooltip. But you can't change that icon. =)

Also, I made you this. http://i.imgur.com/FL1AKiN.jpg Right click on the tool (where there isn't a button) and click Custom. Then change the link in the DIFFUSE entry there to this, and click the OK button. Then save the table and you have a nice, clear text skin. =)
entr0py 29 Jul, 2017 @ 8:01am 
After playing around with this new toy, i have a completely unnecessary request (ie. it's great as is, but...) You know when you go to click a dice a little red dot appears above the cursor, is there any way that dot can instead be number? Like the number of faces on the die you are about to click? With my eyesight not what it one was, it would help me click the correct dice the first time ;)

Thanks again for a great mod!
entr0py 29 Jul, 2017 @ 7:08am 
This is great.... MrStump... thank you sir. My new fav't dice roller!
Magikarp 29 Jul, 2017 @ 2:59am 
Thanks man!
MrStump  [author] 28 Jul, 2017 @ 10:06pm 
So I gift to you your very own "Click Flipper". Subscribe to my Click Roller (a link is in the discription above). Open it in Tabletop Simulator. Save a copy locally. Load that copy. Go to Scripting at the top and open the editor. Highlight all the script for the Click Roller (click in the box and hit Control+A to select all). Then delete it. Take this script here (https://pastebin.com/7sVSeP3w) and copy it then paste it into the editor. Hit Save and Apply in the upper right and viola, Click Flipper.
MrStump  [author] 28 Jul, 2017 @ 10:06pm 
Zhane, Glad to hear somebody finds a use for this garbage haha

Magikarp, as long as you have uses for it, its worth making. Sometimes people think something is a good idea just so it will exist, but without a need for it. Inventing the hammer before the nail, so to speak. So I like to check to make sure I'm not eventing the power drill before somebody makes electricity.

As for a coin flipper, it wouldn't work too well with this tool because this tool adds values and coins only have heads/tails. So a separate tool would work best. Which means modifying my basic Click Roller to suit your needs sounds best.
Magikarp 28 Jul, 2017 @ 4:49pm 
I mean, I have magic deck the relies entirely on coin flips, and it has a card that lets me flip two at once. But it's very specfic and not worth time, thanks for responding though.
Zhane 28 Jul, 2017 @ 3:17pm 
Just wanna say thanks to MrStump for this and all the other awesome stuff you put on here. I run a weekly D&D game using TTS and I have a ton of your various tools incorporated into my game, not sure I could live without them at this point. I've just replaced my other two dice rollers that I use every session - both by you - with this. Love it.
MrStump  [author] 28 Jul, 2017 @ 10:02am 
I feel like that would be a separate project. In my mind, I don't see a reason someone would need to flip 2+ coints at once, just one. Do you have an example when that would be useful? I could make a specialized variant of the Click Roller to handle coins specifically.