Quantcast
Download
(464Kb)
Download
Updated: 11-24-22 08:41 AM
Pictures
File Info
Compatibility:
Dragonflight Pre-patch (10.0.2)
Updated:11-24-22 08:41 AM
Created:07-31-16 01:01 AM
Downloads:19,528
Favorites:68
MD5:
10.0.2

Flat Player Icons  Updated this week!  Popular! (More than 5000 hits)

Version: 5.0
by: gossipgirlxo [More]

*THIS IS REPLACEMENT INTERFACE ART, IT DOES NOTHING BY ITSELF*

PLEASE DELETE AND REPLACE ANY PREVIOUS TEXTURE.

Install to: \World of Warcraft\Interface\TargetingFrame\

Please let me know what improvements or changes you would like to see and I will try my best to make them happen.

Thank you!

v2.0
Added a lot of new flavors. Hopefully something for everyone.


v1.1
Toned down the background colors to let the icons pop a bit more
Archived Files (2)
File Name
Version
Size
Author
Date
4.0
33kB
gossipgirlxo
11-21-22 08:03 PM
3.0
1MB
gossipgirlxo
09-08-17 07:16 PM


Post A Reply Comment Options
Unread Today, 07:54 PM  
Vranx
A Flamescale Wyrmkin
 
Vranx's Avatar

Forum posts: 101
File comments: 174
Uploads: 0
You have the option to only show target/focus with this addon:
https://www.curseforge.com/wow/addon...siconportraits
Open the config.lua and set units.player = false

If you want to use the Flat Player Icons you need to edit core.lua
Replace this:
Lua Code:
  1. hooksecurefunc("UnitFramePortrait_Update", function(self)
  2.     if self.portrait and UnitIsPlayer(self.unit) and EnabledForUnit(self.unit) then
  3.         local _, class = UnitClass(self.unit)
  4.         if class then
  5.             self.portrait:SetTexture(TEXTURE_NAME:format(class))
  6.         else
  7.             --[=[@[email protected]
  8.             print(("EnhancedClassIconPortraits Error: UnitClass returned nil for unit %q"):format(self.unit))
  9.             [email protected]@]=]
  10.         end
  11.     end
  12. end)

With this:
Lua Code:
  1. hooksecurefunc("UnitFramePortrait_Update",function(self)
  2.         if self.portrait and UnitIsPlayer(self.unit) and EnabledForUnit(self.unit) then
  3.                 if UnitIsPlayer(self.unit) then                        
  4.                         local t = CLASS_ICON_TCOORDS[select(2, UnitClass(self.unit))]
  5.                         if t then
  6.                                 self.portrait:SetTexture("Interface\\TargetingFrame\\UI-Classes-Circles")
  7.                                 self.portrait:SetTexCoord(unpack(t))
  8.                         end
  9.                 else
  10.                         self.portrait:SetTexCoord(0,1,0,1)
  11.                 end
  12.         end
  13. end)
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 01:15 PM  
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 369
Uploads: 2
Originally Posted by gmarco
Surely the addons that gossipgirlxo suggest is the right way ... but if you want to make a simple minimal addon your own (or if gossipgirlxo want to make this in an addon) you can use a code like this:

Lua Code:
  1. local ADDON = ...
  2.  
  3. local mediapath = "interface\\addons\\"..ADDON.."\\media\\"
  4.  
  5. local cfg = {
  6.     ["portraits"] = true,
  7. }
  8.  
  9.  
  10. --> portraits
  11. if cfg["portraits"] == true then  
  12.     hooksecurefunc("UnitFramePortrait_Update",function(self)
  13.         if self.portrait then
  14.             if UnitIsPlayer(self.unit) then  
  15.                 local t = CLASS_ICON_TCOORDS[select(2, UnitClass(self.unit))]
  16.                 if t then
  17.                     self.portrait:SetTexture(mediapath.."UI-Classes-Circles")
  18.                     self.portrait:SetTexCoord(unpack(t))
  19.                 end
  20.             else
  21.                 self.portrait:SetTexCoord(0,1,0,1)
  22.             end
  23.         end
  24.     end)       
  25. end

And put the file in Addons/name_of_addon_you_choose/mediapath/ ...

The if cfg is not necessary but I copy paste a part of an addon I wrote (but not published) to tweaks some things of DF I dont like so much like:

Lua Code:
  1. local cfg = {
  2.     ["hidebags"] = true,
  3.     ["lfgbutton"] = true,  
  4.     ["druidhack"] = true,
  5.     ["raidfade"] = true,
  6.     ["hidetalkhead"] = true,
  7.     ["rarealert"] = true,
  8.     ["deletegooditem"] = true,
  9.     ["keypressdown"] = false,
  10.     ["portraits"] = true,
  11.     ["hidecastbars"] = true,
  12. }

Please let me know if you need more infos.
Hello, is there a way to display icons for the Target and Focus frames only and ignore the Player frame? I have Adapt for Player frame
__________________

My last movie: Rogue Sweethearts
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 12:06 PM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 335
File comments: 312
Uploads: 45
Originally Posted by gossipgirlxo
Originally Posted by gmarco
Originally Posted by gossipgirlxo
Originally Posted by Vranx
I love these graphics, but with the new player unit frame not being round, there is a space in the lower right that you can see through.
Dang, let me play around with the new hud mask textures and see if I can fix that.
Hi,
just curios ... but what the evoker image is ?!



Thanks
HI Gmarco! I think its an open evoker hand casting a spell but its pretty uninspired by the original claw hand portrait. Blame the blizzard artists haha
Ahahahah thanks so much for the explanation ... I was trying to figure what it was but I didn't succeded
Now that you tell me I think it could be

Thanks again for the great addon
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 12:03 PM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 335
File comments: 312
Uploads: 45
Surely the addons that gossipgirlxo suggest is the right way ... but if you want to make a simple minimal addon your own (or if gossipgirlxo want to make this in an addon) you can use a code like this:

Lua Code:
  1. local ADDON = ...
  2.  
  3. local mediapath = "interface\\addons\\"..ADDON.."\\media\\"
  4.  
  5. local cfg = {
  6.     ["portraits"] = true,
  7. }
  8.  
  9.  
  10. --> portraits
  11. if cfg["portraits"] == true then  
  12.     hooksecurefunc("UnitFramePortrait_Update",function(self)
  13.         if self.portrait then
  14.             if UnitIsPlayer(self.unit) then  
  15.                 local t = CLASS_ICON_TCOORDS[select(2, UnitClass(self.unit))]
  16.                 if t then
  17.                     self.portrait:SetTexture(mediapath.."UI-Classes-Circles")
  18.                     self.portrait:SetTexCoord(unpack(t))
  19.                 end
  20.             else
  21.                 self.portrait:SetTexCoord(0,1,0,1)
  22.             end
  23.         end
  24.     end)       
  25. end

And put the file in Addons/name_of_addon_you_choose/mediapath/ ...

The if cfg is not necessary but I copy paste a part of an addon I wrote (but not published) to tweaks some things of DF I dont like so much like:

Lua Code:
  1. local cfg = {
  2.     ["hidebags"] = true,
  3.     ["lfgbutton"] = true,  
  4.     ["druidhack"] = true,
  5.     ["raidfade"] = true,
  6.     ["hidetalkhead"] = true,
  7.     ["rarealert"] = true,
  8.     ["deletegooditem"] = true,
  9.     ["keypressdown"] = false,
  10.     ["portraits"] = true,
  11.     ["hidecastbars"] = true,
  12. }

Please let me know if you need more infos.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 11:23 AM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 109
Uploads: 1
Originally Posted by Deadlyz
Hello!

Which addon do I need to use these icons in Dragonflight?
Right now I am using an addon called healthbarcolors. It has the option to enable class icon portraits as well as class color health bars and textures
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 09:30 AM  
Deadlyz
A Wyrmkin Dreamwalker
 
Deadlyz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 369
Uploads: 2
Hello!

Which addon do I need to use these icons in Dragonflight?
__________________

My last movie: Rogue Sweethearts
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 08:48 AM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 109
Uploads: 1
Originally Posted by gmarco
Originally Posted by gossipgirlxo
Originally Posted by Vranx
I love these graphics, but with the new player unit frame not being round, there is a space in the lower right that you can see through.
Dang, let me play around with the new hud mask textures and see if I can fix that.
Hi,
just curios ... but what the evoker image is ?!



Thanks
HI Gmarco! I think its an open evoker hand casting a spell but its pretty uninspired by the original claw hand portrait. Blame the blizzard artists haha
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 08:46 AM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 109
Uploads: 1
Originally Posted by Vranx
I love these graphics, but with the new player unit frame not being round, there is a space in the lower right that you can see through.
I played around with the playerportrait mask texture in /hud/ but was unable to remove the triangle gap. I will continue to look for a solution but for now is a no go.
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 12:16 AM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 335
File comments: 312
Uploads: 45
Originally Posted by gossipgirlxo
Originally Posted by Vranx
I love these graphics, but with the new player unit frame not being round, there is a space in the lower right that you can see through.
Dang, let me play around with the new hud mask textures and see if I can fix that.
Hi,
just curios ... but what the evoker image is ?!



Thanks
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-23-22, 01:54 PM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 109
Uploads: 1
Originally Posted by Vranx
I love these graphics, but with the new player unit frame not being round, there is a space in the lower right that you can see through.
Dang, let me play around with the new hud mask textures and see if I can fix that.
Report comment to moderator  
Reply With Quote
Unread 11-22-22, 03:43 PM  
Vranx
A Flamescale Wyrmkin
 
Vranx's Avatar

Forum posts: 101
File comments: 174
Uploads: 0
I love these graphics, but with the new player unit frame not being round, there is a space in the lower right that you can see through.
Last edited by Vranx : 11-22-22 at 03:44 PM.
Report comment to moderator  
Reply With Quote
Unread 11-22-22, 07:45 AM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 335
File comments: 312
Uploads: 45
Much better now

Thanks so much for the update
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-20-22, 08:48 AM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 335
File comments: 312
Uploads: 45
Hi really hope this will be updated for DF :/



Let's hope ...
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 10-24-22, 12:44 PM  
_p4ge
A Kobold Labourer
 
_p4ge's Avatar

Forum posts: 0
File comments: 17
Uploads: 0
Hi,

will you update this for Dragonflight Evokers?
Last edited by _p4ge : 10-24-22 at 12:44 PM.
Report comment to moderator  
Reply With Quote
Unread 02-02-21, 10:02 AM  
thenorthface
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Addon

How can I change from dark to bright or disable the class icon on my portrait?

Thanks!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: