This page is under construction
archives/bf1942/levels/berlin.rfa
bf1942/levels/berlin/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Berlin\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec .470588/.486274/.521568
renderer.globalLodPercent 1
renderer.globalAmbientColor .1/.1/.1
renderer.ambientColor .12/.11/.12
renderer.diffuseColor .3/.3/.3
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.2
shadow.shadowColor 0.4


textureManager.alternativePath Texture/Air/bf109/GerRus
textureManager.alternativePath Texture/Air/Stuka/GerRus
textureManager.alternativePath Texture/Air/Yak9/Rus

textureManager.alternativePath Texture/Land/AA_Allies/RusSum
textureManager.alternativePath Texture/Land/AT25/AmeSum
textureManager.alternativePath Texture/Land/Browning/AmePac
textureManager.alternativePath Texture/Land/DSHK/RusPac
textureManager.alternativePath Texture/Land/Flak_38/GerSum1
textureManager.alternativePath Texture/Land/Flakpanzer/GerSum1
textureManager.alternativePath Texture/Land/Hanomag/GerSum1
textureManager.alternativePath Texture/Land/HD_XA42/Bri
textureManager.alternativePath Texture/Land/Kubelwagen/GerSum1
textureManager.alternativePath Texture/Land/M3A1/Rus
textureManager.alternativePath Texture/Land/M3Grant/Rus
textureManager.alternativePath Texture/Land/Pak40/GerSum1
textureManager.alternativePath Texture/Land/PanzerIV/GerSum1
textureManager.alternativePath Texture/Land/R75/GerSum1
textureManager.alternativePath Texture/Land/Sherman/Rus
textureManager.alternativePath Texture/Land/SturmGeschutz/GerSum1
textureManager.alternativePath Texture/Land/T34/RusSum
textureManager.alternativePath Texture/Land/T34-85/RusSum
textureManager.alternativePath Texture/Land/Tiger/GerSum1
textureManager.alternativePath Texture/Land/Wespe/GerSum1
textureManager.alternativePath Texture/Land/Willy/Rus

textureManager.alternativePath Texture/Sea/Lcvp/Rus

textureManager.alternativePath Texture/Weapons/RusPac
textureManager.alternativePath Texture/Weapons/Rus
textureManager.alternativePath Texture/Weapons/AmePac
textureManager.alternativePath Texture/Weapons/Ger
textureManager.alternativePath Texture/Weapons/GerEur
textureManager.alternativePath Texture/Weapons/JapPac

textureManager.alternativePath Texture/Soldiers/German/Face/2
textureManager.alternativePath Texture/Soldiers/Russian/Face/2

textureManager.alternativePath Texture/BF/German
textureManager.alternativePath Texture/BF/Burned/Alt
textureManager.alternativePath Texture/BF/Burned

textureManager.alternativePath Texture/Sky

textureManager.alternativePath Texture/Terrain/Rubble


Game.setViewDistance 150
Game.spawnPlayers 1
renderer.fogstart 50
renderer.fogend 150

game.setTeamSkin 1 GermanSoldier
game.setKit 1 0 German_Scout_44
game.setKit 1 1 German_Assault_44
game.setKit 1 2 German_AT_44
game.setKit 1 3 German_Medic_44
game.setKit 1 4 German_Engineer_44

game.setTeamSkin 2 RussianSoldier
game.setKit 2 0 Rus_Scout_44
game.setKit 2 1 Rus_Assault_44
game.setKit 2 2 Rus_AT_44
game.setKit 2 3 Rus_Medic_44
game.setKit 2 4 Rus_Engineer_44

game.setActiveCombatArea 1536 1536 512 512

shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2

run Init/SkyAndSun
run Init/Terrain

game.assaultTeam 2

water.specularEnable 1
water.texLayer1 texture/water42
water.texLayer2 texture/water33
water.normalMap texture/normalMap05
water.scrollDirectionNormalmap 1/0
water.scrollDirection1 1/-0.5
water.scrollDirection2 1/0.5
water.specularColor 0.65/0.55/0.4
water.scrollLayer1 0.02
water.scrollLayer2 0.02
water.scrollNormalmap 0.02
water.specularStreakFactor 0.001
water.tileLayer1 0.5
water.tileLayer2 0.5
water.tileNormalmap 1
water.lightDirection -0.3/0.5/-0.65
water.color 1/1/1
water.deepColor 1/1/1
water.waterAlphaDepth 0
water.waterShallowAlpha 0.8

run Sounds/Environment

game.setBeforeSpawnCameraPosition 1 1794/43/1777
game.setBeforeSpawnCameraPosition 2 1794/43/1777

game.enablefreecamera 1