setTerrainGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Clarified.)
Line 25: Line 25:
For default landscapes, supported resolutions are:
For default landscapes, supported resolutions are:


* '''25''' - smoothest, less lag
* '''50''' - smoothest, less lag
* '''12.5'''
* '''25''' - default in multiplayer
* '''12.5''' - default in singleplayer
* '''6.25'''
* '''6.25'''
* '''3.125''' - bumpiest, higher lag
* '''3.125''' - bumpiest, higher lag
Line 43: Line 44:
This is like opening up your video preferences and changing "terrain detail", i.e.:
This is like opening up your video preferences and changing "terrain detail", i.e.:


'''setTerrainGrid''' 25 = lowest detail<br>
'''setTerrainGrid''' 50 = lowest detail<br>
'''setTerrainGrid''' 3.125 = highest detail
'''setTerrainGrid''' 3.125 = highest detail


It is similar to the command [[setViewDistance]].
It is similar to the command [[setViewDistance]].

Revision as of 22:04, 18 July 2006


setTerrainGrid grid


Operand types:

grid: Number

Type of returned value:

Nothing

Compatibility:

Added in version 1.75

Description:

Set desired terrain resolution (in meters).

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.


Example:

setTerrainGrid 12.5


Comments:

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.