Jump to content
Sign in to follow this  
icebreakr

Y-axis starts at about 25.5 on coordinate system? What the h...

Recommended Posts

I have one strange problem with one of my maps.

If you open a map and check the coordinate system in the upper left corner (NW):

The Y-axis starts at about 25.5 wheres it should start at 0. Its not a game breaking issue but I would like to solve it. Any clues how to fix that?

Edited by IceBreakr

Share this post


Link to post
Share on other sites

Did you check the value "grid =" on your config.cpp ??? Does it match with your "project parameters" cell size? I mean is the result coming from dividing those values an integer number ?

And what about zoom Level ??? Does your map has some dependency on BIS terrains, like Chernarus (a big one) or Utes (little)? In that case is convenient to adjust to the size of the island relating those especific measures...

For the sake of truth, I am just trying to give some hints about this issue because I could not know exactly what is happening...

Hope you can resolve that and tell everybody what was that... cheers!

EDIT: One more: Have you ever manipulate the "blue edge"? Could that be weirdly related to grid or coords system?

Edited by Robster

Share this post


Link to post
Share on other sites

Do you use a "class UTM" in your "config.cpp"?

If yes, can you show us.

In addition:

- what is the size of map in meters?

- what is the size of image sat in pixels?

Edited by akio

Share this post


Link to post
Share on other sites

10240x10240 10m cellsize

Found the bugger:

offsetY = 12800;

I guess it should be 10240?

Share this post


Link to post
Share on other sites
10240x10240 10m cellsize

Found the bugger:

offsetY = 12800;

I guess it should be 10240?

And which value do yo have on "landGrid = "

I am seeing my actual config and I have offsetY and offsetX = 0 ... Is it fine?

Share this post


Link to post
Share on other sites

You want the coordinates of the top left corner is 00/00 (X = 00, and Y = 00)?

---------- Post added at 07:24 PM ---------- Previous post was at 07:16 PM ----------

If so, try this:

		worldName =""

	class UTM
	{
		west = 700000.000000;
		south = 5089760.000000;
		zone = 31;
		hemisphere = "N";
	};
	latitude = -46;
	longitude = 0;

	class Grid
	{
		offsetX = -700000.000000;
		offsetY = 5100000.000000;

		class Zoom1

If you want more coordinates, you can specify.

---------- Post added at 08:30 PM ---------- Previous post was at 07:24 PM ----------

Moreover, if this does not work, can you give us coordinates of your top left corner (N / W) of your map (currently in the game).

example:

x = 0000

y = 2500

And the coordinates you would like to display in the game.

example:

x = 0000

y = 0000

Sorry for my English but I use a translator.

Edited by akio

Share this post


Link to post
Share on other sites

Well, I've checked my map again and it seems the topleft corner of my map is at X0 Y10240.

Edited by IceBreakr

Share this post


Link to post
Share on other sites

Recently I have been trying to figure out Latitude/Longitude and how it works in the config. I know that in real life the coordinates for my island are in the south eastern hemisphere at E177.0 and S17.0 which means my grid should start at 0/0 in the NW corner.

Therefor, I have set my longitude = 177 and my latitude = 17, my offsetX = 0 and I have offsetY = 5120 right now. This fixed the issue I was having of my Y grid starting at 99 and counting up but it starts my grid in the south western corner which is not making much sense to me right this instant. :s

Is there something wrong with grids in arma versus how they should work in real life, or am I just having a stupid moment? :S

Share this post


Link to post
Share on other sites

IceBreakr,

have you tried the piece of "config.cpp"?

It is made for a map of 10240.

If using it, do not change your coordinates, can you let me know?

prowler.wolf,

in my opinion, it is true that the configuration of the coordinates is a bit confusing.

Try a piece of "config.cpp", but can change:

south = 5089760.000000;

by

south = 5094880.000000;

Edited by akio

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  

×