This page is under construction
Archives/bf1942/levels/salerno.rfa
bf1942/levels/salerno/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

textureManager.alternativePath Texture/Italy
textureManager.alternativePath Texture/German/WaffenSpring
renderer.globalLodPercent 1

shadow.shadowColor 0.5

Game.setViewDistance 600
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 0German_Pilot
game.setKit 1 1 1German_StG44_Assault
game.setKit 1 2 2German_AT
game.setKit 1 3 3German_Medic
game.setKit 1 4 4German_Eng_k98

game.setTeamSkin 2 USSoldier
game.setKit 2 0 0US_Pilot
game.setKit 2 1 1US_M1_Assault
game.setKit 2 2 2US_AT
game.setKit 2 3 3US_Medic
game.setKit 2 4 4US_Engineer

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/-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