PDA

View Full Version : [Noob Friendly]How to have custom talents



enegue
07-10-09, 04:13 AM
First off, I'm going to assume that you already have a private server up and running with extracted DBC files. I'm also going to assume you have an IQ over 15. If you do not meet one of these criteria, resume reading when you have met both.
Now that we have that out of the way, let's begin.
Download the MPQ Editor:
RapidShare: 1-CLICK Web hosting - Easy Filehosting (http://rapidshare.com/files/289683391/MPQEditor.exe)
Download the DBC Editor:
RapidShare: 1-CLICK Web hosting - Easy Filehosting (http://rapidshare.com/files/289683558/DBC_Editor.exe)

Create a folder called DBFilesClient.
http://i34.tinypic.com/efnsyp.png
Next, find your server's DBC folder, and look for the file titled Talent.dbc.
This should have been extracted from your version of WoW. Move the DBC file inside the folder DBFilesClient.
http://i34.tinypic.com/1y7fgp.png
Open up the file with the DBC Editor you downloaded. Open With.. won't work. Open the editor first and through it select the Talent.dbc file.
You will be presented with large rows and columns with numberical values shown below:
http://i33.tinypic.com/21nfupf.png
Don't be alarmed. Source Peek Wiki tells us what this all means:

1 ID Integer
2 iRefID (http://www.sourcepeek.com/wiki/SRef)_TalentTab (http://www.sourcepeek.com/wiki/TalentTab.dbc) Integer
3 row Integer
4 col Integer
5 iRefID (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 1
6 iRefID (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 2
7 iRefID (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 3
8 iRefID (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 4
9 iRefID (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 5
10 iRefID* (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 6?
11 iRefID* (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 7?
12 iRefID* (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 8?
13 iRefID* (http://www.sourcepeek.com/wiki/SRef)_Spell (http://www.sourcepeek.com/wiki/Spell.dbc) Integer Rank 9?
14 iRefID (http://www.sourcepeek.com/wiki/SRef)_Talent Integer Required talent
15 iRefID* (http://www.sourcepeek.com/wiki/SRef)_Talent Integer Required talent 2?
16 iRefID* (http://www.sourcepeek.com/wiki/SRef)_Talent Integer Required talent 3?
17 talentCount Integer Required points in talent (zero-indexed)
18 talentCount_2* Integer Required points in talent 2 (zero-indexed)?
19 talentCount_3* Integer Required points in talent 3 (zero-indexed)?
20 singlePoint Boolean 1 if the talent only has one point, otherwise 0.
21 Unknown (http://www.sourcepeek.com/wiki/Unknown) Integer 0 or 339 (Only talent with 339 is the druid talent: Nature's Grasp) Now that we have that figured out, we're ready to go. For this example, I will be changing the 1.12.1 talent Cold Snap from the 3rd Tier, into Icy Veins. Doing a WoWHead search on both spells shows me their spellID's are 11958 and 12472, respectively. Now, we look to see that Column 5 is the spellID for single ranked spells (and the first rank). Since both spells require only 1 rank, we look for the 5th column, which in my DBC is called "field4", and replace the numberical value we need (old spell ID), with the one we want (new spell ID). I look for 11958 and replace the numberical value with 12472.
http://i35.tinypic.com/a9rea8.png
After that, we make any other changes we need (use the Source Peek Wiki structure table as a reference), we save the DBC, and move on to the next step.
Make another folder of any name, and put DBFilesClient inside of it. There must be nothing but talent.dbc inside DBFilesClient.
Open up the MPQ Editor. Click the icon at the top left, "New MPQ". Name the file patch-x.mpq. Replace x with any alphabetical or numberical. Next, Choose the build from directory option. Choose the folder OUTSIDE OF the DBFilesClient folder. For example. I put my folder inside an empty folder called "test". So, in my example, I choose "C:\DotaWoW\test". Test only contains the DBFilesClient folder. The next step really doesn't matter, leave the hash at default. Check the box "format version 2.0". Click Finish. Your MPQ has been created. Put it into your WoW Data folder, and upload it for your server players to download. The final part is to take the edited talent.dbc in the DBFilesClient folder, and drag it into your server DBC files, replacing the old talent.dbc. After you are done, voila, you have custom talents!
Final Result:
http://i38.tinypic.com/2rxg16w.png

Remember to use a Model Edit Fix to run your custom patch!
Enjoy, and have fun making your custom talents! Remember to use learnable spells or it may not work correctly.


Disclaimer
I take no credit for this guide. Any +rep to me will be a bonus.

Credits
All credits go to n4ru70h4x0r of *******.

Lbniese
07-10-09, 09:11 AM
Nice tut. and rep+

enegue
08-10-09, 03:20 AM
Well, you need to spread some rep before you +rep me again. I'll make sure I remind you (:

Avidgamer
08-10-09, 07:59 AM
Owch. Both banned lol.

enegue
10-10-09, 08:52 PM
Not anymore. The conflict between me and Lbniese still stands however.