Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Tutorials => Topic started by: elarose on April 01, 2013, 02:27:29 pm

Title: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: elarose on April 01, 2013, 02:27:29 pm
This tutorial shall end in us having horde and alliance graveyard zones for our custom map.
Right lets get down to buisness.

Tools:
Dbc editor. (I used 'mydbceditor')
Sql editor.  (I used heidi)
Noggit.       (You guessed it, I used noggit!)

I will assume that if your reading this you have, a custom map.  :P Else, get outta here and go make one!!!

Below I shall quickly brush upon making an zoneid, just incase you havent done so for your custom map, if you have then skip on down to 'Worldsafelocs.dbc'.

Your custom map will have its own map id, we shall be using this.

Also if your using a dbc editor that is zero based. Simply reduce the 'columns' in this Tutorial by 1.

(http://imageshack.us/a/img199/2908/areaidpainted.jpg)
Areatable.dbc

1.In areatable.dbc we clone a line to a new entry. As you see I made mine 4999.
2.We put our custom map id into the 2nd column.
3.Then we change the 4th column to a unique id.(i went with 3899)
4.We name it what our zone shall be displayed as.
5.Save and done.

Map.dbc

1.We have our custom map entry, we go to column 23 and type in our 'areatable.dbc' entry we just made.
2.Save and done.

Mapdifficulty.dbc

1.We make a new line here and input our custom map ID into the 2nd column.  (Else being on this map and inviting another to group on the same map shall make our server crash!)
2.Save and done.

Noggit.

Paste your dbcs into your noggit dbfilesclient folder. Open your map, click on the areapaint tool and hit X.
If you managed the above steps correctly and have placed them into the dbfilesclient folder of noggit, your zone name should appear. It did? Great! Paint away. Finished? Awesome. Save it and put it into your patch and also server dbc folder.

If you did the above correct and go ingame to your custom map and type .gps it should be listing your zoneID.
It did? Incredible. Lets get down to the graveyard part.

(http://imageshack.us/a/img20/7823/likethisq.jpg)

Worldsafelocs.dbc

(http://imageshack.us/a/img690/7451/dbctime.jpg)

Open Worldsafelocs.dbc and make two new entrys, with obvious names for horde/alliance.
Change the 2nd column to your custom map id.

Go ingame and move to where you want the alliance players to 'be ported to'(the graveyard location) when they hit 'release'.  

Type .gps.

Enter the X Y Z numbers into worldsafelocs.dbc of your alliance entry  Columns 3, 4, 5  (3=x 4=y 5=z)
Now repeat the above but for the horde graveyard.
Write down the two Id numbers of the worldsafelocs.dbc entrys you made.
Again put into your patch and server dbc folder.

Almost there! (quite simple isnt it)

Now open your database, expand the 'world' category, browse on down to 'game_graveyard_zone'
Make two new lines.
Enter into the first field your 'worldsafelocs.dbc entry ID's you made.
Enter into the second field the zone id you made.
Enter into the last field the faction you want to go there. 469=alliance 67=horde 0=both

The test!

(http://imageshack.us/a/img594/2323/testog.jpg)

Congratulations.  :)

Note:For dungeons/raids just make the worldsafelocs.dbc entry the mapid and coordinates you shall be ported to upon death.

Explanation.
Worldsafelocs.dbc is where you will be ported to.
Game_graveyard_zone' db category is simply hooking up the zone you die in, to the worldsafelocs.dbc entry of where you shall end up after you hit release, the same zone can have multiples.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Steff on April 01, 2013, 03:43:39 pm
Nice thank you. We will need this also in the next time ;)
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Alpha on April 25, 2013, 01:49:39 am
Awesome, it works at the first attempt, really really thanks for this guide. ^^

(Also doing it I solved my "custom name map" problem XD)
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: fearless_wind on May 05, 2013, 07:01:45 pm
Doesn't work... It teleports me to Westfall (if I'm Alliance) and to Barrens (if I'm Horde)
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Manhattan on May 05, 2013, 07:14:10 pm
Me too.. x)
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: deep6ixed on May 06, 2013, 05:07:03 am
If upon dying and your getting sent to westfall or the barrens, that means that your custom zone may not have its area and zone set correctly.  Trinity defaults to those graveyards if it can't send you to any other.  

Go in game and go to your custom zone.  Type .gps and check the top line, I should give both an area and a zone.  If either are 0 (unknown) then you need to check that the map has an area attached to it.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Manhattan on May 07, 2013, 06:40:37 pm
Guide is true

Im fix my problem.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Piccolodmq on January 22, 2014, 04:32:13 pm
Sorry to necro this... but i got a question.    Do I really need noggit for this?  Or is it just to mark the spots in the custom map and to check if the names of the maps are showing?  Because I am trying to et noggit working in my computer,... and it simply wont start... can I just modify the dbc and db tables and add it to a patch?
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Steff on January 22, 2014, 05:27:25 pm
You need noggit always for a custome zone :) and you need. To create new entrys in areatable. Dbc and attach them in noggi t.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Piccolodmq on January 22, 2014, 06:32:35 pm
Quote from: "Steff"
You need noggit always for a custome zone :) and you need. To create new entrys in areatable. Dbc and attach them in noggi t.

Thanks for the quick answer. Now when it says, that I need to change the map.dbc in column 23 to areatable.dbc entry we just made... it wont let me.  I type in column #23 and it lets me type but when I am done.. it just erases what i putted and goes to zero.  

So what version of Noggit would you recommend to make a custom gy?
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Steff on January 23, 2014, 06:04:23 am
Noggit dont edit dbcs.  There you use an dbc editor?
Mydbcedit somerimes bjggs.  Just change value again.

You can use noggit 1.2 or 1.3 ci81
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Piccolodmq on January 24, 2014, 08:45:09 pm
Quote from: "Steff"
Noggit dont edit dbcs.  There you use an dbc editor?
Mydbcedit somerimes bjggs.  Just change value again.

You can use noggit 1.2 or 1.3 ci81

 For DBC Editing I am using Taliis, the problem I am having there... is in colum 23, of the areatable.dbc I cant change any values as sugested in this guide.

I am about to pay someone, here to help me with this?  Anyone?
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: deep6ixed on January 25, 2014, 07:27:13 am
Don't use Taliis, use MyDBCEditor.  If you still have Issues, I've made custom graveyards before for Maruum, Ill help you out.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: deep6ixed on January 31, 2014, 05:24:10 pm
I'd like to add a couple of tips to this:

1.) You must compile maps for your server to have new graveyards work if you have new area id's.  TrinityCore uses the compiled map data to determine the area id that you are in.  Do a .GPS and if it shows Area or Zone of 0 (Unknown) you will get ported to the Barrens graveyard by default.

2.) I'd avoid Taliis for this, MyDBCEditor works better.

3.) Area Id's are critical, you can't just make a map with Noggit and then make a graveyard, even if the map is 1 ADT, you still must have area id's assigned to make graveyards function.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Piccolodmq on February 10, 2014, 04:04:59 am
i have followed, many guides to try to get Noggit to open... ( i just need it for this part of the the gy tutorial).  and no luck. I extracted the maps... changed the path for the client in the noggit_template... it just opens and closes...  

Really hate noggit because it is a tool that just to get it to open its a mess.. I have even  uninstalled my 4.0 version of .net and downloaded 3.5, and it still doesn't work..

So no clue what could it be....

Any other tips to get noggit open or something to bypass noggit out of this gy tutorial?
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Milly on February 10, 2014, 06:03:07 am
Quote from: "Piccolodmq"
i have followed, many guides to try to get Noggit to open... ( i just need it for this part of the the gy tutorial).  and no luck. I extracted the maps... changed the path for the client in the noggit_template... it just opens and closes...  

Really hate noggit because it is a tool that just to get it to open its a mess.. I have even  uninstalled my 4.0 version of .net and downloaded 3.5, and it still doesn't work..

So no clue what could it be....

Any other tips to get noggit open or something to bypass noggit out of this gy tutorial?

Have you tried making a thread in the Noggit forum about your issue? You should do that. And include your log/config.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Steff on February 11, 2014, 07:10:50 am
Setting up noggit is easy,  if you just read the manual carefully.
Make a post as milly suggest.

A short read of your post tells me that you did not rename you template.  So noggit simple dont use it.
Or much easyer.  Do the tutorial part 2
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Romzarah on February 13, 2014, 01:49:22 pm
Will this work for a zone like 616?

I have been working on a build of Hyjal, the empty one. I have used Noggit to edit the maps but have not edited all the adts in the zone. I did manage to link it to a graveyerd just outside Hyjal, but this is a pain for the players if they die.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: KevinBM on June 24, 2014, 09:39:55 pm
Does this work for already existing zones aswell? Trying to set a new graveyard for alliance in the hinterlands, but it didn't work.
Title: Re: [TUTORIAL] Graveyards For Custom Zones for Trinity.
Post by: Corvus on July 26, 2014, 03:53:18 pm
Just want to say thanks, precise and clear, it works perfectly.  ;)