WorldSize Property

Usage:
   GeometryTemplate.WorldSize number

Argument values:

argument 1:    range is 1024 to 4096; most commonly 2048

Description: The number is the scale of the world, how many meters wide and high it is. However, this number can be overridden by a token in Init.con, Game.SetActiveCombatArea.

See the Map Coordinates Tutorial for more information.

Related properties: DetailTexName, File, MaterialMap, MaterialSize, SeaFloorLevel, TargetTriCount, TexBaseName, TexOffsetX, TexOffsetY, WaterLevel

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/Midway/Init/Terrain.con)
   rem
   rem **** Initialize Terrain *****
   rem
   GeometryTemplate.Create patchTerrain terrainGeometry
   GeometryTemplate.File bf1942\levels\Midway\Heightmap
   GeometryTemplate.MaterialMap bf1942\levels\Midway\Materialmap
   GeometryTemplate.MaterialSize 1024
   GeometryTemplate.TargetTriCount 4000
   GeometryTemplate.WorldSize 4096
   GeometryTemplate.YScale 0.6
   GeometryTemplate.TexBaseName bf1942\levels\Midway\Textures\Tx
   GeometryTemplate.TexOffsetX 6
   GeometryTemplate.TexOffsetY 6
   GeometryTemplate.DetailTexName bf1942\levels\Midway\Textures\Detail
   GeometryTemplate.WaterLevel 20
   GeometryTemplate.LodDistance 450
   GeometryTemplate.SeaFloorLevel -50.0


Go to the GeometryTemplate properties list page, GeometryTemplate page, All Properties list, or Main scripting page.