Welcome to fifth tutorial how to edit your dbc files.
I will be your teacher, guider in this lesson.If you read all mine tutorials you already know what programs we use for dbc editing.
But today we will need some new programs because we will learn how to make(not edit) custom extended cost + custom icon to be showable for item..
What DBC we need to edit for this:
ItemDisplayInfo.dbc
Item.dbc
Itemextendedcost.dbc
The programs we are going to use in this tutorial are:
*Microsoft Excel
*DBCutil
*Photoshop
*Blp converter
*Mywarcraftstudio
Now lets start, shall we
First we will edit ItemDisplayInfo.dbc
so lets define fields for it:
Code:
1 ID - Displayid
2 LeftModel For example at shoulders. Defineing the pairs.
3 RightModel
4 LeftModelTexture
5 RightModelTexture
6 Icon1 The icon displayed in the bags etc.
7 Icon2
8 GeosetFlags1Bracer: {0: small, 1, 2, 3: wide}bracers.
9 GeosetFlags2 Pants: {0: small, 1, 2: wide}
10 GeosetFlags3 {0: normal, 1: kilt}.
11 GeosetFlags4
12 Unkown
13 ItemGroupSounds
14 HelmetGeosetVisData
15 HelmetGeosetVisData
16 UpperArmTexture
17 LowerArmTexture
18 HandsTexture
19 UpperTorsoTexture
20 LowerTorsoTexture
21 UpperLegTexture
22 LowerLegTexture
23 FootTexture
24 ItemVisuals Static enchants.
25 Unkown

As you can see i have added 3 custom displayids + icons
First 2 are weps fist
and third one is mine custom extended cost item..
In first field i have made displayid 70923 unique
In sixth i have added name of mine custom icon(always starts with Inv_misc_yournamehere)
and in thirtheen field type 7...
Now you can close that and open Itemextendedcost.dbc
Lets define here fields
Code:
1 ID - extended cost id
2 costHonor general honor cost to purchase
3 costArena How many Arena "honor" points an item costs.
4 iRefID_RequredItem[5] Items
9 itemCount[5] Number of item needed
14 PersonalRating
15 iRefID_PurchaseGroup Lets you require an item out of the group.

As you can see i have made 4 custom extended costs.
ids are:5500,5501,5502,5503
In field 5 - 130000 mine id of custom item( here you will put your own custom item id)
And in field 10 how much it needs to buy something...
After you edit this save it then with dbcutil convert it back to dbc..
Now why we need photoshop and blp converter?Simple for our custom icon..
Find good looking icon for your item or make it.
With photoshop resize it to this resolution 64x64 and save it as png.
With blp converter convert it to blp
Start mywarcraftstudio and add first dbc files.
You can see that in mine first guide how.
For icon do next thing
click on pack->Add file
then navigate where is blp file stored
when you press ok on file
you will see small windows where it say path
there write
Interface\Icons\yournameofpicture.blp
save it.
Save patch.Also dont forget to add itemextendedcost to your arcemu dbc folder or this edit will not work.