setTerrainGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (moved notes)
Line 36: Line 36:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
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]].
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
Old Notes (temporary):


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]].
[[Category:Scripting Commands|SETTERRAINGRID]]
[[Category:Scripting Commands|SETTERRAINGRID]]
[[Category:Scripting Commands OFP 1.96|SETTERRAINGRID]]
[[Category:Scripting Commands OFP 1.96|SETTERRAINGRID]]
[[Category:Scripting Commands ArmA|SETTERRAINGRID]]
[[Category:Scripting Commands ArmA|SETTERRAINGRID]]

Revision as of 18:17, 2 August 2006

Hover & click on the images for description

Description

Description:
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.
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

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