Originally Posted by
felixdekat
if you read into my post you see that i posted the zone info coords, so ofcourse i do realize that the zones are between 2 coordinates in the worldmap(doh...?)
but that doesnt have much to do with my main question.
how to get from relative zone coords back to worldspace....
-------------------------------------------------------------------
search and u will find, that sounds real spectacular, but really wth is this for useless info
is there anyone who has encountered this problem. Or that has already done research on this topic...?????
Uhm .. Yah?
Take your coordinate, say [0.2;0.5]. You know from WorldMapArea.dbc, that your current map is from [123734.122;723.2] to [163262.162;836.25]. So now, you get the math started..
Code:
1632.62162 - 1237.34122 = 395.2804
836.25 - 723.2 = 113.05
0.2 * 395.2804 = 79.05608
0.5 * 113.05 = 56.525
1237.34122 + 79.05608 = 1316.3973
723.2 + 56.525 = 779.725
OMG BIG DEAL!11
I hope, you realize that my post was everything you need. I was just amazed by the work you did for getting all those values as they are just listed in the DBC. And are exactely what you need.