This page is under construction
Archives/bf1942/levels/Aberdeen.rfa
bf1942/Levels/aberdeen/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Aberdeen\Textures\ENVMAP_G_.rcm
renderer.globalAmbientColor .2/.2/.2
renderer.ambientColor .1/.08/.1
renderer.diffuseColor .4/.35/.2
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.35
renderer.vertexFogEnable 1
renderer.fogColorVec 0.83/0.73/0.58
textureManager.alternativePath Texture/africa
renderer.globalLodPercent 1
TreeRenderer.billboardlightscale 0.5
shadow.shadowColor 0.5
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 AnimatedUkFlag
game.setTeamSkin 1 Somalia_Militia
game.setKit 1 0 Militia_Leader
game.setKit 1 1 Militia_Assault
game.setKit 1 2 Militia_Regular
game.setKit 1 3 Militia_LightSupport
game.setKit 1 4 Militia_HeavySupport
game.setKit 1 5 Militia_RPG
game.setTeamSkin 2 US_TaskForceRanger
game.setKit 2 0 TaskForce_Officer
game.setKit 2 1 TaskForce_Assault
game.setKit 2 2 TaskForce_Grenadier
game.setKit 2 3 TaskForce_HeavyAssault
game.setKit 2 4 Delta_CQB_Medic
game.setKit 2 5 Delta_Sniper
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 523.222/61.1/421.8
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 523.222/61.1/421.8
game.setLevelCheck 2754219513
game.enablefreecamera 1
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942\levels\Aberdeen\Textures\ENVMAP_G_.rcm
renderer.globalAmbientColor .2/.2/.2
renderer.ambientColor .1/.08/.1
renderer.diffuseColor .4/.35/.2
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.35
renderer.vertexFogEnable 1
renderer.fogColorVec 0.83/0.73/0.58
textureManager.alternativePath Texture/africa
renderer.globalLodPercent 1
TreeRenderer.billboardlightscale 0.5
shadow.shadowColor 0.5
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 AnimatedUkFlag
game.setTeamSkin 1 Somalia_Militia
game.setKit 1 0 Militia_Leader
game.setKit 1 1 Militia_Assault
game.setKit 1 2 Militia_Regular
game.setKit 1 3 Militia_LightSupport
game.setKit 1 4 Militia_HeavySupport
game.setKit 1 5 Militia_RPG
game.setTeamSkin 2 US_TaskForceRanger
game.setKit 2 0 TaskForce_Officer
game.setKit 2 1 TaskForce_Assault
game.setKit 2 2 TaskForce_Grenadier
game.setKit 2 3 TaskForce_HeavyAssault
game.setKit 2 4 Delta_CQB_Medic
game.setKit 2 5 Delta_Sniper
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 523.222/61.1/421.8
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 523.222/61.1/421.8
game.setLevelCheck 2754219513
game.enablefreecamera 1