This page is under construction
Archives/bf1942/levels/tgw_villiers.rfa
bf1942/levels/tgw_villiers/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\tgw_villiers\Textures\ENVMAP_G_.rcm
renderer.globalAmbientColor 0.149020/0.149020/0.149020
renderer.ambientColor 0.039216/0.019608/0.027451
renderer.diffuseColor 0.400000/0.349020/0.200000
renderer.specularColor 0.298039/0.298039/0.298039
renderer.animatedMeshAmbientColor 0.2
renderer.vertexFogEnable 1
renderer.fogColorVec 0.309804/0.294118/0.247059
textureManager.alternativePath Texture/Russia
renderer.globalLodPercent 1
TreeRenderer.billboardlightscale 0.1

shadow.shadowColor 0.500000

Game.setViewDistance 400
Game.spawnPlayers 1

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 AnimatedUkFlag

game.setTeamSkin 1 GerSoldier
game.setKit 1 0 Ger_Scout
game.setKit 1 1 Ger_Soldier
game.setKit 1 2 Ger_Support
game.setKit 1 3 Ger_Medic
game.setKit 1 4 Ger_Pioneer

game.setTeamSkin 2 EngSoldier
game.setKit 2 0 Eng_Scout
game.setKit 2 1 Eng_Soldier2
game.setKit 2 2 Eng_Support
game.setKit 2 3 Eng_Medic
game.setKit 2 4 Eng_Pioneer

rem
rem *** Shader Default Color ***
rem
shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2

run Init/SkyAndSun
run Init/Terrain

water.specularEnable 1
water.texLayer1 texture/water03
water.texLayer2 texture/water04
water.normalMap texture/normalMap01
water.scrollDirectionNormalmap -1.000000/-1.000000
water.scrollDirection1 1.000000/0.000000
water.scrollDirection2 0.000000/1.000000
water.specularColor 0.600000/0.430000/0.200000
water.scrollLayer1 0.010000
water.scrollLayer2 0.010000
water.scrollNormalmap 0.010000
water.specularStreakFactor 0.001000
water.tileLayer1 1.000000
water.tileLayer2 1.000000
water.tileNormalmap 1.000000
water.lightDirection -0.300000/0.500000/-0.650000
water.color 0.776471/0.698039/0.600000
water.waterShallowAlpha 0.800000
water.waterAlphaDepth 0.500000

run Sounds/Environment

rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 722.121704/138.072083/865.617432
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 722.121704/138.072083/865.617432