Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-03-21, 01:00 PM   #1
rulezyx
A Flamescale Wyrmkin
 
rulezyx's Avatar
Join Date: Jan 2020
Posts: 106
round Icons back to square

Hello,

aside from the player portraits there are a few round icons in the default UI which I want to change back to square,

but that cant be done by just replacing the Icon-Textures (Folder).

Basically I want to change them back to square so they match my frames.

(Left)Example with default shape (round)
(Left)Example with edited shape (square)

I was able to locate the GroupFinder Icons but for most other frames like the TalentFrame,

example: PlayerTalentFrameSpecializationSpellScrollFrameScrollChildAbility1Icon

I get a "a nil value" error.

Example Round-Icons TalentFrame

Code:
GroupFinderFrameGroupButton1Icon:SetTexCoord(0.85, 0.15, 0.15, 0.85)
GroupFinderFrameGroupButton1Icon:SetScale(0.70)
GroupFinderFrameGroupButton2Icon:SetTexCoord(0.85, 0.15, 0.15, 0.85)
GroupFinderFrameGroupButton2Icon:SetScale(0.70)
GroupFinderFrameGroupButton3Icon:SetTexCoord(0.85, 0.15, 0.15, 0.85)
GroupFinderFrameGroupButton3Icon:SetScale(0.70)
I never reshaped icons before and I am unsure if some of these textures are protected but maybe someone knows a better solution for this.

Last edited by rulezyx : 08-03-21 at 01:03 PM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » round Icons back to square


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off