Jump to content
Sign in to follow this  
dragonsyr

Map grid setup

Recommended Posts

I have 2048X2048 grid size

10 terrain cell size

20480X20480 terrain size.

now the grid

class Grid: Grid
	{
		offsetX = 0;
		offsetY = 5120;
		class Zoom1
		{
			zoomMax = 0.15;
			format = "XY";
			formatX = "000";
			formatY = "000";
			stepX = 100;
			stepY = 100;
		};
		class Zoom2
		{
			zoomMax = 0.85;
			format = "XY";
			formatX = "00";
			formatY = "00";
			stepX = 1000;
			stepY = 1000;
		};
		class Zoom3
		{
			zoomMax = 1e+030;
			format = "XY";
			formatX = "0";
			formatY = "0";
			stepX = 10000;
			stepY = 10000;
		};
	  };

how can i set the setoffsetY = ????; to get the real position on the map?

with this i get wrong numbers from Y axis on my map.

Share this post


Link to post
Share on other sites

Set "offsetY" to the width of your map in metres, which would be 20480 in your case.

Share this post


Link to post
Share on other sites

i set 20480 but on Y i get wrong number

exampe: i m on 12520 8599 position on my island(i know the possition from visitor). on the map i get 012 on X (format 000) , 0125 (format 0000). this is ok but on Y i get 990 (format 000) 9908 (format 0000)

---------- Post added at 15:20 ---------- Previous post was at 14:28 ----------

map grid is related to the gps ingame? can i have my map grid numbers show the ingame gps coordinates?

---------- Post added at 16:07 ---------- Previous post was at 15:20 ----------

i see in some posts related to this, that the two number systems (gps and map grid) is not the same. So i think that is not possible to get the ingame gps format to my map grid.

thank you freakjoe for your reply.....

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×