This page is under construction
Archives/bf1942/Levels/MERCS_Fighting_Ground.rfa
bf1942/levels/MERCS_Fighting_Ground/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\MERCS_Fighting_Ground\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec 0.827451/0.729412/0.576471
renderer.globalLodPercent 1
renderer.globalAmbientColor 0.160000/0.150000/0.170000
renderer.ambientColor 0.120000/0.100000/0.080000
renderer.diffuseColor 0.500000/0.470000/0.400000
renderer.specularColor 0.300000/0.300000/0.300000
renderer.animatedMeshAmbientColor 0.3
textureManager.alternativePath Texture

shadow.shadowColor 0.600000

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 AnimatedJapFlag

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.000000/1.000000
water.scrollDirection1 1.000000/0.000000
water.scrollDirection2 0.000000/1.000000
water.specularColor 0.750000/0.700000/0.650000
water.scrollLayer1 0.020000
water.scrollLayer2 0.020000
water.scrollNormalmap 0.005000
water.specularStreakFactor 0.001000
water.tileLayer1 0.500000
water.tileLayer2 0.500000
water.tileNormalmap 0.500000
water.lightDirection -0.300000/0.500000/-0.650000
water.color 0.770000/0.800000/0.600000
water.waterAlphaDepth 0.500000
water.wateShallowAlpha 0.5
water.deepColor 0.550000/0.600000/0.450000

run Sounds/Environment


rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 910.837402/102.115150/496.264343
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 910.837402/102.115150/496.264343
game.setLevelCheck 2194693724