Tabletop Simulator

Tabletop Simulator

86 vurderinger
Universal Counter Tokens
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Assets: Scripting
Tags: Misc, Templates
Filstørrelse:
Offentliggjort:
Opdateret:
32.317 KB
16. juni 2016 kl. 14:10
26. aug. 2017 kl. 15:32
6 ændringsbemærkninger ( vis )

Abonner for at downloade
Universal Counter Tokens

Beskrivelse
Counter tokens that can be easily customized for use in your games.You can use any image you like for the counter. The counter can be resized to any scale and it works with undo/redo/loading without losing its count!

I designed this for use with any game that uses tokens to keep track of things like health, mana, sanity, poison, etc. Sometimes it is tiresome to exchange tokens back and forth with the 'bank' and you wish you could just have a simple counter instead without those bulky counters that are part of the Tools in the game. The font size will resize if you go over 100, and there are both +/- 1 and +/- 5 buttons. I also added the functionality so that, if you enter any number into the description of the token and then click on the display, it will set the display to that number.

How to use your own image for the token:
  • Right click the token
  • Select "Custom"
  • Replace the URL with one of your own (500x500 image is ideal)
  • Without changing other settings, select "Import"

I hope you fine folks find some good uses for it. I've commented the code. If you're looking for a LUA example that shows you how to create/edit buttons or use the onSave() function, this could help. Cheers.
Populære diskussioner Vis alle (1)
1
23. okt. 2020 kl. 23:56
Negativ values
Sirzento / Nico
49 kommentarer
Sean2111 15. dec. 2023 kl. 0:28 
This is great.
I used my own image and saved to the cloud ,thought maybe for the best.
Then I made this counter really small.
Then I attached a Miniature Model (W40k infantry) to the counter.
Put the counter to rear of model.

Now I can still use the buttons ,and at present using for range. So I know this particular infantry man can shoot so far for example.

Works good.
Iron-Claw 6. juli 2023 kl. 15:05 
Yes, same here. So far it has always worked fine for the host, but sometimes the client players report that the numbers overlap for them and/or the buttons don‘t work. When this happens, saving and reloading the game seems to fix it. Also, rewinding time also fixed it at least in one case. Strange… not sure whether this behaviour is caused by a TTS bug or a mod bug (or both :).
Minesteper 25. feb. 2022 kl. 11:01 
does anyone else have any problems with the counters it seems fine to me but my players say the the numbers overalap on top of each other
MarcusRaven 5. juli 2021 kl. 10:25 
Is it possible to have two counters on the same token?
BeautifulMountAiryLodge 6. mar. 2021 kl. 12:11 
This is fantastic! Thanks!
Becbunzen 30. jan. 2021 kl. 10:42 
The counters seem broken with the update to TTS yesterday. Are you getting errors too?
Nogge 27. dec. 2020 kl. 11:41 
These counters are exactly what I was looking for, for a mod I'm putting together of a dying game.

Would it be alright if I use these in it, giving credit and linking here of course?
rULmismo 7. nov. 2020 kl. 2:43 
Thanks four your guides and assets. I am trying to use your counter in a script, but when access the getvalue() or increment() methods I always get a NIL result error.
It puzzles me that it works right if I use an standard TTS counter, but not with custom counters I tried. Any suggestion what I am doing worng?
Keanu Weebs 13. juli 2020 kl. 2:36 
Any thoughts on how to add multiple counters to a single image? I am trying to edit a counter for armor and structure for a battletech game.
Professor VG Dax 2. juli 2020 kl. 7:23 
Thank You Mr Stumps. I'm going to be uploading two verisons of a steam punk engine deck builder named Widget Ridge and just wanted to make sure it is ok with you that your counters will be in it.