Jump to content

  • Curse Sites
Help

Hoodrych's Class icon script for Blizz frames


  • Please log in to reply
30 replies to this topic

#21 Zapt

Zapt
  • Members
  • Humanclass_name
  • US-Korgath
  • Vengeance
  • Posts: 47
  • Talents: Fury 0/1/1/0/0/0

Posted 07 April 2011 - 12:59 AM

View Postviol8r, on 06 April 2011 - 12:56 PM, said:

UFP = "UnitFramePortrait_Update"
UICC = "Interface\\TargetingFrame\\UI-Classes-Circles"
CIT = CLASS_ICON_TCOORDS
hooksecurefunc(UFP,function(self) if self.portrait then local t = CIT[select(2,UnitClass(self.unit))] if t then self.portrait:SetTexture(UICC) self.portrait:SetTexCoord(unpack(t)) end end end)

is the updated one

Do I just copy paste this into chat or is it LUA thing?
Sig too big - 100kb limit

#22 viol8r

viol8r
  • Members
  • Taurenclass_name
  • EU-Stormscale
  • Cyclone / Wirbelsturm
  • Posts: 158
  • Talents: Balance

Posted 07 April 2011 - 11:27 AM

you can do either, but to make it work in chat command or macro you need to have /run infront of each line start

#23 Naga

Naga
  • Junkies
  • Humanclass_name
  • EU-Outland
  • Misery
  • Posts: 88
  • Talents: Blood 0/2/0/0/0/2
  • RBG: 2557

Posted 08 April 2011 - 02:53 PM

im the biggest noob ever @ ui, mods etc, can someone make the lines EXACTLY like you have to paste them into the chat for it to work ?

Thx in advance :)
Posted Image

#24 Pharaun

Pharaun
  • LocationSeattle, WA

Posted 09 April 2011 - 02:44 AM

Put it into an addon (see FAQ sticky in interface/addon section #12).

Or put /run in front of every line.

e.g.

/run UFP = "UnitFramePortrait_Update"
"Who, after all, is today speaking of the destruction of the Armenians?"

-Adolf Hitler, 1939

#25 allana

allana
  • Premium Junkies
  • Curse Premium
  • Trollclass_name
  • EU-Kazzak
  • Misery
  • Posts: 535
  • Talents: Balance 0/0/2/1/1/2

Posted 25 April 2011 - 07:57 AM

Is it possible for this not to apply to my own frame?
“As you think, you shall become.” -Pook

#26 Navariumx

Navariumx
  • Junkies
  • Blood Elfclass_name
  • EU-Skullcrusher
  • Cyclone / Wirbelsturm
  • Posts: 625
  • Talents: Retribution
  • RBG: 1775
  • LocationDenmark

Posted 26 April 2011 - 08:18 PM

Yes, see this post.

http://www.arenajunk...ost__p__3099013

View PostBlackafrican, on 23 May 2011 - 05:45 PM, said:

I think you guys need to realize that shamans are not the problem, and are probably less powerful than you think.

#27 Bladewing

Bladewing
  • Junkies
  • Orcclass_name
  • EU-Blackrock
  • Glutsturm / Emberstorm
  • Posts: 35
  • Talents: Arms 0/1/0/1/1/0
  • LocationAustria, Vienna

Posted 27 April 2011 - 03:42 PM

Hi,

I asked already in the the interface/addon forum and couldnt find any answers, but anyone know if there is an addon/script where i can make big class icons instead of this 3D potraits in xperl unit frames? I tried ClassIconsFinal and Miirkats class icon addon both didnt work.
-=]Wotlk[=- In Cataclysm healers get their own pillar to summon as a 51 talent point.
-=]Cata[=- Update Rogues got the pillar.

#28 Ballinisahabit

Ballinisahabit

Posted 05 December 2011 - 02:19 AM

View PostThugonomics8, on 16 June 2010 - 02:38 AM, said:

Type the first one in then the second one, pretty hard
hahaha

#29 twoniu

twoniu
  • Junkies
  • Undeadclass_name
  • EU-Stormscale
  • Cyclone / Wirbelsturm
  • Posts: 118
  • Talents: Affliction
  • RBG: 192

Posted 12 December 2011 - 09:02 AM

why is this notworkingfor me :(
Twonìu-warlock,Twomáo-druid,Csmange-shaman

#30 drmongrel

drmongrel

Posted 12 December 2011 - 11:26 AM

View Posttwoniu, on 12 December 2011 - 09:02 AM, said:

why is this notworkingfor me :(

Macro1:

Quote

/run UFP = "UnitFramePortrait_Update"
/run UICC = "Interface\\TargetingFrame\\UI-Classes-Circles"


Macro2:

Quote

/run CIT = CLASS_ICON_TCOORDS
/run hooksecurefunc(UFP,function(self) if self.portrait then local t = CIT[select(2,UnitClass(self.unit))] if t then self.portrait:SetTexture(UICC) self.portrait:SetTexCoord(unpack(t)) end end end)


Edited by drmongrel, 12 December 2011 - 11:42 AM.


#31 yarubi

yarubi
  • Junkies
  • Gnomeclass_name
  • EU-Aegwynn
  • Blutdurst
  • Posts: 769
  • Talents: Arms 2/1/1/1/1/1
  • RBG: 2309

Posted 12 December 2011 - 04:38 PM

ty mong!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

<