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,937
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-18-08, 02:47 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1313
File comments: 3289
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"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 online now 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-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, 01:52 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1313
File comments: 3289
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now 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, 12:47 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1313
File comments: 3289
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"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 online now 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, 11:26 AM  
ObbleYeah
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 102
File comments: 39
Uploads: 5
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, 07:15 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1313
File comments: 3289
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"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 online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: