This page is under construction
Archives/bf1942/levels/Kharkov.rfa
bf1942/levels/Kharkov/Init.con
rem
rem **** Initialize level specific rendering settings.
rem

renderer.globalAmbientColor .075/.075/.080
renderer.ambientColor .025/.025/.035
renderer.diffuseColor .24/.24/.245
renderer.specularColor .55/.555/.59
renderer.animatedMeshAmbientColor 0.12
textureManager.alternativePath Texture/Russia

shadow.shadowColor 0.5

renderer.globalLodPercent 1
ShaderManager.setTextureParam envmap bf1942\levels\Kharkov\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogLinearStart 0
renderer.fogLinearEnd 45
renderer.fogColorVec 0.0163725/0.0163725/0.02313725
Game.setViewDistance 250
Game.spawnPlayers 1
renderer.fogstart -8
renderer.fogend 80
TreeRenderer.billboardlightscale 0.25

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 AnimatedSoFlag

game.setTeamSkin 1 AshigaruW
game.setKit 1 0 sengoku_TeppouAshigaru
game.setKit 1 1 sengoku_KatanaAshigaru
game.setKit 1 2 sengoku_YumiAshigaru
game.setKit 1 3 sengoku_MasakariAshigaru
game.setKit 1 4 sengoku_yariAshigaru

game.setTeamSkin 2 AshigaruE
game.setKit 2 0 sengoku_TeppouAshigaruE
game.setKit 2 1 sengoku_KatanaAshigaruE
game.setKit 2 2 sengoku_YumiAshigaruE
game.setKit 2 3 sengoku_MasakariAshigaruE
game.setKit 2 4 sengoku_yariAshigaruE
rem
rem *** Shader Default Color ***
rem
shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2

run Init/SkyAndSun
run Init/Terrain
AnimationStateMachine.init

water.specularEnable 1
water.texLayer1 texture/water07
water.texLayer2 texture/water08
water.normalMap texture/normalMap02
water.scrollDirectionNormalmap 0/1
water.scrollDirection1 1/0
water.scrollDirection2 -1/1
water.specularColor 0.5/0.45/0.4
water.scrollLayer1 0.02
water.scrollLayer2 0.02
water.scrollNormalmap 0.02
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.02/0.025/0.025
water.waterAlphaDepth 0
water.waterShallowAlpha 1

run Sounds/Environment

rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 437.396/128.921/288.339
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 437.396/128.921/288.339
game.setLevelCheck 4051491083