====== ArmA 2 Large Terrain Errors ======
[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]]
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 [[arma2:arma2.rpt|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 [[arma2:terrain:base-texture-layer-size|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 \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 [[https://www.youtube.com/watch?v=wug0pnApRys|Large Terrain Shaking Explained]] video.