This page is under construction
archives/bf1942/levels/dc_battle_of_73_easting.rfa
bf1942/levels/DC_Battle_of_73_Easting/Init.con
rem
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942/levels/DC_Battle_of_73_Easting/Textures/ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec 0.633/0.414/0.238
renderer.globalLodPercent 1
renderer.globalAmbientColor .16/.15/.17
renderer.ambientColor .12/.1/.08
renderer.diffuseColor .50/.47/0.4
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.3
rem *** DC Texture sets ***
textureManager.alternativePath DCTextures/Mapspecifc/73Easting
textureManager.alternativePath DCTextures/GenericEnvironment/Desert
textureManager.alternativePath DCTextures/GenericEnvironment
rem *** DC_Extended texture sets ***
textureManager.alternativePath MODS/DC_Extended/Textures/Maps/DC_Battle_of_73_Easting
textureManager.alternativePath MODS/DC_Extended/Textures/Cammo_Desert
textureManager.alternativePath MODS/DC_Extended/Textures/Default
textureManager.alternativePath MODS/DC_Extended/Textures
rem *** Map defaults ***
textureManager.alternativePath Texture/Africa
textureManager.alternativePath MODS/DesertCombat/Archives/bf1942/levels/DC_Battle_of_73_Easting/objectTextures
textureManager.alternativePath bf1942/levels/DC_Battle_of_73_Easting/Textures/
shadow.shadowColor 0.6
rem *** Changed by mats. Higher number later after optimization.
Game.setViewDistance 300
Game.spawnPlayers 1
renderer.fogstart 50
renderer.fogend 300
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 IraqSoldier
game.setTeamSkin 2 USSoldier
rem *** Gameplaymode and submode ***
var v_GamePlayMode
game.GamePlayMode -> v_GamePlayMode
var v_SubMode
game.CustomGameInfo -> v_SubMode
if v_SubMode == INFANTRY
run Objects/Pickup/Objects
game.setKit 1 0 Iraq_Sniper_Light
game.setKit 1 1 Iraq_Assault_Grenadier
game.setKit 1 2 Iraq_AT_C4
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support_Mortar
game.setKit 1 5 Iraq_SpecOps_Silent
game.setKit 2 0 US_Sniper_light
game.setKit 2 1 US_Assault_Grenadier
game.setKit 2 2 US_AT_C4
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support_Mortar
game.setKit 2 5 US_SpecOps_Silent
elseif v_SubMode == SNIPER
run Objects/Pickup/Objects
game.setKit 1 0 Iraq_Sniper0
game.setKit 1 1 Iraq_Sniper1
game.setKit 1 2 Iraq_Sniper2
game.setKit 1 3 Iraq_Sniper3
game.setKit 1 4 Iraq_Sniper4
game.setKit 1 5 Iraq_Sniper5
game.setKit 2 0 US_Sniper_Heavy0
game.setKit 2 1 US_Sniper_Heavy1
game.setKit 2 2 US_Sniper_Heavy2
game.setKit 2 3 US_Sniper_Heavy3
game.setKit 2 4 US_Sniper_Heavy4
game.setKit 2 5 US_Sniper_Heavy5
elseif v_SubMode == PISTOL
run Objects/Pistol_AI
run Objects/Pickup/Objects
game.setKit 1 0 Iraq_Pistol0
game.setKit 1 1 Iraq_Pistol1
game.setKit 1 2 Iraq_Pistol2
game.setKit 1 3 Iraq_Pistol3
game.setKit 1 4 Iraq_Pistol4
game.setKit 1 5 Iraq_Pistol5
game.setKit 2 0 US_Pistol0
game.setKit 2 1 US_Pistol1
game.setKit 2 2 US_Pistol2
game.setKit 2 3 US_Pistol3
game.setKit 2 4 US_Pistol4
game.setKit 2 5 US_Pistol5
elseif v_SubMode == KNIFE
run Objects/Knife_AI
run Objects/Pickup/Objects
game.setKit 1 0 Iraq_Knife0
game.setKit 1 1 Iraq_Knife1
game.setKit 1 2 Iraq_Knife2
game.setKit 1 3 Iraq_Knife3
game.setKit 1 4 Iraq_Knife4
game.setKit 1 5 Iraq_Knife5
game.setKit 2 0 US_Knife0
game.setKit 2 1 US_Knife1
game.setKit 2 2 US_Knife2
game.setKit 2 3 US_Knife3
game.setKit 2 4 US_Knife4
game.setKit 2 5 US_Knife5
elseif v_SubMode == DAY2
game.setKit 1 0 Iraq_Sniper_Light
game.setKit 1 1 Iraq_Assault_Grenadier
game.setKit 1 2 Iraq_AT_C4
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support_Mortar
game.setKit 1 5 Iraq_SpecOps_Silent
game.setKit 2 0 US_Sniper_light
game.setKit 2 1 US_Assault_Grenadier
game.setKit 2 2 US_AT_C4
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support_Mortar
game.setKit 2 5 US_SpecOps_Silent
elseif v_GamePlayMode == GPM_CTF
game.setKit 1 0 Iraq_Sniper_Light
game.setKit 1 1 Iraq_Assault_Grenadier
game.setKit 1 2 Iraq_AT_SA-7
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support_Mortar
game.setKit 1 5 Iraq_CTF_SpecOps_Silent
game.setKit 2 0 US_Sniper_Light
game.setKit 2 1 US_Assault_Grenadier
game.setKit 2 2 US_AT_Stinger
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support_Mortar
game.setKit 2 5 US_CTF_SpecOps_Silent
else
game.setKit 1 0 Iraq_Sniper_Light
game.setKit 1 1 Iraq_Assault_Rifleman
game.setKit 1 2 Iraq_AT_C4
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support_Mortar
game.setKit 1 5 Iraq_SpecOps_Carbine
game.setKit 2 0 US_Sniper_Light
game.setKit 2 1 US_Assault_Rifleman
game.setKit 2 2 US_AT_C4
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support_Mortar
game.setKit 2 5 US_SpecOps_Carbine
endif
rem
rem *** Shader Default Color ***
rem
shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2
game.setActiveCombatArea 0 0 1024 1024
run Init/SkyAndSun
run Init/Terrain
run Sounds/Environment
rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 632.90/31.646/322.556
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 632.90/31.646/322.556
run objects/objects
rem **** Initialize level specific rendering settings.
rem
ShaderManager.setTextureParam envmap bf1942/levels/DC_Battle_of_73_Easting/Textures/ENVMAP_G_.rcm
renderer.vertexFogEnable 1
renderer.fogColorVec 0.633/0.414/0.238
renderer.globalLodPercent 1
renderer.globalAmbientColor .16/.15/.17
renderer.ambientColor .12/.1/.08
renderer.diffuseColor .50/.47/0.4
renderer.specularColor .3/.3/.3
renderer.animatedMeshAmbientColor 0.3
rem *** DC Texture sets ***
textureManager.alternativePath DCTextures/Mapspecifc/73Easting
textureManager.alternativePath DCTextures/GenericEnvironment/Desert
textureManager.alternativePath DCTextures/GenericEnvironment
rem *** DC_Extended texture sets ***
textureManager.alternativePath MODS/DC_Extended/Textures/Maps/DC_Battle_of_73_Easting
textureManager.alternativePath MODS/DC_Extended/Textures/Cammo_Desert
textureManager.alternativePath MODS/DC_Extended/Textures/Default
textureManager.alternativePath MODS/DC_Extended/Textures
rem *** Map defaults ***
textureManager.alternativePath Texture/Africa
textureManager.alternativePath MODS/DesertCombat/Archives/bf1942/levels/DC_Battle_of_73_Easting/objectTextures
textureManager.alternativePath bf1942/levels/DC_Battle_of_73_Easting/Textures/
shadow.shadowColor 0.6
rem *** Changed by mats. Higher number later after optimization.
Game.setViewDistance 300
Game.spawnPlayers 1
renderer.fogstart 50
renderer.fogend 300
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 IraqSoldier
game.setTeamSkin 2 USSoldier
rem *** Gameplaymode and submode ***
var v_GamePlayMode
game.GamePlayMode -> v_GamePlayMode
var v_SubMode
game.CustomGameInfo -> v_SubMode
if v_SubMode == INFANTRY
run Objects/Pickup/Objects
game.setKit 1 0 Iraq_Sniper_Light
game.setKit 1 1 Iraq_Assault_Grenadier
game.setKit 1 2 Iraq_AT_C4
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support_Mortar
game.setKit 1 5 Iraq_SpecOps_Silent
game.setKit 2 0 US_Sniper_light
game.setKit 2 1 US_Assault_Grenadier
game.setKit 2 2 US_AT_C4
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support_Mortar
game.setKit 2 5 US_SpecOps_Silent
elseif v_SubMode == SNIPER
run Objects/Pickup/Objects
game.setKit 1 0 Iraq_Sniper0
game.setKit 1 1 Iraq_Sniper1
game.setKit 1 2 Iraq_Sniper2
game.setKit 1 3 Iraq_Sniper3
game.setKit 1 4 Iraq_Sniper4
game.setKit 1 5 Iraq_Sniper5
game.setKit 2 0 US_Sniper_Heavy0
game.setKit 2 1 US_Sniper_Heavy1
game.setKit 2 2 US_Sniper_Heavy2
game.setKit 2 3 US_Sniper_Heavy3
game.setKit 2 4 US_Sniper_Heavy4
game.setKit 2 5 US_Sniper_Heavy5
elseif v_SubMode == PISTOL
run Objects/Pistol_AI
run Objects/Pickup/Objects
game.setKit 1 0 Iraq_Pistol0
game.setKit 1 1 Iraq_Pistol1
game.setKit 1 2 Iraq_Pistol2
game.setKit 1 3 Iraq_Pistol3
game.setKit 1 4 Iraq_Pistol4
game.setKit 1 5 Iraq_Pistol5
game.setKit 2 0 US_Pistol0
game.setKit 2 1 US_Pistol1
game.setKit 2 2 US_Pistol2
game.setKit 2 3 US_Pistol3
game.setKit 2 4 US_Pistol4
game.setKit 2 5 US_Pistol5
elseif v_SubMode == KNIFE
run Objects/Knife_AI
run Objects/Pickup/Objects
game.setKit 1 0 Iraq_Knife0
game.setKit 1 1 Iraq_Knife1
game.setKit 1 2 Iraq_Knife2
game.setKit 1 3 Iraq_Knife3
game.setKit 1 4 Iraq_Knife4
game.setKit 1 5 Iraq_Knife5
game.setKit 2 0 US_Knife0
game.setKit 2 1 US_Knife1
game.setKit 2 2 US_Knife2
game.setKit 2 3 US_Knife3
game.setKit 2 4 US_Knife4
game.setKit 2 5 US_Knife5
elseif v_SubMode == DAY2
game.setKit 1 0 Iraq_Sniper_Light
game.setKit 1 1 Iraq_Assault_Grenadier
game.setKit 1 2 Iraq_AT_C4
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support_Mortar
game.setKit 1 5 Iraq_SpecOps_Silent
game.setKit 2 0 US_Sniper_light
game.setKit 2 1 US_Assault_Grenadier
game.setKit 2 2 US_AT_C4
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support_Mortar
game.setKit 2 5 US_SpecOps_Silent
elseif v_GamePlayMode == GPM_CTF
game.setKit 1 0 Iraq_Sniper_Light
game.setKit 1 1 Iraq_Assault_Grenadier
game.setKit 1 2 Iraq_AT_SA-7
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support_Mortar
game.setKit 1 5 Iraq_CTF_SpecOps_Silent
game.setKit 2 0 US_Sniper_Light
game.setKit 2 1 US_Assault_Grenadier
game.setKit 2 2 US_AT_Stinger
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support_Mortar
game.setKit 2 5 US_CTF_SpecOps_Silent
else
game.setKit 1 0 Iraq_Sniper_Light
game.setKit 1 1 Iraq_Assault_Rifleman
game.setKit 1 2 Iraq_AT_C4
game.setKit 1 3 Iraq_HeavyAssault
game.setKit 1 4 Iraq_Support_Mortar
game.setKit 1 5 Iraq_SpecOps_Carbine
game.setKit 2 0 US_Sniper_Light
game.setKit 2 1 US_Assault_Rifleman
game.setKit 2 2 US_AT_C4
game.setKit 2 3 US_HeavyAssault
game.setKit 2 4 US_Support_Mortar
game.setKit 2 5 US_SpecOps_Carbine
endif
rem
rem *** Shader Default Color ***
rem
shaderManager.setDefaultShaderSolidColor 0.2/0.2/0.2
game.setActiveCombatArea 0 0 1024 1024
run Init/SkyAndSun
run Init/Terrain
run Sounds/Environment
rem *** Set team 1 ***
game.setBeforeSpawnCameraPosition 1 632.90/31.646/322.556
rem *** Set team 2 ***
game.setBeforeSpawnCameraPosition 2 632.90/31.646/322.556
run objects/objects