This page is under construction
Archives/bf1942/levels/GC_BalmorraRace.rfa
bf1942/levels/GC_BalmorraRace/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\GC_BalmorraRace\Textures\ENVMAP_G_.rcm
renderer.vertexFogEnable 0
renderer.fogLinearStart -1000
renderer.fogLinearEnd 750

rem renderer.fogColorVec 0.96/0.84/0.55

renderer.fogColorVec 0.949020/0.949020/0.949020

renderer.globalLodPercent 1
renderer.globalAmbientColor 0.200000/0.200000/0.200000
renderer.ambientColor 0.100000/0.100000/0.100000
renderer.diffuseColor 0.380000/0.370000/0.360000
renderer.specularColor 0.300000/0.300000/0.300000
renderer.animatedMeshAmbientColor 0.35
textureManager.alternativePath Textures/Sky

shadow.shadowColor 0.500000

Game.setViewDistance 1000
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 AnimatedJapFlag

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

game.setTeamSkin 1 JapaneseSoldier
game.setKit 1 0 ImpRace_Kit
game.setKit 1 1 ImpRace_Kit
game.setKit 1 2 ImpRace_Kit
game.setKit 1 3 ImpRace_Kit
game.setKit 1 4 ImpRace_Kit

game.setTeamSkin 2 RussianSoldier
game.setKit 2 0 RebelRace_Kit
game.setKit 2 1 RebelRace_Kit
game.setKit 2 2 RebelRace_Kit
game.setKit 2 3 RebelRace_Kit
game.setKit 2 4 RebelRace_Kit

game.setActiveCombatArea 0 0 4096 4096
rem
rem *** Shader Default Color ***
rem
shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2

run Init/SkyAndSun
run Init/Terrain
rem run objects

water.specularEnable 1
water.texLayer1 texture/water08
water.texLayer2 texture/water07
water.normalMap texture/normalMap01
water.scrollDirectionNormalmap 1.000000/0.000000
water.scrollDirection1 1.000000/-0.500000
water.scrollDirection2 1.000000/0.500000
water.specularColor 0.650000/0.550000/0.400000
water.scrollLayer1 0.020000
water.scrollLayer2 0.020000
water.scrollNormalmap 0.020000
water.specularStreakFactor 0.001000
water.tileLayer1 0.500000
water.tileLayer2 0.500000
water.tileNormalmap 1.000000
water.lightDirection -0.300000/0.500000/-0.650000
water.color 0.000000/1.000000/0.000000
water.deepColor 0.000000/0.658824/0.000000
water.waterAlphaDepth 0.000000
water.waterShallowAlpha 0.500000

run Sounds/Environment


rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 1000.000000/150.000000/30.000000
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 1000.000000/150.000000/30.000000