This page is under construction
Archives/bf1942/levels/Bocage.rfa
bf1942/Levels/Bocage/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Bocage\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec .926/.945/.965
renderer.globalLodPercent 1
renderer.globalAmbientColor .2/.2/.2
renderer.ambientColor .1/.1/.1
renderer.diffuseColor .38/.37/.36
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.35
textureManager.alternativePath Texture/Europe

shadow.shadowColor 0.5

Game.setViewDistance 400
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 Somalia_Militia
game.setKit 1 0 Militia_Leader
game.setKit 1 1 Militia_Assault
game.setKit 1 2 Militia_Regular
game.setKit 1 3 Militia_LightSupport
game.setKit 1 4 Militia_HeavySupport
game.setKit 1 5 Militia_RPG

game.setTeamSkin 2 US_DeltaForce
game.setKit 2 0 DeltaForce_Officer
game.setKit 2 1 DeltaForce_Assault
game.setKit 2 2 DeltaForce_Grenadier
game.setKit 2 3 DeltaForce_Demolitions
game.setKit 2 4 DeltaForce_Medic
game.setKit 2 5 DeltaForce_Sniper

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/water07
water.texLayer2 texture/water08
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.03
water.scrollLayer2 0.03
water.scrollNormalmap 0.01
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.6/0.6/0.63
water.deepColor 0.6/0.6/0.63
water.waterAlphaDepth 0
water.waterShallowAlpha 1

run Sounds/Environment

rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 757.040/56.54/1159.39
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 757.040/56.54/1159.39
game.setLevelCheck 1823149673