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.
Originally posted by breor Hey, great Unit Frames you have, I was just wondering what code I should add to color my target's cast bar a different color if the spell is not interuptible. Thanks
i try to add this feature, but which casts are non-interruptible casts?
Hey, great Unit Frames you have, I was just wondering what code I should add to color my target's cast bar a different color if the spell is not interuptible. Thanks
If you would like to add Level/Name to you Player frame and Party? Do the following thing.
Playerframe didn't had Name and Level
Partyframe didn't had Level
Find this code
Code:
if(unit ~= "player") then
self.Info = SetFontString(self.Health, fontn, 12, "THINOUTLINE")
self.Info:SetPoint("LEFT", self.Health, 1, -23)
if(unit == "targettarget" or unit == "pet") then
self.Info:SetPoint("RIGHT", self.Health.Text2, "LEFT")
elseif(unit == "focus" or unit == "focustarget") then
self.Info:SetPoint("LEFT", self.Health, 3, 0)
self.Info:SetPoint("RIGHT", self.Health)
elseif(self:GetParent():GetName():match'oUF_Party') then
self.Info:SetPoint("LEFT", self.Health, 0, -23)
self.Info:SetPoint("RIGHT", self.Health.Text, "LEFT")
else
self.Info:SetPoint("RIGHT", self.Power.Text, "LEFT")
end
self:Tag(self.Info, unit == "target" and "[coreecolor][level][coreeclassi] |cFFFFFFFF[name]|r" or self:GetParent():GetName():match'oUF_Party' and "[coreeafk]|cFFFFFFFF[name]|r" or "|cFFFFFFFF[name]|r")
Replace with this
Code:
if(unit == "target" or unit == "player" or unit == "targettarget" or unit == "pet" or self:GetParent():GetName():match'oUF_Party') then
self.Info = SetFontString(self.Health, fontn, 12, "THINOUTLINE")
self.Info:SetPoint("LEFT", self.Health, 1, -23)
if(unit == "targettarget" or unit == "pet") then
self.Info:SetPoint("RIGHT", self.Health.Text2, "LEFT")
elseif(unit == "focus" or unit == "focustarget") then
self.Info:SetPoint("LEFT", self.Health, 3, 0)
self.Info:SetPoint("RIGHT", self.Health)
elseif(self:GetParent():GetName():match'oUF_Party') then
self.Info:SetPoint("LEFT", self.Health, 0, -23)
self.Info:SetPoint("RIGHT", self.Health.Text, "LEFT")
else
self.Info:SetPoint("RIGHT", self.Power.Text, "LEFT")
end
self:Tag(self.Info, (unit == "target" or unit == "player" or unit == "targettarget" or unit == "pet" or self:GetParent():GetName():match'oUF_Party') and "[coreecolor][level][coreeclassi] |cFFFFFFFF[name]|r")
If you find any error let me know please
Coree
I got problems with Deathknight runbars it's hanging left up and I don't see Rest or combat icons and it's kinda hard to see example when i am resting ...
Originally posted by ßlink what line would i edit to disable focus castbar, tried to find it but no luck.
also, how to hide mt and assist frames would be nice too
hello,
to hide the focus castbar just edit line 439 in oUF_coree.lua to
Code:
if(cbar == true and (unit == "player" or unit == "target" or unit == "pet")) then
and to hide mt and assist frames delete line 465 to 475 in ouf_coreeR.lua
Quote:
Originally posted by Crapa Hi very nice frames.
I've been looking into the lua file trying to show debuffs on the player frame the way they are displayed on the ToT frame but didn't find.
Could you please help ?
edit line 495 in ouf_coree.lua:
Code:
if (unit == "player" or unit == "target" or unit == "pet" or unit == "targettarget" or self:GetParent():GetName():match'oUF_Party') then
and edit line 531:
Code:
if(unit == "player" or unit == "targettarget") then
Hi very nice frames.
I've been looking into the lua file trying to show debuffs on the player frame the way they are displayed on the ToT frame but didn't find.
Could you please help ?
TY so much for the update... Have a question... When I move my party frames, they continue to go back to 'normal'... Any ideas on how to make them sticky after I move 'em?
I haven't read all the comments, so I apologize if this has already been addressed, but would there be a possibility of adding oUF_Moveable Frames support?
They look fine on my desktop, but when I play on my macbook, the window overlaps the chat window due to a smaller resolution - would love to be able to just move them in-game without fiddling with lua.
I have a couple of questions. First of all, is there a chance I can get the player name and level appear on the player frame? The same qustion as stated earlier. I found some answer of yours in the previous posts to this thread, but as I tried your instructions out, seems like I cant get a target frame spawn at all, so what am I doing wrong?
The second, is there a change to display the totals of both values ie. (current mana/total mana) / (current health/total health) in the player and target frames?
And also as stated earlier I would love for you to add support for Movable frames. Any idea when you get around to updating this unit frame?