Usage:
GeometryTemplate.MaterialSize
number
Argument values:
argument 1: | range is 256 to 1024; most commonly 512 |
Description: This property specifies the size of the input heightmap and material map, e.g. 1024 means each of these textures is 1024x1024. Values are always a power of 2.
Related properties: File, MaterialMap
Used in object types (always present 100% of the time): patchTerrain
Used in a total of 35 .con files: Terrain.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Essen/Init/Terrain.con)
rem
rem **** Initialize Terrain *****
rem
GeometryTemplate.Create patchTerrain terrainGeometry
GeometryTemplate.File bf1942\levels\Essen\Heightmap
GeometryTemplate.MaterialMap bf1942\levels\Essen\Materialmap
GeometryTemplate.MaterialSize 512
GeometryTemplate.TargetTriCount 5000
GeometryTemplate.WorldSize 2048
GeometryTemplate.YScale 0.35
GeometryTemplate.TexBaseName bf1942\levels\Essen\Textures\Tx
GeometryTemplate.TexOffsetX 0
GeometryTemplate.TexOffsetY 0
GeometryTemplate.DetailTexName bf1942\levels\Essen\Textures\Detail
GeometryTemplate.WaterLevel 29
GeometryTemplate.SeaFloorLevel 24
GeometryTemplate.WaveHeight 0.0
Go to the GeometryTemplate properties list page, GeometryTemplate page, All Properties list, or Main scripting page.