Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Valkryst on August 30, 2014, 12:34:18 am

Title: [QUESTION] How is an zone/subzone defined?
Post by: Valkryst on August 30, 2014, 12:34:18 am
Hey,

I've been meaning to find this out for some time now, but I haven't gotten around to it until now. Does anyone happen to know where the area of a zone/subzone is defined? I assume that one of the DBC files has a set of coordinates that define the perimeter of a zone/subzone, but I haven't found one yet.

I'd like to be able to define my own zones/subzones along with removing existing zones/subzones.
Title: Re: [QUESTION] How is an zone/subzone defined?
Post by: stan84 on August 30, 2014, 09:34:35 am
You mean, you want change one subzone to own custom one, with new size and coords ?

you have to do this in noggit by replacing chunk areaid, your .dbc must have new areaid also.

there is great tutorial, where Eluo explains it. viewtopic.php?f=22&t=26&p=395#p395 (http://modcraft.io/viewtopic.php?f=22&t=26&p=395#p395" onclick="window.open(this.href);return false;)

each MCNK chunk in atd file has described areaID at 0x34 byte.
Title: Re: [QUESTION] How is an zone/subzone defined?
Post by: Steff on August 30, 2014, 10:40:55 am
Areatable.dbc there is a fild define a link to the prev zone.  If there is 0 in,  it is a zone.  Like elvynn.  If ther is a link to such an 0 zones id in it is a subzone.  Like goldshire. If there is a link to a subzones id in it is a subsubzone.  In this case the subzone name is displayed and the subsub zone name is wrktten under it.
Like dwarven district_ herberts beerehouse ;)
There are only 3 layers.  You then must set the areaids with noggit to the wanted chunks. Dbc must be in noggits project dir!
Title: Re: [QUESTION] How is an zone/subzone defined?
Post by: Valkryst on August 30, 2014, 06:43:56 pm
That's exactly what I was looking to do. Thanks for the info, I'll forward it to my friend.