patchTerrain Type

The patchTerrain object type is created by GeometryTemplate.Create.

This type defines the terrain mesh itself.

Used in a total of 35 .con files: Terrain.con

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Coral_Sea/Init/Terrain.con)
   rem
   rem **** Initialize Terrain *****
   rem
   GeometryTemplate.Create patchTerrain terrainGeometry
   GeometryTemplate.File bf1942\levels\Coral_sea\Heightmap
   GeometryTemplate.MaterialMap bf1942\levels\Coral_sea\Materialmap
   GeometryTemplate.MaterialSize 512
   GeometryTemplate.TargetTriCount 5000
   GeometryTemplate.WorldSize 2048
   GeometryTemplate.YScale 0.6
   GeometryTemplate.TexBaseName bf1942\levels\Coral_sea\Textures\Tx
   GeometryTemplate.TexOffsetX 2
   GeometryTemplate.TexOffsetY 2
   GeometryTemplate.DetailTexName bf1942\levels\Coral_sea\Textures\Detail
   GeometryTemplate.WaterLevel 38
   GeometryTemplate.SeaFloorLevel 0
   GeometryTemplate.WaveHeight 0.0

Properties used with this type of object:
   GeometryTemplate.Create
   GeometryTemplate.DetailTexName
   GeometryTemplate.File
   GeometryTemplate.LodDistance
   GeometryTemplate.MaterialMap
   GeometryTemplate.MaterialSize
   GeometryTemplate.SeaFloorLevel
   GeometryTemplate.TargetTriCount
   GeometryTemplate.TexBaseName
   GeometryTemplate.TexOffsetX
   GeometryTemplate.TexOffsetY
   GeometryTemplate.WaterLevel
   GeometryTemplate.WaveHeight
   GeometryTemplate.WaveScale
   GeometryTemplate.WorldSize
   GeometryTemplate.YScale


Go to the GeometryTemplate type list page, GeometryTemplate page, All Types list, Class list, CON file list, or Main scripting page.