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, mainassist and boss.
local Raid = {}
local group = 0
for i = 1, 5 do
local RaidGroup = oUF:Spawn("header", "oUF_Raid" .. i)
i have opened up my lua, there are actually 2...one is coreeR and the other is coree.lua. I cant find the line is coree.lua, however i found it in coreeR.lua
I dont have that 5 in the place where the code matches...
i have...
for i = 1, zoneRaid:OnEvent () do
local RaidGroup = oUF:Spawn ("header", "oUF_Raid" .. i)
Hi,
first of all congratulations for this awesome layout.
I'm here for two things:
1_ i want to highlight a player frame border and/or his name the text in it with bold red for exemple, in order to see who is dead and use my battle rez better, but i cant manage to do it :s can you help me?
2_ i noticed that after being disconnected while in combat that when you log back during the combat, player, target and raid frames are messed up and basicly all black. Even after wipe and rez it needs a /reloadui to go back to normal. Is it possible to fix that at all?
Originally posted by Hellakopter Very nice layout indeed. Been using it for a long time. Now I would like to customize it a little bit.
What do I need to do to get rid of all buff/debuff icons on player, target, tot and pet frame? And how to add only debuffs on focus frame? Also I would like to add name for the focus frame.
if (unit == "target" or unit == "pet" or unit == "targettarget" or self:GetParent():GetName():match'oUF_Party' or unit == "focus") then
self.Auras = CreateFrame("Frame", nil, self)
self.Auras:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -1, 5)
self.Auras.gap = true
self.Auras.showDebuffType = true
self.Auras.spacing = 2
self.Auras.initialAnchor = "BOTTOMLEFT"
self.Auras["growth-y"] = "UP"
if(unit == "target") then
self.CombatFeedbackText = self.Health:CreateFontString(nil, "OVERLAY", "GameFontNormal")
self.CombatFeedbackText:SetPoint("CENTER", self)
self.CPoints = SetFontString(self.Health, fontn, 16, "THINOUTLINE")
self.CPoints:SetPoint("RIGHT", self.Health, -2, 0)
self.CPoints.unit = "player"
else
self.BarFade = true
self.BarFadeMinAlpha = 0.25
end
if(unit == "pet") then
self.Power.colorPower = true
self.Power.colorHappiness = true
self.Power.colorReaction = false
self.CPoints = SetFontString(self.Health, fontn, 14, "THINOUTLINE")
self.CPoints:SetPoint("LEFT", self.Health, 2, 0)
self.CPoints.unit = "pet"
end
if(unit == "focus") then
self.Auras:SetHeight(20)
self.Auras:SetWidth(width - 106)
self.Auras.size = self.Auras:GetHeight()
self.Auras.num = 5
self.Auras.numBuffs = 0
self.Auras.numDebuffs = 5
self.Auras.initialAnchor = "TOPRIGHT"
self.Auras["growth-x"] = "LEFT"
end
if (self:GetParent():GetName():match'oUF_Party') then
self:SetAttribute('initial-height', height)
self:SetAttribute('initial-width', width - 86)
self.Health.Text2:Hide()
self.Auras:SetHeight(self.Health:GetHeight())
self.Auras:SetWidth(width - 86)
self.Auras.size = 18
self.Auras.buffFilter = "HELPFUL|RAID"
self.Auras.numBuffs = 3
self.Auras.numDebuffs = 3
self.outsideRangeAlpha = 0.4
self.inRangeAlpha = 1.0
self.Range = true
if(ppets and self:GetAttribute('unitsuffix') == 'pet') then
self:SetAttribute('initial-height', height)
self:SetAttribute('initial-width', width - 126)
self.Health.Text:Hide()
self.Health.colorReaction = true
self.Power.colorPower = true
self.Info:SetPoint("LEFT", self.Health, 0, -23)
self.Info:SetPoint("RIGHT", self.Health)
self.Threat:Hide()
self.Leader:Hide()
self.Auras:Hide()
end
end
end
Quote:
Originally posted by Mourdin hmm, whats the deal with the raid windows in WG or in a 40m raid?
Its only showing 5 groups, not the 8 .... any way to correct this?
just change the bold number
Code:
local Raid = {}
local group = 0
for i = 1, 5 do
local RaidGroup = oUF:Spawn("header", "oUF_Raid" .. i)
Quote:
Originally posted by Shammypowah How do i move the HP %?
Code:
if(unit == "player") then
self.Health.Text2:SetPoint("RIGHT", 40, -1)
elseif(unit == "target") then
self.Health.Text2:SetPoint("LEFT", -38, -1)
elseif(unit == "targettarget" or unit == "pet") then
self.Health.Text2:SetPoint("RIGHT", 0, -23)
elseif(unit == "focus" or unit == "pet") then
self.Health.Text2:SetPoint("LEFT",self.Health, -30, -1)
else
self.Health.Text2:SetPoint("LEFT",self.Health, -30, 0)
end
changing bold numbers will move the HP % value
Quote:
Originally posted by Moosa hey there, been using your ufs for quite some time now, and for the equal amount of time i have been tweaking them to suit myself better, but i have ran into a bit of a wall. i basically cannot for the life of me figure out how and where to change all the names and letters to lower case and lower case only.
any and all sugestions very welcome, thanks
Code:
oUF.TagEvents["[coreeln]"] = oUF.TagEvents["[name]"]
oUF.Tags["[coreeln]"] = function(u,r)
return strlower(UnitName(r or u))
end
Code:
self:Tag(self.Info, unit == "target" and "[coreecolor][level][coreeclassi] |cFFFFFFFF[coreeln]|r" or self:GetParent():GetName():match'oUF_Party' and "[coreeafk]|cFFFFFFFF[coreeln]|r" or "|cFFFFFFFF[coreeln]|r")
hey there, been using your ufs for quite some time now, and for the equal amount of time i have been tweaking them to suit myself better, but i have ran into a bit of a wall. i basically cannot for the life of me figure out how and where to change all the names and letters to lower case and lower case only.
Very nice layout indeed. Been using it for a long time. Now I would like to customize it a little bit.
What do I need to do to get rid of all buff/debuff icons on player, target, tot and pet frame? And how to add only debuffs on focus frame? Also I would like to add name for the focus frame.
i dont mind the lower cast bar at all, gives you more viewing room.
However, is there anyway to move the raid window down about a 1/2" more? i want to use titan bar on top and the group leaders sit so high that i cant target them through titan bar.
also, my group doesnt hide when i convert it to raid. I would love for it to hide in raid, but up in group....i checked the default setting for unit frame and its checked to hide it on raid.
Also would love to move the focus window, my is off to the right side in the middle.
Okay, first off, I love the frames. The only problem I have with it is that it's very low and the cast bar overlaps my abilities; I'm not exactly sure what I'm doing with Lua, so, how do I move the self, target and target of target frames up along with the cast bar?
local party = oUF:Spawn("header", "oUF_Party")
party:SetPoint("TOPRIGHT",oUF.units.pet, 0, 75)
party:SetManyAttributes("showParty", true, "yOffset", 83, "showPlayer", false)
party:SetAttribute("template", "oUF_coreePPets")
if IsAddOnLoaded("oUF_MoveableFrames") then
oUF_MoveableFrames_HEADER("oUF_Party", PartyAnchor, 0, 75)
end
the debuffs should look like the debuffs in the screenshot. nothing changed since the pic was made.
Originally posted by Bebe4659 I'm actually really curious how to disable the party frames. I simply removed the "oUF_coreeR.lua" to kill the raid frames. (was that bad to do?) But I must be missing something for the party frames.
Also, any advice how to get the target debuff frame to look similar to the Sartharion one in the picture? Not sure which skin is used or how to change the size of the debuffs.
delete
Code:
local party = oUF:Spawn("header", "oUF_Party")
party:SetPoint("TOPRIGHT",oUF.units.pet, 0, 75)
party:SetManyAttributes("showParty", true, "yOffset", 83, "showPlayer", false)
party:SetAttribute("template", "oUF_coreePPets")
if IsAddOnLoaded("oUF_MoveableFrames") then
oUF_MoveableFrames_HEADER("oUF_Party", PartyAnchor, 0, 75)
end
the debuffs should look like the debuffs in the screenshot. nothing changed since the pic was made.