setTerrainGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Clarified.)
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETTERRAINGRID]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETTERRAINGRID]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETTERRAINGRID]]
 
 
<h2 style="color:#000066">'''setTerrainGrid ''grid'''''</h2>
 
 
'''Operand types:'''
 
'''grid:''' [[Number]]
 
'''Type of returned value:'''
 
[[Nothing]]
 
'''Compatibility:'''
 
Added in version '''1.75'''


'''Description:'''
| ofpr |= Game name


Set desired terrain resolution (in meters).
|1.75|= Game version
____________________________________________________________________________________________


| Set desired terrain resolution (in meters). For default landscapes, supported resolutions are:
For default landscapes, supported resolutions are:
For default landscapes, supported resolutions are:
* '''50''' - smoothest, less lag
* '''50''' - smoothest, less lag
* '''25''' - default in multiplayer
* '''25''' - default in multiplayer
Line 31: Line 15:
* '''3.125''' - bumpiest, higher lag
* '''3.125''' - bumpiest, higher lag


If you select unsupported resolutions, nearest supported value is used instead.
|= Description
____________________________________________________________________________________________


If you select unsupported resolutions, nearest supported value is used instead.
| '''setTerrainGrid''' grid |= Syntax


|p1= grid: [[Number]] |= Parameter 1


'''Example:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>setTerrainGrid 12.5</pre> |= Example 1
____________________________________________________________________________________________


'''setTerrainGrid''' 12.5
|  |= See also


}}


'''Comments:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


This is like opening up your video preferences and changing "terrain detail", i.e.:
<!-- Note Section END -->
</dl>


'''setTerrainGrid''' 50 = lowest detail<br>
<h3 style="display:none">Bottom Section</h3>
'''setTerrainGrid''' 3.125 = highest detail
Old Notes (temporary):


It is similar to the command [[setViewDistance]].
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 OFP 1.96|SETTERRAINGRID]]
[[Category:Scripting Commands ArmA|SETTERRAINGRID]]

Revision as of 23:31, 1 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

Bottom Section

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.