[center:hlzpeuse]
Hello there Modcraft!Note: Somewhat noob friendly[/center:hlzpeuse]
Now, it has come to my attention that there is quite a lot of doubt and confusion, regarding how to actually edit the DBC files to create new custom taxi routes. (I.E. Blizzards ingame gryphon/bat/Wyrwen taxies). To make things clear, this is not quite too easy either. Well, depends on your sense of common knowledge xD Anyway, we'll start off at step 1.
Step 1: Get the tools! (Skip if you already have the tools) -
http://taliis.blogspot.com/ - Taliis
-
http://www.zezula.net/en/mpq/download.html - Ladik's MPQ Editor
- Database editor (HeidiSQL, Navicat, etc. Own choice)
__________________________________________________
Step 2: Get the correct DBC files extractedAllright, start off by extracting the newest DBC files you can find in your MPQs, using Ladik's MPQ Editor named:
TaxiNodes.DBC
TaxiPath.DBC
TaxiPathNode.DBC
To where, is of your own choice, as long as you remember it
__________________________________________________
Step 3: Open all DBC files in TaliisOpen all the DBC files in Taliis, and go into TaxiNodes.DBC and open the second tab called "Table" (No cogwheel).
__________________________________________________
Step 4: Pick any row and duplicatePick any row and duplicate it, and go to the bottom, edit row #0 to one above the (now second) last row. In my case, as shown on the picture, its 441 I'm gonna change it to.
__________________________________________________
Step 5: Make a new string, fitting the location.Now, go into the strings table, make a new string containing the name of the new flight node your making. Ill be making Pyrewood Village since I think Alliance should have a flight node there, since they are already friendly xD Anyways, enough of my opinions. We're here for facts, not opinions
__________________________________________________
Step 6: Adding name + editing coordsNow remember the number of the row with your flight node name, you got in Strings. We're gonna use that now. Go back into Table (WITH cogwheel) and scroll down to your row. Edit coords, fitting your taxi node, and now edit the name ID to your new one.
Quick note:
The coordinates (in this row) is sort of like the last flight node, before reaching the location. Its also the location of the "boot" on the minimap, when talking to a flightmaster. When taking a trip to that specific location, you will get "teleported" (in this case, moved, since your so close to the coord), to the coords you've provided here, when there is no more flight coords.
So, here's my row:
__________________________________________________
Step 7: Flying mount modelIn the end of the row, you'll see 2 different numbers. First one represents the display ID of the mount horde players will ride on, when flying FROM this location. Second number, is the display ID of the mount alliance... -||-. Ill leave mine, because I copied from an alliance node already. But feel free to change yours, if you feel like it.
__________________________________________________
Step 8: Moving onto TaxiPath.DBCSo, now we got the row for TaxiNodes.DBC done. Lets move on to TaxiPath.DBC. This is the easiest one. All we gotta do here is, pick a row, copy, edit the column #0 to one above the highest. Now go back to TaxiNodes.DBC and look for the first number on 2 flight nodes. one of them will be the new one you just made, and another will be maybe a current one, or a new one, if you've made 2 new nodes? Anyway, remember those, go back to TaxiPath.DBC, and put for column #1, the node from which you travel FROM, and in column #2, you put the ending location. column #3 is gold cost, in copper. This will lower, depending on your reputation ingame with the flight master. So, this is how my TaxiPath.DBC file looks now
I've now linked the flight node Southshore (Thats the 14) to my node in Pyrewood Village, Silverpine Forest.
__________________________________________________
Step 9: TaxiPathNode.DBCNow, here's to the boring part. Remember the number from TaxiPath.DBC. The one from #0. Well, now you gotta find any row in TaxiPathNode.DBC and duplicate it, and for each turn you want on your flight route (usually you have quite a lot), you gotta add another one.
First row, make that a unique number. I'd suggest just keep moving upwards with the last number used.
Second row, here you put your number from TaxiPath.DBC. In my case 1979.
Third row, is the order of each flight point. Start with 0, and move upwards until you have all the points you want.
Fourth row, is pretty much just map ID. Edit that according to the place your making your flight node in. I make it 0, because Eastern Kingdoms (Azeroth) has the map ID 0.
Fifth, sixth and seventh row is coords.
The last 4 rows, you don't need to worry about.
This is how my DBC file ended up looking like.
Save all the DBC files, and lets continue
__________________________________________________
Step 10: Finishing touchesThis was the hard job. Now, go into your database, copy a flightmaster and possibly change the name of him. Go to your new flight node location, and spawn the flightmaster there. Doesn't have to be on the exact spot, but somewhere nearby. Now, go into your core folder, and where ever the extracted DBC files are, which the core's using, add these 3 new there (The one we've edited), and overwrite the existing ones.
Now, make a patch, containing these 3 files too. Now, restart the server, go in game, and try the flight path ^_^ If you did everything correct, it should show up, and work as intended
__________________________________________________
Keep in mind, you need to make another row in TaxiPath.DBC in order to make the flight route possible to fly, from both places, to the other
Same counts for TaxiPathNode.DBC. Also needs to make another path.
No sound[youtube:hlzpeuse]http://www.youtube.com/watch?v=t7h50lQL2z4[/youtube:hlzpeuse]
Thanks
KetaPS. Not sure if I've missed anything regarding to the rules on the forum. Its 4 in the morning when I'm making this, so if a moderator spots something, feel free to edit it