This page is under construction
archives/bf1942/levels/XWW2_Hochwald_Forest.rfa
bf1942/levels/XWW2_Hochwald_Forest/Init.con
rem *********************************************
rem Created by Battlecraft 1942. Copyright (c)2003,2004 Digital Illusions CE
rem *********************************************
ShaderManager.setTextureParam envmap bf1942\levels\XWW2_Hochwald_Forest\Textures\ENVMAP_G_.rcm
renderer.globalLodPercent 1
renderer.globalAmbientColor 0.100000/0.100000/0.100000
renderer.ambientColor 0.120000/0.110000/0.120000
renderer.diffuseColor 0.350000/0.300000/0.200000
renderer.specularColor 0.300000/0.300000/0.300000
renderer.vertexFogEnable 1
renderer.fogColorVec 0.501961/0.498039/0.490196
renderer.animatedMeshAmbientColor 0.15




rem textureManager.alternativePath bf1942
textureManager.alternativePath bf1942/Levels/XWW2_Hochwald_Forest/Texture
textureManager.alternativePath Texture/GermanSSWinter
textureManager.alternativePath Texture/winter
textureManager.alternativePath Texture/Bulge
shadow.shadowColor 0.550000

Game.setViewDistance 200
Game.spawnPlayers 1
renderer.fogstart 30
renderer.fogend 150
TreeRenderer.Billboardlightscale 0.1


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 AnimatedCaflag

Var v_gamemode
game.gamePlayMode -> v_gamemode
if v_gamemode == GPM_CQ
game.setTeamSkin 1 WinterGermanSoldier
game.setKit 1 0 ESS_0
game.setKit 1 1 ESS_1
game.setKit 1 2 ESS_2
game.setKit 1 3 ESS_3
game.setKit 1 4 ESS_4

game.setTeamSkin 2 WinterCanadianSoldier
game.setKit 2 0 CA_0
game.setKit 2 1 CA_1
game.setKit 2 2 CA_2
game.setKit 2 3 CA_3
game.setKit 2 4 CA_4
else
game.setTeamSkin 1 WinterGermanSoldier
game.setKit 1 0 ESS_0
game.setKit 1 1 ESS_1
game.setKit 1 2 ESS_2
game.setKit 1 3 ESS_3
game.setKit 1 4 ESS_4

game.setTeamSkin 2 WinterCanadianSoldier
game.setKit 2 0 CA_0
game.setKit 2 1 CA_1
game.setKit 2 2 CA_2
game.setKit 2 3 CA_3
game.setKit 2 4 CA_4
endif

game.setLevelCheck 2242588848
game.setActiveCombatArea 0 0 1024 1024

shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2

run Init/SkyAndSun
run Init/Terrain
run Objects/Objects
game.assaultTeam 2

water.specularEnable 1
water.texLayer1 texture/water05
water.texLayer2 texture/water06
water.normalMap texture/normalMap02
water.scrollDirectionNormalmap 1.000000/0.000000
water.scrollDirection1 1.000000/-0.500000
water.scrollDirection2 1.000000/0.500000
water.specularColor 0.650000/0.550000/0.400000
water.scrollLayer1 0.050000
water.scrollLayer2 0.050000
water.scrollNormalmap 0.050000
water.specularStreakFactor 0.001000
water.tileLayer1 1.000000
water.tileLayer2 1.000000
water.tileNormalmap 0.500000
water.lightDirection -0.300000/0.500000/-0.650000
water.color 0.274510/0.266667/0.003922
water.deepColor 0.003922/0.254902/0.086275
water.waterAlphaDepth 0.000000
water.waterShallowAlpha 0.300000

run Sounds/Environment

game.setBeforeSpawnCameraPosition 1 512.000000/98.600006/382.000000
game.setBeforeSpawnCameraPosition 2 512.000000/98.600006/502.000000