This page is under construction
Archives/bf1942/levels/El_Alamein.rfa
bf1942/levels/El_Alamein/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\El_Alamein\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec 0.83/0.73/0.58
renderer.globalLodPercent 1
renderer.globalAmbientColor .16/.15/.17
renderer.ambientColor .12/.1/.08
renderer.diffuseColor .50/.47/0.4
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.3
textureManager.alternativePath Texture/Africa

shadow.shadowColor 0.6

rem *** Changed by mats. Higher number later after optimization.
Game.setViewDistance 500
Game.spawnPlayers 1

rem
rem *** Define flags ***
rem
ObjectTemplate.create Flag BlueFlag
ObjectTemplate.team 1
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedGeFlag

ObjectTemplate.create Flag RedFlag
ObjectTemplate.team 2
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedUkFlag

game.setTeamSkin 1 NORSoldier
game.setKit 1 0 NOR_Scout
game.setKit 1 1 NOR_Assault
game.setKit 1 2 NOR_AT
game.setKit 1 3 NOR_Medic
game.setKit 1 4 NOR_Engineer

game.setTeamSkin 2 SWESoldier
game.setKit 2 0 SWE_HV_Scout
game.setKit 2 1 SWE_HV_Assault
game.setKit 2 2 SWE_HV_AT
game.setKit 2 3 SWE_HV_Medic
game.setKit 2 4 SWE_HV_Engineer

rem
rem *** Shader Default Color ***
rem
shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2

run Init/SkyAndSun
run Init/Terrain

water.specularEnable 1
water.texLayer1 texture/water01
water.texLayer2 texture/water02
water.normalMap texture/normalMap02
water.scrollDirectionNormalmap 1/1
water.scrollDirection1 1/0
water.scrollDirection2 0/1
water.specularColor 0.75/0.7/0.65
water.scrollLayer1 0.02
water.scrollLayer2 0.02
water.scrollNormalmap 0.005
water.specularStreakFactor 0.001
water.tileLayer1 0.5
water.tileLayer2 0.5
water.tileNormalmap 0.5
water.lightDirection -0.3/0.5/-0.65
water.color 0.77/0.8/0.6
water.waterAlphaDepth 0.5
water.wateShallowAlpha 0.5
water.deepColor 0.55/0.6/0.45

run Sounds/Environment


rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 1264.90/21.646/645.556
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 1264.90/21.646/645.556
game.setLevelCheck 3426989540