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, and for the game tooltip, although in this case the values are on top of the corresponding bar.
For each frame type (player, pet, target, focus, party, or tooltip) 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, focus, and tooltip 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 all of the settings you make in the options window 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.
Rebar has a number of settings that are global configurations, and don't have to be configured per character - font sizes per frame (set via the /rebar size command) and whether text should be shown all centered or not.
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.2.0
Reparent RebarTooltipFrame to GameTooltipStatusBar to ensure it gets hidden when it is supposed to (stops it showing a value on tooltips it isn't supposed to).
Minor fix to help text highlighting
Changed version string to 3.2.0
3.1.0
Added code to handle vehicle frames for the player and party so that their text values appear in the right place.
Added code for displaying the health (as a value, deficit, or percentage) on the mouseover-tooltip.
Added the option to set the sizes of the text on the different frames through the size command.
Added the option to display text on the player, party, and pet frames centered instead of to the side.
Added an entry for Blizzard's interface options screen that shows a list of the slash commands, tidied up the help text, removed the normal addon "announce".
Various code legibility improvements (particularly for the way defaults were handled).
Honour the lockColor option for statusbars in HealthBar_OnValueChanged.
Set justification of the font to match that of the frames to improve on-screen alignment.
Raise the level of the Rebar text so that it shows up properly above the artwork for its unit frame.
Hide frames that aren't being used because the user has turned off its options.
Changed version string to 3.1.0
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
I'm having an issue the the target frame, the numbers from rebar don't show up unless I mouse over the health/mana bars. And sometime stay after the mob is dead, so I end up with 0 in the middle of the world "dead".
Vikku - No plans to add that at the moment, mostly because it would tend to run-into text from the player frame
miros - Currently no plans to move the target frame health from where it is, mostly because of issues with the text running into text and icons from other things (such as buff/debuff icons, etc.)
I would also very much like to see an option, similar of CT_UnitFrames, where you can see information about target hp and power on the left side of the target frame.
Currently not working for me with the target frame. Doesn't show health, nor percent or deficit.
If that helps, I have the blizz health option enabled.
Edit: Working perfectly. Is there anyway I can see the health percent of my target in a side of the frame? Just like the one in the player portrait. Thanks
Rebar should now properly support vehicle modes (where your player or party frames change when you are in a vehicle).
Added the option (off by default) to show health text on the game tooltip's health bar.
You can now set the size of the text used by Rebar on a per-unit-frame basis via the /rebar size command (request by rassa). You can also reset them all to their defaults using /rebar size reset. Note that any size changes are global to all your characters.
You can now center the text on all the unit frames if you want using the /rebar center on command. You can't set it to center or not for indiviual frames though. (request by Squiddy0 and Observingthings). As for the size, global to all your characters.
Raised the frame level of the text so that the player frame artwork won't show up over the top of the font (request by Jazzshade).
Added an entry for Rebar to the Blizzard interface addons page and removed its "load" notification announcement.
Excellent and extremely useful addon, thank you. I am also using Squidframe and the runepower number is being covered. Is there a way to change the strata of the values in the lua?
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 .