rBottomBarStyler

This is rBBS an art framework. It provides basic functionality that can be used by rBBS layout styles to display art, models and orbs on screen. The addon does nothing on it's own. You need rBBS-layouts and probably an actionbar mod to make it work properly. This mod just displays art.

Install

Download rBBS and any rBBS-layout you like. Put both into your AddOns folder and start the game afterwards. Make sure you have any kind of actionbar mod installed that hides the default Blizzard actionbar!

Layouts

Default layouts are provided. They must be downloaded spereratly, like oUF layouts. rBBS is just a framework that needs layouts to display data.

Use the rBBS menu gem or the /rbbs slash command to open the menu. You can do the following things ingame: lock, unlock, show, hide, resize, scale, move, reset.

Dragframe

Version 1.03 introduced a new API function, the dragframe. If you want to make use of it create it first in your layout and have other frames parent it. (See example layouts). If you move/scale/resize the dragframe all hooked frames will follow.

Fluid animations

The new rBBS supports the fluid animation system of Roth UI 4.009+. You can choose between, no animation, no animation+classcolored, or choose one of the 23 preset animations.

How to create a layout?

Try editing one of the example layouts first to get a feeling for the files. The example layouts use a config.lua and a style.lua. The config.lua has all the config data for the frames you want to spawn in the style function. Most of the config data is optional. But some has to be set. The config does nothing by itself. The style.lua uses the API functions to spawn frames of different types using the config data. In some cases you want hook the frame to the dragframe. The dragframe can be passed as the third element and is optional.

API

The following API spawn function are currently specified. Each API function can handle a buch of config parameters. Set the config parameters in the config of your style and call the spawn function with the specifc config entry. Check layout examples for more.

- spawnDragFrame config attributes:

lua Code:

--strata = "BACKGROUND", --frame strata (optional)

--level = 0, --frame level (optional)

pos ={ a1="BOTTOM", x=0, y=0, }, --frame position (optional)

- spawnBackdropFrame config attributes:

lua Code:

name ="ChatFrameBackground", --Needed. Must be UNIQUE per addon.

width =450, --width of the frame

height =230, --height of the frame

scale =1, --scale of the frame (optional)

--alpha = 1, --alpha value of the frame (optional)

--strata = "BACKGROUND", --frame strata (optional)

--level = 0, --frame level (optional)

pos ={ a1="BOTTOMLEFT", x=20, y=20, }, --position

backdrops ={--you can overlay different backdrops on top of each other, each backdrop must have it's own index number

[1]={

padding =0, -- padding (the space that is between the frame and the backdrop edges)

Added an ingame menu.
- Added new API function for a dragframe
- Data is now saved in SavedVariables per character (thus does not fade if you deselect the addon)
- Added config menu
- Menu can be opened via "/rbbs" slash command or by clicking the gem
- Menu allows the following settings:

What is so special with the dragframe?
Other frames can anchor the dragframe. If you size the dragframe all other frames will be scaled on your dragframe resize.
If you move the dragframe all other frames that hooked the dragframe will follow.
Thus you can now resize your whole art again by resizing one frame in the game.

1.02
- added support for target orbs (you can now add a unit the the orb config)

1.01
- COMPLETE REWRITE, DELETE THE OLD rBOTTOMBARSTYLER
- rBBS is a framework now

Seems like I forgot to add a global name to the life orb. If the name of the frame is "nil" it can't be targeted by click. But I am not sure. Maybe the frame needs to be a unitbutton aswell. This is not the case though. This was never meant to be any kind of unitframe addon. It just supports you with an additional visual guidance. People who wanted this mod always used some other unitframe mod.

Perhaps I am doing something wrong but the health orb is not functioning like the other orb mod I used to use from Roth's. I cannot use it as my own target, meaning that if I use a mouseover healing mod like Clique I cannot use that for the target of my character. I can click it and target myself but that is a major pain! Anyone shed some light on this for me?

Originally posted by NarusegawaNaru Yeah an option for "Profiles" would be great.

That way we could have a 'Default' for all chars, but also be able to specify a seperate profile for each char if we wanted. Would be awesome then.

Edit: For now I've changed

Code:

## SavedVariables: rBottomBarStyler

to

Code:

## SavedVariablesPerCharacter: rBottomBarStyler

and copied the file around my /SERVER/CHAR/SavedVariables folders.

Surely it wouldn't be hard to include the use of 2 saved variables. 1 Global, 1 Per Char. And a quick "/rbbs load <char>" and a "/rbbs load default","/rbbs save default" to just copy and save between the 2.

How do you exactly made this change? I don't get it. I can't find this code part in the lua file.

are there any plans for making a pet and aura bar ? (aura with 7 and pet with 10) abit smaller squares ? I tried it myself, got it working pretty well but my skills with alpha channels aren't that high, just google'd it

I thought it looked kinda good untill I check back to your own textures, and realized your borders are like fading out with a black border where mine just end in a stright cut.

PS. Fatalerrors, this is just texture, use bartender or some other addon to add the actual bar.

Originally posted by NarusegawaNaru Yeah an option for "Profiles" would be great.

That way we could have a 'Default' for all chars, but also be able to specify a seperate profile for each char if we wanted. Would be awesome then.

Edit: For now I've changed

Code:

## SavedVariables: rBottomBarStyler

to

Code:

## SavedVariablesPerCharacter: rBottomBarStyler

and copied the file around my /SERVER/CHAR/SavedVariables folders.

Surely it wouldn't be hard to include the use of 2 saved variables. 1 Global, 1 Per Char. And a quick "/rbbs load <char>" and a "/rbbs load default","/rbbs save default" to just copy and save between the 2.

Thanks. I was hoping for a feature like that and your "workaround" worked perfect.

That way we could have a 'Default' for all chars, but also be able to specify a seperate profile for each char if we wanted. Would be awesome then.

Edit: For now I've changed

Code:

## SavedVariables: rBottomBarStyler

to

Code:

## SavedVariablesPerCharacter: rBottomBarStyler

and copied the file around my /SERVER/CHAR/SavedVariables folders.

Surely it wouldn't be hard to include the use of 2 saved variables. 1 Global, 1 Per Char. And a quick "/rbbs load <char>" and a "/rbbs load default","/rbbs save default" to just copy and save between the 2.