Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: sevi on May 12, 2013, 10:43:44 pm
-
Hey,
Today try i to add a new Currency like Emblem of Frost or another Emblem.
I create a new Item in the item_template, add the entry into Item.dbc and add the new Currency to the CurrencyTypes.dbc
And here is my problem. the CurrencyTypes.dbc has 3 fields,(with the id 4) the last field numbers like a flag, from blizz 1 to 29.
When I give my own currency the flag 30 and I add me this ingame I don't see it. But I give this the number 29 (number of emblem of frost) and add the new currency ingame, same, i didn't see its, except i add me a emblem of frost, so i see my own currency.
Ok i think this number says the client update now the currency window.
To the next, i looking in some framexml/gluexml but here i nothing found.
Any here have a idea who i found this? So that the new currency ingame displayed when a player become this first, without he must become after this a emblem of frost or a another thing.
-
Considering the structure ID - ItemEntry - Category - bitmask:
If Category is 0x1, and if you properly set the id on the item in item_template, everything should be fine. No need to edit xmls.
-
Thanks, i try its yesterday and its works.