setTerrainGrid
Jump to navigation
Jump to search
Description
- Description:
- Sets the desired terrain resolution in meters.
- Groups:
- SystemEnvironment
Syntax
- Syntax:
- setTerrainGrid grid
- Parameters:
- grid: Number - for default landscapes the supported resolutions are:
- 50 - smoothest, less lag
- 25 - default in multiplayer
- 12.5 - default in single player
- 6.25
- 3.125 - bumpiest, higher lag
- Return Value:
- Nothing
Examples
- Example 1:
- setTerrainGrid 12.5;
Additional Information
- See also:
- getTerrainGrid setViewDistance viewDistance setDetailMapBlendPars getObjectViewDistance setObjectViewDistance
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
- Posted on Aug 04, 2006 - 12:02 (UTC)
- 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.
- Posted on Aug 18, 2007 - 09:46 (UTC)
-
Effects on grass:
- 50: disables/removes grass altogether.
- 25: grass is visible.
- Lower values make grass drawn a bit further at distance. However the effect is decreasing rapidly: Grass radius of 25 is 100%. 12.5 is now like 100% + 20%, 6.25 is like 100% + 20% + 5% and 3.125 is 100% + 20% + 5% + 1%. Note these are estimates!
- Posted on Dec 15, 2019 - 05:50 (UTC)
- Arma 2 Supported Reso: In Arma 2 you are not stuck to 50, 25, 12 etc. 45 is a lower setting than 25!
- Posted on Mar 13, 2013 - 17:05 (UTC)
- Arma 3 Multiplayer default: Some testing indicates that the default value for Arma 3 multiplayer is 10 - just like before. 10 is between "Normal" and "High". An user's terrain detail setting is ignored in multiplayer just like in Arma 2.
- Posted on Nov 19, 2014 - 17:44 (UTC)
-
TerrainGrid values for Arma 3 1.34:
Low = 50 (NoGrass)
Standard = 25
High = 12.5
Very High = 6.25
Ultra = 3.125
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.75
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: System
- Command Group: Environment
- Scripting Commands: Local Effect