This page is under construction
Archives/Bf1942/Levels/Anzio.rfa
bf1942/Levels/Anzio/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\anzio\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec 0.75/0.8/0.86

renderer.globalAmbientColor .05/.05/.07
renderer.ambientColor .12/.12/.12
renderer.diffuseColor .4/.38/.35
renderer.specularColor .3/.3/.3
textureManager.alternativePath Texture/Italy

shadow.shadowColor .38/.38/.4

Game.setViewDistance 300
Game.spawnPlayers 1

renderer.fogstart 80
renderer.fogend 300

treeRenderer.billboardLightScale 0.4

rem
rem *** Define flags ***
rem
ObjectTemplate.create Flag BlueFlag
ObjectTemplate.team 1
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedItFlag

ObjectTemplate.create Flag RedFlag
ObjectTemplate.team 2
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedUsFlag

game.setTeamSkin 1 ItalianSoldier
game.setKit 1 0 Italian_Scout
game.setKit 1 1 Italian_Assault
game.setKit 1 2 Italian_AT
game.setKit 1 3 Italian_Medic
game.setKit 1 4 Italian_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

game.setActiveCombatArea 512 768 1280 1280

run Init/SkyAndSun
run Init/Terrain
run Sounds/Environment

rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 1195/30.2/1443.3
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 1195/30.2/1443.3

water.deepColor 0.70/0.77/0.70
water.specularEnable 1
water.texLayer1 texture/water01
water.texLayer2 texture/water02
water.normalMap texture/normalMap02
water.scrollDirectionNormalmap 0/-1
water.scrollDirection1 -1/1
water.scrollDirection2 -1/-1
water.specularColor 0.83/0.75/0.75
water.scrollLayer1 0.02
water.scrollLayer2 0.02
water.scrollNormalmap 0.02
water.specularStreakFactor 0.001
water.tileLayer1 1
water.tileLayer2 1
water.tileNormalmap 0.5
water.lightDirection -0.3/0.5/-0.65
water.color 0.70/0.80/0.70
water.waterColorDepth 4
water.waterAlphaDepth 3
water.waterShallowAlpha 0.2
water.envmapcolor 0.70/0.80/0.70
game.setLevelCheck 954429870