Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Vortalex on May 09, 2013, 11:02:19 pm

Title: [QUESTION] Item Prefixes
Post by: Vortalex on May 09, 2013, 11:02:19 pm
Anyone know which LUA files doctrine this bitmask field?

(http://i39.tinypic.com/155ou4p.png)
Title: Re: [QUESTION] Item Prefixes
Post by: Ascathos on May 09, 2013, 11:25:43 pm
Quote from: "Vortalex"
Anyone know which LUA files doctrine this bitmask field?

(http://i39.tinypic.com/155ou4p.png)
The tag "Heroic" (like, a flag on a item_template) or the name "Heroic" (FrameXML... Constants.lua I think) ?
Title: Re: [QUESTION] Item Prefixes
Post by: Vortalex on May 09, 2013, 11:47:22 pm
Quote from: "Ascathos"
Quote from: "Vortalex"
Anyone know which LUA files doctrine this bitmask field?

(http://i39.tinypic.com/155ou4p.png)
The tag "Heroic" (like, a flag on a item_template) or the name "Heroic" (FrameXML... Constants.lua I think) ?

The flag in item_template.
I'd like to know where it is that I can edit/add more prefixes like "Heroic"
Title: Re: [QUESTION] Item Prefixes
Post by: Ascathos on May 10, 2013, 03:37:47 am
I think they are hardcoded into the client, so you may or may not be out of luck.
Title: Re: [QUESTION] Item Prefixes
Post by: Vortalex on May 10, 2013, 03:44:48 am
Quote from: "Ascathos"
I think they are hardcoded into the client, so you may or may not be out of luck.

They shouldn't be... I'd be highly disappointed if they were.
They've got to be somewhere in the LUA files.
Title: Re: [QUESTION] Item Prefixes
Post by: Vortalex on May 10, 2013, 06:00:03 pm
Anyone else no for sure?
Title: Re: [QUESTION] Item Prefixes
Post by: Ascathos on May 11, 2013, 01:20:58 am
Seeing as there is nothing defined within any DBC concerning these taggings and there are none to few entries listed within lua, you seem out of luck.
Title: Re: [QUESTION] Item Prefixes
Post by: XxXGenesisXxX on May 11, 2013, 05:51:52 am
Quote from: "Vortalex"
Quote from: "Ascathos"
I think they are hardcoded into the client, so you may or may not be out of luck.

They shouldn't be... I'd be highly disappointed if they were.
They've got to be somewhere in the LUA files.

Why shouldn't it be? It is a simple flag basically saying on or off, there are no variables about it other than localization. It also was released in TBC 2.0.3 patch, I quit when TBC came out, but presumably it was either part of the expansion release, or it was put into the expansion then activated via the patch. Either way, not something I would expect simply updated by a lua file.
Title: Re: [QUESTION] Item Prefixes
Post by: Vortalex on May 11, 2013, 08:35:49 am
Quote from: "XxXGenesisXxX"
Why shouldn't it be? It is a simple flag basically saying on or off, there are no variables about it other than localization. It also was released in TBC 2.0.3 patch, I quit when TBC came out, but presumably it was either part of the expansion release, or it was put into the expansion then activated via the patch. Either way, not something I would expect simply updated by a lua file.

The MoP GlobalStrings.lua contains references to ITEM_PREFIX: "Heroic" (or something like that) and other prefixes. They probably did this because they have been adding more prefixes such as Elite, Season 1, Season 2, etc... So I'm assuming it has something to do with a line elsewhere in the LUA files.
Title: Re: [QUESTION] Item Prefixes
Post by: XxXGenesisXxX on May 11, 2013, 11:25:18 am
This isn't MoP. With more content comes a need to simplify, they could of easily changed that afterwards, they changed a ton throughout the Cata and MoP. Not shutting out the LUA idea, just saying there is a high possibility of it AT THE TIME, being redundant to put an external reference to such a simple string.
Title: Re: [QUESTION] Item Prefixes
Post by: Vortalex on May 12, 2013, 02:34:07 am
really hope they put it in lua.