Modcraft - The community dedicated to quality WoW modding!

Content creation => Texturing and 2D Art => Topic started by: Eatos on February 06, 2012, 02:48:08 am

Title: [SOLVED] Need Help with getting my custom ingame map to show
Post by: Eatos on February 06, 2012, 02:48:08 am
Currently for sometime now i have been working on project whose name is Exodus.Exodus is based on mythology , ancient mythology.Now i have managed to create map and i know how to get it into game.But the problem is it doesnt want to show it.
(http://i41.tinypic.com/2rmp4lz.png)
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Hanfer on February 11, 2012, 08:59:26 pm
what did u do to get it ingame?
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Steff on February 11, 2012, 09:44:26 pm
I have it ingame. Its not funny :)
Especial the overlay of the height lights.....
should this get a worldmap?
Then you have to replace the worldmap. You must cut the map into pices and swap with the original.
Then You must edit some DBCs.

WorldMapOverlay.dbc
WorldMapTransforms.dbc
WorldMapContinent.dbc
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Steff on February 11, 2012, 09:49:37 pm
If you need more help ask. And if you get it to work.
Please write an tutorial for this. Its missing and i have not the time to do it :)
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Hanfer on February 11, 2012, 09:57:24 pm
most of the info's for these u can get here...
http://www.pxr.dk/wowdev/wiki/index.php?title=WorldMapArea.dbc
http://www.pxr.dk/wowdev/wiki/index.php?title=WorldMapContinent.dbc
http://www.pxr.dk/wowdev/wiki/index.php?title=WorldMapTransforms.dbc
http://www.pxr.dk/wowdev/wiki/index.php?title=WorldMapOverlay.dbc
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Eatos on February 13, 2012, 01:04:55 am
The Problem is i want to make it as worldmap into Emerald Dream :) and you can say first 30 adts
Now first time when i tried to make it it wasnt working well only in one place it could show me walking but now it doesnt work at all :S

So basically in this red square i want map to be displayed :D
(http://i43.tinypic.com/oau2e1.jpg)
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Steff on February 13, 2012, 08:50:39 am
1. if you want to add this as a second worldmap you need to recode the Lua/XML interface. The Outland worldmap is hardcoded there. The pland only one worldmap at start :)

2. You need to add the right cords on the map. So the client kows that you are in this reagion.
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Eatos on February 17, 2012, 12:19:00 am
And that is what i need to know how? what coords and where to add.
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Steff on February 17, 2012, 01:15:31 am
Depends on your map. To the DBC fileds. Have a look at the wow dev wiki dbc part.
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Eatos on February 17, 2012, 03:44:07 pm
Currently my map is controlled through 2 dbc files.
AreaTable.dbc and WorldMapArea.dbc
with AreaTable.dbc it is also connected Map.dbc just pointing out for name
 In Map.dbc for EmeraldDream it has 1397 id from AreaTable.dbc
so question do i need to add coords in that table or to add core in WorldMapArea.dbc
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Hanfer on February 19, 2012, 09:36:43 am
may this helps u editing the WorldMapArea.dbc
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Eatos on March 25, 2012, 03:57:18 pm
The problem is from where the hell to get coords
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Steff on March 26, 2012, 12:52:22 pm
Ok I get it to work yesterday.
Here are some points.

1 Get the cords. Not so easy. I take a minmap shot in noggit in 2d mode with turned on lines (F7), put all the minimaps together, overlay the stuff with my worldmap to locate the ADT/chunk the maps corners are on. Then I look in noggit to get the X/Y cords.
2. The X/Y is swaped in wow. X is the top/bottom and Y is Left/Right direction.
3. Very Importand is that the chunk you are on must have a right AreaID set. The Zone AreaID or a subzone ID. If this is not the case you will even don´t see the map direct if you press M.
4. The DBC cords from the tut you gave me are just wrong. The WoW DevWiki informations are right.

So you get the infos Top/Left X1 and Y1
And Bottom/Right with X2 and Y2

Add it in this order into WorldMapArea.dbc

5: Left     = Y1
6: Right   = Y2
7: Top      = X1
8: Bottom = X2

http://www.pxr.dk/wowdev/wiki/index.php ... apArea.dbc (http://www.pxr.dk/wowdev/wiki/index.php?title=WorldMapArea.dbc" onclick="window.open(this.href);return false;)

Perhaps someday someone write a tool to make the cords calculation easyer.
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Eatos on March 27, 2012, 11:23:05 pm
Works like a charm :)
Title: Re: Need Help with getting my custom ingame map to show?
Post by: Steff on March 28, 2012, 06:06:00 am
Nice to here :)