This page is under construction
Archives/Bf1942/Levels/pro/salerno_pro.rfa
bf1942/levels/salerno_pro/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\salerno\Textures\ENVMAP_G_.rcm
renderer.globalAmbientColor .2/.2/.2
renderer.ambientColor .04/.02/.03
renderer.diffuseColor .4/.35/.25
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.2
renderer.vertexFogEnable 1
renderer.fogColorVec .746/.777/.77
rem textureManager.alternativePath Texture/Italy
renderer.globalLodPercent 1

shadow.shadowColor 0.5

Game.setViewDistance 450
Game.spawnPlayers 1

treeRenderer.billboardLightScale 0.55

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 GermanSoldier
game.setKit 1 0 German_Scout
game.setKit 1 1 German_Assault
game.setKit 1 2 German_AT
game.setKit 1 3 German_Medic
game.setKit 1 4 It_German_Engineer

game.setTeamSkin 2 USSoldier
game.setKit 2 0 US_Scout
game.setKit 2 1 Us_Assault
game.setKit 2 2 Us_AT
game.setKit 2 3 US_Medic
game.setKit 2 4 It_US_Engineer

run Init/SkyAndSun
run Init/Terrain
run objects/objects

water.specularEnable 1
water.texLayer1 texture/water07
water.texLayer2 texture/water08
water.normalMap texture/normalMap02
water.scrollDirectionNormalmap -1/-1
water.scrollDirection1 1/-1
water.scrollDirection2 0/1
water.specularColor 0.85/0.8/0.7
water.scrollLayer1 0.02
water.scrollLayer2 0.03
water.scrollNormalmap 0.01
water.specularStreakFactor 0.01
water.tileLayer1 0.5
water.tileLayer2 0.5
water.tileNormalmap 0.5
water.lightDirection -0.3/0.5/-0.65
water.color 0.8/0.9/0.85
water.deepcolor 0.5/0.5/0.5
water.waterShallowAlpha 0.5
water.waterAlphadepth 1

Sound.reserve2dStereoChans 2/4/4
Sound.relaxHwReservations 0.5/0.5/0

run Sounds/Environment

rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 510.8/130/357.8
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 510.8/130/357.8
Game.setLevelCheck 1066216976