Tabletop Simulator

Tabletop Simulator

HP Bar Writer
160 条留言
Rebe 1 月 26 日 上午 3:45 
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 2024 年 6 月 9 日 下午 1:04 
Am I dumb? I don't understand how this works at all
Outlaw Wolf 2022 年 4 月 2 日 上午 2:40 
this Tool has been updated here https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2454472719 as i think this creator has gone quiet.
guardianangelkuro 2022 年 3 月 22 日 下午 5:49 
Hey so some of my token's bars are very very very VERY thin, how do i fix that?
gfeather 2022 年 3 月 14 日 下午 12:09 
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 2022 年 2 月 8 日 上午 6:09 
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 2022 年 1 月 25 日 上午 5:04 
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 2022 年 1 月 19 日 下午 2:09 
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 2022 年 1 月 7 日 下午 1:50 
Adjusting heightModifier for either a model or the hp tool itself does not adjust the height
Arukādo 2021 年 5 月 6 日 上午 9:41 
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!
Syntax 2021 年 4 月 28 日 上午 11:34 
LOVE this mod! Any chance you'd consider revisiting this mod to make the conditions stackable? Or has anybody else figured out how to make conditions stackable?
SiN Fury 2021 年 4 月 7 日 下午 6:38 
I really like a lot of the options on here. Is there any way to add number tokens for different models of the same type (like on Gloomhaven). So if I have 4 of the same model, I know which one is 1, 2, 3 and 4.
Agonos 2021 年 3 月 21 日 上午 9:42 
Hello. Very good mod but you can't add options like for example in this mod? :
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1694376433
victorhurtado 2021 年 3 月 17 日 下午 12:15 
Hello there!

The script is amazing, but it has two serious issue.

1) If you toggle for visibility only for black and switch to another color, you can still see the bars and text. Some people have reported on steam can still see the bars even if they change visibility. The status of the bars and text doesn't seem to update even if you reload the game.
2) The second resource bar always stays visible regardless of the options chosen
[ProN00b] CorruptPanda 2021 年 3 月 10 日 下午 6:57 
this is great, how difficult would it be to track HP and Mana as two bars on the standee :D
Sued 2021 年 3 月 4 日 上午 9:45 
I would love an option to hide the numbers and have only the HP bar.
Congratulations, this mod is amazing!
garbadthestrong 2021 年 2 月 19 日 下午 3:22 
Just found this awesome health/status bar maker. Has everything i want and more. Your link in the comments to the vid to make custom tiles worked like a charm. Thanks a bunch man.
machineguy 2021 年 2 月 10 日 下午 9:17 
Hi, I was wondering if you could stop the panel from getting squished when the object has been scaled?
Outlaw Wolf 2021 年 2 月 4 日 上午 1:26 
Hello, can anyone help me with this. I love this tool but my biggest problem is the "only black can see the bars" does not work for me. I don’t know if it is user error or not. My players for my dnd game don’t like to know the enemy hp and the bars are always visible and even show up though my hidden DM area and are a dead give away.

Also my players track their own HP outside the game but I use the HP tracker for condition markers for their figurines. Is there a way to get rid of the bars all together so it can just be a Conditions marker for them and not show up an empty bar?

thank you kindly for your time
MoonkeyMod 2020 年 12 月 16 日 上午 9:24 
@Kijan, thank you for such a great mod, are you continuing to support and develop it?
Kisho 2020 年 10 月 8 日 上午 12:53 
@Kijan there's a bug in the "extra" bar. It can only write 10/10.
KappaLord 2020 年 9 月 24 日 下午 10:01 
@Kaze Kitsune
Continue from the last part.

So with this reason, one approach to fix the status effects is to add each of the status image with the correct name(this depends on the code) to the object's custom UI assets. This could be automated by scripts to if you a familiar with it.

It's a long time that I figure out there is a problem TTS have issues sometimes loading images. So if above isn't work, then maybe also try applying it to the global object. Or I am missing a rendering script to handle the image issue.

Hope this helps.
KappaLord 2020 年 9 月 24 日 下午 10:01 
@Kaze Kitsune
This is from experience, for objects to load image properly in any map the images have to be in the custom UI Assets of the object itself or else sometimes you will run into issues.

In tabletop simulator when you right click on a object there is a scripting option if you are the host, each object in tabletop simulator has their own script and also parameters or data stored in objects so that the objects could locally access those data itself. When opening the scripting option after the scripting UI appears, you can see on the topright beside the X there is a tool bar like button. That is the custom UI assets for that object.
Kaze Kitsune 2020 年 9 月 24 日 下午 9:09 
Has anyone ran into an issue where, the mod works 100% with status effects, but when you load the character into a Gloomhaven game, the status effects show a White Box instead of the image of the status ailment? If so, is there a fix?
jpmarcotte 2020 年 8 月 28 日 上午 8:21 
Though I did discover a new bug. If the Extra/Resource bars are visible when you save, when you load again, they overlap the health bar. Workaround is to hide Extra/Resource on save, then reveal on load. (It can be fixed by doing this as well)
jpmarcotte 2020 年 8 月 28 日 上午 8:01 
Figured out my issue (or at least a workaround). The other minis were listed as "Generic" under the Custom menu button. Changing them to `Figurine` and clicking `Import` before dropping them onto the pad will load the scripting onto the model, but the bars still don't appear for some reason. After that, the game just needs to be saved and reloaded (either manually, or through the Save & Play part of the Scripting Menu) and then the bars appear.
Feraga 2020 年 8 月 21 日 下午 4:50 
any way to change the size/scale of the bars/text the game i play the bars are difficult to see, and the numbers inside them... forget it.... or maybe i need new glasses O.O i have been browsing through the scripting code, but i am no good at it at all. LOVE this mod btw. <3
jpmarcotte 2020 年 8 月 21 日 下午 4:16 
This is working great on some figures, but not others. I'm specifically trying to use it with this mod: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1371901280 and it works on the monster figures, but not the hero figures. Anyone able to help me figure out why?
raultiberiu 2020 年 6 月 15 日 下午 2:45 
The bar is located at the foot of my miniature instead of above.
This is a bug.
Imperetor Juber the werewolf! 2020 年 4 月 27 日 下午 2:28 
Is there a way to remove the HP bar from a specific Figure?
Plothos 2020 年 4 月 25 日 下午 12:12 
Any way this could be made to work for tokens and tiles?
_Nick 2020 年 4 月 18 日 上午 8:06 
Can you please make it so that the panels are not classified as "Board"?
Board objects are visible to all players so i cant hide the HP panel from them even if the healthbars are hidden. I really love the idea behind your mod but as it is right now it cant be used for its intended purpose.
Frankie Fire 2020 年 4 月 10 日 上午 5:15 
Hi there! This is awesome! Only things I miss is the option to hide the health bar itself as well, to still keep track of it on the panel but hidden to the players, and only show them the "extra" bar for an abstract health level (healthy, injured, dying etc., no text, just values 5 to 1). Also, the possibility to manage all 3 bars on the panel would be fantastic and make up for the health bar showing all the time.
Still, fanstastic work!
Kijan  [作者] 2020 年 4 月 2 日 上午 8:21 
i will check this mod in the future... atm i am busy with Gloomhaven and Frosthaven. But i will do my best then ;)
TrytoTakeOvertheWorld 2020 年 4 月 2 日 上午 7:45 
Hi - is there a way to make it so opposite sides of the table can see the text of the HP bar? It's the mirror image which makes it hard to play against someone.
Goodie 2020 年 2 月 23 日 下午 8:25 
Was having issues loading condition images on figures when the HP Bar Writer object wasn't on the table, can add object.UI.setCustomAssets(self.UI.getCustomAssets()) to line 600 of the HP Bar Writer script to have it add the ui assets to each model individually.
xinlli 2020 年 2 月 19 日 上午 3:37 
hi,with this"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." can i change the image and how?i want to play descent with this mod....
Sadwick 2020 年 1 月 9 日 上午 3:00 
for now, not really ! I just tried again : it is functional the way it is on my previous version !

I will update eventually, when others features come in :)

Great year 2020 to you, and thanks ! :)
Kijan  [作者] 2020 年 1 月 8 日 下午 11:38 
@KappaLord
I will check it out

@Saint Fen
If it is working for you how you like it then dont update
there is no big change for you then
because if you want to update, you have to recreate the bars so you have to create new standees and drop them again on the writer
but you will not benefit from anything i think ... or do you have any issues?
Sadwick 2020 年 1 月 8 日 下午 4:18 
Hey Kijan !! Big thanks and sorry, didnt saw your previous answer (about the 0/0 hidden status :) )

I just checked, the actual version I have of your mod (never update it) is still working for my status with dragged tokens (no H/H needed here) .. should i still update it? If so, how do I do that without breaking everything???

Or is the rule : if it aint break, dont update it !!!:p Thank you
KappaLord 2020 年 1 月 5 日 下午 5:04 
An image of the Stackable Status

Imgur Link:
https://imgur.com/a/oRCnxZo
KappaLord 2020 年 1 月 5 日 下午 12:30 
Hello Kijan,

It's an excellent work you got there.
Here I used your code and make a modified version, where(PasteBin Link Below):
1. The status you put on the figure could stack up showing "x1" to" xn", n is number of the status object you collide with the figure.
2. The UI Asset would load from the map's Global and save to the object, means that only uploading the image to Global could let the object get the UI Asset and save to it's local. This means no more reloading maps, where the UI will always show the normal image instead of white boxes.

Copy the code from PasteBin and paste it to a figure's lua script then you will see the effect(reload the figure is needed, to activate the script)

I used some of your code to make something, so I want to share with you what I've done here.
Also, this piece of code is for you to look at and add in the status stacking function if you want to your WorkShop of "HP Bar Writer".

Link here:
https://pastebin.com/2iz6Pka1
Kijan  [作者] 2020 年 1 月 4 日 上午 7:06 
das wäre einfacher gewesen ;)
Generation 2020 年 1 月 4 日 上午 2:20 
Und warum schreib ich nicht auf Deutsch xD
Generation 2020 年 1 月 4 日 上午 2:19 
I rebuild the complete Table and now it works kind of... the hp bars and the ressource bars are sometime now not overlapsed but they are way apart from another... (copy,paste,delete did the job for now so the script seems to work but on my table the script is messed up...)
Kijan  [作者] 2020 年 1 月 4 日 上午 12:01 
today i checked and wanted to work on it but i cant see any errors?
Maybe send me a save with the error so that i can see it or a video maybe?
i cant figure out what your problems are.
I can drop figurines on it and they have the bars on it.

@Saint Fen
I fixed it with 0/0 HP ;)
if you create a mini with 0 hp then the hp bar is not shown, but if you want to change something in the menu you have to show all hp bars atm because you cant click the hp bar for the menu ^^
Yatagarasu 2020 年 1 月 3 日 下午 1:15 
Kijan, any progress on making the bars work again? :)
Kijan  [作者] 2019 年 12 月 16 日 上午 7:30 
Sorry that have to do with a TTS update :( ... i will look into it when i have time ;)
Generation 2019 年 12 月 12 日 上午 9:15 
I hope the Creator can make it work again... Its really buggy on our Table. On the First Load all Player Figures are without Hp bars, the second hp bar goes in the red hp bar so that they overlapse... The Black Only Figures wont work anymore so that the Players can see the Hp Numbers...
The King 2019 年 12 月 9 日 下午 8:53 
How do I even make this work? I am dropping figurines on the tool but nothing happens.