Tabletop Simulator

Tabletop Simulator

Not enough ratings
On-Screen Countdown Timer
   
Award
Favorite
Favorited
Unfavorite
Number of Players: 1, 2, 3, 4
Assets: Scripting
Tags: Misc, 4+
File Size
Posted
Updated
17.902 KB
Aug 3, 2018 @ 10:22pm
Nov 17, 2019 @ 4:06pm
7 Change Notes ( view )

Subscribe to download
On-Screen Countdown Timer

Description
Pretty self-explanitory. It's a timer that stays on-screen when you want it, and goes away when you don't. Inspired by MrStump's Timer 2.0 - Scripted Countdown Tool, however it shares no code with it.

Good for setting time limits on turns, however it doesn't interact with the in-game turn system.
16 Comments
gramis Jul 5, 2022 @ 10:11am 
Maybe duplicate will be very nice, i need it for a chess timer, and if i can duplicate it it will be very helpfully for players. Also if you can just create in workshop a version with 2 or more timers duplicated it will be perfect for my purpose. I dunno how duplicate it :(
Kii♡chan  [author] Jul 5, 2022 @ 7:12am 
gramis, from a technical perspective, yes it is possible , however it would require some major code tweaking to get it to work. Personally, I don't really think having multiple timers would be worth the amount of effort it would take to rewire everything to support it. That said, the code base is old, so it might be beneficial to take the time and re-build this mod from scratch. Could you tell me (1) what you need more than one for, and (2) why easily-duplicated timer objects (such as MrStump's timer ) wouldn't do the job?
gramis Jul 5, 2022 @ 2:15am 
Is possible to have 2 or more of these timers on screen?
Kaiser the Only! Feb 17, 2019 @ 11:22pm 
I would like to reset and start the time automaticaly when roll the dice with R button. How can I do it? Can u help me?
Jiggy007 Aug 16, 2018 @ 4:33pm 
i forgot to read the notebok yet sorry. but thanks for explaining it here anyways!
Kii♡chan  [author] Aug 16, 2018 @ 4:05pm 
@Jiggy007 It's explained in the documentation I put in script itself, but it's how much time to multiply the changeTimeBy for the large changes. By default the +/- buttons will skip 10 seconds (changeTimeBy = 10) and the ++/-- buttons will skip 60 seconds (bigSkipMultiplier = 6) (6*10=60). So, if you change changeTimeBy to 1 but you don't change bigSkipMultiplier, the +/- buttons will change the timer by 1 second, and the ++/-- buttons will change it by 6 seconds. This may or may not be ideal for your game, so adjust the values accordingly to get useful increments for you.
Jiggy007 Aug 16, 2018 @ 3:58pm 
i see thanks! ( btw, what is "bigskipmultiplier" ? )
Kii♡chan  [author] Aug 16, 2018 @ 3:53pm 
@Jiggy007 You can adjust the amount of time per step in the script at the top. Change the line that reads "changeTimeBy = 10," to "changeTimeBy = 1,", then press "Save & Play" and save your game after it reloads. As a side note, you might also want to change the "bigSkipMultiplier = 6," to something else like 10 or 60 if you do this.
Jiggy007 Aug 16, 2018 @ 3:42pm 
this is a really nice addon. but ive got a question. is it also possible to add "1 second steps" ? there are games they need +/- 1-9 seconds instead of 10 second steps.
Unreal Ed Aug 8, 2018 @ 2:32pm 
Yea, the re-placing when a mod is loaded is fine. Besides, if people want to use this in their mods, they can just re-code where the default placement should be in a way that makes sense in their mod