This page is under construction
Archives/bf1942/levels/Battleaxe.rfa
bf1942/levels/Battleaxe/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Battleaxe\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec 0.738/0.679/0.547
renderer.globalLodPercent 1
renderer.globalAmbientColor .12/.11/.1
renderer.ambientColor .08/.07/.06
renderer.diffuseColor .5/.45/.4
renderer.specularColor .3/.3/.3
textureManager.alternativePath Texture/Russia
renderer.animatedMeshAmbientColor 0.25

shadow.shadowColor 0.5

Game.setViewDistance 400
Game.spawnPlayers 1
renderer.fogstart 60
renderer.fogend 400

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 GermanDesertSoldier
game.setKit 1 0 German_Scout_Desert
game.setKit 1 1 German_Assault_Desert
game.setKit 1 2 German_AT_Desert
game.setKit 1 3 German_Medic_Desert
game.setKit 1 4 German_Engineer_Desert
game.setTeamSkin 2 USSoldier
game.setKit 2 0 GB_Scout
game.setKit 2 1 GB_Assault
game.setKit 2 2 GB_AT
game.setKit 2 3 GB_Medic
game.setKit 2 4 GB_Engineer

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

run Init/SkyAndSun
run Init/Terrain

run Sounds/Environment

rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 1201.83/66.8514/892.928
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 1201.83/66.8514/892.928