Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar tracker (Total, Value) #2860

Open
HUGO753 opened this issue Jul 14, 2021 · 3 comments
Open

Bar tracker (Total, Value) #2860

HUGO753 opened this issue Jul 14, 2021 · 3 comments
Labels
feature Adding functionality that adds value

Comments

@HUGO753
Copy link

HUGO753 commented Jul 14, 2021

Imagine at campaign when a PC hit a orc and do 9 damage, but the orc has 13 hp, so the current health bar is 4/13, after that the DM get the bar and drags to... like uhhh... let me get a calculator, (4*100)/13 aha! 30%! but it's get a lot of work to set up some bars, how can be a solution to set up a easier bar? well when you do left click on the token, a colorful shape appears!

image
That isn't a orc, but you know it, and when you put the number four on it and hit enter...

image

With that would be helpful, but how... Ok that's enough of joy.

As you can see, when you left click on token, you can show a shape like a circle, square, diamond, and so, or even a user can upload a custom shape like conditions.

And to configure i suggest at (Edit - > Campaign Properties... -> Bars) and 2 news options, a button and a checkbox, let's say... bar tracker (not a good name).

image

If the checkbox isn't selected, the button will be disabled.

When you click the button, it would open a new window:

image

And would add this options at the token when clicking 2 times:

image

"Total" is the total of the bar, "Current" is the current value of the bar, and the "Ref as" is a combobox where get values from properties, like temp_hp, mana and so on.

And it would be possible to add more trackers:
image

With that would be nice to edit the current state of the bar, oh and if the current is more than the total, the current will get the value of total.

That my suggestion.

@HUGO753 HUGO753 added the feature Adding functionality that adds value label Jul 14, 2021
@melek
Copy link
Collaborator

melek commented Jul 19, 2021

Agreed with the general principle of easier bar editing, I've long wanted to bind bar values to properties.

I'd want to be able to bind both current and maximum values to different properties, and set visibility options at certain percentages.

@thelsing
Copy link
Collaborator

Duplicate of #2552 I think.

@Phergus
Copy link
Contributor

Phergus commented Aug 18, 2021

Duplicate of #2552 I think.

Essentially though he did add lots of pictures. :)

Would also need to handle bars where the default state is in the middle such as one that goes from -10 to +10. Easy to handle with macros but would require additional configuration for both max and min values to automate it against a property(ies).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
None yet
Development

No branches or pull requests

4 participants