|
I assume this is something similar to the npcpos.txt
The first value is a short which is the x section and y section. I converted it for my emulator to 2 bytes so you have an x sectiona and y section at this way you can calculate the radar position ingame. the second value is the x pos the thirds value is the z position and the last one the y.
to convert the X position to the x position ingame you need this calculation:
(x - (xSector - 135) * 192) * 10
for the Y position you need this calculation:
(y - (ySector - 92) * 192) * 10
I am still need to calculate a way back to the xsection and ysection so I can't give you those yet.
Is this what you asked for?
|