Jump to content
Sign in to follow this  
scajolly

Grid size on chernarus

Recommended Posts

Hi, everyone.

How do I find out how long one grid is? Say I am at 050 071, I want to find out how long the height and width of each size of grid is. That is,

-50 -71 Largest

0-0 0-1 Medium

05- 07- Small

Are these found in meters, or just as a function of the map?

Share this post


Link to post
Share on other sites

Map grid square size is defined in the island config. For Chernarus the smallest grid squares are 100 meters, the larger squares are 1 kilometer and the largest squares are 10 kilometers.

For the sake of consistency every island should really keep the above convention. If for some reason one doesn't, though, you can always go into the config file and find the section that looks like this, class Grid (this is from Chernarus):

 class Grid: Grid
 {
  offsetX = 0;
  offsetY = 0;
  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 = 1000000015047466200000000000000.0;
   format = "XY";
   formatX = "0";
   formatY = "0";
   stepX = 10000;
   stepY = 10000;
  };
 };

The stepX and stepY values are the size of each grid square for that level, and the zoomMax value is the maximum zoom level they are displayed at.

A note, though about the topic title: this has absolutely nothing to do with "terrain grid size", if that's what you're talking about. That's a more technical aspect of islands which defines the distance between two data points in the island's heightfield.

Edited by cctoide

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  

×