Tabletop Simulator
Μη επαρκής αριθμός βαθμολογιών
Custom UI Example
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Assets: Scripting
Ετικέτες: Misc
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
9.101 KB
24 Μαϊ 2018, 15:52
27 Μαϊ 2018, 14:45
2 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Custom UI Example

ΠΕΡΙΓΡΑΦΗ
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 σχόλια
Evil Smurf Joey 28 Ιουν 2020, 10:59 
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 29 Απρ 2019, 18:30 
It has been a while since you made this. Do you plan on making a portable version?
transgender gaming 17 Νοε 2018, 16:53 
Do you think something like a simple combat tracker could be made using this tool? :O
This is really neat
KaptenKelz 13 Ιουλ 2018, 16:10 
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 26 Μαϊ 2018, 23:51 
Thanks a lot...
MrStump  [Δημιουργός] 25 Μαϊ 2018, 3:56 
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  [Δημιουργός] 25 Μαϊ 2018, 3:54 
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 25 Μαϊ 2018, 3:40 
Nice! Please some steps to add this dice roller to my game. oh, and could you add a d% (d100)
Thanks again!
merovigiam 24 Μαϊ 2018, 18:27 
:kingme::kingme::kingme::kingme::kingme: