oUF_coree is my layout for oUF (a Unitframe framework made by haste).
You need to install oUF which can be found at ixo.no/git/oUF.git/ or at WoW Interface.
A very big help for me was P3lim's work. I used his layout as a "guide" in order to know more about how these layouts work.
oUF_coree includes unitframes for player, target, tot, focus, focustarget, pet, party, raid, maintank and mainassist.
@ hk2717: i'll add this in the next update.
@ Xark: delete ouf_coreeR.lua, open ouf_coree.toc and delete ouf_coreeR.lua there aswell;
i'll add the support in the next update
@Icerat: just add
Code:
local function updateReputationColor(self, event, unit, bar, min, max, value, name, id)
bar:SetStatusBarColor(FACTION_BAR_COLORS[id].r, FACTION_BAR_COLORS[id].g, FACTION_BAR_COLORS[id].b)
end
to ouf_coree.lua
if you want other colors you can do it this way:
Code:
local function updateReputationColor(self, event, unit, bar, min, max, value, name, id)
if id == 0 then
bar:SetStatusBarColor(1,0.3,0.22)
elseif id == 1 then
bar:SetStatusBarColor(0.8,0.3,0.22)
elseif ...
elseif id == 8 then
bar:SetStatusBarColor(0.6,0.2,0.8)
end
end
Message: Interface\AddOns\oUF_coree\oUF_coree.lua:73: attempt to call global 'GetDifficultyColor' (a nil value)
Time: 08/04/09 23:27:49
Count: 3
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: in function `GetDifficultyColor'
Interface\AddOns\oUF_coree\oUF_coree.lua:73: in function `[coreediff]'
Interface\AddOns\oUF_coree\oUF_coree.lua:79: in function `func'
Interface\AddOns\oUF\elements\tags.lua:301: in function `UpdateTag'
Interface\AddOns\oUF\elements\tags.lua:174: in function `func'
Interface\AddOns\oUF\ouf.lua:484: in function <Interface\AddOns\oUF\ouf.lua:479>
[C]: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:72: in function <Interface\FrameXML\SecureStateDriver.lua:62>
Interface\FrameXML\SecureStateDriver.lua:111: in function <Interface\FrameXML\SecureStateDriver.lua:81>
Locals: u = "target"
l = 80
(*temporary) = <function> defined @Interface\AddOns\oUF_coree\oUF_coree.lua:66
(*temporary) = nil
(*temporary) = 80
(*temporary) = "attempt to call global 'GetDifficultyColor' (a nil value)"
Hex = <function> defined @Interface\AddOns\oUF_coree\oUF_coree.lua:66
I got issues with this layout and Clique - apparently the player frame is not named, so I can't whitelist it in Clique (I want it to bring up the menu, not heal myself :P)
Originally posted by vithos There seem to be some bugs with vehicles in your layout. I always have problems in the Seige vehicle in the Flame Leviathan encounter. Sometimes the vehicle's name will appear on my petframe but the energy values won't update. Other times my (hunter) pet's name will still show on the pet frame but I'll be able to see the vehicle energy change. Note that they work fine in oUF_Lily, albeit differently: the vehicle becomes the player, and my character becomes the playerpet.
There seem to be some bugs with vehicles in your layout. I always have problems in the Seige vehicle in the Flame Leviathan encounter. Sometimes the vehicle's name will appear on my petframe but the energy values won't update. Other times my (hunter) pet's name will still show on the pet frame but I'll be able to see the vehicle energy change. Note that they work fine in oUF_Lily, albeit differently: the vehicle becomes the player, and my character becomes the playerpet.
Originally posted by Tokz Sorry if this sounds noobish, but whats the command to set up oUF_coree ingame?
It's oUF, meaning there most likely is no command to do configuration ingame. it's all done via lua. There is only a couple of oUF layouts that have ingame configs (Lunar Unit frames, Nivaya I think, couple others I can't think of at the moment).