Tabletop Simulator

Tabletop Simulator

Not enough ratings
Quick Number Counters (Scripted)
   
Award
Favorite
Favorited
Unfavorite
Type: Objects
File Size
Posted
Updated
35.271 KB
Jun 12, 2021 @ 6:27am
Jun 19, 2021 @ 1:13am
3 Change Notes ( view )

Subscribe to download
Quick Number Counters (Scripted)

Description
Description
An infinite bag of counters that are easy to set numbers on with typing or clicking. Pretty compact and can be resized and coloured however you like.

How to Use
  • Load this mod, right click the infinite bag and choose Save Object. Then load your game of choice and choose Objects->Saved Objects to place the infinite bag in game.
  • Drag a counter from the infinite bag to create it in your game.
  • Left click in the centre of the counter to increment the number.
  • Right click the centre to decrement.
  • Mouseover a counter and type numbers on the numeric pad to put a number on directly (with NumLock on.) Multiple digit numbers can be used if you type in quick succession.
  • The edge of the counter has normal TTS behaviour, like dragging and the right click menu.
Features
  • The counter values are retained through loading and saving.
  • When a counter is dragged from the bag, it inherits the bag's colour, along with the settings for whether to use the grid or snap points.
  • The text size is dynamically changed if the numbers have multiple digits.
  • The text colour is selected as either white or black to contrast against the counter colour. (Updated whenever the counter's value is updated.)
  • Multiple infinite bags can be used safely if you regularly want counters of a few preset colours.
Tips
  • It's safe to use multiple bags if you regularly want new counters with a few preset colours.
  • The scripting to control the counters is on the Infinite Bag. Please don't delete any of these infinite bags once you start using their counters, it will lead to errors.
  • Hotseat mode only: You'll only be able to type numbers onto counters once the turn has been passed at least once after loading. This is due to script engine limitations: some functions report incorrect player data in hotseat mode, however the start of turn player data is correct, and I use that once it's available.
Credits
The counter model come from PuppyShogun's Board Game Essential Pieces mod. I tried to use a built in model, but some of them autorotate on pickup, some are too shiny, some are too round to place nicely onto other things and so on. PuppyShogun's model is a nice shape and has a matte finish that's great for putting numbers on top of.
2 Comments
Daiyamo Jan 30, 2024 @ 9:35pm 
epic
シ★S L A D K I Y★シ Jun 19, 2022 @ 3:17am 
Great, but it would be nice if you could also change the color of the numbers