Usage:
GeometryTemplate.LodDistance
number
Argument values:
argument 1: | range is 350 to 500; most commonly 400 |
Description: This property sets the level of detail distance for terrain in a battle. The higher the value, the farther soldiers can see before the view is entirely fog. Setting this too high can result in serious performance degradation, as the rendering engine does not have to render any terrain beyond this distance from the viewer.
Related properties: DetailTexName, SeaFloorLevel, TargetTriCount, TexBaseName, TexOffsetX, TexOffsetY, WaterLevel, WorldSize
Used in object types (and how often in each type): patchTerrain (57%)
Used in a total of 20 .con files: Terrain.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Kharkov/Init/Terrain.con)
rem
rem **** Initialize Terrain *****
rem
GeometryTemplate.Create patchTerrain terrainGeometry
GeometryTemplate.File bf1942\levels\Kharkov\Heightmap
GeometryTemplate.MaterialMap bf1942\levels\Kharkov\Materialmap
GeometryTemplate.MaterialSize 256
GeometryTemplate.TargetTriCount 5000
GeometryTemplate.WorldSize 1024
GeometryTemplate.YScale 0.7
GeometryTemplate.TexBaseName bf1942\levels\Kharkov\Textures\Tx
GeometryTemplate.TexOffsetX 0
GeometryTemplate.TexOffsetY 0
GeometryTemplate.DetailTexName bf1942\levels\Kharkov\Textures\Detail
GeometryTemplate.WaterLevel 90
GeometryTemplate.SeaFloorLevel 0
GeometryTemplate.LodDistance 400
Go to the GeometryTemplate properties list page, GeometryTemplate page, All Properties list, or Main scripting page.