This page is under construction
Archives/bf1942/levels/navalbattle_twins.rfa
bf1942/levels/navalbattle_twins/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\GuadalCanal\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 1
rem renderer.fogColorVec 0.348/0.383/0.41
renderer.fogColorVec 0.77/0.766/0.75
renderer.globalLodPercent 1
renderer.globalAmbientColor .1/.1/.1
renderer.ambientColor .15/.15/.18
renderer.diffuseColor .3/.3/.3
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.25
textureManager.alternativePath bf1942/Levels/navalbattle_twins/Texture
textureManager.alternativePath Texture/GENERAL_US_NAVY
textureManager.alternativePath Texture/SPECIAL_US_PACIFIC_1944_SPRING
textureManager.alternativePath Texture/GENERAL_US_PACIFIC
textureManager.alternativePath Texture/GENERAL_JAP_NAVY
textureManager.alternativePath Texture/SPECIAL_JAP_PACIFIC_1943_SPRING
textureManager.alternativePath Texture/SPECIAL_JAP_PACIFIC_1939_SPRING
renderer.globalLodPercent 1

shadow.shadowColor 0.4

Game.setViewDistance 2100
Game.spawnPlayers 1
renderer.fogstart -500
renderer.fogend 2000

rem
rem *** Define flags ***
rem
ObjectTemplate.create Flag BlueFlag
ObjectTemplate.team 1
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedJapFlag

ObjectTemplate.create Flag RedFlag
ObjectTemplate.team 2
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 5
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedUsFlag

rem game.setTeamSkin 1 TurboWrenchJapaneseSoldier
game.setTeamSkin 1 JapaneseSoldier
game.setKit 1 0 1Jap_IJNPilot
game.setKit 1 1 2Jap_IJNPilot
game.setKit 1 2 3Jap_IJNPilot
game.setKit 1 3 4Jap_IJNSeaman
game.setKit 1 4 5Jap_IJNSeaman

rem game.setTeamSkin 2 TurboWrenchUSSoldier
game.setTeamSkin 2 USSoldier
game.setKit 2 0 1USN_Pilot
game.setKit 2 1 2USN_Pilot
game.setKit 2 2 3USN_Pilot
game.setKit 2 3 4USN_Seaman
game.setKit 2 4 5USN_Seaman
rem
rem *** Shader Default Color ***
rem
shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2

run Init/SkyAndSun
run Init/Terrain

water.specularEnable 1
water.texLayer1 texture/water07
water.texLayer2 texture/water08
water.normalMap texture/normalMap02
water.scrollDirectionNormalmap 1/1
water.scrollDirection1 1/0
water.scrollDirection2 0/1
water.specularColor 0.9/0.87/0.77
water.scrollLayer1 0.02
water.scrollLayer2 0.02
water.scrollNormalmap 0.01
water.specularStreakFactor 0.001
water.tileLayer1 0.5
water.tileLayer2 0.5
water.tileNormalmap 0.25
water.lightDirection -0.3/0.5/-0.65
water.color 0.65/0.7/0.75
water.waterAlphaDepth 1.5
water.deepColor 0.5/0.5/0.6
water.waterShallowAlpha 0.2

run Sounds/Environment
run Objects/go

rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 2048/128.18/7000
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 2048/128.18/500