Tabletop Simulator

Tabletop Simulator

Not enough ratings
Customizable Counters
   
Award
Favorite
Favorited
Unfavorite
Type: Utility
Complexity: Low Complexity
File Size
Posted
Updated
1.506 MB
28 May, 2022 @ 12:18am
2 Jul, 2022 @ 12:49pm
5 Change Notes ( view )

Subscribe to download
Customizable Counters

Description
This counter is highly customizable with relation to it's colors, button layout, and transaction options.

Every counter in this mod uses identical code but has different settings within its customization menu. Right-click and press "Open Customization" to make changes. You can click "Options Explanation" from the customization menu to learn more about each option.

Many of the options are devoted to having counters transact with each other. The original idea was to help make train games easier to play on TTS, where players pay money into neutral treasuries and where those neutral treasuries also pay each other and the bank. This has been built beyond that to also deduct from a central bank which should make this useful in many 18xx type games as well.

You can easily set the value of this counter to something else by using a built in function. Do this by using:
What_ever_you_called_this_counter_as_an_object.call("SetValueTo", newvalue)


You change the token this counter is associated with, but in order to change the location of the modifier buttons you will have to dig into the scripting code, specifically changing values in the generateButtonParameters() function. I took the time to try and put explanation comments in throughout the code to help remind myself how this thing works since I keep coming back to it after many weeks away. Hopefully it'll help you out to if you want to dig into my spaghetti code :P

This has been a passion project for many months, and I'm sure there are going to be issues. If you run into any errors or other bugs then please take screenshots and leave comments here so that I can try to fix them and make these things even better than they currently are.

This counter is based on the Ludo Lodge Custom Counter Tokens by Ryan Langewisch which was based on the excellent Universal Counter Tokens by MrStump.
7 Comments
The Noise (Real) 23 Jun @ 12:11am 
How can I change the value adjustment buttons? I don't want to have it just be 1,5 and 50.
Jonathan Cox  [author] 12 Mar @ 11:04pm 
For what its worth, the customization auto opens because i almost always modify them in someway. Usually changing color and changing the name to match that color.
ZandaBear 10 Feb @ 10:39am 
@President Jyrgunkarrd , just remove the "OpenCustomization()" line from the code before saving object.
President Jyrgunkarrd 25 Dec, 2024 @ 12:39am 
this is pure torture

i would love to use these counters, but the fact that literally every single time you spawn one in it makes the customisation menu appear is completely intolerable. what;s the point? you can access the menu via right click. it just creates clutter and extra tedious clicking to close the menu
yvan88 18 Dec, 2024 @ 1:26am 
can you make a automatic D&D Coin Converter for d&d like this https://ibb.co/M7dwFp9
Magnus Medivh 8 Mar, 2023 @ 6:39am 
saw this used in insane monopoly: pyramid scheme , was very pleased
Kwang 18 Jul, 2022 @ 6:12am 
Yet to check these out properly, but they look like something I will get a great deal of use out of!

Whether it's during DnD or one of my own projects, they look very useful!