I've made a quick little python program to convert the xml from Epatrol (which happens to be used for omega-bot) to work with HB, although I've noticed the X,y co-ords are reversed. eg x=y y=x So I moved around on HB getting my position from moving on what I would call the X axis and it seems to alter the Y position...any ideas why it appears to be the wrong way around?
well as far as I know from different 3D Packages (Max, Maya Houdini, XSI) XY and Z are World Dependend Coordinates. So in those packages you can alter the way it interpretes the world. With those 3D packages, X is for Horizontal, Y for Vertical and Z for Depth, and thats how the design team makes the game. Thats also correct in Architectural Drawing. Now for a game engine (like the one in wow) as you look at your map, X and Y can be reversed because your game map could be reversed. Or the creator's Map had reverse coordinates. In any occasion reversing X and Y should not pose a problem unless there is some problem in the translation of Epatrols Map. Have you tested the other way around? Try and mark a spot in HB and put those XY cords to ePatrol. Will it take you to the correct place? If yes then you're ok. If not, try some more hotspots and see if a pattern emerges. Is the offset stable, like 10units? Does it progress the farther away you go from the starting hotspot? I hope I helped
Thanks for the information. There's no problem reversing them and swapping them around does in fact work. It just seemed curious to me that they appeared to be reversed. I've successfully written my python script to translate Epatrol xml files to work with HB but with it being written in python it's audience would be limited to those with python and the correct libraries installed. Perhaps I should learn some vc++ or something and write it in that
Hi niggle, if i got it correct you got the X,y coordinates from any map and converted to a coordinate for HB? if you did that plz pm me with the formula.
No fraid not, however this might help, http://vforums.mmoglider.com/showthread.php?t=53017&highlight=epatrol I've found it very usefull in getting co-ords, as well as the Z co-ords.. just make sure you swap the x,y to get it to work in HB. Also if you goto the FTP site in that link you can find the latest version of it. The python script I've created only takes the saved xml from that epatrol and saves it in a format HB can understand.
I see what you're after now That would be a very good thing. You could translate the wowhead database with that and get the position of every node in the game
Exactly! And guess what? i already found how. now it?s only a matter of how fast can i have a functional coding. Problem will be with Z Coord. but i believe i can work that out. i can grab a valid Z from a MESH.
Hey, I don't have access to that thread, apparently. I'd like to get my hands on that content, how can I?
Oh? Care to share the formula? I'd love to mine wowhead for that data Apparently I can't view that thread that niggle linked.
Z co-ords would be trival to do, if you parse the data to an xml file that EPatrol can understand it'll work it all out for you.
Hmmm, I see, so what is absolute 0,0 on each continent? then you stick everything together starting from that point, based on the size of all areas?
WoW uses a crazy coordinate system. You can find the height of the mesh at any X and Y point by using Navigator.FindMeshHeight.
Cool. Now all i need is to open and MPQ File to grab the ZoneData, and get the ZoneSize X,Y and the ZoneOffset then with that info i can tel you an NPC @ 43, 90 is @ HB Coord X,y. I already found a UP to Date DB within Cartographer lua Files, it has all offsets, continents and even Found a routing routine in questhelper, which i plan to use to give the shortest path to an objective. (By flying, by walking, etc).
Just wounder is there an way to convert WowHead coordinates to HonorBuddy coordinates and if its possible -then how? Simple formula or I have to know every Zone offset to world coord?
i've been wanting a program (or addon) that you can see "my position" while HB2 is being "fixed" when cata comes out so that I can make grinding profiles as I grind / quest up