This page is under construction
Archives/bf1942/levels/Iwo_Jima.rfa
bf1942/levels/Iwo_Jima/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Iwo_Jima\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec 0.754/0.765/0.8

renderer.globalLodPercent 1
renderer.globalAmbientColor 0.15/0.15/0.15
renderer.ambientColor 0.068/0.04/0.07
renderer.diffuseColor 0.4/0.38/0.25
renderer.specularColor .2/.2/.2
renderer.animatedMeshAmbientColor 0.3
textureManager.alternativePath Texture/Pacific

shadow.shadowColor 0.6

Game.setViewDistance 400
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 JapaneseSoldier
game.setKit 1 0 Jap_Scout
game.setKit 1 1 Jap_Assault
game.setKit 1 2 Jap_AT
game.setKit 1 3 Jap_Medic
game.setKit 1 4 Jap_Engineer

game.setTeamSkin 2 USSoldier
game.setKit 2 0 US_Scout
game.setKit 2 1 Us_Assault
game.setKit 2 2 Us_AT
game.setKit 2 3 US_Medic
game.setKit 2 4 US_Engineer

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

run Init/SkyAndSun
run Init/Terrain


game.assaultTeam 2

water.specularEnable 1
water.texLayer1 texture/water07
water.texLayer2 texture/water08
water.normalMap texture/normalMap02
water.scrollDirectionNormalmap -1/0
water.scrollDirection1 -1/1
water.scrollDirection2 -1/-1
water.specularColor 0.85/0.8/0.78
water.scrollLayer1 0.03
water.scrollLayer2 0.02
water.scrollNormalmap 0.01
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.8/0.78/0.8
water.deepColor 0.4/0.45/0.45
water.waterAlphaDepth 1.2
water.waterShallowAlpha 0.2

run Sounds/Environment


rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 783.517/50.855/1157.533
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 783.517/50.855/1157.533
rem game.setLevelCheck 22407107