Intro
- Small mod to edit the positions of the default ActionBars.
- It does moving and scaling only.
- Button textures, range/mana-coloring and fonts (hotkey, macroname) can be changed with "rActionButtonStyler"
- Cooldowns can be done with "OmniCC" from Tuller
- EXP/REP bar can be done with "jExp" from Mertex.
- Mod can only be edited by lua editing!
- You can move/scale the bars to your liking just check the lua file.
Moving
To move the bars move your mouse to the side of a bar and then hold down the ALT+SHIFT-key and click your mousebutton and hold it. Now move your mouse and drag the bar whereever you want. Its easier if you activate the testmode first. A frame is movable if it is set to movable in the config, otherwise it is not movable.
Locking
You can lock every bar. If a bar is locked it cannot be moved anymore but keeps the position you have set up, unless you set the movable variable to 0. This will delete the layout-cache entry and the default value is used.
Bar layout
Bar1 and bar2 can be of the format 2x6 buttons or 1x12 buttons. You can set this in the config.
On mouseover
Bars can be set to be visible on mouseover in the config. If you set the on mouseover variable to 0 the bar will be always visible (if it is active obiously).
Add / Disable bars
You can add / remove bars in the Blizzard interface options. (Escape -> interface options -> actionbars). You can show/hide the micro menu and the bags in the config.
Layout-cache.txt
You position data is saved in a file called layout-cache.txt. It is saved per character and can be found in the WTF folder under your character. If you want to use the setting of one character for all just copy the file from that character to all your other characters.
Important: If you upgrade rActionBarStyler to a new version with different config settings (the bar layout for example) the SetPoint from the layout-cache.txt will be used and not the default one. Thus your bars may look wierd. Its no bug, just adjust the config and/or move the bars.
Config
You can set this mod up by opening the rActionBarStyler.lua with Notepad or some editor of your liking. All the major settings can be made at the config area. Its as userfriendly as I could. To activate something write a 1 behind it (1 = on), otherwise use a 0 (0 = off).
Don't forget to reloadui after you changed and saved a setting. (/console reloadui)
Code:
---------------------------------------------------
-- CONFIG START
---------------------------------------------------
--this will activate ALL the backdrops. makes it easier to see the dragable bar areas
testmode = 0
-- bar1 and bar2 in 2x6 instead of 1x12
-- 0 = 1x12
-- 1 = 2x6
button_system = 1
-- bar settings
-- you can make a bar visible on mouseover, make it movable or lock it from moving
-- if you make it not movable it will use the default position values of the holder frames
-- bar1
bar1_on_mouseover = 0
move_bar1 = 0
lock_bar1 = 1
-- bar2
bar2_on_mouseover = 0
move_bar2 = 0
lock_bar2 = 1
-- bar3
if myname == "Loral" then
bar3_on_mouseover = 0
else
bar3_on_mouseover = 0
end
move_bar3 = 0
lock_bar3 = 1
-- rightbars (bar45)
rightbars_on_mouseover = 1
move_rightbars = 0
lock_rightbars = 1
-- shapeshift
if myname == "Loral" then
shapeshift_on_mouseover = 0
elseif myname == "Rothar" then
shapeshift_on_mouseover = 1
else
shapeshift_on_mouseover = 0
end
move_shapeshift = 1
lock_shapeshift = 0
hide_shapeshift = 1
-- petbar
petbar_on_mouseover = 1
move_pet = 1
lock_pet = 0
hide_pet = 0
-- micromenu
micromenu_on_mouseover = 1
move_micro = 1
lock_micro = 1
hide_micro = 0
-- bags
bags_on_mouseover = 1
move_bags = 1
lock_bags = 1
hide_bags = 0
-- vehicle exit button
move_veb = 1
lock_veb = 0
-- scale values
bar1scale = 0.82*0.75
bar2scale = 0.82*0.75
bar3scale = 0.82*0.75
bar45scale = 0.82*0.75
petscale = 0.65
shapeshiftscale = 0.65
micromenuscale = 0.8
bagscale = 0.9
-- position table for the default frame holder positions
-- those are use if the bar is set to not movable or if there is no value in the layout-cache.txt for that frame yet
local frame_positions = {
[1] = { a = "BOTTOM", x = -127, y = 19 }, --fbar1_button_system_1
[2] = { a = "BOTTOM", x = 0, y = 19 }, --fbar1_button_system_0
[3] = { a = "BOTTOM", x = 125, y = 19 }, --fbar2_button_system_1
[4] = { a = "BOTTOM", x = 0, y = 60 }, --fbar2_button_system_0
[5] = { a = "BOTTOM", x = 0, y = 112 }, --fbar3
[6] = { a = "RIGHT", x = -5, y = 0 }, --fbar45
[7] = { a = "BOTTOMRIGHT", x = 5, y = -5 }, --bags
[8] = { a = "TOP", x = 0, y = 5 }, --micromenu
[9] = { a = "BOTTOM", x = 0, y = 170 }, --petbar
[10] = { a = "BOTTOM", x = 0, y = 240 }, --shapeshift
[11] = { a = "BOTTOM", x = 120, y = 120 }, --my own vehicle exit button
}
---------------------------------------------------
-- CONFIG END
---------------------------------------------------
005-2
- you can now hide the shapeshift or the petbar if you want
- readded my transparent textures to overwrite the Blizzard Pet and Shapeshiftbar background textures
005
- updated for 3.1
- some changes to the default values
004-6
- button layout 1x12 is default
- bar moving changed, now you need to hold down SHIFT+right click mouse
004-5
- added arg1 = "player" to the vehicle exit button events
004-3
- option to hide bags and micro menu
- possessbar now anchors the fshift frame
- created a own vehicle exit button
- fix for shapeshiftbutton1 position with only one shape (hooksecure)
004-2
- one function for all the movable stuff
- frame position table for all the default holder positons
- bars can now be locked
004
- complete rewrite
- bars can now be moved INGAME (omg?!), the position is written to the layout_cache.txt
- all bars can now be made on mouseover
- there is a testmode for more easy configuration
- 3 new texture to make the petbar and the shapeshift stuff invisible
003
- added micro menu
- added bag buttons and keyring
002
- mainmenubar and vehiclebar not hidden anymore. scaling to 0.001 and setting alpha to 0 does the trick
- fixed memory overflow bug
001
- initial release
Optional Files - rActionBarStyler
Sorry, there are currently no optional files available.
ok i new to this an i dont know any about thing add on only i do know were they go i see other post i dont get it how to u get the thing on the side of the Action Bar the to show the red an green thing that on the pic an the exp thing does not show 2
Originally posted by Gore123
Is there a way to stop the bars from swapping every time I swap specs? Or away to choose which bars it swaps to? [/b]
The bars are swapping because you set up different actionbars for your spec. Just make every button the same in every spec and nothing will swap. Easy? Yes.