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 AnimatedUSFlag
game.setTeamSkin 1 IraqSoldier
game.setKit 1 0 Iraq_sniper_dragunov
game.setKit 1 1 Iraq_rifleman_AT
game.setKit 1 2 Iraq_AA
game.setKit 1 3 Iraq_RepGuard
game.setKit 1 4 Iraq_Engineer
game.setKit 1 5 Iraq_PKM
game.setKit 1 6 Iraq_RPG7
game.setTeamSkin 2 USSoldier
game.setKit 2 0 US_Recon
game.setKit 2 1 US_Rifleman_AT
game.setKit 2 2 US_grenadier
game.setKit 2 3 US_Medic
game.setKit 2 4 US_Engineer
game.setKit 2 5 US_AA
game.setKit 2 6 US_Autorifle_M60
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 1600273882
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 AnimatedUSFlag
game.setTeamSkin 1 IraqSoldier
game.setKit 1 0 Iraq_sniper_dragunov
game.setKit 1 1 Iraq_rifleman_AT
game.setKit 1 2 Iraq_AA
game.setKit 1 3 Iraq_RepGuard
game.setKit 1 4 Iraq_Engineer
game.setKit 1 5 Iraq_PKM
game.setKit 1 6 Iraq_RPG7
game.setTeamSkin 2 USSoldier
game.setKit 2 0 US_Recon
game.setKit 2 1 US_Rifleman_AT
game.setKit 2 2 US_grenadier
game.setKit 2 3 US_Medic
game.setKit 2 4 US_Engineer
game.setKit 2 5 US_AA
game.setKit 2 6 US_Autorifle_M60
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 1600273882