Tabletop Simulator

Tabletop Simulator

Not enough ratings
Custom UI Example
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc
File Size
Posted
Updated
0.009 MB
May 24, 2018 @ 3:52pm
May 27, 2018 @ 2:45pm
2 Change Notes ( view )

Subscribe to download
Custom UI Example

Description
This is an example of the Custom UI system which uses XML along with Lua scripting to create functional on-screen elements for your games.

More information can be found in the Tabletop Simulator API: https://api.tabletopsimulator.com/ui/introUI/
< >
9 Comments
Evil Smurf Joey Jun 28, 2020 @ 10:59am 
MrStump, thanks so much for posting all of your tutorials. They have been very helpful. I've had a lot of fun coding and trying stuff out. I subscribed to this custom UI and made my own. Works nicely. However, I could not get an image loaded. In your xml you use the image name 'TTSLogo'. Is this image loaded as an asset? If so, how did you load it?
ShyShyShy Apr 29, 2019 @ 6:30pm 
It has been a while since you made this. Do you plan on making a portable version?
bearnadette (she/her) Nov 17, 2018 @ 4:53pm 
Do you think something like a simple combat tracker could be made using this tool? :O
This is really neat
Kaptain Kelz Jul 13, 2018 @ 4:10pm 
Hello mrstump I'm trying to get ahold of you in regards to a deck splay mechanic heard you were the man to go to for this. Btw I am from the group that has made heroquest Master Edition in tts.
darleth May 26, 2018 @ 11:51pm 
Thanks a lot...
MrStump  [author] May 25, 2018 @ 3:56am 
Also, this was more for simple demonstration purposes. It is a bit on the simple side, just meant to show off how to do a few things with the custom UIs. If I have time, I'll make a portable version.
MrStump  [author] May 25, 2018 @ 3:54am 
If you wanted to use it in your game, copy the Global Lua script and Global UI over to your table. If it already has scripting on it, you would need to combine the onLoad and onSave functions which would be a case-by-case kind of thing.

The Id in the UI is the value of the roll. So if you made a button with 100 for the id, it would roll a d100 instead.
entr0py May 25, 2018 @ 3:40am 
Nice! Please some steps to add this dice roller to my game. oh, and could you add a d% (d100)
Thanks again!
merovigiam May 24, 2018 @ 6:27pm 
:kingme::kingme::kingme::kingme::kingme: