Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
you would have to manipulate params.position = { } part
I won't be adding it, but you can just select dice, pick them up and press 3, to get 3 rows without affecting faces
tbh the "roll" command should be changed not to do physical throw but just set the dice, cards or whatever to a random face with a little "just randomized" icon hovering over just like the "peek" action does.
going for phy simulation wastes time and is messy
"you need vpn in ru to load assets"
once you have it in cache it should work without them
this probably affects most other mods as steam cloud is the recommended default
i love the dice ruler you made,
But i was wondering, is it possible to make it so that you input the dice and it's get random sorted on 3 rows instead of all dice on 1 row ?
I'm not a programmer myself. but if you have a line of script that i can implement that would be really helpful!
I checked and they load for me - fyi object and texture is hosted on steam cloud http
@ZeroFarad - try matching rotation value in order in rotations menu
broadcastToAll("Roll Results: " .. numberList .. " | " .. result, {r=1, g=0, b=0})
All I get is "Roll Results: | 20", so the numberList isn't appearing. Putting in a random letter inside numberList like " b ", doesn't show in the final broadcast either.
As for the numbers, I tried to recreate the portion of code in the Roll button item: result = result .. setRandom(v) .. ", ", and have it be something like numberList instead of result. Couldn't get it to work either. I feel like I'm close to figuring it out, but I can't quite find a solution.
This is the closest I got at the moment for the number portion:
numberList = ""
for _,v in ipairs(diceGuids) do
if (v.type=="Dice") then
numberList = numberList .. setRandom(v) .. " + "
end
end
numberList = numberList:sub(1, -3)
On the brightside though, I managed to figure out a decent solution for now.
After the line n=1, I added result = 0.
Right before the line n = n + 1, I added result = result + diceGuids[key].
Then I added broadcastToAll("Roll Results: " .. result, {r=1, g=0, b=0}) at the end of the takeDiceOut function.
With this I get something like "Roll Result: 21".
I would be willing to settle for this, but if at all possible, do you have an idea as to how I could get the message to be something like this: "02202002 rolled: 1 + 2 + 3 + 4 + 5 + 6 = 21" (the text color is the player color)?
I feel like the final broadcast line would be something like:
broadcastToAll(playerName .. " rolled: " .. numberList .. " = " .. result, playerColor)
it already prints to chat and you can add broadcast by changing in script
if self.getDescription()=="global" then
printToAll(result, stringColorToRGB(player))
elseif self.getDescription()=="me" then
printToColor(result, player, stringColorToRGB(player))
end
to
if self.getDescription()=="global" then
printToAll(result, stringColorToRGB(player))
broadcastToAll(result, stringColorToRGB(player))
elseif self.getDescription()=="me" then
printToColor(result, player, stringColorToRGB(player))
Player[player].broadcast(result)
end
Never scripted anything for Tabletop so I'm not really sure where to start on this.
Can you make a screenshot to explain what you meant?
The problem with randomness is that random does not mean different - what *looks* random and *is* random is different.
I tested outputs with statistical methods and results looked random with a high confidence, but I admit it was tested without concurrency. We can check that...
For example... you have 5 dice already rolled out, and you want to re-roll the 3rd and 5th dice in the line. Right now, if I do this, it will try to put those two dice on top of the 1st and 2nd dice that are still there.
Right now I just move the whole line, before selecting dice to re-roll, which is not a big deal. Great MOD as is, and my OCD thanks you :)
New ruler works perfectly, I am very grateful to you.
The orientation of the dices on the table is always one-way
There is a game Star Wars Destiny where dice with pictures are used.
If I`m Player-1, all looks great nice! https://pastenow.ru/30IW6
But, I`m Player-2 dice looks conversely =( https://pastenow.ru/30J0B
Сan be rotate "dice ruler" in any side, but orientation dice will always remain the same.
Need option to change the corner rotation. Is this possible?
For example, how did you do with the option "sort" in the field "description"
Help, need small fix...
Can you make the cube rotate when changing sides of the table?