User Tools

Site Tools


arma2:terrain:large_terrain_error

Large Terrain Errors

ArmA 2 large terrain errors or problems.

LandGrid reference exceeded

When you're creating large terrains and play in the upper right side of the map (highest coordinates grid sizes etc numbers), you might get this following error on RPT eventually causing a crash:

LandGrid reference exceeded the range [1023, 1023], it is [2253, 2347]

Then you should be able to fix it by changing the Terrain Base Texture Layers size to twice as large of what your cell size is, or even larger (you need to experiment). You'll find this on Visitor 3, Tools → Project Parameters. In there make sure the Texture Layers dialog's “Base (active)” is selected, then click Edit button.

Take a note that you need to delete your existing <terrain_name>\data\Layers\ directory and re-import satellite texture to have any effect for this texture layer change.

It is very curious problem as the terrain works fine in the lower left hand corner, but not on the far ends of right hand side. Why this only effects large terrains, why not those piece of crap tiny 5km ones?

PMC tests:

  • 102km, grid 4096, cell 25m, 2048 satellite and 200m “texture layer”, p3d in lower left corner, no RPT errors.
  • 102km, grid 4096, cell 25m, 2048 satellite and 200m “texture layer”, p3d in upper right corner, no RPT errors.
  • 204km, grid 4096, cell 50m, 2096 satellite and 200m “texture layer”, p3d in lower left corner, no RPT errors.
  • 204km, grid 4096, cell 50m, 2096 satellite and 200m “texture layer”, p3d in upper right corner, no RPT errors.

If you did increase your texture layer size, but your terrain still crashes with this error, then follow the below guide:

You need to increase your texture layer size to twice of your cell size:

Tools → Project Parameters → Texture Layers → base (active) → Edit

Then also you need to increase segment size to 1024:

Tools → Project Parameters → Calculator → Segment size (pixels)

After all this, delete your Layers directory and re-import your satellite, then finally it should work OK.

Shaking or Vibrating

On terrain sized of 204km (grid size 4096, cell size 50m), the shaking of character shadow, weapon and sun is quite extreme. Also the terrain “LSD effect” (terrain “moves” just beyond your character) which is even seen on utes/chernarus on smaller scale, is just ten times larger than in normal sized terrains. Does the shaking appear only in eastern side of the terrain, beyond the “1023” limit?

This issue is explained in our Large Terrain Shaking Explained video.

arma2/terrain/large_terrain_error.txt · Last modified: 2015-06-08 02:43 (external edit)