Tabletop Simulator

Tabletop Simulator

58 ratings
HP Bar Writer
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
File Size
Posted
Updated
161.764 KB
5 Jun, 2018 @ 3:51pm
3 Jan, 2020 @ 11:59pm
14 Change Notes ( view )

Subscribe to download
HP Bar Writer

Description
This is still WIP.
HP Bar for Standees.
It uses the UI Functions.
Also supports status effects as floating images above the hp bar.
You have to load the images as UI assets in the HP Bar Writer.
Then save the game and load it again.
After that dropp a figure on the Writer.
when you now drop an object with the name of the image, on a figure that was dropped on the Writer, it should appear over the Figure.

When the starting Ressource is 0 the bar will be hidden for newly dropped figures

With a click on the middle of the HP Bar (probably zoomed in) open up the Buttons.
There you can change the Max HP, Height of the Buttons, rotation of the bars, activate Buttons next to HP Bar and/or Base, let the HP go less then zero or more then max, activates/ deactivates the ressource bar.

With a click on the right part of the HP Bar you can show or hide the + and - buttons.

Option for player controlled Character. These will be not effected for only black sees or edits.
Added a board for list all monster and remotely change value

You can hide all Bars if you want to use only the tokens
Popular Discussions View All (3)
3
10 Sep, 2023 @ 9:44pm
How To: Using HP Bar Writer with Custom Assets
Gake
1
24 Jul, 2020 @ 1:27pm
Fix height for custom figures
SB
160 Comments
Rebe 26 Jan @ 3:45am 
HP bar and secondary bar glitch into each other (overlap), is that a know problem and if yes ,is there a way to solve that issue?
Zythe 9 Jun, 2024 @ 1:04pm 
Am I dumb? I don't understand how this works at all
Outlaw Wolf 2 Apr, 2022 @ 2:40am 
this Tool has been updated here https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2454472719 as i think this creator has gone quiet.
guardianangelkuro 22 Mar, 2022 @ 5:49pm 
Hey so some of my token's bars are very very very VERY thin, how do i fix that?
gfeather 14 Mar, 2022 @ 12:09pm 
It's a great tool.The third resource bar (yellow) doesn't hide when you set it visible for black only.
It would be nice:
-if you could rotate the roll of the hp bars so they are viewable from overhead rather than the side.
-For the character viewer window, include initiative tracking that would order the characters according to initiative
- a setting directly on the large character board that would allow you to manipulate the translation of the hp bar. Sometimes the bar ends up inside the figurine which is impossible click and get to the settings. Or a button that will auto bring up an offset height menu of all settings for figurines
-Support for hovering over a status effect and bringing up a tooltip / text then all the effects of the status effect will pop up.
-Also, perhaps an area on the character board that will list all status effects along with their effect (+4 whatever, 1/2 movement etc)
Just some thoughts :).
Bladecom 8 Feb, 2022 @ 6:09am 
I wanted to say thank you for your work on TTS, I keep finding myself learning code from several of your projects to help improve my own projects. sub/find, getLuaScript(), setLuaScript() were things I didn't know existed in the api, and just opened a lot of doors and saved me so much time.

Probably not your intention with this mod or other projects, but I've really learned a lot by your examples.
The_Journeyman 25 Jan, 2022 @ 5:04am 
Got it fixed. Just added a small function to each figure to reset the max health and current health to whatever I need.
The_Journeyman 19 Jan, 2022 @ 2:09pm 
Hi, I've incorporated your mod into a scripted setup on a mod I am working on. Really love what you have done here. (your other scripted mods are first class too, way above my level)
I wanted to be able to adjust the health levels on the fly, and can see it uses the table health{} but just changing that table isnt enough to change the HP bar. Is there an easy way to do it? I know you did it in some of your mods but I'm struggling to reverse engineer your code...
Radimir Winnin 7 Jan, 2022 @ 1:50pm 
Adjusting heightModifier for either a model or the hp tool itself does not adjust the height
Arukādo 6 May, 2021 @ 9:41am 
Hello Kijan!

I am the creator of Yu-Gi-Oh! Dungeon Dice Monsters mod on TTS.
First I want to thank you for your awesome work on this mod.

I am planning to use your mod on DDM, but I would like to request you some changes on it.

- Could you, if possible, add the 2 other bar values and controls in the Bar Panel?
- Could you explain how to change the name and colors of the bars so I can put HP/ATK/DEF?

In YGO DDM monsters have HP, ATK and DEF stats, and it could be awesome for my mod if everything was synced on the panel!

Thanks in advance for your reply!