Example with player health in deficit mode and target in normal mode
Cirk's Rebar
What is it?
Rebar simply provides text values for your the health and mana of your character, your pet (if you have one), and any party members next to their respective status bars (in the default Blizzard UI) rather than on top of them. It also provides the same values for your target and focus frames, although in this case the values are on top of the frame's statusbar.
For each frame type (player, pet, target, focus, or party) you can individually control whether text is shown, and whether it is shown as deficit (how much is missing) or percentage value. For the target and focus frames, Rebar also recognizes friendly units (those that you can assist or cast heals on) and non-friendly units, so as to allow you to chose different settings for these.
Why write this?
In the 2.3 client, Blizzard added the option to show values or percentages on the player, pet, party, and target bars. However for me, the text of these values just gets in the way of being able to easily see where my status bar is at, and doesn't provide individual control for health and mana. It also doesn't provide a "deficit" mode to show how much health or mana is missing (something that I find very useful for healing).
How to use Rebar
Rebar remembers your settings on a per-character basis (since what is useful for your healer might not be so helpful for your DPSer). To display the Rebar Options window, just type /rebar or /reb.
Acknowledgements
The CT team for CT_UnitFrames which I relied on for so long, and which I missed enough when they weren't around to write Rebar.
Enjoy!
-- Cirk
Change Log - Cirk's Rebar
3.0.2
Fix issue that arises when logging in on a newly created character or after reinstalling WoW due to client messages arriving in unexpected order.
Changed version string to v3.0.2.
3.0.1
Fixed a bug where the health status bars weren't being colored according to the health value.
Added new options for friendly versus non-friendly health settings for your target and focus-target.
Made the tooltip descriptions in the options a little clearer.
Changed version string to 3.0.1
3.0.0
Changed version string to v3.0.0.
Added support for the new Blizzard default FocusFrame
Added support for the new "fast updates" mode for player and pet mana
Tweaks and improvements to the options menu
Change to support the new method where PC and NPC health is always reported
Status option now shows memory used
Various minor changes for version 3.0 compatibility
Originally posted by Cirk For the player, pet and party frames, the numbers that Rebar adds always show beside the unit bar (not on them). That was on purpose so you could turn on Blizzard's own healthbar numbers (in the interface) for these as well if you really wanted
For the target frame however, the number (whether its the value, deficit, or percent) will always show on top of the health bar, and you'll need to make sure to turn off Blizzard's health bar numbers for the target frame for Rebar to be able to show up on the target frame here. (It kinda has to be on top here because there's no room to the left or right for it to go there).
I can however look at adding an option to show the player/pet/party values on top of the unit bars if people would find that useful?
Originally posted by Squiddy0 Is not the same as what is displayed in game; the deficit number is outside the unit frames vs on the health bar as in the image above, how would one get the deficit number to display on the health bar as the above image shows?
For the player, pet and party frames, the numbers that Rebar adds always show beside the unit bar (not on them). That was on purpose so you could turn on Blizzard's own healthbar numbers (in the interface) for these as well if you really wanted
For the target frame however, the number (whether its the value, deficit, or percent) will always show on top of the health bar, and you'll need to make sure to turn off Blizzard's health bar numbers for the target frame for Rebar to be able to show up on the target frame here. (It kinda has to be on top here because there's no room to the left or right for it to go there).
I can however look at adding an option to show the player/pet/party values on top of the unit bars if people would find that useful?
k I just got this for the deficit hp and the hp bar coloration however the image here:
Is not the same as what is displayed in game; the deficit number is outside the unit frames vs on the health bar as in the image above, how would one get the deficit number to display on the health bar as the above image shows?
Originally posted by Karnifex Hey, CT's unitframes were also movable. I'd like to add that as a feature request
Hey Karni! /wave
Actually I never liked/used that feature of CT's unitframes , so I probably won't add it to Rebar. You should be able to use any other frame moving addon though if anyone does want the feature though .
Just updated Rebar to v3.0.1:
- Fixed the bug where the health status bars weren't being colored according to the health value (thanks again Musacorp).
- Added new options for friendly versus non-friendly health settings for your target and focus-target.
- Made the tooltip descriptions in the options a little clearer.
I can't configure my bars with the color, when I have low health the color still green, do you know why?
If I click on myself when I have 50% I can see the changed color to yellow/orange, but 1sec after just back to green, then if I untarget myself then target again, I can see the yellow/orange color, but again 1sec after back to green. :P
I don't know if it's really clear, I hope you understand the problem.
Originally posted by break19 hmm, does this support Mobhealth3 and/or mobinfo's estimated target HP?
Hi break19. It doesn't support it in the sense of showing the health value estimate, etc., on the healthbar itself, since it really just reformats and shows the normal basic data that the standard UI makes available. However you can either turn off rebar's use of the target health (and use the values from your preferred addon) or use both by showing the mobinfo2/mobhealth values at a different position.
For example, for myself I have mobinfo2 health displayed above the target frame, so I can see both the normal % health value on the bar (for mobs) or actual health (for players) via rebar, and mobinfo2's health estimate above the bar when it knows enough to actually show a value. (I assume Mobhealth3 has a similar mechanism to allow you to place where it shows the mob's health).
Originally posted by deviled i wonder if you've read ct_team added ct_unitframes again.
I did devlied thanks, but I'd basically already finished Rebar by then, so I decided to post it up here anyway
Quote:
Originally posted by Flarin One request - could you perhaps add the ability to scale the text ? I want to make the text bigger.
Hi Flarin, yeah this is on my list of things to do for Rebar (although don't hold your breath )
In the meantime, if you want to try changing it for your own version, you can edit the Rebar.lua (any text editor will do for this) and look for the fontSize values in the _unitData table (see lines 135 to 141). These fontSize values are the +/- changes to the default font size that Blizz uses for this same text font, so (for example) for the pet I use fontSize = -1 to make the font one size smaller so it better fits next to the pet bar. You can try changing this for any of the fields to +1 or +2, but you might start running into problems with the text overlapping and such. Feel free to give it a try though