Project X: Custom Currency
General Information[edit]
This article provides the required tools and steps to creating custom currency for the Project X WoW game engine recreation project.
Required Programs[edit]
- DBC Editor | WDBX, MyDBCEditor
- DB Editor | Heidi SQL, Mysql, Navicat
Required Files[edit]
- item.dbc
- CurrencyTypes.dbc
- CurrencyCategory.dbc
Links to all the required tools can be found on the Project X: Development Tools page.
Steps[edit]
1. Open CurrencyCategory.dbc and create a new row. (You can file the structure here)[edit]
Set the following fields
- Flags
- Name_Lang_enUS
- Name_lang_Mask (Keep as 16712190)
2. Open the Item.dbc file, scroll to the bottom and create a new row. (You can file the structure here)[edit]
Set the following fields
- ClassID to “10” (which is money)
- SubclassID to “1” (which refers to the Class ID)
- Sound_Override keep at “-1”
- Material to “4”
- DisplayInfoID to “(Item id that uses the Icon you want)“
- InventoryType to “1”
3. Open CurrencyTypes.dbc and create a new row[edit]
Set the following fields
- ItemID to the auto-generated ID from the item.dbc file
- CategoryID to the auto-generated ID from CurrencyCategory.dbc
- BitIndex (Kept the same as CategoryID)(Not really sure | Limited to 32*2 Bit)
4. Open The Database and add a new entry to Item_template[edit]
Set the following fields
- Set the Item ID to the ID that was auto-generated in the Item.dbc
- Class to “10”
- Subclass to “8”
- Soundoverridesubclass to “-1”
- Name to “Name of currency”
- Display ID to as the same value as the Item.dbc>DisplayInfoID
- Quality between “1-7” <Quality Types>
- AllowableClass & AllowableRace to “-1”
- Stackable to “2147483647”
- Description (w/e you want the item description to be)
- Bag Family to “8192”