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 AnimatedUSFlag
game.setTeamSkin 1 IraqSoldier
game.setKit 1 0 Iraq_Sniper
game.setKit 1 1 Iraq_Assault
game.setKit 1 2 Iraq_AT
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support
game.setKit 1 5 Iraq_SpecOps
game.setTeamSkin 2 USSoldier
game.setKit 2 0 US_Sniper
game.setKit 2 1 US_Assault
game.setKit 2 2 US_AT
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support
game.setKit 2 5 US_SpecOps
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 2194693724
rem run objects
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 AnimatedUSFlag
game.setTeamSkin 1 IraqSoldier
game.setKit 1 0 Iraq_Sniper
game.setKit 1 1 Iraq_Assault
game.setKit 1 2 Iraq_AT
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support
game.setKit 1 5 Iraq_SpecOps
game.setTeamSkin 2 USSoldier
game.setKit 2 0 US_Sniper
game.setKit 2 1 US_Assault
game.setKit 2 2 US_AT
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support
game.setKit 2 5 US_SpecOps
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 2194693724
rem run objects