I have the rested glow and the combat glow hidden for the player frame and the pet frame but the target frame still has the red combat glow when in combat. There is no lua error popup.
Curiously, the target does not have the glow when rested in a city, IE at target dummies.
--End Event Registration
end
uf:SetScript("OnEvent",eventHandler)[/HTML]
I am still working on my other post, I will have that shortly, I had to sleep, if only I didn't have to sleep, heh. I hope I am not being greedy with help here but I have put in at least 40 hours of work on this and I am sure many have done much more for their addons but I think I can respect the help given. But I am pretty excited about making this UI addon.
Here is a screenshot of what I am trying to hide. It is the side borders of the bars on the XP bar that that make up each "bubble" of XP. You can see the reputation bar I ahve ready to go but the XP still has those damned textures.
I am trying to hide the default texture over the XP and Reputation bars. I have the rep bar but for the life of me I cannot figure out what the XP bar texture is. I have scoured the blizzard frame xml file and tried to hide every frame and texture I could find.
0
Curiously, the target does not have the glow when rested in a city, IE at target dummies.
Here is a screenshot:
https://lh4.googleusercontent.com/-dTFmsMozwqo/UD9L6huKQoI/AAAAAAAAFmU/xOLzGVmmyic/s1920/WoWScrnShot_083012_061716.jpg
Here is my code, simple frame hiding:
[HTML]--Register Events
local uf = CreateFrame("Frame", "DejaUFFrame")
uf:RegisterEvent("PLAYER_LOGIN")
uf:RegisterEvent("PLAYER_ENTERING_WORLD")
uf:RegisterEvent("PLAYER_ENTER_COMBAT")
uf:RegisterEvent("PLAYER_LEAVE_COMBAT")
uf:RegisterEvent("PLAYER_UPDATE_RESTING")
uf:RegisterEvent("PLAYER_REGEN_DISABLED")
uf:RegisterEvent("PLAYER_REGEN_ENABLED")
uf:RegisterEvent("PLAYER_FOCUS_CHANGED")
uf:RegisterEvent("UNIT_TARGET")
uf:RegisterEvent("ADDON_LOADED")
uf:RegisterEvent("UPDATE_SHAPESHIFT_FORM")
uf:RegisterEvent("UPDATE_SHAPESHIFT_FORMS")
uf:RegisterEvent("UPDATE_STEALTH")
uf:RegisterEvent("PET_BATTLE_OVER")
uf:RegisterEvent("UNIT_HEALTH")
uf:RegisterEvent("UNIT_LEVEL")
uf:RegisterEvent("UNIT_FACTION")
uf:RegisterEvent("UNIT_CLASSIFICATION_CHANGED")
uf:RegisterEvent("UNIT_AURA")
uf:RegisterEvent("PLAYER_FLAGS_CHANGED")
uf:RegisterEvent("GROUP_ROSTER_UPDATE")
uf:RegisterEvent("RAID_TARGET_UPDATE")
uf:RegisterEvent("VARIABLES_LOADED")
uf:RegisterEvent("CVAR_UPDATE")
--Hide Frames
local function eventHandler(self, event, ...)
PlayerFrameFlash:Hide()
PlayerFrameBackground:Hide()
PlayerPortrait:Hide()
PlayerFrameTexture:Hide()
PlayerName:Hide()
PlayerLevelText:Hide()
PlayerStatusTexture:Hide()
PlayerAttackBackground:Hide()
PlayerHitIndicator:Hide()
PlayerRestGlow:Hide()
PlayerAttackGlow:Hide()
PlayerStatusGlow:Hide()
TargetFrameBackground:Hide()
TargetFramePortrait:Hide()
TargetFrameTextureFrameTexture:Hide()
TargetFrameNameBackground:Hide()
FocusFrameBackground:Hide()
FocusFramePortrait:Hide()
FocusFrameTextureFrameTexture:Hide()
FocusFrameNameBackground:Hide()
PetFrameFlash:Hide()
PetPortrait:Hide()
PetFrameTexture:Hide()
PetName:Hide()
PetHitIndicator:Hide()
PetAttackModeTexture:Hide()
--End Event Registration
end
uf:SetScript("OnEvent",eventHandler)[/HTML]
I am still working on my other post, I will have that shortly, I had to sleep, if only I didn't have to sleep, heh. I hope I am not being greedy with help here but I have put in at least 40 hours of work on this and I am sure many have done much more for their addons but I think I can respect the help given. But I am pretty excited about making this UI addon.
Thank you for your time.
0
I am in raid atm but I will get on this tonight and post my findings when I am done.
0
texture:SetTexture("Interface\\MainMenuBar\\UI-XP-Bar");
to
texture:SetTexture(nil);
0
https://lh3.googleusercontent.com/-ZLuNSv9jGkA/UD6r6mT2hrI/AAAAAAAAFl8/DNba4gmJzIo/s1920/WoWScrnShot_082912_185442.jpg
0
Here is my resource:
http://wow.go-hero.net/framexml/16016/MainMenuBar.xml#67
Is there a better one with all of the textures available for perusal?
Thank you for your time.
[HTML]--Register Events
local xp = CreateFrame("Frame", "DejaXPFrame")
xp:RegisterEvent("PLAYER_LOGIN")
xp:RegisterEvent("PLAYER_ENTERING_WORLD")
xp:RegisterEvent("ADDON_LOADED")
xp:RegisterEvent("PET_BATTLE_OVER")
--Hide Frames
local function eventHandler(self, event, ...)
MainMenuXPBarTextureLeftCap:Hide()
MainMenuXPBarTextureRightCap:Hide()
MainMenuXPBarTextureMid:Hide()
SpellActivationOverlayFrame:Hide()
ExhaustionLevelFillBar:Hide()
ExhaustionTick:Hide()
ExhaustionTickNormal:Hide()
ExhaustionTickHighlight:Hide()
ReputationWatchBarTexture0:Hide()
ReputationWatchBarTexture1:Hide()
ReputationWatchBarTexture2:Hide()
ReputationWatchBarTexture3:Hide()
ReputationXPBarTexture0:Hide()
ReputationXPBarTexture1:Hide()
ReputationXPBarTexture2:Hide()
ReputationXPBarTexture3:Hide()
MainMenuExpBar:ClearAllPoints()
MainMenuExpBar:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
MainMenuExpBar:SetWidth(250)
MainMenuExpBar:SetHeight(25)
ReputationWatchBar:ClearAllPoints()
ReputationWatchBar:SetPoint("CENTER", UIParent, "CENTER", 25, 10)
--End Event Registration
end
xp:SetScript("OnEvent",eventHandler)[/HTML]