Jump to content
Sign in to follow this  
dmitri

Map size issue

Recommended Posts

I have a map which is 1024 x 1024 grid, 5 cell size. Visitor states that the map will be 5120m x 5120m in game. Problem is, in game it measures 2560m x 2560m.

I've been through the process a few times, double checking everything. Any explanation as to what I'm doing wrong?

Share this post


Link to post
Share on other sites

Have you imported a height map via a .pbl ?

If so, is the square size in the .pbl the same, 5m?

Share this post


Link to post
Share on other sites

From experience I thought the grayscale image had to be exactly the same size as 1024x1024 (same as your grid, no matter what the cell size is). Importing any other size results in a different scale.

If you have done that then I can't see how the scale can be different with those settings.

I guess you are measuring the "wall to wall" and not the actual land size itself (unless of course the land is wall-to-wall and no water)

Share this post


Link to post
Share on other sites

Maybe I'm just missing something very obvious..or misunderstanding how the Visitor to ArmA size works (editor map extent or terrain.png map extent?).

The map has a small bit of water around the edges. Basically a block. I'm measuring the size by placing a square trigger down that matches my painted map.

Just tried it again now at 10 cell. The elevation map is a 1024 x 1024 pixel 16bit grayscale png. This is my pbl:

class cfg

{

PNGfilename="terrain.png";

squareSize=10.000000;

originX=0;

originY=0;

minHeight=-5.0;

maxHeight=300.0;

};

A shot from within visitor showing 10000m:

10000.jpg

Shot from within ArmA showing the placed trigger:

5200.jpg

Share this post


Link to post
Share on other sites

Oh well..I'll just have to accept this as a "feature". smile_o.gif

Share this post


Link to post
Share on other sites

Maybe I am misunderstanding the problem, but...

Original OFP map size was 256 X 256 @50m = 12.8 km X 12.8 km terrain size.

So,

1024 X 1024 @5m = 5.12 km X 5.12km terrain size.

1024 X 1024 @10m = 10.24 km X 10.24 km terrain size.

Which is all well and good.

A rectangular trigger with axis a and axis b set to 5.2km results in a trigger covering an area of 10.4km X 10.4km, so everything looks as it should to me.

Planck

Share this post


Link to post
Share on other sites

I see what you're saying. This is my Homer "Doh" moment of the decade. tounge2.gif A simple (player distance marker) confirms my boo boo. biggrin_o.gif

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  

×