This page is under construction
archives/bf1942/levels/cairo.rfa
bf1942/levels/cairo/Init/Terrain.con
rem
rem **** Initialize Terrain *****
rem
GeometryTemplate.create PatchTerrain patchGeometry
GeometryTemplate.file bf1942\levels\Cairo\Heightmap
GeometryTemplate.materialMap bf1942\levels\Cairo\Materialmap
GeometryTemplate.materialSize 256
GeometryTemplate.targetTriCount 5000
GeometryTemplate.worldSize 1024
GeometryTemplate.yScale 0.6
GeometryTemplate.texBaseName bf1942\levels\Cairo\Textures\Tx
GeometryTemplate.texOffsetX 0
GeometryTemplate.texOffsetY 0
GeometryTemplate.detailTexName texture\Terrain\Midway\Detail
GeometryTemplate.waterLevel 0.0
GeometryTemplate.seaFloorLevel 0
GeometryTemplate.lodDistance 600

ObjectTemplate.create SimpleObject terrainObject
ObjectTemplate.geometry patchGeometry
objectTemplate.createNotInGrid 1

Object.create terrainObject
Object.setName track
Object.absolutePosition 0/0/0
Object.rotation 0/0/0

Console.worldSize 1024

Terrain.ShadowAmbient 120/120/120
Terrain.ShadowBorderFadeTime 0.075
Terrain.ShadowSamplingCullY 5