Forum > Texturing and 2D Art

[SOLVED] Need Help with getting my custom ingame map to show

<< < (3/3)

Hanfer:
may this helps u editing the WorldMapArea.dbc

Eatos:
The problem is from where the hell to get coords

Steff:
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

Perhaps someday someone write a tool to make the cords calculation easyer.

Eatos:
Works like a charm :)

Steff:
Nice to here :)

Navigation

[0] Message Index

[*] Previous page

Go to full version