Tabletop Simulator

Tabletop Simulator

Health Bar System
17 Comments
Zyphex Skybreaker Feb 28 @ 4:44pm 
Just randomly started getting two errors. One is "Ignoring duplicate id value 'HealthRow0. Id values must be unique." The other is "Warning: 'ffffff77' is no a valid color value."
Kaialb Nov 28, 2023 @ 3:25pm 
Hmm, is there a way to change the health so that instead of 100/100 it's something like 40/40? All the creatures I add are given 100/100 default health, but they have varying amounts of health, and I haven't been able to change it in any way to reflect a new life total unless it's 100/100
T00N3Y-SA Sep 22, 2023 @ 2:50am 
How does one change the keyboard shortcut from num pad 0? I don't have a numpad keyboard
OneNameMarty Jun 18, 2023 @ 8:12pm 
Amazing! My group uses tokens, any ways to lay the HP bar against the table so it could be seen from a top down view?
Wise Apr 20, 2023 @ 4:06pm 
I love this. Good work. I added this to my Zombie escape games. It helped it a lot thank you for your work.
TheScarletJarl Dec 7, 2022 @ 9:54pm 
If you want multiple people to see it you can add a | symbol (just above your right shift key) between, so it would look as so, "visibility="Red|Blue|Host"". Another tip, if you put Admin in place of host anyone in the lobby that was promoted can see the health bars as well as the host. Furthermore, do NOT edit the "visibility="Host"" line under Global UI as this will let anyone who you allow to be able to see the health management button in the bottom right, but when they press the button, they won't be able to see the menu: it will however toggle the expanded menu on the hosts end. [part 2/2]
TheScarletJarl Dec 7, 2022 @ 9:54pm 
You can change who can see the health bars by going into Scripting found under Modding. From their go into the Global Lua Script and change the line that says "visibility="Host"". When changing this line you want to just delete the word host and replace it with who you wish to see the health bars. So lets say you wish to have the player that selected red to be able to see the health bars, your line should look like this, "visibility="Red"". [part 1/2]
Limeyhoney Jul 31, 2022 @ 3:32pm 
Anyway to make it so non-hosts can see these healthbars?
bonanzabrothers Apr 29, 2022 @ 6:14am 
espetacular:steamthis:
Lord Animal Chin Feb 1, 2022 @ 6:06pm 
neat mod. any suggestions on implementing it with something like this?
https://steamcommunity.com/sharedfiles/filedetails/?id=1963827098
Deratio Sep 23, 2021 @ 9:06pm 
Thanks for the help!!
Crostu  [author] Sep 23, 2021 @ 5:46pm 
Well you've got two options. The first and the one I suggest is to just load into the workshop game. Then build your game from that setup. This is fine if you are starting from scratch.

If you want to add the mod to a game that you have already setup, then try this:
- In the top bar go to Modding -> Scripting
- Copy the Global script in the Lua tab into a text file
- Copy the [UI] Global xml in the UI tab into a separate text file
- Load the game you want the health bars in
- Open the Modding -> Scripting menu again
- Paste the first text file you copied into the window of the Lua tab making sure to overwrite anything already there.
- Do the same for the second text file you saved but this time in the UI tab
- Press the Save & Play button and you should be good to go.

There might be an easier way to do this but this should work.
Deratio Sep 22, 2021 @ 11:43am 
I am probably missing something obvious, but how to I import/enable this on my table? It seems to work well in the mod but I can't figure this out. I have tried additive load/searching the mod's components, any advice?
Crostu  [author] Sep 21, 2021 @ 6:31pm 
Latest update switched the example assets to use basic RPG figurines to avoid 404s. Thanks for the feedback!
Baryonyx Sep 21, 2021 @ 10:49am 
Otherwise, works very well and is simple to use! Thanks!
Baryonyx Sep 21, 2021 @ 10:44am 
The spearmen give me 404 errors, I confirmed it with my browser.
Deratio Sep 20, 2021 @ 11:10am 
Seems like there are a few missing assets in the mod, not sure what they were.