Tabletop Simulator

Tabletop Simulator

Portable chess clock
13 Comments
Bloody Byrn 12 Apr, 2021 @ 8:13am 
works perfect, thank you
dzikakulka  [author] 12 Apr, 2021 @ 6:49am 
@BLooD ManDU
Sounds be pretty easy, but its pretty specific functionality and I don't think it should be in the published version of this clock.

All it needs is adding the following script:

if state.running then
state.timeValues[state.currIndex] = state.timeValues[state.currIndex] + 10
UpdateTimer(state.currIndex)
end

to the beginning of ClickTimer function, that is just under the line that says

function ClickTimer(index, color)

You can access the clock script under Modding button op top of the screen, then selecting Scripting and choosing the clock object on the list - it will highlight blue when selected.
Hopefully that will let you get the needed functionality and maybe help with further modifications :)
Bloody Byrn 11 Apr, 2021 @ 4:47am 
Hey nice clock thanks for the work, is it possible to add the increment function?
i mean for example +10 seconds added to your clock at the end of your turn.
Alien Righteousness 4 Mar, 2021 @ 4:51pm 
I did an additive load and that's why the text was still there. I ended up just saving the clock alone as an object and them importing into my mod. Thanks so much, great work!
dzikakulka  [author] 4 Mar, 2021 @ 3:27pm 
@Step 1
What text? The instructions and arrows? It's there for you to learn its functionality, but you should just copy or add the clock to your saved objects and spawn it wherever you need it directly, not play on this exact table.
Alien Righteousness 4 Mar, 2021 @ 1:27am 
Cool, but why all of the text around the control? I have no idea how to delete it. Its just stuck on the board and looks horrific.
dzikakulka  [author] 4 Jan, 2019 @ 2:16pm 
@Heinz
Nice catch, should be fixed. It's still not what I would like to be, but probably good now. If you still notice any drift, let me know and I'll rework that bit.
Heinz 2 Jan, 2019 @ 3:38pm 
The time is much faster than actual time. 20 "seconds" tick off in about 10 actual seconds atm.
Ivan_IV 4 Nov, 2018 @ 2:50pm 
Glorious! Thanks!
Unreal Ed 3 Jan, 2018 @ 6:39am 
@dzikakulka I highly recommend the button visualizer tool to help you make mods. SUPER useful
dzikakulka  [author] 2 Jan, 2018 @ 5:29pm 
@Unreal Ed
Sure, I can make it also display the times in the notes area. It'd take a lot of work to make a menu with all the customization on buttons so there probably would be switches in the code to decide what's displayed.
Unreal Ed 31 Dec, 2017 @ 8:04am 
Great job! Lots of things you got right with this tool!

Could you make a clock that counts up how long each player is taking on his turn? it would be great if it could optionally display that time in the notes (something which this chess clock could also do).
You should be able to pause it, it would switch players automatically when turns end, and it could display the average time per turn (and maybe fastest/slowest turns)
Tactical Shift 30 Dec, 2017 @ 1:33pm 
absolutely amazing ! i was looking for double chess clock for ages! finally!