Hi,
This might have been answered before but I couldnt find any good info about it.
The map size on my test map is 512x512. The coordinate for my units are something like (x=3660.1147, z=3502.4683).
How do I convert coordinates from units to map and back?
Cheers,
Johan
Map coord to unit coords and back
Moderators: hoijui, Moderators
Re: Map coord to unit coords and back
multiply or divide by 8, depending on what you want where.
Re: Map coord to unit coords and back
Relation between all the maps is:
slopemap 1:2 heightmap 1:8 realmap
GetMapWidth() and GetMapHeight() give map dimensions in heightmap resolution.
slopemap 1:2 heightmap 1:8 realmap
GetMapWidth() and GetMapHeight() give map dimensions in heightmap resolution.