Download
(5 Kb)
Download
Updated: 11-14-08 02:42 PM
Pictures
File Info
Updated:11-14-08 02:42 PM
Created:unknown
Downloads:14,865
Favorites:26
MD5:
rBars2  Popular! (More than 5000 hits)
Version: 008
by: zork [More]

Info

rBars2 is outdated. Please use:

rActionBarStyler
008
- vehicle and deathknight fixes

007
- stuff for rothui081027

006
- petbar cannot be casted in combat, but will show after
- changes for rothui081026

005
- pet bar now styled
- shapeshift bar now styled
- fixed bug with rogue shapeshift position

004
- config for bar layout
- config for shapeshift
- fixed bug for self:Alpha

003
- fixed stuff
- config for textures, scale and alpha at the top of the lua-file

002
- more comments and some bugfixes. check googlecode for diffs.

001
- initial release
Optional Files (0)


Post A Reply Comment Options
Old 10-17-08, 07:15 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
Welcome. I am still developing this. If you found any bugs please post here.

The latest version will be always the one inside the Google Code Project.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-17-08 at 07:15 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 10-17-08, 11:26 AM  
ObbleYeah
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 39
Uploads: 4
Yay, finally i can get rid of Dominos, my last heavyweight addon.

<3 you Zork, keep making great addons :>
ObbleYeah is offline Report comment to moderator  
Reply With Quote
Old 10-17-08, 12:23 PM  
H4DOUK3N
A Kobold Labourer
 
H4DOUK3N's Avatar

Forum posts: 0
File comments: 29
Uploads: 0
Erm seem to have a problem with the positioning of the right hand actionbars:
Clicky!

Also how come the bottom left bar is divided into the 2 bars; shown by red marking. Rather than being a 1 lined 12 button actionbar; shown by the yellow marking.
...is that a bug, or just your personal preference?


Thanks for any help.

Edit: Oh jah forgot, anyway to show macro or keybind text to the buttons?
__________________
Believe, our blades will not shatter.
Believe, our souls will not be cut.
Last edited by H4DOUK3N : 10-17-08 at 12:27 PM.
H4DOUK3N is offline Report comment to moderator  
Reply With Quote
Old 10-17-08, 12:47 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
Originally posted by H4DOUK3N
Erm seem to have a problem with the positioning of the right hand actionbars:
Clicky!

Also how come the bottom left bar is divided into the 2 bars; shown by red marking. Rather than being a 1 lined 12 button actionbar; shown by the yellow marking.
...is that a bug, or just your personal preference?


Thanks for any help.

Edit: Oh jah forgot, anyway to show macro or keybind text to the buttons?
I use my so called 6 button system. I divide every bar into parts of 6 buttons.
This is why I position Button7 above Button1 and the next Bar right to Button6.

Hope you get it. Reposition is very easy, just look for "Button6" and SetPoint. Thats the area where you can do the changes.

Bar 1 is 2x6 Buttons
Bar 2 is 2x6 Buttons
Bar 3 is 1x12 Buttons
Bar 4 is 12x1 Buttons

Its more easily to keep track of 2x6 Buttons instead of 1x12 but thats my point...

Do someone really need Bar 5? I haven't positioned it yet. :>
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-17-08 at 12:50 PM.
zork is offline Report comment to moderator  
Reply With Quote
Old 10-17-08, 01:44 PM  
zoulnix
A Defias Bandit

Forum posts: 3
File comments: 3
Uploads: 0
Originally posted by zork
Do someone really need Bar 5? I haven't positioned it yet. :>
ye, i need it, thought it looked a little odd,
zoulnix is offline Report comment to moderator  
Reply With Quote
Old 10-17-08, 01:52 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
Originally posted by Zoulnix
ye, i need it, thought it looked a little odd,
hf
http://code.google.com/p/rothui/sour...rs2/rBars2.lua

Wowinterface file will be updated later.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Old 10-17-08, 02:34 PM  
H4DOUK3N
A Kobold Labourer
 
H4DOUK3N's Avatar

Forum posts: 0
File comments: 29
Uploads: 0
Reposition is very easy, just look for "Button6" and SetPoint. Thats the area where you can do the changes.

Bar 1 is 2x6 Buttons
Bar 2 is 2x6 Buttons
Bar 3 is 1x12 Buttons
Bar 4 is 12x1 Buttons
Any help on getting the 1x12 actionbars? >.<
I've tried editing in the lua but all I get is a mess. Sorry for the hassle.
__________________
Believe, our blades will not shatter.
Believe, our souls will not be cut.
H4DOUK3N is offline Report comment to moderator  
Reply With Quote
Old 10-17-08, 05:30 PM  
michaelawill
A Kobold Labourer

Forum posts: 1
File comments: 11
Uploads: 0
It would appear that buttons 2-6 on the main bar have textures behind them.

Edit:

Was able to fix this issue by changing

Code:
  ActionButton_UpdateUsable = function (self)
    local name = self:GetName();
    local icon = getglobal(name.."Icon");
    local normalTexture = getglobal(name.."NormalTexture");
    local isUsable, notEnoughMana = IsUsableAction(self.action);
    local valid = IsActionInRange(self.action);
    if ( valid == 0 ) then
      --red
      icon:SetVertexColor(1.0, 0.1, 0.1);
      self:SetAlpha(fade_alpha)
    elseif ( isUsable ) then
      --white
      icon:SetVertexColor(1.0, 1.0, 1.0);
      self:SetAlpha(1)
    elseif ( notEnoughMana ) then
      --blue
      icon:SetVertexColor(0.25, 0.25, 1.0);
      self:SetAlpha(fade_alpha)
    else
      --grey
      icon:SetVertexColor(0.4, 0.4, 0.4);
      self:SetAlpha(fade_alpha)
    end
  end
To

Code:
ActionButton_UpdateUsable = function (self)
    local name = self:GetName();
    local icon = getglobal(name.."Icon");
    local normalTexture = getglobal(name.."NormalTexture");
    local isUsable, notEnoughMana = IsUsableAction(self.action);
    local valid = IsActionInRange(self.action);
    if ( valid == 0 ) then
      --red
      icon:SetVertexColor(1.0, 0.1, 0.1);
      normalTexture:SetAlpha(fade_alpha)
    elseif ( isUsable ) then
      --white
      icon:SetVertexColor(1.0, 1.0, 1.0);
      normalTexture:SetAlpha(1)
    elseif ( notEnoughMana ) then
      --blue
      icon:SetVertexColor(0.25, 0.25, 1.0);
      normalTexture:SetAlpha(fade_alpha)
    else
      --grey
      icon:SetVertexColor(0.4, 0.4, 0.4);
      normalTexture:SetAlpha(fade_alpha)
    end
  end
Last edited by michaelawill : 10-17-08 at 07:50 PM.
michaelawill is offline Report comment to moderator  
Reply With Quote
Old 10-18-08, 02:47 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
I will make a config on top of the lua to make it possible to change from 2x6 to 1x12 button layout.

@michaelawill
Thanks thats because I set the Alpha for the button in the Hookscript too. That overlapped. I will fix it.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-18-08 at 03:02 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 10-18-08, 05:14 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
New version 004 is out. You can now select the bar layout (1x12 vs. 2x6) for the first two bars. Open the rBars2.lua and you will find a config at the top.

Code:
  --button system for bar 1 and bar 2
  -- 0 = 1x12 layout
  -- 1 = 2x6  layout
  local button_system = 0
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-18-08 at 05:26 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 10-18-08, 07:57 AM  
wtf69a
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Problem whith...

hello friends, because my problem is that I get the bars with a square bit annoying. How could remove it?


http://www.imgshare.net/view_thumb/aeb17921/Dibujo.JPG
thanks
Last edited by wtf69a : 10-18-08 at 07:59 AM.
wtf69a is offline Report comment to moderator  
Reply With Quote
Old 10-18-08, 08:12 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
Re: Problem whith...

Originally posted by wtf69a
hello friends, because my problem is that I get the bars with a square bit annoying. How could remove it?


http://www.imgshare.net/view_thumb/aeb17921/Dibujo.JPG
thanks
What textures are you using? Have you read the text under "IMPORTANT"?

Code:
  local rb2_normal_texture    = "Interface\\AddOns\\rTextures\\gloss";
  local rb2_flash_texture     = "Interface\\AddOns\\rTextures\\flash";
  local rb2_hover_texture     = "Interface\\AddOns\\rTextures\\hover";    
  local rb2_pushed_texture    = "Interface\\AddOns\\rTextures\\pushed";
  local rb2_checked_texture   = "Interface\\AddOns\\rTextures\\checked"; 
  local rb2_equipped_texture  = "Interface\\AddOns\\rTextures\\gloss_green";
The next zip will include the textures needed in a sepearate folder named rTextures.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-18-08 at 09:33 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 10-18-08, 09:59 AM  
lanacan
Random, Crazy, Mental...
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 153
Uploads: 13
Awesome that these are back!!

I was poking around wowwiki and my search skill are failing me...

I am looking for a way to use the default game button textures instead of rTextures. I have modified blps under Interface/Buttons that I'd like to use instead of your gloss.

Thanks Zork for the work you did wit this always a favorite addon to have working!!
__________________
[SIGPIC][/SIGPIC]
lanacan is offline Report comment to moderator  
Reply With Quote
Old 10-18-08, 10:12 AM  
H4DOUK3N
A Kobold Labourer
 
H4DOUK3N's Avatar

Forum posts: 0
File comments: 29
Uploads: 0
Thanks for taking the time to update this to be configurable for 1x12 too. xD
Keep the awesome addons coming...




EDIT:
Originally posted by wtf69a
hello friends, because my problem is that I get the bars with a square bit annoying. How could remove it?


http://www.imgshare.net/view_thumb/aeb17921/Dibujo.JPG
thanks
I had that problem at first too, all you need to do is whack rTextures in your addons folder and it'll be fine.
__________________
Believe, our blades will not shatter.
Believe, our souls will not be cut.
Last edited by H4DOUK3N : 10-18-08 at 10:14 AM.
H4DOUK3N is offline Report comment to moderator  
Reply With Quote
Old 10-18-08, 10:23 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
I will try to explain this issue. For a matter of a fact that I don't really understand blizzard made textures of different button sizes. (UI-Quickslot and UI-Quickslot2). I hacked the code to always use textures that use the full size of a square texture. I made the basic texture in 64x64px and the gloss fills the texture completly.

This Blizzard default textures does not do this. They use the same overall texture size, but the button texture inside that file is very small. That is why there is such a huge gap when using the default textures.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-18-08 at 10:24 AM.
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: