View Full Version : Interface icons in Item Name

03-01-2014, 03:47 AM
Hello everyone! I'll show you guys how to add Interface Icons to an item name!
First put your desired icon in the first slot of your bag like this: http://prntscr.com/2wsnhb

Next type this macro in to discover what icon it is: /run local x =GetContainerItemInfo(0, 1)print(x)

Now copy that down, so you should have: Interface\Icons\Mail_GMIcon

It's important that you edit it so it looks like this or it won't show up correctly: |TInterface\Icons\Mail_GMIcon.blp:15|t
(the .blp:15 part controls how LARGE it is. So .blp:15 is TEXT size, if you want it to be bigger simply increase the number, or smaller decrease the number.)

Alright now that we've got that all done open up Heidisql and go into your item template and edit or create an item and simply put |TInterface\Icons\Mail_GMIcon.blp:15|t in front or in behind of the text you want and it'll come up in-game!

Text in HSql: http://prntscr.com/2wspov
Item icon In-game: http://prntscr.com/2wspcx
Item linked in chat: http://prntscr.com/2wspsg

Edit: If you have any questions feel free to ask on here!

03-01-2014, 05:51 AM
Very nice, thanks for sharing this!

03-01-2014, 07:52 AM
:) your welcome!

03-10-2014, 11:23 AM
was a bit confusing at first but i get it now, cool share!

03-10-2014, 06:27 PM
That's kinda neat. Nice job

07-10-2014, 12:39 AM
Thanks :D

07-10-2014, 08:06 PM
Heh, never occurred to me that it would work in items, it should have since you could do it in names, gossips and chat messages. Thanks for this.

You can also use custom ones if you specify the directory and have them in a patch.