Tabletop Simulator

Tabletop Simulator

Not enough ratings
Portable chess clock
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc
File Size
Posted
Updated
39.611 KB
30 Dec, 2017 @ 8:27am
4 Jan, 2019 @ 2:16pm
3 Change Notes ( view )

Subscribe to download
Portable chess clock

Description
Simple adjustable chess clock, no fireworks.

If someone has a fancy assetbundle with beeping affect and stuff, PM me or rip the script and put it on it if you want. But the current rectangle is 100% functional.
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