Arma 3 Scripting

Command in System, Environment

setTerrainGrid

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the desired terrain resolution in meters.

Syntax

setTerrainGrid grid

Parameters:

Returns: Nothing

Examples

Example 1

setTerrainGrid 12.5;

See also

getTerrainGrid · setViewDistance · viewDistance · setDetailMapBlendPars · getObjectViewDistance · setObjectViewDistance

Community notes

Hardrock

Notes from before the conversion:

This is like opening up your video preferences and changing "terrain detail", i.e.: setTerrainGrid 50 = lowest detail setTerrainGrid 3.125 = highest detail It is similar to the command setViewDistance.

WGL.Q

Effects on grass:

  • 50: disables/removes grass altogether.
  • 25: grass is visible.
  • Lower values make grass drawn a bit further at distance. However the effect is decreasing rapidly: Grass radius of 25 is 100%. 12.5 is now like 100% + 20%, 6.25 is like 100% + 20% + 5% and 3.125 is 100% + 20% + 5% + 1%. Note these are estimates!

Demo Mission Test_VD_TD.Sara.rar: ViewDistance and TerrainGrid can be changed via RadioTriggers

Rommel

Arma 2 Supported Reso:

In Arma 2 you are not stuck to 50, 25, 12 etc. 45 is a lower setting than 25!

Galzohar

Arma 3 Multiplayer default:

Some testing indicates that the default value for Arma 3 multiplayer is 10 - just like before. 10 is between "Normal" and "High".

An user's terrain detail setting is ignored in multiplayer just like in Arma 2.

MrPineapple

TerrainGrid values for Arma 3 1.34:

Low = 50 (NoGrass)

Standard = 25

High = 12.5

Very High = 6.25

Ultra = 3.125