Tabletop Simulator

Tabletop Simulator

58 个评价
HP Bar Writer
   
奖励
收藏
已收藏
取消收藏
Assets: Scripting
文件大小
发表于
更新日期
161.764 KB
2018 年 6 月 5 日 下午 3:51
2020 年 1 月 3 日 下午 11:59
14 项改动说明 ( 查看 )

订阅以下载
HP Bar Writer

描述
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
热门讨论 查看全部(3)
3
2023 年 9 月 10 日 下午 9:44
How To: Using HP Bar Writer with Custom Assets
Gake
1
2020 年 7 月 24 日 下午 1:27
Fix height for custom figures
SB
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!