1. You need to hide these frames:
Lua Code:
PaperDollInnerBorderTopLeft:Hide()
PaperDollInnerBorderTopRight:Hide()
PaperDollInnerBorderBottomLeft:Hide()
PaperDollInnerBorderBottomRight:Hide()
PaperDollInnerBorderLeft:Hide()
PaperDollInnerBorderRight:Hide()
PaperDollInnerBorderTop:Hide()
PaperDollInnerBorderBottom:Hide()
PaperDollInnerBorderBottom2:Hide()
2. You can remove the border from every slot frame like this, not sure how can you override this yet:
Lua Code:
CharacterHeadSlot:DisableDrawLayer("Background")
CharacterNeckSlot:DisableDrawLayer("Background")
CharacterShoulderSlot:DisableDrawLayer("Background")
CharacterBackSlot:DisableDrawLayer("Background")
CharacterChestSlot:DisableDrawLayer("Background")
CharacterShirtSlot:DisableDrawLayer("Background")
CharacterTabardSlot:DisableDrawLayer("Background")
CharacterWristSlot:DisableDrawLayer("Background")
CharacterHandsSlot:DisableDrawLayer("Background")
CharacterWaistSlot:DisableDrawLayer("Background")
CharacterLegsSlot:DisableDrawLayer("Background")
CharacterFeetSlot:DisableDrawLayer("Background")
CharacterFinger0Slot:DisableDrawLayer("Background")
CharacterFinger1Slot:DisableDrawLayer("Background")
CharacterTrinket0Slot:DisableDrawLayer("Background")
CharacterTrinket1Slot:DisableDrawLayer("Background")
CharacterMainHandSlot:DisableDrawLayer("Background")
CharacterSecondaryHandSlot:DisableDrawLayer("Background")
3. Easiest way to do that is to extract the "Data/interface.MPQ/Interface/PaperDoll" folder with an
MPQ extractor (I would suggest to use the
MPQ Plugin for Total Commander), then copy this into your "Interface" folder, than just edit the images, but keep the names.
4. Use this code:
Lua Code:
if ShowUIPanel then
hooksecurefunc("ShowUIPanel", function(self)
if self == CharacterFrame then
CharacterFrame:ClearAllPoints()
CharacterFrame:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
end
end)
end
if CharacterFrame_Collapse then
hooksecurefunc("CharacterFrame_Collapse", function(self)
CharacterFrame:ClearAllPoints()
CharacterFrame:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
end)
end
if CharacterFrame_Expand then
hooksecurefunc("CharacterFrame_Expand", function(self)
CharacterFrame:ClearAllPoints()
CharacterFrame:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
end)
end