Hi, could you please tell me how you made two rows of texts in one frame? You have Name/Spec and Race/Level,Class on two rows over the portrait here. I tried duplicating it on my own but every time I moved one text to a position, it pushed the other one away. I would like it show deficit on top and absolute percent underneath and still both be on the health bar.. if that makes sense. :)
Also wondering if there's any way to change the font of say, the name, without changing the 'global' font, is there some dogtag for it? I looked at the list of tagson the wowace wiki but couldn't find any.
Top right and bottom right
It's the same font as the rest of the frame. It might be scaled larger, can't tell exactly.
Any help would be appreciated and thanks in advance.
All right, here we go, and sorry for superlong post.
The bar textures used is Hal T and the border is a custom made version of Caiths were I turned from gray to white for coloring. On the player frame I just choose the warlock color since I only play one character. On the other frames I have scripts for coloring. The font used is BigNoodleTitling (included in SharedMedia].
{
name = "Player Frame",
pbRevision = 56911,
bars = {
blankSpace = {
hidden = true,
position = 7
},
castBar = {
position = 8
},
expBar = {
position = 4
},
fullBar = {
height = 5,
position = 9
},
healthBar = {
height = 9,
position = 2
},
portrait = {
position = 1,
side = "left"
},
powerBar = {
position = 3
},
repBar = {
position = 5
},
threatBar = {
position = 6
}
},
icons = {
combatIcon = {
position = "frame-edgebottomleft"
},
leaderIcon = {
position = "frame-edgetopleft"
},
masterIcon = {
position = "frame-edgetopleft"
},
pvpIcon = {
position = "frame-edgetopright"
},
raidTargetIcon = {
position = "frame-edgetop"
},
restIcon = {
position = "frame-edgebottomleft"
},
voiceIcon = {
position = "frame-edgetopright"
}
},
texts = {
combatText = {
position = "frame-center"
},
Combo = {
position = "frame-outright",
style = "Standard",
styleType = "combo"
},
Experience = {
position = "expBar-center",
style = "Standard",
styleType = "experience"
},
Health = {
custom = "[PercentHP:Short:Percent] || [Status:SureHP:Short:PercentHP:Percent]",
position = "healthBar-right",
size = 1.35,
styleType = "health"
},
Name = {
custom = "[Name:ClassColor] [AFKDND:Angle]",
position = "healthBar-left",
size = 1.35,
style = "Class Colored",
styleType = "name"
},
Power = {
custom = "[CurMP]/[MaxMP]",
position = "powerBar-right",
style = "Absolute",
styleType = "power"
},
Reputation = {
position = "repBar-center",
style = "Standard",
styleType = "reputation"
},
Threat = {
custom = "[Threat]/[MaxThreat]",
position = "threatBar-right",
style = "Absolute Short",
styleType = "threat"
}
}
}
Height: 50
Scale: 100%
Width: 275
Players Pet Frame:
{
name = "Pet Frame",
pbRevision = 56911,
bars = {
blankSpace = {
hidden = true,
position = 7
},
castBar = {
position = 8
},
expBar = {
position = 4
},
fullBar = {
height = 5,
position = 9
},
healthBar = {
height = 12,
position = 2
},
portrait = {
position = 1,
side = "left"
},
powerBar = {
position = 3
},
repBar = {
position = 5
},
threatBar = {
position = 6
}
},
icons = {
combatIcon = {
position = "frame-edgebottomleft"
},
leaderIcon = {
position = "frame-edgetopleft"
},
masterIcon = {
position = "frame-edgetopleft"
},
pvpIcon = {
position = "frame-edgetopright"
},
raidTargetIcon = {
position = "frame-edgetop"
},
restIcon = {
position = "frame-edgebottomleft"
},
voiceIcon = {
position = "frame-edgetopright"
}
},
texts = {
combatText = {
position = "frame-center"
},
Combo = {
position = "frame-outright",
style = "Standard",
styleType = "combo"
},
Experience = {
position = "expBar-center",
style = "Standard",
styleType = "experience"
},
Health = {
custom = "[Status:PercentHP:Percent]",
position = "healthBar-right",
size = 0.8,
style = "Percent",
styleType = "health"
},
Name = {
custom = "[Name:ClassColor] [AFKDND:Angle]",
position = "healthBar-left",
size = 0.8,
style = "Class Colored",
styleType = "name"
},
Reputation = {
position = "repBar-center",
style = "Standard",
styleType = "reputation"
},
Threat = {
custom = "[Threat]/[MaxThreat]",
position = "threatBar-right",
style = "Absolute Short",
styleType = "threat"
}
}
}
Height: 30
Scale: 100%
Width: 165
To get the borders of this frame color properly, make a new eePanel with the border I attached in the top of the post. Set the size so it wraps around the pet frame, parent it to the pet frame and then attach this script:
function eePanels2:PetFrameVisibility(self, event, ...)
local _, class = UnitClass("playerpet");
if class == "WARRIOR" then
THIS:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
THIS:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
THIS:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
THIS:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
THIS:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
THIS:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
THIS:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
THIS:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
THIS:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.PetFrameVisibility)
eePanels2:RegisterEvent("UNIT_PET", eePanels2.PetFrameVisibility)
Target Frame:
{
name = "Target Frame",
pbRevision = 56911,
bars = {
blankSpace = {
hidden = true,
position = 7
},
castBar = {
position = 8
},
expBar = {
position = 4
},
fullBar = {
height = 5,
position = 9
},
healthBar = {
height = 9,
position = 2
},
portrait = {
position = 1,
side = "left"
},
powerBar = {
position = 3
},
repBar = {
position = 5
},
threatBar = {
position = 6
}
},
icons = {
combatIcon = {
position = "frame-edgebottomleft"
},
leaderIcon = {
position = "frame-edgetopleft"
},
masterIcon = {
position = "frame-edgetopleft"
},
pvpIcon = {
position = "frame-edgetopright"
},
raidTargetIcon = {
position = "frame-edgetop"
},
restIcon = {
position = "frame-edgebottomleft"
},
voiceIcon = {
position = "frame-edgetopright"
}
},
texts = {
combatText = {
position = "frame-center"
},
Combo = {
position = "frame-outright",
style = "Standard",
styleType = "combo"
},
Experience = {
position = "expBar-center",
style = "Standard",
styleType = "experience"
},
Health = {
custom = "[Status:SureHP:Short:PercentHP] || [PercentHP:Percent]",
position = "healthBar-left",
size = 1.35,
styleType = "health"
},
Name = {
custom = "[Name:ClassColor] [AFKDND:Angle]",
position = "healthBar-right",
size = 1.35,
style = "Class Colored",
styleType = "name"
},
Power = {
custom = "[CurMP]/[MaxMP]",
position = "powerBar-left",
style = "Absolute",
styleType = "power"
},
Reputation = {
position = "repBar-center",
style = "Standard",
styleType = "reputation"
},
Threat = {
custom = "[Threat]/[MaxThreat]",
position = "threatBar-right",
style = "Absolute Short",
styleType = "threat"
}
}
}
Height: 50
Scale: 100%
Width: 275
Do the same here as with the pet frame but attach this script instead:
function eePanels2:TargetFrameVisibility(self, event, ...)
local _, class = UnitClass("target");
if class == "WARRIOR" then
THIS:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
THIS:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
THIS:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
THIS:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
THIS:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
THIS:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
THIS:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
THIS:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
THIS:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.TargetFrameVisibility)
eePanels2:RegisterEvent("PLAYER_TARGET_CHANGED", eePanels2.TargetFrameVisibility)
Target of Target:
{
name = "Target of Target Frame",
pbRevision = 56911,
bars = {
blankSpace = {
hidden = true,
position = 7
},
castBar = {
position = 8
},
expBar = {
position = 4
},
fullBar = {
height = 5,
position = 9
},
healthBar = {
height = 12,
position = 2
},
portrait = {
position = 1,
side = "left"
},
powerBar = {
height = 3,
position = 3
},
repBar = {
position = 5
},
threatBar = {
position = 6
}
},
icons = {
combatIcon = {
position = "frame-edgebottomleft"
},
leaderIcon = {
position = "frame-edgetopleft"
},
masterIcon = {
position = "frame-edgetopleft"
},
pvpIcon = {
position = "frame-edgetopright"
},
raidTargetIcon = {
position = "frame-edgetop"
},
restIcon = {
position = "frame-edgebottomleft"
},
voiceIcon = {
position = "frame-edgetopright"
}
},
texts = {
combatText = {
position = "frame-center"
},
Combo = {
position = "frame-outright",
style = "Standard",
styleType = "combo"
},
Experience = {
position = "expBar-center",
style = "Standard",
styleType = "experience"
},
Health = {
custom = "[Status:PercentHP:Percent]",
position = "healthBar-left",
size = 0.8,
style = "Percent",
styleType = "health"
},
Name = {
custom = "[Name:ClassColor] [AFKDND:Angle]",
position = "healthBar-right",
size = 0.8,
style = "Class Colored",
styleType = "name"
},
Reputation = {
position = "repBar-center",
style = "Standard",
styleType = "reputation"
},
Threat = {
custom = "[Threat]/[MaxThreat]",
position = "threatBar-right",
style = "Absolute Short",
styleType = "threat"
}
}
}
Height: 30
Scale: 100%
Width: 165
Border coloring script:
function eePanels2:TargetofTargetFrameVisibility(self, event, ...)
local _, class = UnitClass("playertargettarget");
if class == "WARRIOR" then
THIS:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
THIS:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
THIS:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
THIS:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
THIS:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
THIS:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
THIS:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
THIS:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
THIS:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.TargetofTargetFrameVisibility)
eePanels2:RegisterEvent("UNIT_TARGET", eePanels2.TargetofTargetFrameVisibility)
Focus Frame and Focus Target:
Focus:
{
name = "Focus Frame",
pbRevision = 56911,
bars = {
blankSpace = {
hidden = true,
position = 7
},
castBar = {
position = 8
},
expBar = {
position = 4
},
fullBar = {
height = 5,
position = 9
},
healthBar = {
height = 9,
position = 2
},
portrait = {
position = 1,
side = "left"
},
powerBar = {
position = 3
},
repBar = {
position = 5
},
threatBar = {
position = 6
}
},
icons = {
combatIcon = {
position = "frame-edgebottomleft"
},
leaderIcon = {
position = "frame-edgetopleft"
},
masterIcon = {
position = "frame-edgetopleft"
},
pvpIcon = {
position = "frame-edgetopright"
},
raidTargetIcon = {
position = "frame-edgetop"
},
restIcon = {
position = "frame-edgebottomleft"
},
voiceIcon = {
position = "frame-edgetopright"
}
},
texts = {
Class = {
position = "frame-inbottomleft",
style = "Hide",
styleType = "class"
},
combatText = {
position = "healthBar-center"
},
Combo = {
position = "frame-outright",
style = "Standard",
styleType = "combo"
},
Experience = {
position = "expBar-center",
style = "Standard",
styleType = "experience"
},
Health = {
custom = "[Status:PercentHP:Percent]",
position = "frame-inbottom",
style = "Percent",
styleType = "health"
},
Name = {
custom = "[Name:ClassColor] [AFKDND:Angle]",
position = "frame-intop",
size = 1.25,
style = "Class Colored",
styleType = "name"
},
Reputation = {
position = "repBar-center",
style = "Standard",
styleType = "reputation"
},
Threat = {
custom = "[Threat]/[MaxThreat]",
position = "threatBar-right",
style = "Absolute Short",
styleType = "threat"
}
}
}
Height: 50
Scale 100%
Width: 125
Focus Target:
{
name = "Focus Target Frame",
pbRevision = 56911,
bars = {
blankSpace = {
hidden = true,
position = 7
},
castBar = {
position = 8
},
expBar = {
position = 4
},
fullBar = {
height = 5,
position = 9
},
healthBar = {
height = 5,
position = 2
},
portrait = {
position = 1,
side = "left"
},
powerBar = {
height = 4,
position = 3
},
repBar = {
position = 5
},
threatBar = {
position = 6
}
},
icons = {
combatIcon = {
position = "frame-edgebottomleft"
},
leaderIcon = {
position = "frame-edgetopleft"
},
masterIcon = {
position = "frame-edgetopleft"
},
pvpIcon = {
position = "frame-edgetopright"
},
raidTargetIcon = {
position = "frame-edgetop"
},
restIcon = {
position = "frame-edgebottomleft"
},
voiceIcon = {
position = "frame-edgetopright"
}
},
texts = {
combatText = {
position = "frame-center"
},
Combo = {
position = "frame-outright",
style = "Standard",
styleType = "combo"
},
Experience = {
position = "expBar-center",
style = "Standard",
styleType = "experience"
},
Name = {
custom = "[Name:ClassColor] [AFKDND:Angle]",
position = "healthBar-center",
size = 0.75,
style = "Class Colored",
styleType = "name"
},
Reputation = {
position = "repBar-center",
style = "Standard",
styleType = "reputation"
},
Threat = {
custom = "[Threat]/[MaxThreat]",
position = "threatBar-right",
style = "Absolute Short",
styleType = "threat"
}
}
}
Height: 50
Scale: 100%
Width: 85
Okay this script is a bit different, the borders of both the focus and focus target frame is set to color by the focus class. For this to work, the script has to be in last refered eePanel. Eg. if you create Focus as panel nr.5 and Focus target panel as nr.6 this script should be attached to the focus target panel. Also you see here that the panels are named eePanel11 and eePanel12, you have to change this to match whatever number your panels has.
function eePanels2:FocusTargetFrameVisibility(self, event, ...)
local _, class = UnitClass("focus");
if class == "WARRIOR" then
eePanel11:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
eePanel11:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
eePanel11:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
eePanel11:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
eePanel11:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
eePanel11:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
eePanel11:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
eePanel11:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
eePanel11:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
local _, class = UnitClass("focus");
if class == "WARRIOR" then
eePanel12:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
eePanel12:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
eePanel12:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
eePanel12:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
eePanel12:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
eePanel12:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
eePanel12:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
eePanel12:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
eePanel12:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
end
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.FocusTargetFrameVisibility)
eePanels2:RegisterEvent("PLAYER_FOCUS_CHANGED", eePanels2.FocusTargetFrameVisibility)
Party Frames:
{
name = "Party Frames",
pbRevision = 56911,
bars = {
blankSpace = {
hidden = true,
position = 7
},
castBar = {
position = 8
},
expBar = {
position = 4
},
fullBar = {
height = 5,
position = 9
},
healthBar = {
height = 9,
position = 2
},
portrait = {
position = 1,
side = "left"
},
powerBar = {
position = 3
},
repBar = {
position = 5
},
threatBar = {
position = 6
}
},
icons = {
combatIcon = {
position = "frame-edgebottomleft"
},
leaderIcon = {
position = "frame-edgetopleft"
},
masterIcon = {
position = "frame-edgetopleft"
},
pvpIcon = {
position = "frame-edgetopright"
},
raidTargetIcon = {
position = "frame-edgetop"
},
restIcon = {
position = "frame-edgebottomleft"
},
voiceIcon = {
position = "frame-edgetopright"
}
},
texts = {
combatText = {
position = "frame-inbottomleft"
},
Combo = {
position = "frame-outright",
style = "Standard",
styleType = "combo"
},
Experience = {
position = "expBar-center",
style = "Standard",
styleType = "experience"
},
Health = {
custom = "[PercentHP:Short:Percent] || [Status:SureHP:Short:PercentHP:Percent]",
position = "healthBar-right",
size = 1.35,
styleType = "health"
},
Name = {
custom = "[Name:ClassColor] [AFKDND:Angle]",
position = "healthBar-left",
size = 1.35,
style = "Class Colored",
styleType = "name"
},
Power = {
custom = "[CurMP]/[MaxMP]",
position = "powerBar-right",
style = "Absolute",
styleType = "power"
},
Reputation = {
position = "repBar-center",
style = "Standard",
styleType = "reputation"
},
Threat = {
custom = "[Threat]/[MaxThreat]",
position = "threatBar-right",
style = "Absolute Short",
styleType = "threat"
}
}
}
Height: 50
Scale: 100%
Width: 175
Create one eePanel for each party frame. Since you can't parent panels to the Pitbull party frames it's included in the script to hide em' properly. For this to work, the script has to be in the last refered panel, party panel 4. Here you will also have to remain the panel in the script to the proper number.
function eePanels2:RaidPanelVisibility(self, event, ...)
if GetNumPartyMembers() > 4 or GetNumRaidMembers() > 0 then
eePanel13:Show()
eePanel14:Show()
eePanel15:Show()
eePanel16:Show()
else
eePanel13:Hide()
eePanel14:Hide()
eePanel15:Hide()
eePanel16:Hide()
end
-- Just you / not in a party
if GetNumPartyMembers() < 1 then
eePanel13:Hide()
eePanel14:Hide()
eePanel15:Hide()
eePanel16:Hide()
-- You plus 1 other person
elseif GetNumPartyMembers() == 1 then
eePanel13:Show()
eePanel14:Hide()
eePanel15:Hide()
eePanel16:Hide()
-- You plus 2 other people
elseif GetNumPartyMembers() == 2 then
eePanel13:Show()
eePanel14:Show()
eePanel15:Hide()
eePanel16:Hide()
-- You plus 3 other people
elseif GetNumPartyMembers() == 3 then
eePanel13:Show()
eePanel14:Show()
eePanel15:Show()
eePanel16:Hide()
-- You in a full group
elseif GetNumPartyMembers() == 4 then
eePanel13:Show()
eePanel14:Show()
eePanel15:Show()
eePanel16:Show()
end
local _, class = UnitClass("party1");
if class == "WARRIOR" then
eePanel13:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
eePanel13:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
eePanel13:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
eePanel13:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
eePanel13:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
eePanel13:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
eePanel13:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
eePanel13:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
eePanel13:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
local _, class = UnitClass("party2");
if class == "WARRIOR" then
eePanel14:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
eePanel14:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
eePanel14:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
eePanel14:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
eePanel14:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
eePanel14:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
eePanel14:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
eePanel14:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
eePanel14:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
local _, class = UnitClass("party3");
if class == "WARRIOR" then
eePanel15:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
eePanel15:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
eePanel15:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
eePanel15:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
eePanel15:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
eePanel15:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
eePanel15:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
eePanel15:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
eePanel15:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
local _, class = UnitClass("party4");
if class == "WARRIOR" then
eePanel16:SetBackdropBorderColor(0.780,0.611,0.431,1)
elseif class == "PRIEST" then
eePanel16:SetBackdropBorderColor(1,1,1,1)
elseif class == "DRUID" then
eePanel16:SetBackdropBorderColor(1,0.490,0.0392,1)
elseif class == "HUNTER" then
eePanel16:SetBackdropBorderColor(0.6705,0.8313,0.4509,1)
elseif class == "MAGE" then
eePanel16:SetBackdropBorderColor(0.4117,0.8,0.9411,1)
elseif class == "PALADIN" then
eePanel16:SetBackdropBorderColor(0.9607,0.5490,0.7294,1)
elseif class == "SHAMAN" then
eePanel16:SetBackdropBorderColor(0.1411,0.3490,1,1)
elseif class == "WARLOCK" then
eePanel16:SetBackdropBorderColor(0.580,0.5098,0.7882,1)
elseif class == "ROGUE" then
eePanel16:SetBackdropBorderColor(1,0.9607,0.4117,1)
end
end
-- Ace2 event listeners; can't do this in more than one script
eePanels2:RegisterEvent("PLAYER_ENTERING_WORLD", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("PARTY_MEMBERS_CHANGED", eePanels2.RaidPanelVisibility)
eePanels2:RegisterEvent("RAID_ROSTER_UPDATE", eePanels2.RaidPanelVisibility)
Party Targets:
{
name = "Party Targets Frame",
pbRevision = 56911,
bars = {
blankSpace = {
hidden = true,
position = 7
},
castBar = {
position = 8
},
expBar = {
position = 4
},
fullBar = {
height = 5,
position = 9
},
healthBar = {
height = 5,
position = 2
},
portrait = {
position = 1,
side = "left"
},
powerBar = {
height = 4,
position = 3
},
repBar = {
position = 5
},
threatBar = {
position = 6
}
},
icons = {
combatIcon = {
position = "frame-edgebottomleft"
},
leaderIcon = {
position = "frame-edgetopleft"
},
masterIcon = {
position = "frame-edgetopleft"
},
pvpIcon = {
position = "frame-edgetopright"
},
raidTargetIcon = {
position = "frame-edgetop"
},
restIcon = {
position = "frame-edgebottomleft"
},
voiceIcon = {
position = "frame-edgetopright"
}
},
texts = {
combatText = {
position = "frame-center"
},
Combo = {
position = "frame-outright",
style = "Standard",
styleType = "combo"
},
Experience = {
position = "expBar-center",
style = "Standard",
styleType = "experience"
},
Name = {
custom = "[Name]",
position = "healthBar-left",
size = 0.85,
style = "Standard",
styleType = "name"
},
Reputation = {
position = "repBar-center",
style = "Standard",
styleType = "reputation"
},
Threat = {
custom = "[Threat]/[MaxThreat]",
position = "threatBar-right",
style = "Absolute Short",
styleType = "threat"
}
}
}
Height: 10
Scale: 100%
Width: 115
For these panels I havnt found a working script so the health bar is colored by class instead. I use the regular Caith border here.
And u remeberred to make sure bars and size settings are correct?
Was that directed to me?
As I said. I zapped my wtf. And my addons. Installed clean. Copied the posted layout verbatim. And my unit frames didn't look remotely like the posted screengrabs.
So if I'm suppose to change the bars and size settings, I don't know what to change since I *copied the posted layout verbatim*.
Since I started with a clean slate, I'd say this is a failing in the ability to post a pitbull config and import it into another install.
As I said. I zapped my wtf. And my addons. Installed clean. Copied the posted layout verbatim. And my unit frames didn't look remotely like the posted screengrabs.
So if I'm suppose to change the bars and size settings, I don't know what to change since I *copied the posted layout verbatim*.
Since I started with a clean slate, I'd say this is a failing in the ability to post a pitbull config and import it into another install.
The thing is that the layout imported does not contain information about size and placement of the frames and some other info, you have to adjust those thing urself after importing the layout to get it to look the same.
Hi I'm new here and I have a problem.
I can't see the Player / Target Portraits. But at the "Addons" it is marked and activated.
But in Pitbull i can't find the Portrait Option.
I love this addon <3~.And i love all the layouts everyone put on.But im havieng a little problem when i log and try to import one of the layouts it does not work it says it was uploaded then nothing happens from there i just feel stupid : /.
Iv just installed pitbull and have found lots off these layouts great, and it makes its so easy that i can import them, iv spent most off the day setting it up and found that when i relog wow the layouts i have imported have disappeared, and iv just got the standard setup, can anyone suggest what is going wrong
I don't know if this is the right topic to post this, but since it's a problem I had with Pibull I'm posting it here. I had the problem that long NPC Names ran out of the unitframes and to alter that I used [Name:Trunc(12)] (12 because the max. length for playernames in WoW is 12, so only NPC names get trunced), but without ellipses at the end it even looked a little odd to me. To solve it for me I addet my own modifier to my local "[WoW]\Interface\AddOns\LibDogTag-2.0\Modules\TextManip.lua" and it works fine.
Here it is:
DogTag:AddModifier("TruncEllipsis", {
[[local len = 0
for i = 1, ${arg} do
local b = value:byte(len+1)
if not b then
break
elseif b <= 127 then
len = len + 1
elseif b <= 223 then
len = len + 2
elseif b <= 239 then
len = len + 3
else
len = len + 4
end
end
local n = value:len(value)
value = value:sub(1, len)
if n > ${arg} then
value = value .. '...'
end]],
arg = "number",
value = "string",
ret = "string",
doc = L["Truncate value to the length specified by number and add ellipsis to the end."],
example = '[Text(Hello):TruncEllipsis(3)] => "Hel..."',
category = L["Text manipulation"]
})
Actually it's just a modification of the original Trunc() modifier and since I'm not a programmer there is maybe a better solution, but as said, it works fine for me an I thought I share it and help somebody who might has the same issue.
[edit date=February 04, 2008]
This post ist obsolete now, since the modifier has been addet to LibDogTag-2.0 lately.
Thank you to the developer team, I really appreciate that.
[/edit]
when i try to input that layout i get this bug ? how do i fix it i try to mostly post here... same at all i have Reset my WTF Pitbull saves.
but still the same... any have a idea?
How do i get those Colors in teh Health bar and Mana is black in line then its geting red ?? is it confing in Pitbull beocue i have tryd like hell? or is a other addons?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Top right and bottom right
It's the same font as the rest of the frame. It might be scaled larger, can't tell exactly.
All right, here we go, and sorry for superlong post.
The bar textures used is Hal T and the border is a custom made version of Caiths were I turned from gray to white for coloring. On the player frame I just choose the warlock color since I only play one character. On the other frames I have scripts for coloring. The font used is BigNoodleTitling (included in SharedMedia].
Hal T:
http://www.2shared.com/file/2717139/52f68eef/HalT.html
Caith white border:
http://www.2shared.com/file/2717138/25f1be79/Caith2.html
Player frame:
Height: 50
Scale: 100%
Width: 275
Players Pet Frame:
Height: 30
Scale: 100%
Width: 165
To get the borders of this frame color properly, make a new eePanel with the border I attached in the top of the post. Set the size so it wraps around the pet frame, parent it to the pet frame and then attach this script:
Target Frame:
Height: 50
Scale: 100%
Width: 275
Do the same here as with the pet frame but attach this script instead:
Target of Target:
Height: 30
Scale: 100%
Width: 165
Border coloring script:
Focus Frame and Focus Target:
Focus:
Height: 50
Scale 100%
Width: 125
Focus Target:
Height: 50
Scale: 100%
Width: 85
Okay this script is a bit different, the borders of both the focus and focus target frame is set to color by the focus class. For this to work, the script has to be in last refered eePanel. Eg. if you create Focus as panel nr.5 and Focus target panel as nr.6 this script should be attached to the focus target panel. Also you see here that the panels are named eePanel11 and eePanel12, you have to change this to match whatever number your panels has.
Party Frames:
Height: 50
Scale: 100%
Width: 175
Create one eePanel for each party frame. Since you can't parent panels to the Pitbull party frames it's included in the script to hide em' properly. For this to work, the script has to be in the last refered panel, party panel 4. Here you will also have to remain the panel in the script to the proper number.
Party Targets:
Height: 10
Scale: 100%
Width: 115
For these panels I havnt found a working script so the health bar is colored by class instead. I use the regular Caith border here.
Enjoy!
Was that directed to me?
As I said. I zapped my wtf. And my addons. Installed clean. Copied the posted layout verbatim. And my unit frames didn't look remotely like the posted screengrabs.
So if I'm suppose to change the bars and size settings, I don't know what to change since I *copied the posted layout verbatim*.
Since I started with a clean slate, I'd say this is a failing in the ability to post a pitbull config and import it into another install.
That website is impossible to use
The thing is that the layout imported does not contain information about size and placement of the frames and some other info, you have to adjust those thing urself after importing the layout to get it to look the same.
Hm, yeah that site did suck quite alot. I just googled "file upload" and picked the first that seemed to work.
Try this one:
http://www.2shared.com/file/2717138/25f1be79/Caith2.html
http://www.2shared.com/file/2717139/52f68eef/HalT.html
I can't see the Player / Target Portraits. But at the "Addons" it is marked and activated.
But in Pitbull i can't find the Portrait Option.
Here is a Screenshot from my Pitbull Options.
http://img146.imageshack.us/img146/3619/wowscrnshot011608170335mg0.jpg
I need help please :-(
(Sorry for my bad english >_<)
Make sure the module is enabled in the Modules menu.
Also many thanks to avazza for posting all this, I think I will copy some of theses :)
Full UI screenshot http://home.comcast.net/~drallcome/WOW/UI0108.jpg
Like that :
Thanks.
Here it is:
Actually it's just a modification of the original Trunc() modifier and since I'm not a programmer there is maybe a better solution, but as said, it works fine for me an I thought I share it and help somebody who might has the same issue.
[edit date=February 04, 2008]
This post ist obsolete now, since the modifier has been addet to LibDogTag-2.0 lately.
Thank you to the developer team, I really appreciate that.
[/edit]
when i try to input that layout i get this bug ? how do i fix it i try to mostly post here... same at all i have Reset my WTF Pitbull saves.
but still the same... any have a idea?
Same here. :/ Any suggestions?
/reloadui fixed it for me
How do i get those Colors in teh Health bar and Mana is black in line then its geting red ?? is it confing in Pitbull beocue i have tryd like hell? or is a other addons?