Tabletop Simulator

Tabletop Simulator

Not enough ratings
Counting Mats
   
Award
Favorite
Favorited
Unfavorite
Number of Players: 1, 2, 3, 4
Assets: Scripting
Tags: 4+
File Size
Posted
Updated
64.126 KB
17 Jun, 2017 @ 7:45am
11 Jul, 2017 @ 10:10am
3 Change Notes ( view )

Subscribe to download
Counting Mats

Description
A mat that counts the number of certain items above it. It can also assign them a value, so it's ideal for counting chips but can count any number of items that you want. The mat itself is one-sided so flipping it makes the mat invisible.

There are easy-to-modify variables to change the:
- Value of the objects that get counted (think of poker chip values)
- position, size and color of the text
- method of counting (using values in the name, description, or in a variable on the objects to be counted)

Feel free to use it in your mods. No credit to me needed (though appreciated if you want).
For an example of a mod that uses these mats, check out my Pandante mod.

Based on MrStump's great Counting mod
47 Comments
The Phoenix 1 Jan, 2021 @ 11:32am 
Seems like a super tool... unfortunately doesn't seem to work right now...
Unreal Ed  [author] 1 Sep, 2020 @ 10:31am 
It was always pretty dodgy. No promises on when I'll see how to make it work better
PyRoMaNiAc2342 27 Aug, 2020 @ 12:46pm 
This doesn't seem to work for me
toughNOOB 25 Jan, 2020 @ 1:49am 
Thank you for making this tool!

I know this is a necro thread, but this might help somebody.

It still works if you hover something above the mat, but it wont work if you drop directly on the same level of the mat.

I will try to use it below my intended field of operation placing the text slightly above.

Sorry, my french is almost as bad as my english ;)
Unreal Ed  [author] 29 Jun, 2018 @ 3:31pm 
It's sadly always been spotty... I'll try to figure it out sometime when i can
Zero-Integral 29 Jun, 2018 @ 11:37am 
Seems a tad broken since the last TTS update. :-(
Unreal Ed  [author] 16 Oct, 2017 @ 2:07pm 
Merci pr les tailles, mais ouai comme je dis ya des bugs bizarres.... Je suis pas convaincu que ca soit pas des problemes avec TTS
Gormarius 16 Oct, 2017 @ 1:02pm 
-- Change the size of the box it's trying to find objects in
castBoxScale = {}
castBoxScale.x = 3
castBoxScale.y = 6
castBoxScale.z = 3

Par contre j'ai remarqué qu'au bout d'un moment le script se fige. J'ai une table plutôt riche en items, mais ça reste raisonnable. J'a 4 compteurs qui fonctionnent au chargement, puis se figent au bout d'un certain temps.
Unreal Ed  [author] 13 Oct, 2017 @ 11:19pm 
Augmenter a combien? Je le mettrai a ca
Gormarius 11 Oct, 2017 @ 3:08pm 
j'ai augmenté la portée de détection verticale (Y de mémoire) et ça fonctionne mieux. En revanche, il bug semble t-il en figeant la valeur et demande un rafraichissement du plateau pour refonctionner. Une fois fait, je n'ai pas noté d'anomalie.