Tabletop Simulator

Tabletop Simulator

62 lượt đánh giá
Dice ruler
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Number of Players: 1, 2, 3, 4
Assets: Scripting
Nhãn: Misc, 4+
Kích cỡ file
Đã đăng
Đã cập nhật
31.275 KB
18 Thg07, 2016 @ 1:51am
29 Thg01, 2021 @ 11:30pm
28 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Dice ruler

Mô tả
Throw a bunch of dice in the bag and they will come out in a neat line.

Dice (2,4,6,8,10,12,20) will be randomized upon exit.

Rotate the bag to spawn dice in an orientation most convenient for your game.

By default dice are not sorted, change "sort":"no" to "sort":"desc" or "sort":"asc" in the description for descending or ascending order.

Change "step":1.9 in the description to adjust the distance between dice.

If you need to reset config to defaults - delete all text in description, pick up and drop.


== Dice ruler Lite ==

Older simpler version.

No sorting.

I'm not sure how good lua is at concurrent random calls in this version. Statistically it seems fine, but I honestly can't guarantee it.

Will pull non dice stuff out - you can use it to arrange items in lines. Spacing adjusted by changing "step".


== Usage ==

Feel free to use or include it in your mods
100 bình luận
The Cereal Killer 12 Thg09, 2023 @ 7:30am 
Awesome!
HellHorde 24 Thg10, 2022 @ 3:12pm 
This is THe best rice roller / ruler for use in dice throne thank you!
drNoodles  [tác giả] 30 Thg07, 2022 @ 10:18am 
"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 ?"

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
That Dutch Guy 29 Thg07, 2022 @ 3:42pm 
@drNoodles.

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!
シ★S L A D K I Y★シ 30 Thg06, 2022 @ 11:34pm 
Но этот способ не всем может помочь! Если вы живёте в России, то вам нужен VPN и тогда всё будет спокойно загружаться
drNoodles  [tác giả] 28 Thg06, 2022 @ 1:31pm 
thanks for checking
シ★S L A D K I Y★シ 25 Thg06, 2022 @ 6:11am 
All right! All right! I tured off Threading mod and script earned:steamthumbsup:
drNoodles  [tác giả] 25 Thg06, 2022 @ 3:36am 
@ シ★S L A D K I Y★シ, what kind of error?
I checked and they load for me - fyi object and texture is hosted on steam cloud http
シ★S L A D K I Y★シ 22 Thg06, 2022 @ 8:23am 
There is an error importing your objects
drNoodles  [tác giả] 15 Thg02, 2022 @ 9:05am 
@02202002 - some of the choices are the result of restrictions in the api at the time it was written, adding more unplanned features on top of it might not be that easy

@ZeroFarad - try matching rotation value in order in rotations menu