setTerrainGrid

From Bohemia Interactive Community
Revision as of 11:05, 8 January 2007 by Suma (talk | contribs) (Explained changed ArmA functionality.)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Operation Flashpoint, VBS1: Set desired terrain resolution (in meters). For default landscapes, supported resolutions are: For default landscapes, supported resolutions are:
  • 50 - smoothest, less lag
  • 25 - default in multiplayer
  • 12.5 - default in singleplayer
  • 6.25
  • 3.125 - bumpiest, higher lag
If you select unsupported resolutions, nearest supported value is used instead. Armed Assault, VBS2: Terrain resolution is fixed, determined by the world created. This function controls terrain LOD instead (the distance in which the terrain mesh resolution starts to degrade). Higher number means less vertices are used for terrain rendering, making distant hills less smooth.
Groups:
Uncategorised

Syntax

Syntax:
setTerrainGrid grid
Parameters:
grid: Number
Return Value:
Nothing

Examples

Example 1:
setTerrainGrid 12.5

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Posted on August 4, 2006 - 12:02
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.

Bottom Section