setTerrainGrid: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
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 | '''setTerrainGrid''' 25 = 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 13:12, 17 April 2006
back to COMREF
setTerrainGrid grid
Operand types:
grid: Number
Type of returned value:
Compatibility:
Added in version 1.75
Description:
Set desired terrain resolution (in meters).
For default landscapes, supported resolutions are:
- 25 - smoothest, less lag
- 12.5
- 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 25 = lowest detail
setTerrainGrid 3.125 = highest detail
It is similar to the command setViewDistance.