This page is under construction
archives/bf1942/levels/cairo.rfa
bf1942/levels/cairo/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Cairo\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec .950/.990/.999
renderer.globalLodPercent 1
renderer.globalAmbientColor .15/.14/.13
renderer.ambientColor .13/.12/.11
renderer.diffuseColor .44/.40/.34
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.4
shadow.shadowColor 0.4


textureManager.alternativePath Texture/Air/B17/BriAfr
textureManager.alternativePath Texture/Air/bf109/GerAfr
textureManager.alternativePath Texture/Air/BF110/GerAfr
textureManager.alternativePath Texture/Air/Ju88A/GerAfr
textureManager.alternativePath Texture/Air/Mosquito/BriAfr
textureManager.alternativePath Texture/Air/Mustang/AmeAfr
textureManager.alternativePath Texture/Air/SBD/BriAfr
textureManager.alternativePath Texture/Air/Stuka/GerAfr

textureManager.alternativePath Texture/Land/AA_Allies/BriAfr
textureManager.alternativePath Texture/Land/AT25/BriAfr
textureManager.alternativePath Texture/Land/Browning/AmeAfr
textureManager.alternativePath Texture/Land/Defgun/BriAfr
textureManager.alternativePath Texture/Land/Flak_38/GerAfr
textureManager.alternativePath Texture/Land/Flakpanzer/GerAfr
textureManager.alternativePath Texture/Land/Greyhound/BriAfr
textureManager.alternativePath Texture/Land/Hanomag/GerAfr
textureManager.alternativePath Texture/Land/HD_XA42/BriAfr
textureManager.alternativePath Texture/Land/KettenKrad/GerAfr
textureManager.alternativePath Texture/Land/Kubelwagen/GerAfr
textureManager.alternativePath Texture/Land/Lynx/BriAfr
textureManager.alternativePath Texture/Land/M3A1/BriAfr
textureManager.alternativePath Texture/Land/M3GMC/BriAfr
textureManager.alternativePath Texture/Land/M3Grant/BriAfr
textureManager.alternativePath Texture/Land/M10/BriAfr
textureManager.alternativePath Texture/Land/M11-39/GerAfr
textureManager.alternativePath Texture/Land/Mg42/GerAfr
textureManager.alternativePath Texture/Land/Pak40/GerAfr
textureManager.alternativePath Texture/Land/PanzerIV/GerAfr
textureManager.alternativePath Texture/Land/Priest/BriAfr
textureManager.alternativePath Texture/Land/R75/GerAfr
textureManager.alternativePath Texture/Land/Sherman/BriAfr
textureManager.alternativePath Texture/Land/SturmGeschutz/GerAfr
textureManager.alternativePath Texture/Land/Tiger/GerAfr
textureManager.alternativePath Texture/Land/Wespe/GerAfr
textureManager.alternativePath Texture/Land/Willy/BriAfr

textureManager.alternativePath Texture/Weapons/BriAfr
textureManager.alternativePath Texture/Weapons/GerAfr
textureManager.alternativePath Texture/Weapons/ItaAfr

textureManager.alternativePath Texture/Soldiers/Italy/Africa

textureManager.alternativePath Texture/BF/Africa

textureManager.alternativePath Texture/Sky

textureManager.alternativePath Texture/Terrain/Sand


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

game.setTeamSkin 1 ItalianSoldier
game.setKit 1 0 Italian_Scout
game.setKit 1 1 Italian_Assault
game.setKit 1 2 Italian_AT
game.setKit 1 3 Italian_Medic
game.setKit 1 4 Italian_Engineer

game.setTeamSkin 2 RussianSoldier
game.setKit 2 0 Rus_Scout_44
game.setKit 2 1 Rus_Assault_44
game.setKit 2 2 Rus_AT_44
game.setKit 2 3 Rus_Medic_44
game.setKit 2 4 Rus_Engineer_44

game.setActiveCombatArea 512 512 512 512

shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2

game.assaultTeam 2

run Init/SkyAndSun
run Init/Terrain

water.specularEnable 1
water.texLayer1 texture/water22
water.texLayer2 texture/water11
water.normalMap texture/normalMap02
water.scrollDirectionNormalmap 1/1
water.scrollDirection1 1/0
water.scrollDirection2 0/1
water.specularColor 0.9/0.7/0.7
water.scrollLayer1 0.02
water.scrollLayer2 0.02
water.scrollNormalmap 0.002
water.specularStreakFactor 0.001
water.tileLayer1 0.5
water.tileLayer2 0.5
water.tileNormalmap 0.5
water.lightDirection -0.3/0.5/-0.65
water.color 0.77/0.8/0.6
water.waterAlphaDepth 0.5
water.wateShallowAlpha 0.5
water.deepColor 0.55/0.6/0.45

run Sounds/Environment

game.setBeforeSpawnCameraPosition 1 751/89/665
game.setBeforeSpawnCameraPosition 2 751/89/665

game.enablefreecamera 1