Compare commits
10 Commits
8673094b44
...
main
Author | SHA1 | Date | |
---|---|---|---|
b8af99290f | |||
f26a06e873 | |||
ec60bbc390 | |||
ca6c750f6a | |||
c9e8da8233 | |||
90e9f25766 | |||
79254801af | |||
4d98bf45e5 | |||
32df4c501e | |||
5e40f0ce41 |
BIN
Media/Screemshot_CastBar.jpg
Normal file
BIN
Media/Screemshot_CastBar.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
Media/Screenshot_PlayerFrame.png
Normal file
BIN
Media/Screenshot_PlayerFrame.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
Media/Screenshot_TargetFrame.jpg
Normal file
BIN
Media/Screenshot_TargetFrame.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
@@ -5,6 +5,28 @@
|
||||
local f = CreateFrame('Frame')
|
||||
f:RegisterEvent('PLAYER_ENTERING_WORLD')
|
||||
f:SetScript('OnEvent', function(self, event)
|
||||
|
||||
for i, v in pairs ({
|
||||
-- player frame
|
||||
PlayerFrame.PlayerFrameContainer.FrameTexture,
|
||||
PlayerFrame.PlayerFrameContainer.AlternatePowerFrameTexture,
|
||||
PlayerFrame.PlayerFrameContainer.VehicleFrameTexture,
|
||||
PlayerCastingBarFrame.Border,
|
||||
PetFrameTexture,
|
||||
|
||||
-- target frame
|
||||
TargetFrame.TargetFrameContainer.FrameTexture,
|
||||
TargetFrameSpellBar.Border,
|
||||
TargetFrameToT.FrameTexture,
|
||||
|
||||
-- focus frame
|
||||
FocusFrame.TargetFrameContainer.FrameTexture,
|
||||
FocusFrameSpellBar.Border,
|
||||
FocusFrameToT.FrameTexture,
|
||||
}) do
|
||||
v:SetVertexColor(0.1, 0.1, 0.1, 1)
|
||||
end
|
||||
|
||||
for i, v in pairs ({
|
||||
-- paladin holy power
|
||||
PaladinPowerBarFrame.Background, -- no holy power
|
||||
|
@@ -2,7 +2,24 @@
|
||||
-- # MODULES > HIDE TEXT
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
PlayerFrame:HookScript("OnEvent", function()
|
||||
-- hide player leader icon
|
||||
local hiddenFrame = CreateFrame('Frame')
|
||||
hiddenFrame:Hide()
|
||||
|
||||
PlayerFrame:HookScript('OnEvent', function()
|
||||
-- hide rested breathing glow
|
||||
PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.StatusTexture:SetParent(hiddenFrame)
|
||||
|
||||
-- hide player damage and healing received text
|
||||
PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.HitIndicator.HitText:Hide()
|
||||
|
||||
-- hide combat glow on unit frames
|
||||
PlayerFrame.PlayerFrameContainer.FrameFlash:SetParent(hiddenFrame)
|
||||
TargetFrame.TargetFrameContainer.Flash:SetParent(hiddenFrame)
|
||||
FocusFrame.TargetFrameContainer.Flash:SetParent(hiddenFrame)
|
||||
PetFrameFlash:SetParent(hiddenFrame)
|
||||
PetAttackModeTexture:SetParent(hiddenFrame)
|
||||
|
||||
-- hide reputation background
|
||||
TargetFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()
|
||||
FocusFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()
|
||||
end)
|
||||
|
38
README.md
Normal file
38
README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# KlazUnitFrames
|
||||
|
||||
A World of Warcraft add-on that styles default unit frames.
|
||||
|
||||
There are no in-game options. All settings are hard-coded.
|
||||
|
||||
## Features
|
||||
|
||||
- Style default unit frames
|
||||
- Player frame
|
||||
- Target frame
|
||||
- Focus frame
|
||||
- Remove various indicators (e.g. income healing and damage text)
|
||||
- Darken various textures (e.g. holy power background texture)
|
||||
- Class colour health status bars
|
||||
- ~~Class icon portraits~~ Removed. This feature has been implemented by Blizzard.
|
||||
- Add timers to player and target cast bars
|
||||
|
||||
## Screenshots
|
||||
|
||||
Example of player frame with class coloured health status bar and darker textures:
|
||||
|
||||

|
||||
|
||||
Example of target frame with class coloured health status bar:
|
||||
|
||||

|
||||
|
||||
Example of timer on player cast bar:
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
1. Backup `World of Warcraft\_retail_\Interface` and `World of Warcraft\_retail_\WTF` folders. Just in case.
|
||||
2. Download and extract folder.
|
||||
3. Place extracted folder in `World of Warcraft\_retail_\Interface\AddOns\` directory.
|
||||
4. Restart World of Warcraft client.
|
Reference in New Issue
Block a user