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
game.setTeamSkin 1 NORSoldier
game.setKit 1 0 NOR_Scout
game.setKit 1 1 NOR_Assault
game.setKit 1 2 NOR_AT
game.setKit 1 3 NOR_Medic
game.setKit 1 4 NOR_Engineer
game.setTeamSkin 2 SWESoldier
game.setKit 2 0 SWE_Scout
game.setKit 2 1 SWE_Assault
game.setKit 2 2 SWE_AT
game.setKit 2 3 SWE_Medic
game.setKit 2 4 SWE_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 1439.9753/74.8605/513.702
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 1439.9753/74.8605/513.702
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
game.setTeamSkin 1 NORSoldier
game.setKit 1 0 NOR_Scout
game.setKit 1 1 NOR_Assault
game.setKit 1 2 NOR_AT
game.setKit 1 3 NOR_Medic
game.setKit 1 4 NOR_Engineer
game.setTeamSkin 2 SWESoldier
game.setKit 2 0 SWE_Scout
game.setKit 2 1 SWE_Assault
game.setKit 2 2 SWE_AT
game.setKit 2 3 SWE_Medic
game.setKit 2 4 SWE_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 1439.9753/74.8605/513.702
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 1439.9753/74.8605/513.702