This page is under construction
Archives/bf1942/levels/Gazala.rfa
bf1942/Levels/Gazala/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Gazala\Textures\ENVMAP_G_.rcm
renderer.globalAmbientColor .15/.15/.15
renderer.globalLodPercent 1
renderer.vertexFogEnable 1
renderer.FogColorVec 0.76/0.64/0.48
renderer.fogLinearStart 500
renderer.fogLinearEnd 850
renderer.ambientColor .18/.15/.13
renderer.diffuseColor .4/.35/.25
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.3
textureManager.alternativePath Texture/Africa
shadow.shadowColor 0.4
Game.setViewDistance 500
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
rem ****************************
rem ** New DeadCities Classes **
rem ****************************
game.setTeamSkin 1 GermanSoldier
game.setKit 1 0 Dead_German_Scout
game.setKit 1 1 Dead_German_Assault
game.setKit 1 2 Dead_German_AT
game.setKit 1 3 Dead_German_Medic
game.setKit 1 4 Dead_German_Engineer
game.setTeamSkin 2 BritishSoldier
game.setKit 2 0 Dead_GB_Scout
game.setKit 2 1 Dead_GB_Assault
game.setKit 2 2 Dead_GB_AT
game.setKit 2 3 Dead_GB_Medic
game.setKit 2 4 Dead_GB_Engineer
rem ****************************
rem ** New DeadCities Classes **
rem ****************************
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 1439.9753/74.8605/513.702
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 1439.9753/74.8605/513.702
game.setLevelCheck 687357628
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Gazala\Textures\ENVMAP_G_.rcm
renderer.globalAmbientColor .15/.15/.15
renderer.globalLodPercent 1
renderer.vertexFogEnable 1
renderer.FogColorVec 0.76/0.64/0.48
renderer.fogLinearStart 500
renderer.fogLinearEnd 850
renderer.ambientColor .18/.15/.13
renderer.diffuseColor .4/.35/.25
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.3
textureManager.alternativePath Texture/Africa
shadow.shadowColor 0.4
Game.setViewDistance 500
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
rem ****************************
rem ** New DeadCities Classes **
rem ****************************
game.setTeamSkin 1 GermanSoldier
game.setKit 1 0 Dead_German_Scout
game.setKit 1 1 Dead_German_Assault
game.setKit 1 2 Dead_German_AT
game.setKit 1 3 Dead_German_Medic
game.setKit 1 4 Dead_German_Engineer
game.setTeamSkin 2 BritishSoldier
game.setKit 2 0 Dead_GB_Scout
game.setKit 2 1 Dead_GB_Assault
game.setKit 2 2 Dead_GB_AT
game.setKit 2 3 Dead_GB_Medic
game.setKit 2 4 Dead_GB_Engineer
rem ****************************
rem ** New DeadCities Classes **
rem ****************************
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 1439.9753/74.8605/513.702
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 1439.9753/74.8605/513.702
game.setLevelCheck 687357628