Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: Portals on January 08, 2014, 07:27:58 am
-
(http://i.imgur.com/ka9Xnrw.png)
As you can see this item says Heroic, but I am trying to edit the text to say something else. Is this edited in the .exe or somewhere else?
-
Patch-enUS-3.MPQ
Interface/FrameXML/GlobalStrings.LUA
Search for ITEM_HEROIC, this is where that name is stored.
Edit and make new patch
-
Thank you! Is there a way to add another name. For instance I want there to be Normal, Medium, and Hard names in different colors.
-
Not to my knowledge, Heroic is set as a flag in item template.
-
You could hack it together by having the item name have be "Great Axe | R_LEGEND".
In the Lua file, find | in the item name and replace that and anything right of it with nothing so only "Great Axe" displays.
On tooltip hover, if "| R_LEGEND" is found, instead of displaying the normal "Heroic" bit display your own custom message.
This is very hacky but does work. You can replace almost anything displayed using methods like this.
-
I really don't understand stoneharry, can you please explain it a little bit more detailed or add me on skype @ NikoMotus. I am willing to pay for a private lesson if needed.
-
I really don't understand stoneharry, can you please explain it a little bit more detailed or add me on skype @ NikoMotus. I am willing to pay for a private lesson if needed.
The display is fully handled from the Lua and XML files. InterfaceFrameXML
This means you can change how it is displayed. Find where the item display frame is and then try modifying it. See if you can find exactly where it is showing what you want to modify.
Now the string name etc are being parsed in as strings. Strings can be modified.
If you change the item name string to have a code in it, then client side do not display the code but use it to determine what to show in another section, you have achieved what you set out to do.
This is not an easy implementation at all - for that reason I can only tell you the theory behind it.
-
Aren't things like item-links assembled in-client, thus can't be stripped of the tag?
-
Aren't things like item-links assembled in-client, thus can't be stripped of the tag?
You are correct as always. I just assumed it was rendered in the frameXML like almost everything else is, and now upon checking it seems only global strings are stored there. My bad.
Ignore my previous posts.
-
Just on a whim, I tried using $B $N n and | just to see what happened, and sadly nothing...