Compare commits

...

10 Commits

Author SHA1 Message Date
b8af99290f Clean up 2024-03-09 01:16:04 -05:00
f26a06e873 Add hide rested breathing glow animation 2024-03-09 01:15:38 -05:00
ec60bbc390 Add hide combat glow on unit frames 2024-03-09 01:14:56 -05:00
ca6c750f6a Clean up 2024-03-09 00:27:05 -05:00
c9e8da8233 Add dark unit frames 2024-03-07 22:22:54 -05:00
90e9f25766 Add screenshot examples for player and target frames 2024-03-02 21:37:19 -05:00
79254801af Add screenshots for player and target frames 2024-03-02 21:34:32 -05:00
4d98bf45e5 Add README 2024-03-02 21:22:39 -05:00
32df4c501e Add screenshot for cast bar timer 2024-03-02 21:21:34 -05:00
5e40f0ce41 Fix comment for hit indicator text 2024-03-02 21:20:36 -05:00
6 changed files with 79 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -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

View File

@@ -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
View 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:
![](https://forge.haothitran.com/KlazHTT/KlazUnitFrames/raw/branch/main/Media/Screenshot_PlayerFrame.png)
Example of target frame with class coloured health status bar:
![](https://forge.haothitran.com/KlazHTT/KlazUnitFrames/raw/branch/main/Media/Screenshot_TargetFrame.jpg)
Example of timer on player cast bar:
![](https://forge.haothitran.com/KlazHTT/KlazUnitFrames/raw/branch/main/Media/Screemshot_CastBar.jpg)
## 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.