//table cdplayertable { snap { 0, .0625, .125, .1875, .25, .3125, .375, .4375, .5, .5625, .625, .6875, .75, .8125, .875, .9375 } }
table fadeintable { { 0, 1 } }
table fadeouttable { { 1, 0 } }
table ember1 { { .7, 1, .5, .7, .6, 1, .8, .6, .7, 1, .6, 1, 1, .6, .7, .8, .6, 1, .5, .7, 1 } }
table plasmaflashtable { { 1, 7 } }
table plasmaflash2table { { 180, 18, 359, 235,  1 } }
table stripAnim16table { snap { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } }
table dm_cylindertable { snap { 1, .85, .75, .7, .65, .6, .55, .5, .45, .4, .35, .3, .25, .2, .15, .125, .1, .08, .065, .05, .025, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
table bfgblast1table { { .5, 1 } }//{ { .2, .3, .4, .6, .8, .9 } }
table bfgblast2table { { 1, 1.5 } }
table maincontroltable { { 1, 0, 0, 0, 0, 0 } }
table hologram3atable { { .5, .5, -1, -.1, .25, 1, 0, .5, .5, -.5, -.5, .25, -1, -.25, -.25, 1, .25, 1, 1 } }
table hologram3atable2 { { 1, 0, 0, .5, -.5, .25, -1, -.25, -.25, 1, 0, 0, .5, -.25, -.25, .25, 1, 1, 0, 0 } }
table lavaflicker { { .5, .2, .7, .5, .3, 1, .4, 1, .8, .7, .5, .9, .3, .6, .3, .9, .8, .7, .5, .3 } }
table hellhole_rim1 { { 0, .3, .6, 1 } }
table hellhole_rim1a { { 1, .6, .3, 0 } }
table bfg_flare1_scale	{ { 1, 5, 1, 5, 1, 5, 1, 5  } }
table bfg_flare1_rotate { { 0, .25, .25, .5, .5, .75, .75, 0 } }
table bfg_bluescale { { 1.3, 1.5 } } 


//============================================================================================================
//temp
//============================================================================================================
models/monsters/cyberdemon/cyberdemon_temp1
{
	unsmoothedTangents
	//noselfshadow
	renderbump  -size 1024 1024 -aa 2 -colormap models/monsters/cyberdemon/cyberdemon_local1.tga models/monsters/cyberdemon/work/cyberdemonZB_hp1.lwo
	{
		blend	bumpmap
		map	addnormals (models/monsters/cyberdemon/cyberdemon_local, heightmap (models/monsters/cyberdemon/cyberdemon_bmp, 6) )
		
	}
	{
		blend diffusemap
		map	models/monsters/cyberdemon/cyberdemon
		//
		//alphatest .75
	}
	specularmap	models/monsters/cyberdemon/cyberdemon_s
}

models/monsters/cyberdemon/cyberdemon_temp2
{
	unsmoothedTangents
	//noselfshadow
	renderbump  -size 1024 1024 -aa 2 -colormap models/monsters/cyberdemon/cyberdemon_local2.tga models/monsters/cyberdemon/work/cyberdemonZB_hp2.lwo
	{
		blend	bumpmap
		map	addnormals (models/monsters/cyberdemon/cyberdemon_local, heightmap (models/monsters/cyberdemon/cyberdemon_bmp, 6) )
		
	}
	{
		blend diffusemap
		map	models/monsters/cyberdemon/cyberdemon
		//
		//alphatest .75
	}
	specularmap	models/monsters/cyberdemon/cyberdemon_s
}

models/monsters/cyberdemon/cyberdemon_temp3
{
	unsmoothedTangents
	//noselfshadow
	renderbump  -size 1024 1024 -aa 2 -trace .02 -colormap models/monsters/cyberdemon/cyberdemon_local3.tga models/monsters/cyberdemon/work/cyberdemonZB_hp3.lwo
	{
		blend	bumpmap
		map	addnormals (models/monsters/cyberdemon/cyberdemon_local, heightmap (models/monsters/cyberdemon/cyberdemon_bmp, 6) )
		
	}
	{
		blend diffusemap
		map	models/monsters/cyberdemon/cyberdemon
		//
		//alphatest .75
	}
	specularmap	models/monsters/cyberdemon/cyberdemon_s
}

//============================================================================================================
//caves
//============================================================================================================

textures/caves/tembrick2_spectrum
{
	qer_editorimage textures/caves/tembrick2_spectrum.tga
	DECAL_MACRO
	noShadows
	nonsolid
	noimpact
	translucent
	spectrum 2
	{       
      	blend	diffusemap
		map		textures/caves/tembrick2_spectrum.tga
	}
}

textures/caves/s_egg2
{
	qer_editorimage		textures/caves/s_egg2
	noshadows
	ricochet
	bumpmap				textures/caves/s_egg2_local
	{
		blend			diffusemap	
		map				textures/caves/s_egg2
		alphatest		.5
	}
	specularmap			textures/caves/s_egg2_s
}

textures/caves/s_egg
{
	qer_editorimage		textures/caves/s_egg
	ricochet
	{
		blend			bumpmap				
		map				addnormals (textures/caves/s_egg_local, heightmap (textures/caves/s_egg_bmp.tga, 4) ) 
	}
	diffusemap			textures/caves/s_egg
	specularmap			textures/caves/s_egg_s
}

textures/caves/s_eggleg_shadow
{
	qer_editorimage		textures/caves/s_eggleg_shadow
	translucent
	{
		blend			filter
		map				textures/caves/s_eggleg_shadow
	}
}

textures/caves/s_eggleg
{
	qer_editorimage		textures/caves/s_eggleg
	ricochet
	noshadows
	bumpmap				textures/caves/s_eggleg_local
	{
		blend			diffusemap			
		map				textures/caves/s_eggleg
		alphatest		.5
	}
	specularmap			textures/caves/s_eggleg_s
}

textures/caves/s_eggrim
{
	qer_editorimage		textures/caves/s_eggrim
	ricochet
	bumpmap				textures/caves/s_eggrim_local
	diffusemap			textures/caves/s_eggrim
	specularmap			textures/caves/s_eggrim_s
}

textures/caves/sbricksblenddust
{
	stone
	{
		blend		bumpmap
		map			addnormals (textures/caves/sbricks1_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
	{
		blend		diffusemap
		map			textures/caves/sbricks1a
		vertexColor
	}
	{
		blend 		specularmap
		map			textures/caves/sbricksblenddust_s
		vertexColor
	} 
	{
		blend 		bumpmap
		map			textures/caves/rubble3_local
	
	}
	{
		blend 		diffusemap
		map			textures/caves/sbricks4
		inverseVertexColor
	} 
	{
		blend 		specularmap
		map			textures/caves/sbricks1_s
		inverseVertexColor
	} 

}

textures/caves/sbricksblend2
{
	stone
	{
		blend		bumpmap
		map			addnormals (textures/caves/sbricks1_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
	{
		blend		diffusemap
		map			textures/caves/sbricks1_d
		scale		0.5, 1
		vertexColor
	}
	{
		blend 		specularmap
		map			textures/caves/sbricks1_s
		VertexColor
	} 
	{
		blend 		bumpmap
		map			textures/caves/rubble3_local
	
	}
	{
		blend 		diffusemap
		map			textures/caves/rubble3
		inverseVertexColor
	} 
}

textures/caves/sbricksblend
{
	stone
	{
		blend		bumpmap
		map			addnormals (textures/caves/sbricks1_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
	{
		blend		diffusemap
		map			textures/caves/sbricks4
		vertexColor
	}
	{
		blend 		specularmap
		map			textures/caves/sbricks1_s
		VertexColor
	} 
	{
		blend 		bumpmap
		map			textures/caves/rubble3_local
	
	}
	{
		blend 		diffusemap
		map			textures/caves/rubble3
		inverseVertexColor
	} 
}

textures/caves/rubble3
{
	qer_editorimage		textures/caves/rubble3
	stone
	bumpmap				textures/caves/rubble3_local
	diffusemap			textures/caves/rubble3
}

textures/caves/rubble
{
	qer_editorimage		textures/caves/rubble
	stone
	bumpmap				textures/caves/rubble_local
	diffusemap			textures/caves/rubble
}

textures/caves/sbricks4
{
	qer_editorimage		textures/caves/sbricks4
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks1_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
		diffusemap		textures/caves/sbricks4
		specularmap		textures/caves/sbricks1_s
}

textures/caves/sbricks3
{
	qer_editorimage		textures/caves/sbricks3
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks3_local, heightmap (textures/caves/sbricks3_bmp, 4) ) 
	}
		diffusemap		textures/caves/sbricks3
}

textures/caves/sbricks2a
{
	qer_editorimage		textures/caves/sbricks2a
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks2_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
		diffusemap		textures/caves/sbricks2a
		specularmap		textures/caves/sbricks2a_s
}

textures/caves/sbricks2
{
	qer_editorimage		textures/caves/sbricks2
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks2_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
		diffusemap		textures/caves/sbricks2
	//	specularmap			textures/caves/sbricks1_s
}

textures/caves/sbricks1b
{
	qer_editorimage		textures/caves/sbricks1b
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks1b_local, heightmap (textures/caves/sbricks1b_bmp, 4) ) 
	}
	{
		blend			diffusemap
		map				textures/caves/sbricks1b
	}
	{
		blend			specularmap			
		map				textures/caves/sbricks1_s
		scale			1,2
	}
}


textures/caves/s_stairs
{
	qer_editorimage		textures/caves/s_stairs
	{
		blend			bumpmap				
		map				addnormals (textures/caves/s_stairs_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
		diffusemap		textures/caves/s_stairs
}

textures/caves/sbricks1a
{
	qer_editorimage		textures/caves/sbricks1a
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks1_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
		diffusemap		textures/caves/sbricks1a
}

textures/caves/sbricks1
{
	qer_editorimage		textures/caves/sbricks1
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks1_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
	{
		blend			diffusemap
		map				textures/caves/sbricks1_d
		scale			0.5, 1
	}
	specularmap			textures/caves/sbricks1_s
}

textures/caves/sbricks1top
{
	qer_editorimage		textures/caves/sbricks1
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks1_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
	{
		blend			diffusemap
		map				textures/caves/sbricks1_d
		scale			0.5, 1
	}
	specularmap			textures/caves/sbricks1_s
}

textures/caves/sbricks1bot
{
	qer_editorimage		textures/caves/sbricks1
	stone
	{
		blend			bumpmap				
		map				addnormals (textures/caves/sbricks1_local, heightmap (textures/caves/sbricks1_bmp, 4) ) 
	}
	{
		blend			diffusemap
		map				textures/caves/sbricks1_d
		scale			0.5, 1
	}
	specularmap			textures/caves/sbricks1_s
}



//============================================================================================================
//ice
//============================================================================================================



textures/ice/sflpanel4a_ice
{
	qer_editorimage		textures/ice/sflpanel4a_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sflpanel4a_ice_local, heightmap (textures/ice/sflpanel4a_ice, 1) ) 
	}
	diffusemap			textures/ice/sflpanel4a_ice
	specularmap			textures/ice/sflpanel4a_ice
}

textures/ice/elec_box1s_ice
{
	qer_editorimage	textures/ice/elec_box1s_ice
	bumpmap			heightmap (textures/base_trim/elec_box1s_ice_bmp.tga, 1)
	diffusemap		textures/ice/elec_box1s_ice
	specularmap		textures/ice/elec_box1s_ice
}

textures/ice/elec_box1_ice
{
	qer_editorimage	textures/ice/elec_box1_ice
	bumpmap			heightmap (textures/base_trim/elec_box1_ice_bmp.tga, 1)
	diffusemap		textures/ice/elec_box1_ice
	specularmap		textures/ice/elec_box1_ice
	{
		blend		gl_one,gl_one
		map 		textures/base_trim/elec_box1_add.tga
		red			parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/ice/sopanel1a_ice
{
	qer_editorimage		textures/ice/sopanel1a_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel1a_ice_local, heightmap (textures/ice/sopanel1a_ice, 2) ) 
	}
	diffusemap			textures/ice/sopanel1a_ice
	specularmap			textures/ice/sopanel1a_ice
}

textures/ice/reactorwalk1a_ice
{
	qer_editorimage		textures/ice/reactorwalk1a_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/reactorwalk1a_ice_local, heightmap (textures/ice/reactorwalk1a_ice, 2) ) 
	}
	diffusemap			textures/ice/reactorwalk1a_ice
	specularmap			textures/ice/reactorwalk1a_ice
}

textures/ice/sofloor3_ice
{
	qer_editorimage		textures/ice/sofloor3_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sofloor3_ice_local, heightmap (textures/ice/sofloor3_ice, 2) ) 
	}
	diffusemap			textures/ice/sofloor3_ice
	specularmap			textures/ice/sofloor3_ice
}

textures/ice/sopanel2b4_ice
{
	qer_editorimage		textures/ice/sopanel2b4_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel2b4_ice_local, heightmap (textures/ice/sopanel2b4_ice, 1) ) 
	}
	diffusemap			textures/ice/sopanel2b4_ice
	specularmap			textures/ice/sopanel2b4_ice
}

models/mapobjects/doors/cpudoor2pipes_ice
{
	qer_editorimage	models/mapobjects/doors/smalldoor_local.tga
	renderbump  	-size 256 256 -aa 2 models/mapobjects/doors/smalldoor_local.tga models/mapobjects/doors/work/smalldoor_hp.lwo
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/doors/cpudoor2pipes_local, heightmap (textures/ice/smalldoortex_ice, 2) )
		
	}
	diffusemap		textures/ice/cpudoor2pipes_ice
	specularmap		textures/ice/cpudoor2pipes_ice
}

models/mapobjects/doors/cpudoor2r_ice
{
	qer_editorimage	models/mapobjects/doors/smalldoor_local.tga
	renderbump  	-size 256 256 -aa 2 models/mapobjects/doors/smalldoor_local.tga models/mapobjects/doors/work/smalldoor_hp.lwo
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/doors/cpudoor2r_local, heightmap (textures/ice/smalldoortex_ice, 2) ) 
		
	}
	diffusemap		textures/ice/cpudoor2r_ice
	specularmap		textures/ice/cpudoor2r_ice
}

models/mapobjects/doors/cpudoor2_ice
{
	qer_editorimage	models/mapobjects/doors/smalldoor_local.tga
	renderbump  	-size 256 256 -aa 2 models/mapobjects/doors/smalldoor_local.tga models/mapobjects/doors/work/smalldoor_hp.lwo
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/doors/cpudoor2_local, heightmap (textures/ice/smalldoortex_ice, 2) ) 
		
	}
	diffusemap		textures/ice/cpudoor2_ice
	specularmap		textures/ice/cpudoor2_ice
}

models/mapobjects/doors/smalldoor_ice
{
	qer_editorimage	models/mapobjects/doors/smalldoor_local.tga
	renderbump  	-size 256 256 -aa 2 models/mapobjects/doors/smalldoor_local.tga models/mapobjects/doors/work/smalldoor_hp.lwo
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/doors/smalldoor_local, heightmap (textures/ice/smalldoortex_ice, 2) ) 
		
	}
	diffusemap		textures/ice/smalldoor_ice
	specularmap		textures/ice/smalldoor_ice
}

textures/ice/sopanel22_ice
{
	qer_editorimage		textures/ice/sopanel22_ice
	{
		blend			bumpmap				
		map				addnormals (textures/base_wall/sopanel22_local, heightmap (textures/ice/sopanel22_ice, 1) ) 
	}
	{
		blend			diffusemap		
		map				textures/ice/sopanel22_ice_d
		alphatest		.5
	}
	specularmap			textures/ice/sopanel22_ice_d
}

textures/ice/sopanel20_ice
{
	qer_editorimage		textures/ice/sopanel20_ice
	{
		blend			bumpmap				
		map				addnormals (textures/base_wall/sopanel20_local, heightmap (textures/ice/sopanel20_ice, 1) ) 
	}
	{
		blend			diffusemap			
		map				textures/ice/sopanel20_ice_d
		alphatest		.5
	}
	specularmap			textures/ice/sopanel20_ice_d
}

textures/ice/skpanel12b_ice
{
	qer_editorimage		textures/ice/skpanel12b_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/skpanel12b_ice_local, heightmap (textures/ice/skpanel12b_ice, 1) ) 
	}
	diffusemap			textures/ice/skpanel12b_ice
	specularmap			textures/ice/skpanel12b_ice
}

textures/ice/sopanel21_ice
{
	qer_editorimage		textures/ice/sopanel21_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel21_ice_local, heightmap (textures/ice/sopanel21_ice, 1) ) 
	}
	{
		blend			diffusemap			
		map				textures/ice/sopanel21_ice_d
		alphatest		.5
	}
	specularmap			textures/ice/sopanel21_ice_d
}

textures/ice/smalldoortex_ice
{
	qer_editorimage		textures/ice/smalldoortex_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/smalldoortex_ice_local, heightmap (textures/ice/smalldoortex_ice, 1) ) 
	}
	diffusemap			textures/ice/smalldoortex_ice
	specularmap			textures/ice/smalldoortex_ice
}

textures/ice/sopanel4_ice
{
	qer_editorimage		textures/ice/sopanel4_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel4_ice_local, heightmap (textures/ice/sopanel4_ice, 2) ) 
	}
	diffusemap			textures/ice/sopanel4_ice
	specularmap			textures/ice/sopanel4_ice
}

textures/ice/sopanel2a_ice
{
	qer_editorimage		textures/ice/sopanel2a_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel2a_ice_local, heightmap (textures/ice/sopanel2a_ice, 2) ) 
	}
	diffusemap			textures/ice/sopanel2a_ice
	specularmap			textures/ice/sopanel2a_ice
}

textures/ice/sopanel25_ice
{
	qer_editorimage		textures/ice/sopanel25_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel25_ice_local, heightmap (textures/ice/sopanel25_ice, 2) ) 
	}
	diffusemap			textures/ice/sopanel25_ice
	specularmap			textures/ice/sopanel25_ice
}

textures/ice/sopanel9_ice
{
	qer_editorimage		textures/ice/sopanel9_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel9_ice_local, heightmap (textures/ice/sopanel9_ice, 2) ) 
	}
	diffusemap			textures/ice/sopanel9_ice
	specularmap			textures/ice/sopanel9_ice
}

textures/ice/shatterglass01_ice
{
	translucent
	noshadows
	twoSided
	glass
	qer_editorimage		textures/ice/shatterglass01_ice
	specularmap			textures/ice/sopanel2b_ice
	{
		blend			add
		map				textures/ice/shatterglass01_ice
	}
	{
		blend			add
		cubeMap			env/bland
		texgen			reflect
	}
}

textures/ice/sopanel2b5_ice
{
	qer_editorimage		textures/ice/sopanel2b5_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel2b5_ice_local, heightmap (textures/ice/sopanel2b5_ice, 1) ) 
	}
	diffusemap			textures/ice/sopanel2b5_ice
	specularmap			textures/ice/sopanel2b5_ice
}

textures/ice/sopanel15b_ice
{
	qer_editorimage		textures/ice/sopanel15b_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel15b_ice_local, heightmap (textures/ice/sopanel15b_ice, 2) ) 
	}
	diffusemap			textures/ice/sopanel15b_ice
	specularmap			textures/ice/sopanel15b_ice
}

textures/ice/sopanel23_ice
{
	qer_editorimage		textures/ice/sopanel23_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel23_ice_local, heightmap (textures/ice/sopanel23_ice, 1.5) ) 
	}
	diffusemap			textures/ice/sopanel23_ice
	specularmap			textures/ice/sopanel23_ice
}

textures/ice/sopanel2b_ice
{
	qer_editorimage		textures/ice/sopanel2b_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel2b_ice_local, heightmap (textures/ice/sopanel2b_ice, 1) ) 
	}
	diffusemap			textures/ice/sopanel2b_ice
	specularmap			textures/ice/sopanel2b_ice
}

textures/ice/sofloor2_ice
{
	qer_editorimage		textures/ice/sofloor2_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sofloor2_ice_local, heightmap (textures/ice/sofloor2_ice, 2) ) 
	}
	diffusemap			textures/ice/sofloor2_ice
	specularmap			textures/ice/sofloor2_ice
}

textures/ice/sopanel16_ice
{
	qer_editorimage		textures/ice/sopanel16_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel16_ice_local, heightmap (textures/ice/sopanel16_ice, 2) ) 
	}
	diffusemap			textures/ice/sopanel16_ice
	specularmap			textures/ice/sopanel16_ice
}

textures/ice/sopanel2c_ice
{
	qer_editorimage		textures/ice/sopanel2c_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sopanel2c_ice_local, heightmap (textures/ice/sopanel2c_ice, 2) ) 
	}
	diffusemap			textures/ice/sopanel2c_ice
	specularmap			textures/ice/sopanel2c_ice
}

textures/ice/servertex1_ice
{
	qer_editorimage		textures/ice/servertex1_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/servertex1_ice_local, heightmap (textures/ice/servertex1_ice, 2) ) 
	}
	diffusemap			textures/ice/servertex1_ice
	specularmap			textures/ice/servertex1_ice
}

textures/ice/sfloor_ice
{
	qer_editorimage		textures/ice/sfloor_ice
	{
		blend			bumpmap				
		map				addnormals (textures/ice/sfloor_ice_local, heightmap (textures/ice/sfloor_ice, 2) ) 
	}
	diffusemap			textures/ice/sfloor_ice
	specularmap			textures/ice/sfloor_ice
}


textures/ice/sofloor1_ice
{
	qer_editorimage		textures/ice/sofloor1_ice
	{
		blend		bumpmap
		map				addnormals (textures/ice/sofloor1_ice_local, heightmap (textures/ice/sofloor1_ice, 2) ) 
		scale		2 , 2
	}
	diffusemap			textures/ice/sofloor1_ice
	specularmap			textures/ice/sofloor1_ice
}


//============================================================================================================
//enpro
//============================================================================================================

textures/enpro/minpanel1cut2a
{
	qer_editorimage		textures/enpro/minpanel1cut2a
	bumpmap				textures/base_wall/minpanel1cut_local
	diffusemap			textures/enpro/minpanel1cut2a
	specularmap			textures/enpro/minpanel1cut1a_s
}

textures/enpro/minpanel1cut2
{
	qer_editorimage		textures/enpro/minpanel1cut2
	bumpmap				textures/base_wall/minpanel1cut_local
	diffusemap			textures/enpro/minpanel1cut2
	specularmap			textures/enpro/minpanel1cut1_s
}

textures/enpro/minpanel1cut1a
{
	qer_editorimage		textures/enpro/minpanel1cut1a
	bumpmap				textures/base_wall/minpanel1cut_local
	diffusemap			textures/enpro/minpanel1cut1a
	specularmap			textures/enpro/minpanel1cut1a_s
}

textures/enpro/minpanel1cut1
{
	qer_editorimage		textures/enpro/minpanel1cut1
	bumpmap				textures/base_wall/minpanel1cut_local
	diffusemap			textures/enpro/minpanel1cut1
	specularmap			textures/enpro/minpanel1cut1_s
}


textures/enpro/encyl10_glow
{
	qer_editorimage		textures/enpro/encyl10
	bumpmap				textures/enpro/encyl10_local
	diffusemap			textures/enpro/encyl10
	specularmap			textures/enpro/encyl10_s
	{
		blend			add
		map				textures/enpro/encyl10_add
		colored
		
	}
}

textures/enpro/encyl10_glow_global
{
	qer_editorimage		textures/enpro/encyl10
	bumpmap				textures/enpro/encyl10_local
	diffusemap			textures/enpro/encyl10
	specularmap			textures/enpro/encyl10_s
	{
		blend			add
		map				textures/enpro/encyl10_add
		red				parm0
		green			parm1 * global1
		blue			parm2 * global1
		
	}
}

textures/enpro/encyl10
{
	qer_editorimage		textures/enpro/encyl10
	bumpmap				textures/enpro/encyl10_local
	diffusemap			textures/enpro/encyl10
	specularmap			textures/enpro/encyl10_s
}

textures/enpro/encyl9
{
	qer_editorimage		textures/enpro/encyl9
	bumpmap				textures/enpro/encyl9_local
	diffusemap			textures/enpro/encyl9
	specularmap			textures/enpro/encyl9_s
}

textures/enpro/encyl8
{
	qer_editorimage		textures/enpro/encyl8
	bumpmap				textures/enpro/encyl8_local
	diffusemap			textures/enpro/encyl8
	specularmap			textures/enpro/encyl8_s
}

textures/enpro/encyl7
{
	qer_editorimage		textures/enpro/encyl7
	bumpmap				textures/enpro/encyl7_local
	diffusemap			textures/enpro/encyl7
	specularmap			textures/enpro/encyl7_s
//	{
//		blend			add
//		map				textures/enpro/encyl7_add
//	}
}

textures/enpro/encyl6
{
	qer_editorimage		textures/enpro/encyl6
	bumpmap				textures/enpro/encyl6_local
	diffusemap			textures/enpro/encyl6
	specularmap			textures/enpro/encyl6_s
}

textures/enpro/encyl5
{
	qer_editorimage		textures/enpro/encyl5
	{
		blend			bumpmap				
		map				textures/enpro/encyl5_local
		
	}

	diffusemap			textures/enpro/encyl5
	specularmap			textures/enpro/encyl5_s
}

textures/enpro/encyl4
{
	qer_editorimage		textures/enpro/encyl4
	bumpmap				textures/enpro/encyl4_local
	diffusemap			textures/enpro/encyl4
	specularmap			textures/enpro/encyl4_s
}

textures/enpro/encyl3
{
	qer_editorimage		textures/enpro/encyl3
	noshadows
	twosided
	bumpmap				textures/enpro/encyl3_local
	{
		blend			diffusemap			
		map				textures/enpro/encyl3
		alphatest		.65
	}
	specularmap			textures/enpro/encyl3_s
}

textures/enpro/encyl2
{
	qer_editorimage		textures/enpro/encyl2
	bumpmap				textures/enpro/encyl2_local
	diffusemap			textures/enpro/encyl2
	specularmap			textures/enpro/encyl2_s
	{
		blend			add
		map				textures/enpro/encyl2_add
	}
}

textures/enpro/encyl1
{
	qer_editorimage		textures/enpro/encyl1
	bumpmap				textures/enpro/encyl1_local
	diffusemap			textures/enpro/encyl1
	specularmap			textures/enpro/encyl1_s
	{
		blend			add
		map				textures/enpro/encyl1_add
		colored
	}
}

textures/enpro/encyl1_global
{
	qer_editorimage		textures/enpro/encyl1
	bumpmap				textures/enpro/encyl1_local
	diffusemap			textures/enpro/encyl1
	specularmap			textures/enpro/encyl1_s
	{
		blend			add
		map				textures/enpro/encyl1_add
		red				parm0
		green			parm1 * global1
		blue			parm2 * global1
	}
}

textures/enpro/enwall22e
{
	qer_editorimage		textures/enpro/enwall22e
	bumpmap				textures/base_wall/snpanel18_local
	diffusemap			textures/enpro/enwall22e
	specularmap			textures/enpro/enwall22_s
}

textures/enpro/enwall22d
{
	qer_editorimage		textures/enpro/enwall22d
	bumpmap				textures/base_wall/snpanel18_local
	diffusemap			textures/enpro/enwall22d
	specularmap			textures/enpro/enwall22_s
}

textures/enpro/enwall22c
{
	qer_editorimage		textures/enpro/enwall22c
	bumpmap				textures/base_wall/snpanel18_local
	diffusemap			textures/enpro/enwall22c
	specularmap			textures/enpro/enwall22a_s
}

textures/enpro/enwall22b
{
	qer_editorimage		textures/enpro/enwall22b
	bumpmap				textures/base_wall/snpanel18_local
	diffusemap			textures/enpro/enwall22b
	specularmap			textures/enpro/enwall22a_s
}

textures/enpro/enwall22a
{
	qer_editorimage		textures/enpro/enwall22a
	bumpmap				textures/base_wall/snpanel18_local
	diffusemap			textures/enpro/enwall22a
	specularmap			textures/enpro/enwall22a_s
}

textures/enpro/enwall22
{
	qer_editorimage		textures/enpro/enwall22
	bumpmap				textures/base_wall/snpanel18_local
	diffusemap			textures/enpro/enwall22
	specularmap			textures/enpro/enwall22_s
}

textures/enpro/enwall21c
{
	qer_editorimage		textures/enpro/enwall21c
	bumpmap				textures/base_wall/snpanel17_local
	diffusemap			textures/enpro/enwall21c
	specularmap			textures/enpro/enwall21c_s
}

textures/enpro/enwall21b
{
	qer_editorimage		textures/enpro/enwall21b
	bumpmap				textures/base_wall/snpanel17_local
	diffusemap			textures/enpro/enwall21b
	specularmap			textures/enpro/enwall21_s
}

textures/enpro/enwall21a
{
	qer_editorimage		textures/enpro/enwall21a
	bumpmap				textures/base_wall/snpanel17_local
	diffusemap			textures/enpro/enwall21a
	specularmap			textures/enpro/enwall21_s
}

textures/enpro/enwall21
{
	qer_editorimage		textures/enpro/enwall21
	bumpmap				textures/base_wall/snpanel17_local
	diffusemap			textures/enpro/enwall21
	specularmap			textures/enpro/enwall21_s
}

textures/enpro/enwall20f
{
	qer_editorimage		textures/enpro/enwall20f
	bumpmap				textures/enpro/enwall20_local
	diffusemap			textures/enpro/enwall20f
	specularmap			textures/enpro/enwall20f_s
}

textures/enpro/enwall20e
{
	qer_editorimage		textures/enpro/enwall20e
	bumpmap				textures/enpro/enwall20_local
	diffusemap			textures/enpro/enwall20e
	specularmap			textures/enpro/enwall20a_s
}

textures/enpro/enwall20d
{
	qer_editorimage		textures/enpro/enwall20d
	bumpmap				textures/enpro/enwall20_local
	diffusemap			textures/enpro/enwall20d
	specularmap			textures/enpro/enwall20a_s
}

textures/enpro/enwall20c
{
	qer_editorimage		textures/enpro/enwall20c
	bumpmap				textures/enpro/enwall20_local
	diffusemap			textures/enpro/enwall20c
	specularmap			textures/enpro/enwall20a_s
}

textures/enpro/enwall20b
{
	qer_editorimage		textures/enpro/enwall20b
	bumpmap				textures/enpro/enwall20_local
	diffusemap			textures/enpro/enwall20b
	specularmap			textures/enpro/enwall20a_s
}

textures/enpro/enwall20a
{
	qer_editorimage		textures/enpro/enwall20a
	bumpmap				textures/enpro/enwall20_local
	diffusemap			textures/enpro/enwall20a
	specularmap			textures/enpro/enwall20a_s
}

textures/enpro/enwall20
{
	qer_editorimage		textures/enpro/enwall20
	bumpmap				textures/enpro/enwall20_local
	diffusemap			textures/enpro/enwall20
	specularmap			textures/enpro/enwall20_s
}

textures/enpro/enwall19f
{
	qer_editorimage		textures/enpro/enwall19f
	bumpmap				textures/base_wall/stepanel5_local
	diffusemap			textures/enpro/enwall19f
	specularmap			textures/enpro/enwall19_s
}

textures/enpro/enwall19e
{
	qer_editorimage		textures/enpro/enwall19e
	bumpmap				textures/base_wall/stepanel5_local
	diffusemap			textures/enpro/enwall19e
	specularmap			textures/enpro/enwall19_s
}

textures/enpro/enwall19d
{
	qer_editorimage		textures/enpro/enwall19d
	bumpmap				textures/base_wall/stepanel5_local
	diffusemap			textures/enpro/enwall19d
	specularmap			textures/enpro/enwall19_s
}

textures/enpro/enwall19c
{
	qer_editorimage		textures/enpro/enwall19c
	bumpmap				textures/base_wall/stepanel5_local
	diffusemap			textures/enpro/enwall19c
	specularmap			textures/enpro/enwall19_s
}

textures/enpro/enwall19b
{
	qer_editorimage		textures/enpro/enwall19b
	bumpmap				textures/base_wall/stepanel5_local
	diffusemap			textures/enpro/enwall19b
	specularmap			textures/enpro/enwall19_s
}

textures/enpro/enwall19a
{
	qer_editorimage		textures/enpro/enwall19a
	bumpmap				textures/base_wall/stepanel5_local
	diffusemap			textures/enpro/enwall19a
	specularmap			textures/enpro/enwall19_s
}

textures/enpro/enwall19
{
	qer_editorimage		textures/enpro/enwall19
	bumpmap				textures/base_wall/stepanel5_local
	diffusemap			textures/enpro/enwall19
	specularmap			textures/enpro/enwall19_s
}

textures/enpro/enwall18e
{
	qer_editorimage		textures/enpro/enwall18e
	bumpmap				textures/enpro/enwall18_local
	diffusemap			textures/enpro/enwall18e
	specularmap			textures/enpro/enwall18e_s
}

textures/enpro/enwall18d
{
	qer_editorimage		textures/enpro/enwall18d
	bumpmap				textures/enpro/enwall18_local
	diffusemap			textures/enpro/enwall18d
	specularmap			textures/enpro/enwall18_s
}

textures/enpro/enwall18c
{
	qer_editorimage		textures/enpro/enwall18c
	bumpmap				textures/enpro/enwall18_local
	diffusemap			textures/enpro/enwall18c
	specularmap			textures/enpro/enwall18_s
}

textures/enpro/enwall18b
{
	qer_editorimage		textures/enpro/enwall18b
	bumpmap				textures/enpro/enwall18_local
	diffusemap			textures/enpro/enwall18b
	specularmap			textures/enpro/enwall18b_s
}

textures/enpro/enwall18a
{
	qer_editorimage		textures/enpro/enwall18a
	bumpmap				textures/enpro/enwall18_local
	diffusemap			textures/enpro/enwall18a
	specularmap			textures/enpro/enwall18_s
}

textures/enpro/enwall18
{
	qer_editorimage		textures/enpro/enwall18
	bumpmap				textures/enpro/enwall18_local
	diffusemap			textures/enpro/enwall18
	specularmap			textures/enpro/enwall18_s
}

textures/enpro/enwall17a
{
	qer_editorimage		textures/enpro/enwall17a
	bumpmap				textures/enpro/enwall17_local
	diffusemap			textures/enpro/enwall17a
	specularmap			textures/enpro/enwall17_s
}

textures/enpro/enwall17
{
	qer_editorimage		textures/enpro/enwall17
	bumpmap				textures/enpro/enwall17_local
	{
		blend			diffusemap			
		map				textures/enpro/enwall17_d
		scale			0.5,1
	}
	specularmap			textures/enpro/enwall17_s
}

textures/enpro/enwall16d
{
	qer_editorimage		textures/enpro/enwall16d
	{
		blend			bumpmap				
		map				addnormals (textures/enpro/enwall16_local, heightmap (textures/enpro/enwall16_bmp.tga, 4) ) 
	}
	diffusemap			textures/enpro/enwall16d
	specularmap			textures/enpro/enwall16_s
}

textures/enpro/enwall16c
{
	qer_editorimage		textures/enpro/enwall16c
	{
		blend			bumpmap				
		map				addnormals (textures/enpro/enwall16_local, heightmap (textures/enpro/enwall16_bmp.tga, 4) ) 
	}
	diffusemap			textures/enpro/enwall16c
	specularmap			textures/enpro/enwall16_s
}

textures/enpro/enwall16b
{
	qer_editorimage		textures/enpro/enwall16b
	{
		blend			bumpmap				
		map				addnormals (textures/enpro/enwall16_local, heightmap (textures/enpro/enwall16_bmp.tga, 4) ) 
	}
	diffusemap			textures/enpro/enwall16b
	specularmap			textures/enpro/enwall16_s
}

textures/enpro/enwall16a
{
	qer_editorimage		textures/enpro/enwall16a
	{
		blend			bumpmap				
		map				addnormals (textures/enpro/enwall16_local, heightmap (textures/enpro/enwall16_bmp.tga, 4) ) 
	}
	diffusemap			textures/enpro/enwall16a
	specularmap			textures/enpro/enwall16_s
}

textures/enpro/enwall16
{
	qer_editorimage		textures/enpro/enwall16
	{
		blend			bumpmap				
		map				addnormals (textures/enpro/enwall16_local, heightmap (textures/enpro/enwall16_bmp.tga, 4) ) 
	}
	diffusemap			textures/enpro/enwall16
	specularmap			textures/enpro/enwall16_s
}

textures/enpro/enwall15a
{
	qer_editorimage		textures/enpro/enwall15a
	bumpmap				textures/enpro/enwall15a_local
	diffusemap			textures/enpro/enwall15a
	specularmap			textures/enpro/enwall15a_s
}

textures/enpro/enwall15
{
	qer_editorimage		textures/enpro/enwall15
	bumpmap				textures/enpro/enwall15_local
	diffusemap			textures/enpro/enwall15
	specularmap			textures/enpro/enwall15_s
}

textures/enpro/enwall14
{
	qer_editorimage		textures/enpro/enwall14
	{
		blend			bumpmap				
		map				addnormals (textures/enpro/enwall14_local, heightmap (textures/enpro/enwall14_bmp, 3) )
	}
	diffusemap			textures/enpro/enwall14
	specularmap			textures/enpro/enwall14_s
}

textures/enpro/enwall13c
{
	qer_editorimage		textures/enpro/enwall13c
	bumpmap				textures/enpro/enwall13_local
	diffusemap			textures/enpro/enwall13c
	specularmap			textures/enpro/enwall13_s
}

textures/enpro/enwall13b
{
	qer_editorimage		textures/enpro/enwall13b
	bumpmap				textures/enpro/enwall13_local
	diffusemap			textures/enpro/enwall13b
	specularmap			textures/enpro/enwall13a_s
}

textures/enpro/enwall13a
{
	qer_editorimage		textures/enpro/enwall13a
	bumpmap				textures/enpro/enwall13_local
	diffusemap			textures/enpro/enwall13a
	specularmap			textures/enpro/enwall13a_s
}

textures/enpro/enwall13
{
	qer_editorimage		textures/enpro/enwall13
	bumpmap				textures/enpro/enwall13_local
	diffusemap			textures/enpro/enwall13
	specularmap			textures/enpro/enwall13_s
}

textures/enpro/enwall12
{
	qer_editorimage		textures/enpro/enwall12
	bumpmap				textures/enpro/enwall12_local
	diffusemap			textures/enpro/enwall12
	specularmap			textures/enpro/enwall12_s
}

textures/enpro/enwall11
{
	qer_editorimage		textures/enpro/enwall11
	bumpmap				textures/enpro/enwall11_local
	diffusemap			textures/enpro/enwall11
	specularmap			textures/enpro/enwall11_s
}

textures/enpro/enwall10
{
	qer_editorimage		textures/enpro/enwall10
	{
		blend			bumpmap				
		map				textures/enpro/enwall10_local
		
	}
	{
		blend			diffusemap			
		map				textures/enpro/enwall10
	//	
	}
	{
		blend			specularmap			
		map				textures/enpro/enwall10_s
	//	
	}
}

textures/enpro/enwall9
{
	qer_editorimage		textures/enpro/enwall9
	bumpmap				textures/enpro/enwall9_local
	diffusemap			textures/enpro/enwall9
	specularmap			textures/enpro/enwall9_s
}
/**
textures/enpro/enwall8a6
{
	qer_editorimage		textures/enpro/enwall8a6
	bumpmap				textures/enpro/enwall8a_local
	{
		blend			diffusemap			
		map				textures/enpro/enwall8a6
		scale			0.5,1
	}
	{
		blend			specularmap			
		map				textures/enpro/enwall8a6_s
		scale			0.5,1
	}
}

textures/enpro/enwall8a5
{
	qer_editorimage		textures/enpro/enwall8a5
	bumpmap				textures/enpro/enwall8_local
	diffusemap			textures/enpro/enwall8a5
	specularmap			textures/enpro/enwall8a5_s
}
**/
textures/enpro/enwall8a4
{
	qer_editorimage		textures/enpro/enwall8a4
	bumpmap				textures/enpro/enwall8a_local
	diffusemap			textures/enpro/enwall8a4
	specularmap			textures/enpro/enwall8a4_s
}

textures/enpro/enwall8a3
{
	qer_editorimage		textures/enpro/enwall8a3
	bumpmap				textures/enpro/enwall8a_local
	diffusemap			textures/enpro/enwall8a3
	specularmap			textures/enpro/enwall8a3_s
}

textures/enpro/enwall8a2
{
	qer_editorimage		textures/enpro/enwall8a2
	bumpmap				textures/enpro/enwall8_local
	diffusemap			textures/enpro/enwall8a2
	specularmap			textures/enpro/enwall8a2_s
}

textures/enpro/enwall8a
{
	qer_editorimage		textures/enpro/enwall8a
	bumpmap				textures/enpro/enwall8a_local
	diffusemap			textures/enpro/enwall8a
	specularmap			textures/enpro/enwall8a_s
}

textures/enpro/enwall8
{
	qer_editorimage		textures/enpro/enwall8
	bumpmap				textures/enpro/enwall8_local
	diffusemap			textures/enpro/enwall8
	specularmap			textures/enpro/enwall8_s
}

textures/enpro/enwall7
{
	qer_editorimage		textures/enpro/enwall7
	bumpmap				textures/enpro/enwall7_local
	diffusemap			textures/enpro/enwall7
	specularmap			textures/enpro/enwall7_s
}

textures/enpro/enwall6
{
	qer_editorimage		textures/enpro/enwall6
	bumpmap				textures/enpro/enwall6_local
	diffusemap			textures/enpro/enwall6
	specularmap			textures/enpro/enwall6_s
}

textures/enpro/enwall5
{
	qer_editorimage		textures/enpro/enwall5_local
	bumpmap				textures/enpro/enwall5_local
	diffusemap			textures/enpro/enwall5
	specularmap			textures/enpro/enwall5_s
}

textures/enpro/enwall4
{
	qer_editorimage		textures/enpro/enwall4
	bumpmap				textures/enpro/enwall4_local
	diffusemap			textures/enpro/enwall4
	specularmap			textures/enpro/enwall4_s
}

textures/enpro/enwall3a
{
	qer_editorimage		textures/enpro/enwall3a
	bumpmap				textures/enpro/enwall3a_local
	diffusemap			textures/enpro/enwall3a
	specularmap			textures/enpro/enwall3a_s
}

textures/enpro/enwall3
{
	qer_editorimage		textures/enpro/enwall3
	bumpmap				textures/enpro/enwall3_local
	diffusemap			textures/enpro/enwall3
	specularmap			textures/enpro/enwall3_s
}

textures/enpro/enwall2
{
	qer_editorimage		textures/enpro/enwall2
	{
		blend			bumpmap				
		map				addnormals (textures/enpro/enwall2_local, heightmap (textures/enpro/enwall2_bmp, 4) )
	}
	diffusemap			textures/enpro/enwall2
	specularmap			textures/enpro/enwall2_s
}

textures/enpro/enwall1a
{
	qer_editorimage		textures/enpro/enwall1a
	bumpmap				textures/enpro/enwall1_local
	diffusemap			textures/enpro/enwall1a
	specularmap			textures/enpro/enwall1a_s
}

textures/enpro/enwall1
{
	qer_editorimage		textures/enpro/enwall1
	bumpmap				textures/enpro/enwall1_local
	diffusemap			textures/enpro/enwall1
	specularmap			textures/enpro/enwall1_s
}



//============================================================================================================
//hell
//============================================================================================================
//
//

textures/hell/hellhole_lavascroll_fade
{
	qer_editorimage	textures/hell/hellhole_lavascroll_fade
	stone
	{
		blend		bumpmap
		map			addnormals (textures/hell/greenrocks_local, heightmap (textures/hell/greenrocks_bmp.tga,8) ) 
	}
	{
        blend		diffusemap			
		map			textures/hell/greenrocks
		rgb			1-parm0
	}
	{
		blend		specularmap			
		map			textures/hell/greenrocks_s
		rgb			1-parm0
	}
	//inverse
	{
		blend		bumpmap
		map			addnormals( textures/hell/lava1_local.tga, heightmap( textures/hell/lava1_h.tga, 9 ) )
		scale		2,2
		translate	(time+parm7)*(-0.2*parm3)+parm5,(time+parm7)*(-0.2*parm3)+parm5
	}
	{
        blend		diffusemap			
		map			textures/hell/lava1
		rgb			parm0
		scale		2,2
		translate	(time+parm7)*(-0.2*parm3)+parm5,(time+parm7)*(-0.2*parm3)+parm5
		
	}
	{
		blend		specularmap			
		map			textures/hell/lava1_s
		rgb			parm0
		scale		2,2
		translate	(time+parm7)*(-0.2*parm3)+parm5,(time+parm7)*(-0.2*parm3)+parm5
	}
	{
		blend		add
		map			textures/hell/lava1fx.tga
		rgb			parm3*fireballtable[ time * .05 ]
		scale		2,2
		translate	(time+parm7)*(-0.1*parm3)+parm6,(time+parm7)*(-0.1*parm3)+parm6
	}
}

textures/rock/sharprock_dark_cracked1
{
	qer_editorimage		textures/rock/sharprock_dark_lava1
	stone

	{
		blend 		bumpmap
		map			addnormals (textures/rock/sharprock_local, heightmap (textures/rock/newdarkrock_bmp.tga, 10) ) 
	}
	{
		blend 		diffusemap
		map			textures/rock/sharprock_dark
		vertexColor
	}
	{
		blend		specularmap
		map			textures/rock/sharprock_dark_s
		vertexColor
	}
	{//black verts
		blend 		bumpmap
		map			addnormals( textures/hell/cracked1_local.tga, heightmap( textures/hell/cracked1_h.tga, 6 ) )
		scale		2,2
	}
	{
		blend 		diffusemap
		map			textures/hell/cracked1.tga
		scale		2,2
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/cracked1_s.tga
		scale		2,2
		inverseVertexColor
	}
}

textures/hell/cracked1_lavascroll
{
	qer_editorimage	textures/hell/cracked1_lavascroll
	{
		blend 		bumpmap
		map			addnormals( textures/hell/cracked1_local.tga, heightmap( textures/hell/cracked1_h.tga, 6 ) )
		scale		2,2
	}
	{
		blend 		diffusemap
		map			textures/hell/cracked1.tga
		scale		2,2
		vertexColor
	}
	{
		blend		specularmap
		map			textures/hell/cracked1_s.tga
		scale		2,2
		vertexColor
	}
	{//black verts
		blend		bumpmap
		map		    addnormals( textures/hell/lava1_local.tga, heightmap( textures/hell/lava1_h.tga, 9 ) )
		scale		2,2
	}
	{
		blend		diffusemap
		map			textures/hell/lavascroll.tga
		scale		2,2
		inverseVertexColor
	}
	{
		map			textures/hell/lavascroll
		scale		2,2
		maskcolor
	}
	{
		blend 		specularmap
		map			textures/hell/lava1_s.tga
		scale		2,2
		translate	time * .02 , time * -0.05
		inverseVertexColor
	}   
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lava1fx.tga
		rgb			fireballtable[ time * .05 ]
		scale		2,2
		translate	time * .01 , time * -0.025
		inverseVertexColor
	}
	{
		blend		gl_dst_alpha , gl_one
		map textures/hell/lava1fx.tga
		rgb			fireballtable[ time * .25  ]
		scale		3,3
		translate	time * -.02 , 1
		inverseVertexColor
	}
}

textures/hell/hhconcrete_bustage
{
	qer_editorimage		textures/hell/hhconcrete_bustage
	stone
	noSelfShadow
    noshadows
	{//white verts
		blend 		bumpmap
		map		    addnormals( textures/hell/hhconcrete_local.tga, heightmap( textures/hell/hhconcrete_h.tga, 8 ) )
		scale		0.5,0.5
	}
	{
		blend 		diffusemap
		map			textures/hell/hhconcrete
		scale		0.5,0.5
		vertexColor
	}
	{
		blend		specularmap
		map			textures/hell/hhconcrete_s
		scale		0.5,0.5
		vertexColor
	}

	{//black verts
		blend		bumpmap
		map		    textures/hell/bustage_local
	}
	{
		blend		diffusemap
		map			textures/hell/bustage
		inverseVertexColor
	}
	{
		blend 		specularmap
		map			textures/hell/bustage_s
		inverseVertexColor
	}   
}

textures/hell/lavascroll_lava21hell_hub
{
	qer_editorimage		textures/hell/lavascroll_lava21hell_hub
	{//white verts
		blend 		bumpmap
		map		    textures/hell/hhlava_local.tga
		translate	time * 0 , time * -0.02
		//scale .35, .35
	}
	{
		blend 		diffusemap
		map			textures/hell/greenrocks
		vertexColor
	}
	{
		blend		specularmap
		map		textures/hell/hhlava_s.tga
		translate	time * 0 , time * -0.02
		//scale .35, .35
		vertexColor
	}
	{

		blend add
		map textures/hell/hhlava_fx.tga
		translate	time * 0 , time * -0.02
		//scale .35, .35
		vertexColor
	}

	{//black verts
		blend		bumpmap
		map		    addnormals( textures/hell/lava1_local.tga, heightmap( textures/hell/lava1_h.tga, 9 ) )
		scale		2,2
	}
	{
		blend		diffusemap
		map			textures/hell/lavascroll.tga
		scale		2,2
		inverseVertexColor
	}
	{
		map				textures/hell/lavascroll
		scale			2,2
		maskcolor
	}
	{
		blend 		specularmap
		map			textures/hell/lava1_s.tga
		scale		2,2
		translate	time * .02 , time * -0.05
		inverseVertexColor
	}   
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lava1fx.tga
		rgb			fireballtable[ time * .05 ]
		scale		2,2
		translate	time * .01 , time * -0.025
		inverseVertexColor
	}
	{
		blend		gl_dst_alpha , gl_one
		map textures/hell/lava1fx.tga
		rgb			fireballtable[ time * .25  ]
		scale		3,3
		translate	time * -.02 , 1
		inverseVertexColor
	}
}
//
//
//

textures/rock/greenrocks2_rockbase
{
	qer_editorimage		textures/hell/greenrocks
	stone

	{
		blend 		bumpmap
		map			addnormals (textures/hell/greenrocks_local, heightmap (textures/hell/greenrocks_bmp.tga,8) )
	}
	{
		blend 		diffusemap
		map			textures/hell/greenrocks
		vertexColor
	}
	{
		blend		specularmap
		map			textures/hell/greenrocks_s
		vertexColor
	}
	{
		blend		bumpmap
		map		    addnormals( textures/hell/rockbase_local.tga, heightmap( textures/hell/rockbase_h.tga, 10 ) )
	}
	{
		blend		diffusemap
		map			textures/hell/rockbase.tga
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/rockbase_s.tga
		inverseVertexColor
	}
}

textures/rock/greenrocks2_lavascroll
{
	qer_editorimage		textures/rock/sharprock_dark_lava1

	{
		blend 			bumpmap
		map				addnormals (textures/hell/greenrocks_local, heightmap (textures/hell/greenrocks_bmp.tga,8) )
	}
	{
		blend 			diffusemap
		map				textures/hell/greenrocks
		vertexColor
	}
	{
		blend			specularmap
		map				textures/hell/greenrocks_s
		vertexColor
	}
	{
		blend			bumpmap
		map				addnormals( textures/hell/lava1_local.tga, heightmap( textures/hell/lava1_h.tga, 9 ) )
		scale			2,2
	}
	{
		blend			diffusemap
		map				textures/hell/lavascroll.tga
		scale			2,2
		inverseVertexColor
	}
	{
		map				textures/hell/lavascroll
		scale			2,2
		maskcolor
	}
	{
		blend 		specularmap
		map			textures/hell/lava1_s.tga
		scale		2,2
		translate	time * .02 , time * -0.05
		inverseVertexColor
	}   
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lava1fx.tga
		red			parm0*fireballtable[ time * .05 ]
		green		parm1*fireballtable[ time *.25 ]
		blue		parm2*fireballtable[ time *.25 ]
		scale		2,2
		translate	time * .01 , time * -0.025
		inverseVertexColor
	}
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lava1fx.tga
		red			parm0*fireballtable[ time *.25 ]
		green		parm1*fireballtable[ time *.25 ]
		blue		parm2*fireballtable[ time * .25  ]
		scale		3,3
		translate	time * -.02 , 1
		inverseVertexColor
	}
}

textures/hell/greenrocks2
{
	qer_editorimage		textures/hell/greenrocks
	stone
	bumpmap				addnormals (textures/hell/greenrocks_local, heightmap (textures/hell/greenrocks_bmp.tga,8) ) 
	diffusemap			textures/hell/greenrocks
	specularmap			textures/hell/greenrocks_s
}

textures/hell/lavascroll
{
	qer_editorimage		textures/hell/lava1.tga
	{
		blend			bumpmap
		map				addnormals( textures/hell/lava1_local.tga, heightmap( textures/hell/lava1_h.tga, 9 ) )
		scale			2,2
	}
	{
		blend			diffusemap
		map				textures/hell/lavascroll.tga
		scale			2,2
	}
	{
		map				textures/hell/lavascroll
		scale			2,2
		maskcolor
	}
	{
		blend 			specularmap
		map				textures/hell/lava1_s.tga
		scale			2,2
		translate		time * -0.02 , time * 0.05
	}   
	{
		blend			gl_dst_alpha , gl_one
		map				textures/hell/lava1fx.tga
		red				parm0*fireballtable[ time * .05 ]
		green			parm1*fireballtable[ time * .05 ]
		blue			parm2*fireballtable[ time * .05 ]
		scale			2,2
		translate		time * .01 , time * -0.025
	}
	{
		blend			gl_dst_alpha , gl_one
		map				textures/hell/lava1fx.tga
		red				parm0*fireballtable[ time *.25 ]
		green			parm1*fireballtable[ time *.25 ]
		blue			parm2*fireballtable[ time *.25 ]
		scale			3,3
		translate		time * -.02 , 1
	}
}



textures/hell/rockfloor
{
	qer_editorimage	textures/hell/rockfloor
	stone
	bumpmap			textures/hell/rockfloor_local
	diffusemap		textures/hell/rockfloor
	specularmap		textures/hell/rockfloor_s
}

textures/hell/wrinklewall_blend //wrinklewall blend to hellanustube2
{
	noselfshadow
	flesh
	{
		blend 		bumpmap
		map			textures/hell/wrinklewall_local
	}
	{
		blend 		diffusemap
		map			textures/hell/wrinklewall
		vertexColor
	}
	{
		blend		specularmap
		map			textures/hell/wrinklewall_s
		vertexColor
	}
	//black color
	{
		blend		bumpmap
		map			textures/hell/hellanustube2_local
	}
	{
		blend		diffusemap
		map			textures/hell/hellanustube2
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/hellanustube2_s
		inverseVertexColor
	}
}

textures/hell/wrinklewall
{
	noselfshadow
	flesh
	qer_editorimage		textures/hell/wrinklewall
	bumpmap				textures/hell/wrinklewall_local
	diffusemap			textures/hell/wrinklewall
	specularmap			textures/hell/wrinklewall_s
}

textures/hell/emitfrompoly_hellhole_bouldersmoke
{
	deform particle hellhole_bouldersmoke
	qer_editorimage textures/common/nodraw.tga
	nonsolid
	noshadows
	{	//even though this draws nothing, i have to do it to get teh particles to emit.
		blend	filter
		map		_white
	}
}

textures/hell/emitfrompoly_delta3bridge
{
	deform particle delta3_bridgesparks
	qer_editorimage textures/common/nodraw.tga
	nonsolid
	noshadows
	{	//even though this draws nothing, i have to do it to get teh particles to emit.
		blend	filter
		map		_white
	}
}

textures/hell/emitfrompoly_smallersparks
{
	deform particle hell_smallersparks
	qer_editorimage textures/common/nodraw.tga
	nonsolid
	noshadows
	{	//even though this draws nothing, i have to do it to get teh particles to emit.
		blend	filter
		map		_white
	}
}

textures/hell/emitfrompoly_sparks
{
	deform particle hell_lavasparks
	qer_editorimage textures/common/nodraw.tga
	nonsolid
	noshadows
	{	//even though this draws nothing, i have to do it to get teh particles to emit.
		blend	filter
		map		_white
	}
}


textures/hell/lfwall27alava
{
	qer_editorimage	textures/hell/lfwall27alava
	//uncolored verts
	{
		blend 		bumpmap
		map			textures/base_wall/lfwall27a_local
	}
	{
		blend 		diffusemap
		map			textures/base_wall/lfwall27a
		vertexColor
	}
	{
		blend		specularmap
		map			textures/base_wall/lfwall27a_s
		vertexColor
	}
	//black colored verts
	{
		blend		bumpmap
		map			textures/hell/lfwall27alava_local
	}
	{
		blend		diffusemap
		map			textures/hell/lfwall27alava_d
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/lfwall27alava_s
		inverseVertexColor
	}
/*	{
		map			textures/hell/lfwall27alava_add
		scale		.5,.5
		maskcolor
	}
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lfwall27alava_add
		scale		.5,.5
		translate	time*.1,time*.1
		rgb			ember1[time*.1]
		inverseVertexColor
	}
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lfwall27alava_add
		scale		.5,.5
		translate	time*.02,time*-.1
		inverseVertexColor
	}*/
}


textures/hell/swiss
{
	qer_editorimage	textures/hell/swiss
	noshadows
	flesh
	bumpmap			textures/hell/swiss_local
	{
		blend		diffusemap	
		map			textures/hell/swiss_d
		alphatest	.5
	}
	specularmap		textures/hell/swiss_s
}

textures/hell/spiderwall
{
	noshadows
	flesh
	qer_editorimage		textures/hell/spiderwall
	{
		blend			bumpmap				
		map				addnormals (textures/hell/spiderwall_local, heightmap (textures/hell/spiderwall_bmp.tga, 4) ) 
	}
	{
		blend			diffusemap			
		map				textures/hell/spiderwall_d
		alphatest		.5
	}
	specularmap			textures/hell/spiderwall_s
}

textures/hell/blackhorn1
{
	qer_editorimage		textures/hell/blackhorn1
	stone
	bumpmap				heightmap (textures/hell/blackhorn1_bmp.tga, 4) 
	diffusemap			textures/hell/blackhorn1
	specularmap			textures/hell/blackhorn1_s
}

textures/hell/hornring2
{
	qer_editorimage		textures/hell/hornring2
	stone
	{
		blend			bumpmap
		map				addnormals (textures/hell/hornring2_local, heightmap (textures/hell/hornring2_bmp.tga, 8) )
		//scale			1,2
	}
	{
		blend			diffusemap		
		map				textures/hell/hornring2
		red				.4
		green			.4
		blue			.4
	}
	{
		blend			specularmap		
		map				textures/hell/hornring2_s 
		rgb				1
	}
}

textures/hell/scowall
{
	qer_editorimage		textures/hell/scowall
	{
		blend			bumpmap
		map				addnormals (textures/hell/scowall_local, heightmap (textures/hell/scowall_bmp.tga, 8) )
		//scale			1,2
	}
	{
		blend			diffusemap		
		map				textures/hell/scowall
		rgb				1
		//scale			1,2
	}
	{
		blend			specularmap		
		map				textures/hell/scowall_s 
		rgb				1
		//scale			1,2
	}
}

textures/hell/avawall3
{
	qer_editorimage		textures/hell/avawall3
	{
		blend			bumpmap
		map				addnormals (textures/hell/avawall_local, heightmap (textures/hell/avawall_bmp.tga, 4) )
	}
	{
		blend			diffusemap		
		map				textures/hell/avawall3
		rgb				.65
	}
	{
		blend			specularmap		
		map				textures/hell/stitches1_s //textures/hell/avawall_s
		rgb				1
	}
}

textures/hell/avawall2
{
	qer_editorimage		textures/hell/avawall2
	{
		blend			bumpmap
		map				addnormals (textures/hell/avawall_local, heightmap (textures/hell/avawall_bmp.tga, 4) )
	}
	{
		blend			diffusemap		
		map				textures/hell/avawall2
		rgb				1
	}
	{
		blend			specularmap		
		map				textures/hell/avawall_s
		rgb				1
	}
}

textures/hell/avawall
{
	qer_editorimage		textures/hell/avawall
	{
		blend			bumpmap
		map				addnormals (textures/hell/avawall_local, heightmap (textures/hell/avawall_bmp.tga, 4) )
	}
	{
		blend			diffusemap		
		map				textures/hell/avawall
		rgb				1
	}
	{
		blend			specularmap		
		map				textures/hell/avawall_s
		rgb				1
	}
}

textures/hell/bladder
{
	qer_editorimage		textures/hell/bladder
	flesh
	translucent
	{
		blend			bumpmap
		map				textures/hell/stitches1_local
	}
	{
		blend			diffusemap
		map				textures/hell/bladder
	}
	{
		blend			specularmap	
		map				textures/hell/stitches1_s
	}
}

textures/hell/intest
{
	qer_editorimage		textures/hell/intest
	flesh
	{
		blend			bumpmap				
		map				addnormals (textures/hell/intest_local, heightmap (textures/hell/intest_bmp.tga, 4) ) 
	}
	{
		blend			diffusemap			
		map				textures/hell/intest_d
		rgb				.4
	}
	specularmap			textures/hell/intest_s
}

textures/hell/ribwall
{
	qer_editorimage	textures/hell/ribwall
	stone
	{
		blend		bumpmap			
		map			addnormals (textures/hell/ribwall_local, heightmap (textures/hell/ribwall_bmp.tga, 4) ) 
	//	translate	1,time*-0.125
	}
	{
		blend		diffusemap		
		map			textures/hell/ribwall
	//	translate	1,time*-0.125
		rgb			.5
	}
	specularmap		textures/hell/stitches1_s
}

textures/hell/sharprock2vertexglow
{
	   qer_editorimage		textures/hell/sharprock2vertexglow
	   stone
	{
		blend		add
		map			textures/hell/lava1fx
		rgb			lavaflicker[time]
		vertexColor
	}
	{
		blend		bumpmap
		map			addnormals( textures/hell/sharprock2_local.tga, heightmap( textures/hell/sharprock2_h.tga, 8 ) )
	}
	{
		blend		diffusemap
		map			textures/hell/sharprock2.tga
	}
	{
		blend 		specularmap
		map			textures/hell/sharprock2_s.tga
    }
} 


textures/hell/leggoo
{
	qer_editorimage		textures/hell/leggoo
	translucent
	DECAL_MACRO
//	nonsolid
//	noimpact
//	noshadows
	{
		blend 			gl_zero,gl_one_minus_src_color
		map				textures/hell/leggoo
	}
}

textures/hell/legs2
{
	qer_editorimage		textures/hell/legs2
	flesh
	noshadows
	{
		blend			bumpmap				
		map				addnormals (textures/hell/legs2_local, heightmap (textures/hell/legs2_bmp.tga, 4) ) 
	}
	{
		blend			diffusemap		
		map				textures/hell/legs2
		alphatest		.5
		rgb				.4
	}
	{
		blend		specularmap		
		map			textures/hell/stitches1_s
		rgb				.5
	}
}

textures/hell/legs1
{
	qer_editorimage		textures/hell/legs1
	flesh
	noshadows
	{
		blend			bumpmap				
		map				addnormals (textures/hell/legs1_local, heightmap (textures/hell/legs1_bmp.tga, 4) ) 
	}
	{
		blend			diffusemap		
		map				textures/hell/legs1
		alphatest		.5
		rgb				.4
	}
	{
		blend		specularmap		
		map			textures/hell/stitches1_s
		rgb			.5
	}
}

textures/hell/boards1
{
	qer_editorimage		textures/hell/boards1
	wood
	{
		blend			bumpmap
		map				addnormals (textures/hell/boards1_local.tga, heightmap (textures/hell/boards1_bmp.tga,4) ) 
	}
		diffusemap		textures/hell/boards1
		specularmap		textures/hell/boards1_s
}

textures/hell/crystal1
{
	translucent
	noshadows
	glass
	qer_editorimage		textures/hell/crystal1_s
	{
		blend			gl_dst_color,gl_one_minus_src_alpha
		map				textures/hell/crystal1
	}
	{
		blend 	add
		cubeMap	env/reactor 
		texgen	reflect
	}
	specularmap			textures/hell/crystal1_s
}

textures/hell/metal1
{
	qer_editorimage		textures/hell/metal1
	{
		blend			bumpmap
		map				addnormals (textures/hell/metal1_local.tga, heightmap (textures/hell/metal1_bmp.tga,4) ) 
	}
		diffusemap		textures/hell/metal1
		specularmap		textures/hell/metal1_s
}

textures/hell/rock1a
{
	qer_editorimage		textures/hell/rock1a
	stone
	{
		blend			bumpmap
		map				addnormals (textures/hell/rock1_local.tga, heightmap (textures/hell/rock1_bmp.tga,9) ) 
	}
		diffusemap		textures/hell/rock1a
}

textures/hell/rock1
{
	qer_editorimage		textures/hell/rock1
	stone
	{
		blend			bumpmap
		map				addnormals (textures/hell/rock1_local.tga, heightmap (textures/hell/rock1_bmp.tga,9) ) 
	}
		diffusemap		textures/hell/rock1
}

textures/hell/bricks1a
{
	qer_editorimage		textures/hell/bricks1a
	stone
	{
		blend			bumpmap
		map				addnormals (textures/hell/bricks1a_local.tga, heightmap (textures/hell/bricks1a_bmp.tga,6) ) 
	}
		diffusemap		textures/hell/bricks1a_d
		specularmap		textures/hell/bricks1a_s
}

textures/hell/bricks1
{
	qer_editorimage		textures/hell/bricks1
	stone
	{
		blend			bumpmap
		map				addnormals (textures/hell/bricks1_local.tga, heightmap (textures/hell/bricks1_bmp.tga,6) ) 
	}
		diffusemap		textures/hell/bricks1_d
		specularmap		textures/hell/bricks1a_s
}

textures/hell/hellfloor2
{
	qer_editorimage		textures/hell/hellfloor2
	stone
	{
		blend			bumpmap
		map				addnormals (textures/hell/hellfloor2_local.tga, heightmap (textures/hell/hellfloor2_bmp.tga, 4) ) 
	}
	{
		blend			diffusemap		
		map				textures/hell/hellfloor2
		rgb				.7
	}
		specularmap		textures/hell/hellfloor2_s
}

textures/hell/hellfloor1
{
	qer_editorimage	textures/hell/hellfloor1
	stone
	{
		blend		bumpmap
		map			addnormals (textures/hell/hellfloor1_local.tga, heightmap (textures/hell/hellfloor1_bmp.tga, 4) ) 
	}
	{
		blend		diffusemap		
		map			textures/hell/hellfloor1
	}
}

textures/hell/bark1b
{
	qer_editorimage	textures/hell/bark1b
	wood
	bumpmap			heightmap (textures/hell/bark1b_bmp.tga, 4)
	diffusemap		textures/hell/bark1b
}

textures/hell/bark1a
{
	qer_editorimage	textures/hell/bark1a
	wood
	bumpmap			heightmap (textures/hell/bark1a_bmp.tga, 4)
	diffusemap		textures/hell/bark1a
}

textures/hell/bark1
{
	qer_editorimage	textures/hell/bark1
	wood
	bumpmap			heightmap (textures/hell/bark1_bmp.tga, 4)
	diffusemap		textures/hell/bark1
}

textures/hell/stitches1_trans
{
	qer_editorimage	textures/hell/stitches1
	stone
	translucent
	noselfshadow
	{
		blend		bumpmap
		map			addnormals (textures/hell/stitches1_local.tga, heightmap (textures/hell/stitches1_bmp.tga, 4) ) 
		translate	1,time*.1
	}
/*	{
		blend		gl_one_minus_dst_color,gl_one_minus_src_color
		map			textures/hell/stitches1
		translate	1,time*.1
		
	}*/
	{
		blend		diffusemap		
		map			textures/hell/stitches1
		translate	1,time*.1
		
	}
	{
		blend		specularmap		
		map			textures/hell/stitches1_s
	}
}

textures/hell/stitches1
{
	qer_editorimage	textures/hell/stitches1
	stone
	noselfshadow
	flesh
	{
		blend		bumpmap
		map			addnormals (textures/hell/stitches1_local.tga, heightmap (textures/hell/stitches1_bmp.tga, 4) ) 
		translate	1,time*.05
	}
	{
		blend		diffusemap		
		map			textures/hell/stitches1
		translate	1,time*.05
		rgb			.3
	}
	{
		blend		specularmap		
		map			textures/hell/stitches1_s
	}
}


textures/hell/blobby1
{
	{
		blend		bumpmap			
		map			heightmap (textures/hell/blobby1_bmp.tga, 6)
		translate	time * -0.05,time * -0.07
	}
	{
		blend		diffusemap
		map			textures/hell/blobby1
		translate	time * -0.05,time * -0.07
	}		
		specularmap		textures/hell/blobby1_s
}


//============================================================================================================
//caves
//============================================================================================================

textures/caves/ice
{
	translucent
	noshadows	
	{
		blend 		bumpmap
		map		heightmap (textures/caves/ice.tga, 1)
	}
	{
		blend 		diffusemap
		map		textures/caves/ice.tga
	}
	{
		blend		specularmap
		map		textures/caves/ice.tga
	}
}

textures/caves/iceblend
{
	translucent
	noshadows
	{
		blend 		bumpmap
		map			heightmap (textures/caves/ice.tga, 1)
	}
	{
		blend 		diffusemap
		map			textures/caves/ice.tga
		vertexColor
	}
	{
		blend		specularmap
		map			textures/caves/ice.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			heightmap (textures/caves/black.tga, 1)
	}
	{
		blend		diffusemap
		map			textures/caves/black.tga
		inverseVertexColor
	}
	{
		blend 		specularmap
		map			textures/caves/black.tga
		inverseVertexColor
	}
}

//============================================================================================================
//weapons
//============================================================================================================


textures/decals/bfg_wallmark
{
	qer_editorimage	textures/decals/bfg_wallmark
	//sort			farthest
	DECAL_MACRO
	decalInfo 0.5 10 ( 1 1 1 10 ) ( -5 -5 -5 0 )
	{
		blend		gl_zero, gl_one_minus_src_alpha
		map			makealpha(models/weapons/bfg/bfg_wallmark_dirt.tga)
		clamp
		vertexColor
    }
	{
		blend		add
		map			models/weapons/bfg/bfg_wallmark
		rgb			.5 * (fadeintable[ time * .5]) + .5
		vertexColor
	}
}

models/weapons/bfg/bfg_flare1
{
	qer_editorimage	models/weapons/bfg/bfg_flare1
	translucent
	nonsolid
	noshadows
	{
		blend		add
		map			models/weapons/bfg/bfg_flare1
		rotate		.65 + bfg_flare1_rotate[time*.5] 
		centerScale	bfg_flare1_scale[time*.5], bfg_flare1_scale[time*.5]
		colored
		//rgb			0
		zeroclamp
	}
	{
		blend		add
		map			models/weapons/bfg/bfg_flare1
		rotate		bfg_flare1_rotate[time*1.5]
		centerScale	bfg_flare1_scale[time*1.5], bfg_flare1_scale[time*1.5]
		colored
		//rgb			0
		zeroclamp
	}
}


models/weapons/bfg/bfgblast2
{
	translucent
	nonsolid
	noshadows
	qer_editorimage	models/weapons/bfg/bfgblast2
	{
		blend		add
		map			models/weapons/bfg/bfgblast2
		rotate		time * 2
		centerscale	bfg_bluescale[time], bfg_bluescale[time]
		zeroclamp
		colored
	}
}

models/weapons/bfg/bfgblast1
{
	translucent
	noshadows
	sort			nearest
	{
		maskcolor
		map			makealpha(models/weapons/bfg/bfgblast1a_mask)
		translate	time *.5, 1
	}
	{	
		blend 		gl_dst_alpha, gl_one
		maskalpha
		map			models/weapons/bfg/bfgblast1
		translate	time * .5 , time * -1
//		scale 		1, bfgblast1table[time *.2]
		red			1*parm0
		green		1*parm1
		blue		.5*parm2
	}
 }


models/weapons/plasmagun/plasmaflash
{
	translucent
	noshadows
	//deform sprite
	{
		blend		add
		map			models/weapons/plasmagun/plasmaflash
	//	zeroclamp
	//	centerScale plasmaflashtable[time * 7], plasmaflashtable[time * 7]
	//	rotate		plasmaflash2table[time * .2]
	}
}

models/weapons/plasmagun/pl_test
{
	translucent
	noshadows
	twosided
	{
		blend		add
		map			models/weapons/plasmagun/plasmashot1
		rotate		time * -2
		centerScale	4, 1
		rotate		time
		zeroclamp
	}

}

models/weapons/plasmagun/plasmashot1
{
	translucent
	noshadows
	twosided
	{
		blend		add
		map			models/weapons/plasmagun/plasmashot2
		red			parm0
		green		parm1
		blue		parm2
	}
}

models/weapons/plasmagun/plasmashot2
{
	translucent
	noshadows
	deform sprite
	//deform	tube
	{
		blend		add
		map			models/weapons/plasmagun/plasmashot2
	}
}

models/weapons/plasmagun/plasmashot3
{
	translucent
	noshadows
	deform sprite
	{
		blend		add
		map			models/weapons/plasmagun/plasmashot3
		colored	
	}
}

/*
models/weapons/plasmagun/pl_test
{
	translucent
	noshadows
	twosided
	//deform sprite
	{
		blend		add
		map			models/weapons/plasmagun/pl_test
		centerScale (1.9 + sintable[time * 2]), (1.9 + sintable[(time * 2) + 0.5])
		rotate		time * .25
		zeroclamp
		rgb  		(sinTable [time*3]+1.75)*0.5
	}
	{
		blend		add
		map			models/weapons/plasmagun/pl_test
		centerScale (1.9 + sintable[(time * 2) + .125]), (1.9 + sintable[(time * 2) + 0.625])
		rotate		.06 + time * .25
		zeroclamp
		rgb  		(sinTable [(time*3) + .125]+1.75)*0.25
	}
	{
		blend		add
		map			models/weapons/plasmagun/pl_test
		centerScale (1.9 + sintable[(time * 2) + .25]), (1.9 + sintable[(time * 2) + 0.75])
		rotate		.12 + time * .25
		zeroclamp
		rgb  		(sinTable [(time*3) + .25]+1.75)*0.125
	}
	{
		blend		add
		map			models/weapons/plasmagun/pl_test2
		rotate		time * 10
		rgb			.1
		zeroclamp
	}
}
*/
models/weapons/plasmagun/pl_glow
{
	translucent
	{
		blend		add
		map			models/weapons/plasmagun/pl_glow
		rgb  		(sinTable [time]+1.35)*0.5
	}
}

models/weapons/plasmagun/pl_can2
{
	unsmoothedTangents
	renderbump  -size 128 128 -aa 3-trace .45 models/weapons/plasmagun/pl_can2_local.tga models/weapons/plasmagun/work/pl_can2_hp.lwo
	{
		blend		bumpmap			
		map			models/weapons/plasmagun/pl_can2_local.tga
		clamp
		
	}
	diffusemap		models/weapons/plasmagun/pl_can2_d.tga
	specularmap		models/weapons/plasmagun/pl_can2_s.tga
}

models/items/bfg_ammo/bfg_ammo_empty
{
	translucent
	renderbump  -size 128 128 -aa 3 models/items/bfg_ammo/bfg_ammo_local.tga models/items/bfg_ammo/work/bfg_ammo_hp.lwo
	{
		blend		bumpmap			
		map			models/items/bfg_ammo/bfg_ammo_local
		clamp
		
	}
	diffusemap		models/items/bfg_ammo/bfg_ammo_d
	specularmap		models/items/bfg_ammo/bfg_ammo_s
}

models/items/bfg_ammo/bfg_ammo_blue
{
	translucent
	renderbump  -size 128 128 -aa 3 models/items/bfg_ammo/bfg_ammo_local.tga models/items/bfg_ammo/work/bfg_ammo_hp.lwo
	{
		blend		bumpmap			
		map			models/items/bfg_ammo/bfg_ammo_local
		clamp
		
	}
	{
		blend		add
		map			_white
		red			.05
		green		.35
		blue		.12
	}
	diffusemap		models/items/bfg_ammo/bfg_ammo_d
	specularmap		models/items/bfg_ammo/bfg_ammo_s
}

models/items/bfg_ammo/bfg_ammo
{
	//unsmoothedTangents
	renderbump  -size 128 128 -aa 3 models/items/bfg_ammo/bfg_ammo_local.tga models/items/bfg_ammo/work/bfg_ammo_hp.lwo
	{
		blend		bumpmap			
		map			models/items/bfg_ammo/bfg_ammo_local
		clamp
		
	}
	diffusemap		models/items/bfg_ammo/bfg_ammo_d
	specularmap		models/items/bfg_ammo/bfg_ammo_s
}

models/weapons/plasmagun/pl_can_empty
{
	renderbump  -size 128 256 -aa 2 models/weapons/plasmagun/pl_can_local.tga models/weapons/plasmagun/work/pl_can_hp.lwo
	translucent
	{
		blend		bumpmap			
		map			models/weapons/plasmagun/pl_can_local.tga
		
	}
	diffusemap		models/weapons/plasmagun/pl_can_d.tga
	specularmap		models/weapons/plasmagun/pl_can_s.tga
}

/***	//seneca  //testmodel models/weapons/bfg/blah.lwo
models/weapons/plasmagun/pl_can_blue
{
	renderbump  -size 128 256 -aa 2 models/weapons/plasmagun/pl_can_local.tga models/weapons/plasmagun/work/pl_can_hp.lwo
	translucent
	{
		blend		bumpmap			
		map			models/weapons/plasmagun/pl_can_local.tga
		
	}
	diffusemap		models/weapons/plasmagun/pl_can_d.tga
	{
		blend		gl_one_minus_dst_alpha,gl_one
		map			_white
		red			.1
		green		.6
		blue		.6
	}
	specularmap		models/weapons/plasmagun/pl_can_s.tga
}
***/

models/weapons/plasmagun/pl_can_green
{
	renderbump  -size 128 256 -aa 2 models/weapons/plasmagun/pl_can_local.tga models/weapons/plasmagun/work/pl_can_hp.lwo
	translucent
	{
		blend		bumpmap			
		map			models/weapons/plasmagun/pl_can_local.tga
		
	}
	diffusemap		models/weapons/plasmagun/pl_can_d.tga
	{
		blend		add
		map			models/weapons/plasmagun/pl_can_green.tga
	}
	specularmap		models/weapons/plasmagun/pl_can_s.tga
}

models/weapons/plasmagun/pl_can_blue
{
	renderbump  -size 128 256 -aa 2 models/weapons/plasmagun/pl_can_local.tga models/weapons/plasmagun/work/pl_can_hp.lwo
	translucent
	{
		blend		bumpmap			
		map			models/weapons/plasmagun/pl_can_local.tga
		
	}
	diffusemap		models/weapons/plasmagun/pl_can_d.tga
	{
		blend		add
		map			models/weapons/plasmagun/pl_can_blue.tga
	}
	specularmap		models/weapons/plasmagun/pl_can_s.tga
}

models/weapons/plasmagun/pl_can_invis
{
	noselfshadow
	renderbump  -size 128 256 -aa 2 models/weapons/plasmagun/pl_can_local.tga models/weapons/plasmagun/work/pl_can_hp.lwo
	{
		blend		bumpmap			
		map			models/weapons/plasmagun/pl_can_local.tga
		
	}
	//diffusemap		models/weapons/plasmagun/pl_can_d.tga
	//specularmap		models/weapons/plasmagun/pl_can_s.tga
	translucent
	{
		blend specularmap
		map	models/invis_s.tga
		translate	time * 0 , time * 0.6
	}

}

models/weapons/plasmagun/pl_can
{
	noselfshadow
	renderbump  -size 128 256 -aa 2 models/weapons/plasmagun/pl_can_local.tga models/weapons/plasmagun/work/pl_can_hp.lwo
	{
		blend		bumpmap			
		map			models/weapons/plasmagun/pl_can_local.tga
		
	}
	diffusemap		models/weapons/plasmagun/pl_can_d.tga
	specularmap		models/weapons/plasmagun/pl_can_s.tga
}

models/weapons/plasmagun/plasmagun_world
{
	renderbump  -size 256 128 -aa 3 -trace .045 models/weapons/plasmagun/plasmagun_world_local.tga models/weapons/plasmagun/work/plasmagun_world_hp.lwo
	{
		blend		bumpmap		
		map			models/weapons/plasmagun/plasmagun_world_local.tga
		
	}
	{
		blend		diffusemap
		map		models/weapons/plasmagun/plasmagun_world_d.tga
		alphatest	.5
	}
	specularmap	models/weapons/plasmagun/plasmagun_world_s.tga
}

models/weapons/plasmagun/plasmagun_world_invis
{
	renderbump  -size 256 128 -aa 3 -trace .045 models/weapons/plasmagun/plasmagun_world_local.tga models/weapons/plasmagun/work/plasmagun_world_hp.lwo
	{
		blend		bumpmap		
		map			models/weapons/plasmagun/plasmagun_world_local.tga
		
	}
	{
		blend		diffusemap
		map		models/weapons/plasmagun/plasmagun_world_d.tga
		alphatest	.5
	}
	translucent
	{
		blend specularmap
		map	models/invis_s.tga
		translate	time * 0 , time * 0.6
	}
}


//============================================================================================================
//mcity
//============================================================================================================



textures/mcity/mchangar15
{
	qer_editorimage		textures/mcity/mchangar15
	bumpmap				textures/mcity/mcityb22_local
	diffusemap			textures/mcity/mchangar15
	specularmap			textures/mcity/mchangar15_s
}

textures/mcity/mchangar14
{
	qer_editorimage		textures/mcity/mchangar14
	bumpmap				textures/mcity/mcityb10_local
	diffusemap			textures/mcity/mchangar14
	specularmap			textures/mcity/mchangar14_s
}

textures/mcity/mchangar13
{
	qer_editorimage		textures/mcity/mchangar13
	bumpmap				textures/mcity/mchangar13_local
	diffusemap			textures/mcity/mchangar13
	specularmap			textures/mcity/mchangar13_s
	{
		blend			add
		map				textures/mcity/mchangar13_add
	}
}

textures/mcity/mchangar12_skysandnew
{
	qer_editorimage	textures/mcity/mchangar12_skysandnew
	{
		blend 		bumpmap
		map			textures/mcity/mchangar12_local
		scale		2,2
	}
	{
		blend 		diffusemap
		map			textures/mcity/mchangar12
		scale		2,2
		vertexColor
	}
	{
		blend		specularmap
		map			textures/mcity/mchangar12_s
		scale		2,2
		vertexColor
	}
	{
		blend		bumpmap
		map			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand2_bmp.tga, 4))
		//scale		.5, .5
	}
	{
		blend		diffusemap
		map			textures/rock/skysand2.tga
		//scale		.5, .5
		inverseVertexColor
	}
}

textures/mcity/mchangar12_scale //this is for d3dm4 where it blends to sand
{
	qer_editorimage		textures/mcity/mchangar12
	{
		blend			bumpmap				
		map				textures/mcity/mchangar12_local
		scale			2,2
	}
	{
		blend			diffusemap			
		map				textures/mcity/mchangar12
		scale			2,2
	}
	{
		blend			specularmap			
		map				textures/mcity/mchangar12_s
		scale			2,2
	}
}

textures/mcity/mchangar12
{
	qer_editorimage		textures/mcity/mchangar12
	bumpmap				textures/mcity/mchangar12_local
	diffusemap			textures/mcity/mchangar12
	specularmap			textures/mcity/mchangar12_s
}

textures/mcity/mchangar11
{
	qer_editorimage		textures/mcity/mchangar11
	bumpmap				textures/mcity/mchangar10_local
	diffusemap			textures/mcity/mchangar11
	specularmap			textures/mcity/mchangar10_s
}

textures/mcity/mchangar10
{
	qer_editorimage		textures/mcity/mchangar10
	bumpmap				textures/mcity/mchangar10_local
	diffusemap			textures/mcity/mchangar10
	specularmap			textures/mcity/mchangar10_s
}

textures/mcity/mchangar9
{
	qer_editorimage		textures/mcity/mchangar9
	bumpmap				textures/mcity/mchangar9_local
	diffusemap			textures/mcity/mchangar9
	specularmap			textures/mcity/mchangar9_s
}

textures/mcity/mchangar8
{
	qer_editorimage		textures/mcity/mchangar8
	bumpmap				textures/mcity/mchangar8_local
	diffusemap			textures/mcity/mchangar8
	specularmap			textures/mcity/mchangar8_s
}

textures/mcity/mchangar7a
{
	qer_editorimage		textures/mcity/mchangar7a
	bumpmap				textures/mcity/mchangar7_local
	diffusemap			textures/mcity/mchangar7a
	specularmap			textures/mcity/mchangar7_s
}

textures/mcity/mchangar7
{
	qer_editorimage		textures/mcity/mchangar7
	bumpmap				textures/mcity/mchangar7_local
	diffusemap			textures/mcity/mchangar7
	specularmap			textures/mcity/mchangar7_s
}

textures/mcity/mchangar6
{
	qer_editorimage		textures/mcity/mchangar6
	bumpmap				textures/mcity/mcityb18_local
	diffusemap			textures/mcity/mchangar6
	specularmap			textures/mcity/mchangar6_s
}

textures/mcity/mchangar5
{
	qer_editorimage		textures/mcity/mchangar5
	bumpmap				textures/mcity/mchangar5_local
	diffusemap			textures/mcity/mchangar5
	specularmap			textures/mcity/mchangar5_s
}

textures/mcity/mchangar4
{
	qer_editorimage		textures/mcity/mchangar4
	bumpmap				textures/mcity/mchangar4_local
	diffusemap			textures/mcity/mchangar4
	specularmap			textures/mcity/mchangar4_s
}

textures/mcity/mchangar3
{
	qer_editorimage		textures/mcity/mchangar3
	bumpmap				textures/mcity/mchangar3_local
	diffusemap			textures/mcity/mchangar3_d
	specularmap			textures/mcity/mchangar3_s
}

textures/mcity/mchangar2
{
	qer_editorimage		textures/mcity/mchangar2
	diffusemap			textures/mcity/mchangar2
	specularmap			textures/mcity/mchangar2_s
}

textures/mcity/mchangar2ns

{
	qer_editorimage		textures/mcity/mchangar2
	noselfshadow
	diffusemap			textures/mcity/mchangar2
	specularmap			textures/mcity/mchangar2_s
}


textures/mcity/mchangar1
{
	qer_editorimage		textures/mcity/mchangar1
	bumpmap				textures/mcity/mcityb11_local
	diffusemap			textures/mcity/mchangar1
	specularmap			textures/mcity/mchangar1_s
}

textures/mcity/stelabwafer3
{
	qer_editorimage		textures/mcity/stelabwafer3
	bumpmap				textures/base_wall/stelabwafer3_local
	diffusemap			textures/mcity/stelabwafer3
	specularmap			textures/mcity/stelabwafer3_s
}

textures/mcity/stelabwafer2
{
	qer_editorimage		textures/mcity/stelabwafer2
	bumpmap				textures/base_wall/stelabwafer2_local
	diffusemap			textures/mcity/stelabwafer2
	specularmap			textures/mcity/stelabwafer2_s
}

textures/mcity/stelabwafer1
{
	qer_editorimage		textures/mcity/stelabwafer1
	bumpmap				textures/base_wall/gholabwafer1_local
	diffusemap			textures/mcity/stelabwafer1
	specularmap			textures/mcity/stelabwafer1_s
}

textures/mcity/minwall13
{
	qer_editorimage		textures/mcity/minwall13
	bumpmap				textures/base_wall/minwall13_local
	diffusemap			textures/mcity/minwall13
	specularmap			textures/mcity/minwall13_s
}

textures/mcity/minwall11
{
	qer_editorimage		textures/mcity/minwall11
	bumpmap				textures/base_wall/minwall11_local
	diffusemap			textures/mcity/minwall11
	specularmap			textures/mcity/minwall11_s
}

textures/mcity/minwall9
{
	qer_editorimage		textures/mcity/minwall9
	bumpmap				textures/base_wall/minwall9_local
	diffusemap			textures/mcity/minwall9
	specularmap			textures/mcity/minwall9_s
}

textures/mcity/minwall8
{
	qer_editorimage		textures/mcity/minwall8
	bumpmap				textures/base_wall/minwall8_local
	diffusemap			textures/mcity/minwall8
	specularmap			textures/mcity/minwall8_s
}

textures/mcity/minwall4
{
	qer_editorimage		textures/mcity/minwall4
	bumpmap				textures/base_wall/ghowall4_local
	diffusemap			textures/mcity/minwall4
	specularmap			textures/mcity/minwall4_s
}

textures/mcity/minwall2
{
	qer_editorimage		textures/mcity/minwall2
	bumpmap				textures/base_wall/ghowall2_local
	diffusemap			textures/mcity/minwall2
	specularmap			textures/mcity/minwall2_s
}

textures/mcity/minwall1
{
	qer_editorimage		textures/mcity/minwall1
	bumpmap				textures/base_wall/ghowall1_local
	diffusemap			textures/mcity/minwall1
	specularmap			textures/mcity/minwall1_s
}

textures/mcity/stewall4
{
	qer_editorimage		textures/mcity/stewall4
	bumpmap				textures/base_wall/stewall4_local
	diffusemap			textures/mcity/stewall4
	specularmap			textures/mcity/stewall4_s
}

textures/mcity/stewall3b
{
	qer_editorimage		textures/mcity/stewall3b
	bumpmap				textures/base_wall/stewall3b_local
	diffusemap			textures/mcity/stewall3b
	specularmap			textures/mcity/stewall3b_s2
}

textures/mcity/stewall2a
{
	qer_editorimage		textures/mcity/stewall2a
	bumpmap				textures/base_wall/stewall2a_local
	diffusemap			textures/mcity/stewall2a
	specularmap			textures/mcity/stewall2a_s
}

textures/mcity/stewall1a
{
	qer_editorimage		textures/mcity/stewall1a
	bumpmap				textures/base_wall/stewall1_local
	diffusemap			textures/mcity/stewall1a
	specularmap			textures/mcity/stewall3b_s
}

textures/mcity/stewall1
{
	qer_editorimage		textures/mcity/stewall1
	bumpmap				textures/base_wall/stewall1_local
	diffusemap			textures/mcity/stewall1
	specularmap			textures/mcity/stewall3b_s
}

// ADDED SPECULAR
textures/mcity/steribwall1
{
	qer_editorimage		textures/mcity/steribwall1
	bumpmap				textures/base_wall/steribwall1_local
	diffusemap			textures/mcity/steribwall1
	specularmap			textures/base_wall/steribwall1_s
}

// ADDED SPECULAR
textures/mcity/stecolumn2
{
	qer_editorimage		textures/mcity/stecolumn2
	bumpmap				textures/base_wall/stecolumn2_local
	diffusemap			textures/mcity/stecolumn2
	//specularmap			textures/mcity/stewall3b_s
	specularmap			textures/mcity/stecolumn2kc_s
}

// ADDED SPECULAR
textures/mcity/stecolumn1a
{
	qer_editorimage		textures/mcity/stecolumn1a
	bumpmap				textures/base_wall/stecolumn1_local
	diffusemap			textures/mcity/stecolumn1a
	//specularmap			textures/mcity/stewall3b_s
	specularmap			textures/mcity/stecolumn1akc_s
}

textures/mcity/stecolumn1
{
	qer_editorimage		textures/mcity/stecolumn1
	bumpmap				textures/base_wall/stecolumn1_local
	diffusemap			textures/mcity/stecolumn1
	specularmap			textures/mcity/stewall3b_s
}

textures/mcity/mchelev
{
		qer_editorimage	textures/mcity/mchelev
		bumpmap			textures/mcity/mchelev_local
		diffusemap		textures/mcity/mchelev
	//	specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc34
{
		qer_editorimage	textures/mcity/mcityc34
		noshadows
		bumpmap			textures/mcity/mcityc34_local
		{
			blend		diffusemap		
			map			textures/mcity/mcityc34_d
			alphatest	.5
		}
		specularmap		textures/mcity/mcityc34_s
		{
			blend		add
			map			textures/mcity/mcityc34_add
			colored
		}
}

textures/mcity/mcityc33
{
		qer_editorimage	textures/mcity/mcityc33
		noshadows
		bumpmap			textures/mcity/mcityc33_local
		{
			blend		diffusemap		
			map			textures/mcity/mcityc33_d
			alphatest	.5
		}
		specularmap		textures/mcity/mcityc33_s
		{
			blend		add
			map			textures/mcity/mcityc33_add
			colored
		}

}

textures/mcity/mcityc32
{
		qer_editorimage	textures/mcity/mcityc32
		bumpmap			textures/mcity/mcityc32_local
		diffusemap		textures/mcity/mcityc32
		specularmap		textures/mcity/mcityc32_s
}

textures/mcity/mcityc31a
{
		qer_editorimage	textures/mcity/mcityc31a
		bumpmap			textures/mcity/mcityc31_local
		diffusemap		textures/mcity/mcityc31a
		specularmap		textures/mcity/mcityc31_s
}

textures/mcity/mcityc31
{
		qer_editorimage	textures/mcity/mcityc31
		bumpmap			textures/mcity/mcityc31_local
		diffusemap		textures/mcity/mcityc31
		specularmap		textures/mcity/mcityc31_s
}

textures/mcity/mcityc30b
{
		qer_editorimage	textures/mcity/mcityc30b
		bumpmap			textures/base_wall/snpanel22_local
		diffusemap		textures/mcity/mcityc30b
		specularmap		textures/mcity/mcityc30_s
}

textures/mcity/mcityc30a
{
		qer_editorimage	textures/mcity/mcityc30a
		bumpmap			textures/base_wall/snpanel22_local
		diffusemap		textures/mcity/mcityc30a
		specularmap		textures/mcity/mcityc30_s
}

textures/mcity/mcityc30
{
		qer_editorimage	textures/mcity/mcityc30
		bumpmap			textures/base_wall/snpanel22_local
		diffusemap		textures/mcity/mcityc30
		specularmap		textures/mcity/mcityc30_s
}

textures/mcity/mcityc29rusty
{
		qer_editorimage	textures/mcity/mcityc29
		bumpmap			textures/mcity/mcityc29_local
		bumpmap		addnormals( textures/mcity/mcityc29_local.tga  , heightmap( textures/mcity/mcityc29rusty_b.tga, 2 ) )
		{
			blend		diffusemap		
			map			textures/mcity/mcityc29rusty_d
			alphatest	.5
		}
		specularmap		textures/mcity/mcityc29rusty_s
		{
			blend		add
			map			textures/mcity/mcityc29rusty_add
			colored
		}
}

textures/mcity/mcityc29
{
		qer_editorimage	textures/mcity/mcityc29
		bumpmap			textures/mcity/mcityc29_local
		{
			blend		diffusemap		
			map			textures/mcity/mcityc29_d
			alphatest	.5
		}
		specularmap		textures/mcity/mcityc29_s
		{
			blend		add
			map			textures/mcity/mcityc29_add
			colored
		}
}

textures/mcity/mcityc28
{
		qer_editorimage	textures/mcity/mcityc28
		bumpmap			textures/mcity/mcityc28_local
		diffusemap		textures/mcity/mcityc28
		specularmap		textures/mcity/mcityc28_s
}

textures/mcity/mcityc27b
{
		qer_editorimage	textures/mcity/mcityc27b
		bumpmap			textures/mcity/mcityc27b_local
		diffusemap		textures/mcity/mcityc27b
		specularmap		textures/mcity/mcityc27b_s
}

textures/mcity/mcityc27a
{
		qer_editorimage	textures/mcity/mcityc27a
		bumpmap			textures/mcity/mcityc27a_local
		diffusemap		textures/mcity/mcityc27a
		specularmap		textures/mcity/mcityc27a_s
}

textures/mcity/mcityc27
{
		qer_editorimage	textures/mcity/mcityc27
		bumpmap			textures/mcity/mcityc27_local
		diffusemap		textures/mcity/mcityc27
		specularmap		textures/mcity/mcityc27_s
}

textures/mcity/mcityc26
{
		qer_editorimage	textures/mcity/mcityc26
		bumpmap			textures/mcity/mcityc26_local
		diffusemap		textures/mcity/mcityc26
		specularmap		textures/mcity/mcityc1_s
}

// ADDED SPECULAR
textures/mcity/mcityc25
{
		qer_editorimage	textures/mcity/mcityc25
		bumpmap			textures/mcity/mcityc25_local
		diffusemap		textures/mcity/mcityc25
		//specularmap		textures/mcity/mcityc1_s
		specularmap		textures/mcity/mcityc25kc_s
}

textures/mcity/mcityc24
{
		qer_editorimage	textures/mcity/mcityc24
		bumpmap			textures/mcity/mcityc24_local
		diffusemap		textures/mcity/mcityc24
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc23c
{
		qer_editorimage	textures/mcity/mcityc23c
		bumpmap			textures/mcity/mcityc23_local
		diffusemap		textures/mcity/mcityc23c
		specularmap		textures/mcity/mcityc23_s
}

textures/mcity/mcityc23b
{
		qer_editorimage	textures/mcity/mcityc23b
		bumpmap			textures/mcity/mcityc23_local
		diffusemap		textures/mcity/mcityc23b
		specularmap		textures/mcity/mcityc23_s
}

textures/mcity/mcityc23a
{
		qer_editorimage	textures/mcity/mcityc23a
		bumpmap			textures/mcity/mcityc23_local
		diffusemap		textures/mcity/mcityc23a
		specularmap		textures/mcity/mcityc23_s
}

textures/mcity/mcityc23
{
		qer_editorimage	textures/mcity/mcityc23
		bumpmap			textures/mcity/mcityc23_local
		diffusemap		textures/mcity/mcityc23
		specularmap		textures/mcity/mcityc23_s
}

textures/mcity/mcityc22
{
		qer_editorimage	textures/mcity/mcityc22
		bumpmap			textures/mcity/mcityc22_local
		diffusemap		textures/mcity/mcityc22
		specularmap		textures/mcity/mcityc22_s
}

textures/mcity/mcityc21
{
		qer_editorimage	textures/mcity/mcityc21
		bumpmap			textures/mcity/mcityc21_local
		diffusemap		textures/mcity/mcityc21
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc20
{
		qer_editorimage	textures/mcity/mcityc20
		bumpmap			textures/mcity/mcityc20_local
		diffusemap		textures/mcity/mcityc20
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc19
{
		qer_editorimage	textures/mcity/mcityc19
		bumpmap			textures/mcity/mcityc19_local
		diffusemap		textures/mcity/mcityc19
		specularmap		textures/mcity/mcityc1_s
	{
		blend			add
		map				textures/mcity/mcityc19_add.tga
		colored
	}
}

textures/mcity/mcityc18d
{
		qer_editorimage	textures/mcity/mcityc18d
		bumpmap			textures/mcity/mcityc18d_local
		diffusemap		textures/mcity/mcityc18d
		specularmap		textures/mcity/mcityc18d_s
}

textures/mcity/mcityc18c
{
		qer_editorimage	textures/mcity/mcityc18c
		bumpmap			textures/mcity/mcityc18c_local
		diffusemap		textures/mcity/mcityc18c
		specularmap		textures/mcity/mcityc18c_s
}

textures/mcity/mcityc18b
{
		qer_editorimage	textures/mcity/mcityc18b
		bumpmap			textures/mcity/mcityc18b_local
		diffusemap		textures/mcity/mcityc18b
		specularmap		textures/mcity/mcityc18b_s
}

textures/mcity/mcityc18a
{
		qer_editorimage	textures/mcity/mcityc18a
		bumpmap			textures/mcity/mcityc18a_local
		diffusemap		textures/mcity/mcityc18a
		specularmap		textures/mcity/mcityc18a_s
}

textures/mcity/mcityc17
{
		qer_editorimage	textures/mcity/mcityc17
		bumpmap			textures/mcity/mcityc17_local
		diffusemap		textures/mcity/mcityc17
		specularmap		textures/mcity/mcityc17_s
}

textures/mcity/mcityc16
{
		qer_editorimage	textures/mcity/mcityc16
		bumpmap			textures/mcity/mcityc16_local
		diffusemap		textures/mcity/mcityc16
		specularmap		textures/mcity/mcityc1_s
}

// ADDED SPECULAR
textures/mcity/mcityc15
{
		qer_editorimage	textures/mcity/mcityc15
		bumpmap			textures/mcity/mcityc15_local
		diffusemap		textures/mcity/mcityc15
		//specularmap		textures/mcity/mcityc1_s
		specularmap		textures/mcity/mcityc15kc_s
}

textures/mcity/mcityc14
{
		qer_editorimage	textures/mcity/mcityc14
		bumpmap			textures/mcity/mcityc14_local
		diffusemap		textures/mcity/mcityc14
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc13a
{
		qer_editorimage	textures/mcity/mcityc13a
		bumpmap			textures/mcity/mcityc13_local
		diffusemap		textures/mcity/mcityc13a
		specularmap		textures/mcity/mcityc13a_s
}
textures/mcity/mcityc13aa
{
		qer_editorimage	textures/mcity/mcityc13aa
		bumpmap			textures/mcity/mcityc13aa_local
		diffusemap		textures/mcity/mcityc13aa
		specularmap		textures/mcity/mcityc13aa_s
}

textures/mcity/mcityc13
{
		qer_editorimage	textures/mcity/mcityc13
		bumpmap			textures/mcity/mcityc13_local
		diffusemap		textures/mcity/mcityc13
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc12
{
		qer_editorimage	textures/mcity/mcityc12
		bumpmap			textures/mcity/mcityc12_local
		diffusemap		textures/mcity/mcityc12
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc11
{
		qer_editorimage	textures/mcity/mcityc11
		bumpmap			textures/mcity/mcityc11_local
		diffusemap		textures/mcity/mcityc11
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc10
{
		qer_editorimage	textures/mcity/mcityc10
		bumpmap			textures/mcity/mcityc10_local
		diffusemap		textures/mcity/mcityc10
		specularmap		textures/mcity/mcityc10_s
}

// ADDED SPECULAR
textures/mcity/mcityc9
{
		qer_editorimage	textures/mcity/mcityc9
		bumpmap			textures/mcity/mcityc9_local
		diffusemap		textures/mcity/mcityc9
		//specularmap		textures/mcity/mcityc9_s
		specularmap		textures/mcity/mcityc9kc_s
}

textures/mcity/mcityc8b
{
		qer_editorimage	textures/mcity/mcityc8b
		bumpmap			textures/mcity/mcityc8_local
		diffusemap		textures/mcity/mcityc8b
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc8a
{
		qer_editorimage	textures/mcity/mcityc8a
		bumpmap			textures/mcity/mcityc8_local
		diffusemap		textures/mcity/mcityc8a
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc8
{
		qer_editorimage	textures/mcity/mcityc8
		bumpmap			textures/mcity/mcityc8_local
		diffusemap		textures/mcity/mcityc8
		specularmap		textures/mcity/mcityc1_s
}

// ADDED SPECULAR
textures/mcity/mcityc7a
{
		qer_editorimage	textures/mcity/mcityc7a
		bumpmap			textures/mcity/mcityc7a_local
		diffusemap		textures/mcity/mcityc7a
		specularmap		textures/mcity/mcityc7akc_s
		//specularmap		textures/mcity/mcityc7a_s
}

// ADDED SPECULAR
textures/mcity/mcityc7
{
		qer_editorimage	textures/mcity/mcityc7
		bumpmap			textures/mcity/mcityc7_local
		diffusemap		textures/mcity/mcityc7
		//specularmap		textures/mcity/mcityc7_s
		specularmap		textures/mcity/mcityc7kc_s
}

// ADDED SPECULAR
textures/mcity/mcityc6_2
{
		qer_editorimage	textures/mcity/mcityc6_2
		bumpmap			textures/mcity/mcityc6_2_local
		diffusemap		textures/mcity/mcityc6_2
		//specularmap		textures/mcity/mcityc1_s
		specularmap		textures/mcity/mcityc6kc_s
}

// ADDED SPECULAR
textures/mcity/mcityc6
{
		qer_editorimage	textures/mcity/mcityc6
		bumpmap			textures/mcity/mcityc6_local
		diffusemap		textures/mcity/mcityc6
		//specularmap		textures/mcity/mcityc1_s
		specularmap		textures/mcity/mcityc6kc_s
}

textures/mcity/mcityc5
{
		qer_editorimage	textures/mcity/mcityc5
		bumpmap			textures/mcity/mcityc5_local
		diffusemap		textures/mcity/mcityc5
		specularmap		textures/mcity/mcityc5_s
}

// ADDED SPECULAR
textures/mcity/mcityc4
{
		qer_editorimage	textures/mcity/mcityc4
		bumpmap			textures/mcity/mcityc4_local
		diffusemap		textures/mcity/mcityc4
		//specularmap		textures/mcity/mcityc1_s
		specularmap		textures/mcity/mcityc4kc_s
}

// ADDED SPECULAR
textures/mcity/mcityc3
{
		qer_editorimage	textures/mcity/mcityc3
		bumpmap			textures/mcity/mcityc3_local
		diffusemap		textures/mcity/mcityc3
		//specularmap		textures/mcity/mcityc1_s
		specularmap		textures/mcity/mcityc3kc_s
}

textures/mcity/mcityc2
{
		qer_editorimage	textures/mcity/mcityc2
		bumpmap			textures/mcity/mcityc2_local
		diffusemap		textures/mcity/mcityc2
		specularmap		textures/mcity/mcityc2_s
}

/**
textures/mcity/mcityc1b
{
		qer_editorimage	textures/mcity/mcityc1b
		bumpmap			textures/mcity/mcityc1_local
		diffusemap		textures/mcity/mcityc1b
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityc1a
{
		qer_editorimage	textures/mcity/mcityc1a
		bumpmap			textures/mcity/mcityc1_local
		diffusemap		textures/mcity/mcityc1a
		specularmap		textures/mcity/mcityc1_s
}
**/

// ADDED SPECULAR
textures/mcity/mcityc1
{
		qer_editorimage	textures/mcity/mcityc1
		bumpmap			textures/mcity/mcityc1_local
		diffusemap		textures/mcity/mcityc1
		//specularmap		textures/mcity/mcityc1_s
		specularmap		textures/mcity/mcityc1kc_s
}

textures/mcity/mcitycplain3
{
		qer_editorimage	textures/mcity/mcitycplain3
		diffusemap		textures/mcity/mcitycplain3
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcitycplain2
{
		qer_editorimage	textures/mcity/mcitycplain2
		diffusemap		textures/mcity/mcitycplain2
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcitycplain1
{
		qer_editorimage	textures/mcity/mcitycplain1
		diffusemap		textures/mcity/mcitycplain1
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcityb24
{
		qer_editorimage	textures/mcity/mcityb24
		bumpmap			textures/mcity/mcityb24_local
		diffusemap		textures/mcity/mcityb24
		{
			blend		add
			map			textures/mcity/mcityb24_add
			rgb			3
		}
}

textures/mcity/mcityb23
{
		qer_editorimage	textures/mcity/mcityb23
		bumpmap			textures/mcity/mcityb23_local
		diffusemap		textures/mcity/mcityb23
}

textures/mcity/mcityb22
{
		qer_editorimage	textures/mcity/mcityb22
		bumpmap			textures/mcity/mcityb22_local
		diffusemap		textures/mcity/mcityb22
}

textures/mcity/mcityb21
{
		qer_editorimage	textures/mcity/mcityb21
		bumpmap			textures/mcity/mcityb21_local
		diffusemap		textures/mcity/mcityb21
}

textures/mcity/mcityb20d
{
		qer_editorimage	textures/mcity/mcityb20d
		bumpmap			textures/mcity/mcityb20_local
		diffusemap		textures/mcity/mcityb20d
		specularmap		textures/mcity/mcityb20_s
}

textures/mcity/mcityb20c
{
		qer_editorimage	textures/mcity/mcityb20c
		bumpmap			textures/mcity/mcityb20_local
		diffusemap		textures/mcity/mcityb20c
		specularmap		textures/mcity/mcityb20_s
}

textures/mcity/mcityb20b
{
		qer_editorimage	textures/mcity/mcityb20b
		bumpmap			textures/mcity/mcityb20_local
		diffusemap		textures/mcity/mcityb20b
	{
		blend			specularmap		
		map				textures/mcity/mcityb20_s
		rgb				.5
	}
}

textures/mcity/mcityb20a
{
		qer_editorimage	textures/mcity/mcityb20a
		bumpmap			textures/mcity/mcityb20_local
		diffusemap		textures/mcity/mcityb20a
		specularmap		textures/mcity/mcityb20_s
}

textures/mcity/mcityb20
{
		qer_editorimage	textures/mcity/mcityb20
		bumpmap			textures/mcity/mcityb20_local
		diffusemap		textures/mcity/mcityb20
		specularmap		textures/mcity/mcityb20_s
}

textures/mcity/mcityb19
{
		qer_editorimage	textures/mcity/mcityb19
		bumpmap			textures/mcity/mcityb19_local
		diffusemap		textures/mcity/mcityb19
}


textures/mcity/mcityb18a
{
		qer_editorimage	textures/mcity/mcityb18a
		bumpmap			textures/mcity/mcityb18_local
		diffusemap		textures/mcity/mcityb18a
		specularmap		textures/mcity/mcityb18a_s
}

textures/mcity/mcityb18
{
		qer_editorimage	textures/mcity/mcityb18
		bumpmap			textures/mcity/mcityb18_local
		diffusemap		textures/mcity/mcityb18
}

textures/mcity/mcityb17b
{
		qer_editorimage	textures/mcity/mcityb17b
		bumpmap			textures/mcity/mcityb17_local
		diffusemap		textures/mcity/mcityb17b
}

textures/mcity/mcityb17a
{
		qer_editorimage	textures/mcity/mcityb17a
		bumpmap			textures/mcity/mcityb17_local
		diffusemap		textures/mcity/mcityb17a
}

textures/mcity/mcityb17
{
		qer_editorimage	textures/mcity/mcityb17
		bumpmap			textures/mcity/mcityb17_local
		diffusemap		textures/mcity/mcityb17
}

textures/mcity/mcityb16
{
		qer_editorimage	textures/mcity/mcityb16
		bumpmap			textures/mcity/mcityb16_local
		diffusemap		textures/mcity/mcityb16
}

textures/mcity/mcityb15
{
		qer_editorimage	textures/mcity/mcityb15
		bumpmap			textures/mcity/mcityb15_local
		diffusemap		textures/mcity/mcityb15
}

textures/mcity/mcityb14
{
		qer_editorimage	textures/mcity/mcityb14
		bumpmap			textures/mcity/mcityb14_local
		diffusemap		textures/mcity/mcityb14
}

textures/mcity/mcityb13
{
		qer_editorimage	textures/mcity/mcityb13
		bumpmap			textures/mcity/mcityb13_local
		diffusemap		textures/mcity/mcityb13
}

textures/mcity/mcityb12
{
		qer_editorimage	textures/mcity/mcityb12
		bumpmap			textures/mcity/mcityb12_local
		diffusemap		textures/mcity/mcityb12
}

textures/mcity/mcityb11c
{
		qer_editorimage	textures/mcity/mcityb11c
		bumpmap			textures/mcity/mcityb11_local
		diffusemap		textures/mcity/mcityb11c
		specularmap		textures/mcity/mcityb11a_s
}

textures/mcity/mcityb11b
{
		qer_editorimage	textures/mcity/mcityb11b
		bumpmap			textures/mcity/mcityb11_local
		diffusemap		textures/mcity/mcityb11b
		specularmap		textures/mcity/mcityb11a_s
}

textures/mcity/mcityb11a
{
		qer_editorimage	textures/mcity/mcityb11a
		bumpmap			textures/mcity/mcityb11_local
		diffusemap		textures/mcity/mcityb11a
		specularmap		textures/mcity/mcityb11a_s
}

textures/mcity/mcityb11
{
		qer_editorimage	textures/mcity/mcityb11
		bumpmap			textures/mcity/mcityb11_local
		diffusemap		textures/mcity/mcityb11
}

textures/mcity/mcityb10
{
		qer_editorimage	textures/mcity/mcityb10
		bumpmap			textures/mcity/mcityb10_local
		diffusemap		textures/mcity/mcityb10
}

textures/mcity/mcityb9
{
		qer_editorimage	textures/mcity/mcityb9
		bumpmap			textures/mcity/mcityb9_local
		diffusemap		textures/mcity/mcityb9
}

textures/mcity/mcityb8
{
		qer_editorimage	textures/mcity/mcityb8
		bumpmap			textures/mcity/mcityb8_local
		diffusemap		textures/mcity/mcityb8
}

textures/mcity/mcityb7c
{
		qer_editorimage	textures/mcity/mcityb7c
		bumpmap			textures/mcity/mcityb7_local
		diffusemap		textures/mcity/mcityb7c
		specularmap		textures/mcity/mcityb7_s
}

textures/mcity/mcityb7b
{
		qer_editorimage	textures/mcity/mcityb7b
		bumpmap			textures/mcity/mcityb7_local
		diffusemap		textures/mcity/mcityb7b
		specularmap		textures/mcity/mcityb7_s
}

textures/mcity/mcityb7a
{
		qer_editorimage	textures/mcity/mcityb7a
		bumpmap			textures/mcity/mcityb7_local
		diffusemap		textures/mcity/mcityb7a
		specularmap		textures/mcity/mcityb7_s
}

textures/mcity/mcityb7
{
		qer_editorimage	textures/mcity/mcityb7
		bumpmap			textures/mcity/mcityb7_local
//		bumpmap			addnormals (textures/mcity/mcityb7_local, heightmap (textures/mcity/mcityb7_add.tga, 4 ) )
		diffusemap		textures/mcity/mcityb7
		specularmap		textures/mcity/mcityb7_s
}

textures/mcity/mcityb6a
{
		qer_editorimage	textures/mcity/mcityb6a
		bumpmap			textures/mcity/mcityb6_local
		diffusemap		textures/mcity/mcityb6a
		//specularmap		textures/mcity/mcityb7_s
}

textures/mcity/mcityb6
{
		qer_editorimage	textures/mcity/mcityb6
		bumpmap			textures/mcity/mcityb6_local
		diffusemap		textures/mcity/mcityb6
}


textures/mcity/mcityb5b
{
		qer_editorimage	textures/mcity/mcityb5b
		bumpmap			textures/mcity/mcityb5_local
		diffusemap		textures/mcity/mcityb5b
		specularmap		textures/mcity/mcityb5_s
}

textures/mcity/mcityb5a
{
		qer_editorimage	textures/mcity/mcityb5a
		bumpmap			textures/mcity/mcityb5_local
		diffusemap		textures/mcity/mcityb5a
		specularmap		textures/mcity/mcityb5_s
}

textures/mcity/mcityb5
{
		qer_editorimage	textures/mcity/mcityb5
		bumpmap			textures/mcity/mcityb5_local
		diffusemap		textures/mcity/mcityb5
		specularmap		textures/mcity/mcityb5_s
}

textures/mcity/mcityb4c
{
		qer_editorimage	textures/mcity/mcityb4c
		bumpmap			textures/mcity/mcityb4c_local
		diffusemap		textures/mcity/mcityb4c
}

textures/mcity/mcityb4b
{
		qer_editorimage	textures/mcity/mcityb4b
		bumpmap			textures/mcity/mcityb4b_local
		diffusemap		textures/mcity/mcityb4b
}

textures/mcity/mcityb4a
{
		qer_editorimage	textures/mcity/mcityb4a
		bumpmap			textures/mcity/mcityb4a_local
		diffusemap		textures/mcity/mcityb4a
}

textures/mcity/mcityb4
{
		qer_editorimage	textures/mcity/mcityb4
		bumpmap			textures/mcity/mcityb4_local
		diffusemap		textures/mcity/mcityb4
}

textures/mcity/mcityb3
{
		qer_editorimage	textures/mcity/mcityb3
		bumpmap			textures/mcity/mcityb3_local
		diffusemap		textures/mcity/mcityb3
}

textures/mcity/mcityb2
{
		qer_editorimage	textures/mcity/mcityb2
		bumpmap			textures/mcity/mcityb2_local
		diffusemap		textures/mcity/mcityb2
//	specularmap		textures/mcity/mcityb2_s
}

textures/mcity/mcityb1b
{
		qer_editorimage	textures/mcity/mcityb1b
		bumpmap			textures/mcity/mcityb1b_local
		diffusemap		textures/mcity/mcityb1b
		specularmap		textures/mcity/mcityb1b_s
}

textures/mcity/mcityb1a
{
		qer_editorimage	textures/mcity/mcityb1a
		bumpmap			textures/mcity/mcityb1a_local
		diffusemap		textures/mcity/mcityb1a
		specularmap		textures/mcity/mcityb1a_s
}

textures/mcity/mcityb1
{
		qer_editorimage	textures/mcity/mcityb1
		bumpmap			textures/mcity/mcityb1_local
		diffusemap		textures/mcity/mcityb1
//		{
//			blend		specularmap		
//			map			_white
//			rgb			.5
//		}
}

textures/mcity/mcitya14
{
		qer_editorimage	textures/mcity/mcitya14
		bumpmap			textures/mcity/mcitya14_local
		diffusemap		textures/mcity/mcitya14_d
		specularmap		textures/mcity/mcitya12_s
	{
		blend			add
		map				textures/mcity/mcitya14_add
		colored
	}
}

textures/mcity/mcitya13a_nolit
{
		qer_editorimage	textures/mcity/mcitya13a
		bumpmap			textures/mcity/mcitya13_local
		diffusemap		textures/mcity/mcitya13a
		specularmap		textures/mcity/mcitya13a_s
}

textures/mcity/mcitya13a
{
		qer_editorimage	textures/mcity/mcitya13a
		bumpmap			textures/mcity/mcitya13_local
		diffusemap		textures/mcity/mcitya13a
		specularmap		textures/mcity/mcitya13a_s
	{
		blend			add
		map				textures/mcity/mcitya13a_add
		colored
	}
}

textures/mcity/mcitya13
{
		qer_editorimage	textures/mcity/mcitya13
		bumpmap			textures/mcity/mcitya13_local
		diffusemap		textures/mcity/mcitya13_d
		specularmap		textures/mcity/mcitya12_s
	{
		blend			add
		map				textures/mcity/mcitya13_add
		colored
	}
}

textures/mcity/mcitya12_2
{
		qer_editorimage	textures/mcity/mcitya12_2
		bumpmap			textures/mcity/mcitya12_local
		diffusemap		textures/mcity/mcitya12_d
		specularmap		textures/mcity/mcitya12_s
	{
		blend			add
		map				textures/mcity/mcitya12_2_add
		colored
	}
}

textures/mcity/mcitya12
{
		qer_editorimage	textures/mcity/mcitya12
		bumpmap			textures/mcity/mcitya12_local
		diffusemap		textures/mcity/mcitya12_d
		specularmap		textures/mcity/mcitya12_s
	{
		blend			add
		map				textures/mcity/mcitya12_add
		colored
	}
}

textures/mcity/mcitya11_3
{
		qer_editorimage	textures/mcity/mcitya11_3
		bumpmap			textures/mcity/mcitya11_local
		diffusemap		textures/mcity/mcitya11_3
		specularmap		textures/mcity/mcitya11_s
}

textures/mcity/mcitya11_2
{
		qer_editorimage	textures/mcity/mcitya11_2
		bumpmap			textures/mcity/mcitya11_local
		diffusemap		textures/mcity/mcitya11_2
		specularmap		textures/mcity/mcitya11_s
}

textures/mcity/mcitya11
{
		qer_editorimage	textures/mcity/mcitya11
		bumpmap			textures/mcity/mcitya11_local
		diffusemap		textures/mcity/mcitya11
		specularmap		textures/mcity/mcitya11_s
}

textures/mcity/mcitya10
{
		qer_editorimage	textures/mcity/mcitya10
		bumpmap			textures/mcity/mcitya10_local
		diffusemap		textures/mcity/mcitya10
		specularmap		textures/mcity/mcitya10_s
}

textures/mcity/mcitya9
{
		qer_editorimage	textures/mcity/mcitya9
		bumpmap			textures/mcity/mcitya9_local
		diffusemap		textures/mcity/mcitya9_d
		specularmap		textures/mcity/mcitya9_s
		{
			blend		add
			map			textures/mcity/mcitya9_add
			colored
		}
}

textures/mcity/mcitya8
{
		qer_editorimage	textures/mcity/mcitya8
		bumpmap			textures/mcity/mcitya8_local
		diffusemap		textures/mcity/mcitya8
		specularmap		textures/mcity/mcitya8_s
}

textures/mcity/mcitya7_3
{
		qer_editorimage	textures/mcity/mcitya7_3
		bumpmap			textures/mcity/mcitya7_local
		diffusemap		textures/mcity/mcitya7_3
		specularmap		textures/mcity/mcitya7_s
}

textures/mcity/mcitya7_2
{
		qer_editorimage	textures/mcity/mcitya7_2
		bumpmap			textures/mcity/mcitya7_local
		diffusemap		textures/mcity/mcitya7_2
		specularmap		textures/mcity/mcitya7_s
}

textures/mcity/mcitya7
{
		qer_editorimage	textures/mcity/mcitya7
		bumpmap			textures/mcity/mcitya7_local
		diffusemap		textures/mcity/mcitya7
		specularmap		textures/mcity/mcitya7_s
}

textures/mcity/mcitya6a2
{
		qer_editorimage	textures/mcity/mcitya6a2
		bumpmap			textures/mcity/mcitya6a_local
		diffusemap		textures/mcity/mcitya6a2
		specularmap		textures/mcity/mcitya6a_s
}

textures/mcity/mcitya6a
{
		qer_editorimage	textures/mcity/mcitya6a
		bumpmap			textures/mcity/mcitya6a_local
		diffusemap		textures/mcity/mcitya6a
		specularmap		textures/mcity/mcitya6a_s
}

textures/mcity/mcitya6_2
{
		qer_editorimage	textures/mcity/mcitya6_2
		bumpmap			textures/mcity/mcitya6_local
		diffusemap		textures/mcity/mcitya6_2
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcitya6
{
		qer_editorimage	textures/mcity/mcitya6
		bumpmap			textures/mcity/mcitya6_local
		diffusemap		textures/mcity/mcitya6
		specularmap		textures/mcity/mcityc1_s
}

textures/mcity/mcitya5_2
{
		qer_editorimage	textures/mcity/mcitya5_2
		bumpmap			textures/mcity/mcitya5_local
		diffusemap		textures/mcity/mcitya5_2
		specularmap		textures/mcity/mcityc1_s
			
}

// ADDED SPECULAR
textures/mcity/mcitya5
{
		qer_editorimage	textures/mcity/mcitya5
		bumpmap			textures/mcity/mcitya5_local
		diffusemap		textures/mcity/mcitya5
		//specularmap		textures/mcity/mcityc1_s
		specularmap		textures/mcity/mcitya5kc_s
}

textures/mcity/mcitya4
{
		qer_editorimage	textures/mcity/mcitya4
		bumpmap			textures/mcity/mcitya4_local
		diffusemap		textures/mcity/mcitya4
		specularmap		textures/mcity/mcitya4_s
}

textures/mcity/mcitya3
{
		qer_editorimage	textures/mcity/mcitya3
		bumpmap			textures/mcity/mcitya3_local
		diffusemap		textures/mcity/mcitya3
		specularmap		textures/mcity/mcitya3_s
}

textures/mcity/mcitya2
{
		qer_editorimage	textures/mcity/mcitya2
		bumpmap			textures/mcity/mcitya2_local
		diffusemap		textures/mcity/mcitya2
		specularmap		textures/mcity/mcitya2_s
}

textures/mcity/mcitya1
{
		qer_editorimage	textures/mcity/mcitya1
		bumpmap			textures/mcity/mcitya1_local
		diffusemap		textures/mcity/mcitya1
		specularmap		textures/mcity/mcitya1_s
}

textures/mcity/mcityfloor1
{
	qer_editorimage			textures/mcity/mcityfloor1
	bumpmap				addnormals (textures/mcity/mcityfloor1_local.tga, heightmap (textures/mcity/mcityfloor1_bmp.tga, 4) )
	diffusemap			textures/mcity/mcityfloor1
	specularmap			textures/mcity/mcityfloor1_s
}

textures/mcity/mcityplain
{	
	qer_editorimage			textures/mcity/mcityplain
	bumpmap				heightmap (textures/mcity/mcityplain.tga, 1)
	diffusemap			textures/mcity/mcityplain
}

textures/mcity/mcityplain2
{	
	qer_editorimage			textures/mcity/mcityplain2
	bumpmap				heightmap (textures/mcity/mcityplain2.tga, 1)
	diffusemap			textures/mcity/mcityplain2
}

textures/mcity/mcityplain3
{	
	qer_editorimage			textures/mcity/mcityplain3
	bumpmap				heightmap (textures/mcity/mcityplain3.tga, 1)
	diffusemap			textures/mcity/mcityplain3
}

textures/mcity/mcityplain4
{	
	qer_editorimage			textures/mcity/mcityplain4
	bumpmap				heightmap (textures/mcity/mcityplain4.tga, 1)
	diffusemap			textures/mcity/mcityplain4
}

textures/mcity/mcityplain5
{	
	qer_editorimage			textures/mcity/mcityplain5
	bumpmap				heightmap (textures/mcity/mcityplain5.tga, 1)
	diffusemap			textures/mcity/mcityplain5
}

textures/mcity/mcityplain6a
{	
	qer_editorimage		textures/mcity/mcityplain6a
	bumpmap				heightmap (textures/mcity/mcityplain6a_bmp.tga, 4)
	diffusemap			textures/mcity/mcityplain6a
	specularmap			textures/mcity/mcityplain6_s
}

textures/mcity/mcityplain6
{	
	qer_editorimage		textures/mcity/mcityplain6
	bumpmap				heightmap (textures/mcity/mcityplain6_bmp.tga, 4)
	diffusemap			textures/mcity/mcityplain6
	specularmap			textures/mcity/mcityplain6_s
}

textures/mcity/mcityplain7
{	
	qer_editorimage			textures/mcity/mcityplain7
	bumpmap				heightmap (textures/mcity/mcityplain6_bmp.tga, 4)
	diffusemap			textures/mcity/mcityplain7
	specularmap			textures/mcity/mcityplain6_s
}


textures/mcity/mcity4
{	
	qer_editorimage			textures/mcity/mcity4
	bumpmap				addnormals (textures/mcity/mcity4_local.tga, heightmap (textures/mcity/mcity4_bmp.tga, 4) )
	diffusemap			textures/mcity/mcity4
	specularmap			textures/mcity/mcity4_s
	{
		blend			add
		map			textures/mcity/mcity4_add.tga
		rgb			3
	}
}

textures/mcity/mcity3
{
	qer_editorimage			textures/mcity/mcity3.tga
	bumpmap				addnormals (textures/mcity/mcity3_local.tga, heightmap (textures/mcity/mcity3_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcity3.tga
	specularmap			textures/mcity/mcity3_s.tga
	{
		blend			add
		map			textures/mcity/mcity3_add.tga
		rgb			3
	}
}

textures/mcity/mcity2a
{
	qer_editorimage			textures/mcity/mcity2a.tga
	bumpmap				addnormals (textures/mcity/mcity2a_local.tga, heightmap (textures/mcity/mcity2a_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcity2a.tga
}

textures/mcity/mcity2
{
	qer_editorimage			textures/mcity/mcity2.tga
	bumpmap				addnormals (textures/mcity/mcity2_local.tga, heightmap (textures/mcity/mcity2_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcity2.tga
}

textures/mcity/mcity1a
{
	qer_editorimage			textures/mcity/mcity1a.tga
	bumpmap				addnormals (textures/mcity/mcity1_local.tga, heightmap (textures/mcity/mcity1_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcity1a.tga
}

textures/mcity/mcity1
{
	qer_editorimage			textures/mcity/mcity1.tga
	bumpmap				addnormals (textures/mcity/mcity1_local.tga, heightmap (textures/mcity/mcity1_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcity1.tga
}


textures/mcity/mcitypipe2a
{
	qer_editorimage			textures/mcity/mcitypipe2a.tga
	bumpmap				addnormals (textures/mcity/mcitypipe1a_local.tga, heightmap (textures/mcity/mcitypipe1a_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcitypipe2a.tga
	specularmap			textures/mcity/mcitypipe2a_s.tga
}

textures/mcity/mcitypipe2
{
	qer_editorimage			textures/mcity/mcitypipe2.tga
	bumpmap				addnormals (textures/mcity/mcitypipe1_local.tga, heightmap (textures/mcity/mcitypipe1_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcitypipe2.tga
	specularmap			textures/mcity/mcitypipe2_s.tga
}

textures/mcity/mcitypipe1as
{
	qer_editorimage			textures/mcity/mcitypipe1a.tga
	bumpmap				addnormals (textures/mcity/mcitypipe1a_local.tga, heightmap (textures/mcity/mcitypipe1a_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcitypipe1a.tga
	specularmap			textures/mcity/mcitypipe1a.tga
}

textures/mcity/mcitypipe1a
{
	qer_editorimage			textures/mcity/mcitypipe1a.tga
	bumpmap				addnormals (textures/mcity/mcitypipe1a_local.tga, heightmap (textures/mcity/mcitypipe1a_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcitypipe1a.tga
}

textures/mcity/mcitypipe1s
{
	qer_editorimage			textures/mcity/mcitypipe1.tga
	bumpmap				addnormals (textures/mcity/mcitypipe1_local.tga, heightmap (textures/mcity/mcitypipe1_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcitypipe1.tga
	specularmap			textures/mcity/mcitypipe1_s.tga
}

textures/mcity/mcitypipe1
{
	qer_editorimage			textures/mcity/mcitypipe1.tga
	bumpmap				addnormals (textures/mcity/mcitypipe1_local.tga, heightmap (textures/mcity/mcitypipe1_bmp.tga, 4 ) )
	diffusemap			textures/mcity/mcitypipe1.tga
}





//============================================================================================================
//wipes
//============================================================================================================
models/wipes/marsatmosphere
{
	translucent
	noshadows
	noselfShadow
	qer_editorimage			models/wipes/marsatmosphere.tga
	{
		blend			add
		map			models/wipes/marsatmosphere.tga
	}
}

models/wipes/marsatmosphere2
{
	translucent
	noshadows
	noselfShadow
	qer_editorimage			models/wipes/marsatmosphere2.tga
	{
		blend			add
		map			models/wipes/marsatmosphere2.tga
	}
}

//============================================================================================================
//base_door
//============================================================================================================

textures/base_door/cpubossdoor
{
	qer_editorimage	textures/base_door/cpubossdoor
	bumpmap			textures/base_door/cpubossdoor_local
	diffusemap		textures/base_door/cpubossdoor
	specularmap		textures/base_door/cpubossdoor_s
}

textures/base_door/smdoor1b
{
	qer_editorimage	textures/base_door/smdoor1b
	bumpmap			addnormals (textures/base_door/smdoor1a_local, heightmap (textures/base_door/smdoor1b_bmp.tga,4) ) 
	diffusemap		textures/base_door/smdoor1b
	specularmap		textures/base_door/smdoor1b_s
}

textures/base_door/smdoor1a
{
	qer_editorimage	textures/base_door/smdoor1a
	bumpmap			textures/base_door/smdoor1a_local
	diffusemap		textures/base_door/smdoor1a
	specularmap		textures/base_door/smdoor1a_s
}

textures/base_door/airdoor_cpu
{
	qer_editorimage	textures/base_door/airdoor_cpu
	bumpmap			textures/base_door/airdoor_cpu_local
	diffusemap		textures/base_door/airdoor_cpu
	specularmap		textures/base_door/airdoor_cpu_s
}

textures/base_door/airwheel_enpro
{
	qer_editorimage	textures/base_door/airwheel_enpro
	bumpmap			textures/base_door/airwheel_local	
	diffusemap		textures/base_door/airwheel_enpro
	specularmap		textures/base_door/airwheel_enpro_s
}

textures/base_door/deldoorgutter2_enpro
{
	qer_editorimage	textures/base_door/deldoorgutter2_enpro
	bumpmap		textures/base_door/deldoorgutter_local
	diffusemap	textures/base_door/deldoorgutter2_enpro
	specularmap	textures/base_door/deldoorgutter2_enpro_s
}

textures/base_door/airdoorfrm_enpro
{
	bumpmap		textures/base_door/airdoorfrm_local
	diffusemap	textures/base_door/airdoorfrm_enpro
	specularmap	textures/base_door/airdoorfrm_enpro_s
}

textures/base_door/airdoor_enpro
{
	bumpmap		addnormals (textures/base_door/airdoor_local, heightmap (textures/base_door/airdoor_bmp, 4) ) 
	diffusemap	textures/base_door/airdoor_enpro
	specularmap	textures/base_door/airdoor_enpro_s
}

textures/base_door/bighangardoors
{
	qer_editorimage		textures/base_door/bighangardoors
	bumpmap				textures/base_door/bighangardoors_local
	diffusemap			textures/base_door/bighangardoors
	specularmap			textures/base_door/bighangardoors_s
}

textures/base_door/jumbofrm_hangar
{
	qer_editorimage		textures/base_door/jumbofrm_hangar
	bumpmap				textures/base_door/jumbofrm_local
	diffusemap			textures/base_door/jumbofrm_hangar
	specularmap			textures/base_door/jumbofrm_hangar_s
}

textures/base_door/jumbodoor_hangar
{
	qer_editorimage		textures/base_door/jumbodoor_hangar
	bumpmap				addnormals (textures/base_door/jumbodoor_local.tga, heightmap (textures/base_door/jumbodoor_bmp.tga, 3 ))
	diffusemap			textures/base_door/jumbodoor_hangar
	specularmap			textures/base_door/jumbodoor_hangar_s
}


textures/base_door/doorsign1
{	
	noshadows
	noimpact
	{
		blend		diffusemap		
		map			textures/base_door/doorsign1
		alphatest	.5
	}
	{
		blend		specularmap		
		map			_white
		rgb			.4
	}
}


textures/base_door/smalldoortex2
{
	qer_editorimage		textures/base_door/smalldoortex2.tga
	noshadows
	twosided
	bumpmap				textures/base_door/smalldoortex2_local.tga
	{
		blend			diffusemap
		map				textures/base_door/smalldoortex2_d.tga
		alphatest		0.55
	}
	specularmap			textures/base_door/smalldoortex2_s.tga
}

textures/base_door/smalldoortex2a
{
	qer_editorimage		textures/base_door/smalldoortex2a.tga
	noshadows
	twosided
	translucent
	bumpmap			textures/base_door/smalldoortex2a_local.tga
	{
		blend		diffusemap
		map		textures/base_door/smalldoortex2a_d.tga
		red		Parm0
		green		Parm1
		blue		Parm2
	}
		specularmap	textures/base_door/smalldoortex2a_s.tga
}

textures/base_door/smalldoortex1a
{
	qer_editorimage		textures/base_door/smalldoortex1a.tga
	bumpmap				textures/base_door/smalldoortex1a_local.tga
	diffusemap			textures/base_door/smalldoortex1a.tga
	specularmap			textures/base_door/smalldoortex1a_s.tga
}

textures/base_door/smalldoortex
{
	qer_editorimage		textures/base_door/smalldoortex.tga
	bumpmap			textures/base_door/smalldoortex_local.tga
	diffusemap		textures/base_door/smalldoortex_d.tga
	specularmap		textures/base_door/smalldoortex_s.tga
}

textures/base_door/smdoor1
{
	qer_editorimage	textures/base_door/smdoor1.tga
	bumpmap			textures/base_door/stedoor1_local.tga
	diffusemap		textures/base_door/smdoor1_d.tga
}

textures/base_door/smdoor1trim
{
	qer_editorimage	textures/base_door/smdoor1trim.tga
	bumpmap			textures/base_door/stedoorpanel1_local.tga
	diffusemap		textures/base_door/smdoor1trim_d.tga
}
	

//============================================================================================================
//outside
//============================================================================================================

textures/outside/outfactory_new9
{
	qer_editorimage		textures/outside/outfactory_new9
	{
		blend			bumpmap				
		map				textures/outside/outfactory_new9_local
		scale			2,1
	}
	diffusemap			textures/outside/outfactory_new9
	specularmap			textures/outside/outfactory_new9_s
}

textures/outside/outfactory_new8
{
	qer_editorimage		textures/outside/outfactory_new8
	bumpmap				textures/outside/outfactory_new8_local
	diffusemap			textures/outside/outfactory_new8
	specularmap			textures/outside/outfactory_new8_s
}

textures/outside/outfactory_new7c
{
	noshadows
	qer_editorimage		textures/outside/outfactory_new7c
	

	bumpmap				addnormals (textures/outside/outfactory_new7c_local, heightmap (textures/outside/outfactory_new7c_bmp.tga,4) ) 
	diffusemap			textures/outside/outfactory_new7c
	specularmap			textures/outside/outfactory_new7c_s
}
textures/outside/outfactory_new7b
{
	qer_editorimage		textures/outside/outfactory_new7b
	bumpmap				textures/outside/outfactory_new7_local
	diffusemap			textures/outside/outfactory_new7b
	specularmap			textures/outside/outfactory_new7_s
}

textures/outside/outfactory_new7a
{
	qer_editorimage		textures/outside/outfactory_new7a
	bumpmap				textures/outside/outfactory_new7_local
	diffusemap			textures/outside/outfactory_new7a
	specularmap			textures/outside/outfactory_new7_s
}

textures/outside/outfactory_new7
{
	qer_editorimage		textures/outside/outfactory_new7
	bumpmap				addnormals (textures/outside/outfactory_new7_local, heightmap (textures/outside/outfactory_new7_bmp.tga,4) ) 
	diffusemap			textures/outside/outfactory_new7
	specularmap			textures/outside/outfactory_new7_s
}



textures/outside/outfactory_new6a
{
	qer_editorimage		textures/outside/outfactory_new6a
	bumpmap				textures/outside/outfactory_new6_local
	diffusemap			textures/outside/outfactory_new6a
	specularmap			textures/outside/outfactory_new6_s
}

textures/outside/outfactory_new6
{
	qer_editorimage		textures/outside/outfactory_new6
	bumpmap				textures/outside/outfactory_new6_local
	diffusemap			textures/outside/outfactory_new6
	specularmap			textures/outside/outfactory_new6_s
}

textures/outside/outfactory_new5b
{
	qer_editorimage		textures/outside/outfactory_new5b
	bumpmap				textures/outside/outfactory_new5_local
	diffusemap			textures/outside/outfactory_new5b
	specularmap			textures/outside/outfactory_new5_s
}

textures/outside/outfactory_new5a
{
	qer_editorimage		textures/outside/outfactory_new5a
	{
		blend			bumpmap	
		map				textures/outside/outfactory_new5_local
	}
	diffusemap			textures/outside/outfactory_new5a
	specularmap			textures/outside/outfactory_new5_s
}

textures/outside/outfactory_new5
{
	qer_editorimage		textures/outside/outfactory_new5
	{
		blend			bumpmap	
	//	map				textures/outside/outfactory_new5_local
		map				addnormals (textures/outside/outfactory_new5_local, heightmap (textures/outside/outfactory_new5_bmp.tga, 4) )
	}
	diffusemap			textures/outside/outfactory_new5
	specularmap			textures/outside/outfactory_new5_s
}

textures/outside/outfactory_new4b2
{
	qer_editorimage		textures/outside/outfactory_new4b2
	{
		blend			bumpmap				
		map				addnormals (textures/outside/outfactory_new4_local, heightmap (textures/outside/outfactory_new4_bmp.tga, 4) )
	}
	diffusemap			textures/outside/outfactory_new4b2
	specularmap			textures/outside/outfactory_new4_s
}

textures/outside/outfactory_new4b
{
	qer_editorimage		textures/outside/outfactory_new4b
	{
		blend			bumpmap				
		map				addnormals (textures/outside/outfactory_new4_local, heightmap (textures/outside/outfactory_new4_bmp.tga, 4) )
	}
	diffusemap			textures/outside/outfactory_new4b
	specularmap			textures/outside/outfactory_new4_s
}

textures/outside/outfactory_new4a2
{
	qer_editorimage		textures/outside/outfactory_new4a2
	{
		blend			bumpmap				
		map				addnormals (textures/outside/outfactory_new4_local, heightmap (textures/outside/outfactory_new4_bmp.tga, 4) )
	}
	diffusemap			textures/outside/outfactory_new4a2
	specularmap			textures/outside/outfactory_new4_s
}

textures/outside/outfactory_new4a
{
	qer_editorimage		textures/outside/outfactory_new4a
	{
		blend			bumpmap				
		map				addnormals (textures/outside/outfactory_new4_local, heightmap (textures/outside/outfactory_new4_bmp.tga, 4) )
	}
	diffusemap			textures/outside/outfactory_new4a
	specularmap			textures/outside/outfactory_new4_s
}

textures/outside/outfactory_new4
{
	qer_editorimage		textures/outside/outfactory_new4
	{
		blend			bumpmap				
		map				addnormals (textures/outside/outfactory_new4_local, heightmap (textures/outside/outfactory_new4_bmp.tga, 4) )
	}
	diffusemap			textures/outside/outfactory_new4
	specularmap			textures/outside/outfactory_new4_s
}

textures/outside/outfactory_new3
{
	qer_editorimage		textures/outside/outfactory_new3
	bumpmap				textures/outside/outfactory_new3_local
	diffusemap			textures/outside/outfactory_new3
	specularmap			textures/outside/outfactory_new3_s
}

textures/outside/outfactory_new2
{
	qer_editorimage		textures/outside/outfactory_new2
	bumpmap				textures/outside/outfactory_new2_local
	diffusemap			textures/outside/outfactory_new2
	specularmap			textures/outside/outfactory_new2_s
	{
		map				textures/outside/outfactory_new2
		maskcolor
	}
	{
		blend			gl_dst_alpha , gl_one
		cameraCubeMap	env/cloudy  
		texgen			reflect
		rgb				.6
	}
}

textures/outside/outfactory_new1
{
	qer_editorimage		textures/outside/outfactory_new1
	bumpmap				textures/outside/outfactory_new1_local
	{
		blend			diffusemap			
		map				textures/outside/outfactory_new1
		scale			0.5,0.5
		rgb				.7
	}
	{
		blend			specularmap			
		map				textures/outside/outfactory_new1_s
		scale			0.5,0.5
	}
}

textures/outside/track
{
	qer_editorimage		textures/outside/track
	bumpmap				textures/outside/track_local
	diffusemap			textures/outside/track
	specularmap			textures/outside/track_s
}

textures/outside/tramwaydoor2
{
	qer_editorimage		textures/outside/tramwaydoor2
{
		blend			bumpmap				
		map				addnormals ( textures/outside/tramwaydoor2_local, heightmap ( textures/outside/tramwaydoor_bmp, 12) )
}
	diffusemap			textures/outside/tramwaydoor2
	{
		blend			specularmap			
		map				textures/outside/tramwaydoor_s
		rgb				0.2
	}
}

textures/outside/tramwaydoor
{
	qer_editorimage		textures/outside/tramwaydoor
{
		blend			bumpmap				
		map				addnormals ( textures/outside/tramwaydoor_local, heightmap ( textures/outside/tramwaydoor_s, 6) )
}
	diffusemap			textures/outside/tramwaydoor
	{
		blend			specularmap			
		map				textures/outside/tramwaydoor_s
		rgb				0.2
	}
}

textures/outside/tram9tex
{
	qer_editorimage		textures/outside/tram9tex
	bumpmap				textures/outside/tram9tex_local
	diffusemap			textures/outside/tram9tex
	{
		blend			specularmap			
		map				textures/outside/tram9tex
		rgb				.5
	}
}

textures/outside/tram8tex
{
	qer_editorimage		textures/outside/tram8tex
	bumpmap				textures/outside/tram8tex_local
	diffusemap			textures/outside/tram8tex
	specularmap			textures/outside/tram8tex_s
}

textures/outside/tram7tex
{
	qer_editorimage		textures/outside/tram7tex
	bumpmap				textures/outside/tram7tex_local
	diffusemap			textures/outside/tram7tex
	specularmap			textures/outside/tram7tex_s
}

textures/outside/tram6tex
{
	qer_editorimage		textures/outside/tram6tex
	bumpmap				textures/outside/tram6tex_local
	diffusemap			textures/outside/tram6tex
	specularmap			textures/outside/tram6tex_s
}

textures/outside/tram5tex
{
	qer_editorimage		textures/outside/tram5tex
	bumpmap				textures/outside/tram5tex_local
	diffusemap			textures/outside/tram5tex
	specularmap			textures/outside/tram5tex_s
}

textures/outside/tram4tex
{
	qer_editorimage		textures/outside/tram4tex
	bumpmap				textures/outside/tram4tex_local
	diffusemap			textures/outside/tram4tex
	{
		blend			specularmap			
		map				textures/outside/tram4tex
		rgb				.2
	}
}

textures/outside/tram3tex2
{
	qer_editorimage		textures/outside/tram3tex
	bumpmap				textures/outside/tram3tex_local
	diffusemap			textures/outside/tram3tex
	specularmap			textures/outside/tram3tex_s
	{
		blend			add
		map				textures/decals/ember2_add3
	}
}

textures/outside/tram3tex
{
	qer_editorimage		textures/outside/tram3tex
	bumpmap				textures/outside/tram3tex_local
	diffusemap			textures/outside/tram3tex
	specularmap			textures/outside/tram3tex_s
}

textures/outside/tram2tex2
{
	qer_editorimage		textures/outside/tram1tex
	{
		blend			bumpmap				
		map				addnormals ( textures/outside/tram2tex_local, heightmap ( textures/outside/tram2tex_bmp, 4) )
	}
	diffusemap			textures/outside/tram2tex2
	specularmap			textures/outside/tram2tex_s
}

textures/outside/tram2tex
{
	qer_editorimage		textures/outside/tram1tex
	bumpmap				textures/outside/tram2tex_local
	diffusemap			textures/outside/tram2tex
	specularmap			textures/outside/tram2tex_s
}

textures/outside/tram1tex2
{
	qer_editorimage		textures/outside/tram1tex
	{
		blend			bumpmap				
		map				addnormals ( textures/outside/tram1tex_local, heightmap ( textures/outside/tram1tex_bmp, 4) )
	}
	diffusemap			textures/outside/tram1tex2
	specularmap			textures/outside/tram1tex_s
}

textures/outside/tram1tex
{
	qer_editorimage		textures/outside/tram1tex
	bumpmap				textures/outside/tram1tex_local
	diffusemap			textures/outside/tram1tex
	specularmap			textures/outside/tram1tex_s
}

textures/outside/outfactory19
{
	qer_editorimage		textures/outside/outfactory19
	bumpmap				addnormals (textures/outside/outfactory19_local, heightmap (textures/outside/outfactory19_d , 2 ) )
	diffusemap			textures/outside/outfactory19_d
	//specularmap			textures/outside/outfactory15_s.tga
}

textures/outside/outfactory18
{
	qer_editorimage		textures/outside/outfactory18
	bumpmap				addnormals (textures/outside/outfactory18_local, heightmap (textures/outside/outfactory18_d , 2 ) )
	diffusemap			textures/outside/outfactory18_d
	specularmap			textures/outside/outfactory14_s.tga
}

textures/outside/outfactory17
{
	qer_editorimage		textures/outside/outfactory17
	bumpmap				addnormals (textures/outside/outfactory17_local, heightmap (textures/outside/outfactory17_d , 2 ) )
	diffusemap			textures/outside/outfactory17_d
}

textures/outside/outfactory16
{
	qer_editorimage		textures/outside/outfactory16
	bumpmap				addnormals (textures/outside/outfactory16_local, heightmap (textures/outside/outfactory16_d , 2 ) )
	diffusemap			textures/outside/outfactory16_d
	//specularmap			textures/outside/outfactory16_s
}

textures/outside/outfactory15a
{
	qer_editorimage		textures/outside/outfactory15
	bumpmap				addnormals (textures/outside/outfactory15_local, heightmap (textures/outside/outfactory15a_d , 2 ) )
	diffusemap			textures/outside/outfactory15a_d
	specularmap			textures/outside/outfactory15_s
}

textures/outside/outfactory15
{
	qer_editorimage		textures/outside/outfactory15
	bumpmap				addnormals (textures/outside/outfactory15_local, heightmap (textures/outside/outfactory15_d , 2 ) )
	diffusemap			textures/outside/outfactory15_d
	specularmap			textures/outside/outfactory15_s
}

textures/outside/outfactory14
{
	qer_editorimage		textures/outside/outfactory14
	bumpmap				addnormals (textures/outside/outfactory14_local, heightmap (textures/outside/outfactory14_d , 3 ) )
	diffusemap			textures/outside/outfactory14_d
	specularmap			textures/outside/outfactory14_s
}

textures/outside/outfactory13
{
	qer_editorimage		textures/outside/outfactory13
	bumpmap				addnormals (textures/outside/outfactory13_local, heightmap (textures/outside/outfactory13_d , 3 ) )
	diffusemap			textures/outside/outfactory13_d
	specularmap			textures/outside/outpipe1_s
}

textures/outside/outfactory12
{
	qer_editorimage		textures/outside/outfactory12
	bumpmap				addnormals (textures/outside/outfactory12_local, heightmap (textures/outside/outfactory12_d , 3 ) )
	diffusemap			textures/outside/outfactory12_d
	specularmap			textures/outside/outpipe1_s
}

textures/outside/outfactory11
{
	qer_editorimage		textures/outside/outfactory11
	bumpmap				addnormals (textures/outside/outfactory11_local, heightmap (textures/outside/outfactory11_d , 3 ) )
	diffusemap			textures/outside/outfactory11_d
	specularmap			textures/outside/outfactory11_s
}

textures/outside/outpipe1
{
	qer_editorimage		textures/outside/outpipe1
	bumpmap				addnormals (textures/outside/outpipe1_local, heightmap (textures/outside/outpipe1_s , 1 ) )
	diffusemap			textures/outside/outpipe1
	specularmap			textures/outside/outpipe1_s
}

textures/outside/outbuildings14
{
	qer_editorimage		textures/outside/outbuildings14.ga
	bumpmap			textures/outside/outbuildings14_local.tga
	diffusemap		textures/outside/outbuildings14.tga
//	specularmap		textures/outside/outbuildings14_s.tga
	{
		blend		add
		map		textures/outside/outbuildings14_add.tga
		rgb		5
	}
}

textures/outside/outbuildings13
{
	qer_editorimage		textures/outside/outbuildings13.ga
	bumpmap			textures/outside/outbuildings13_local.tga
	diffusemap		textures/outside/outbuildings13.tga
//	specularmap		textures/outside/outbuildings13_s.tga
}

textures/outside/outbuildings12
{
	qer_editorimage		textures/outside/outbuildings12.ga
	bumpmap			textures/outside/outbuildings12_local.tga
	diffusemap		textures/outside/outbuildings12.tga
//	specularmap		textures/outside/outbuildings12_s.tga
}

textures/outside/outbuildings11
{
	qer_editorimage		textures/outside/outbuildings11.ga
	bumpmap			textures/outside/outbuildings11_local.tga
	diffusemap		textures/outside/outbuildings11.tga
//	specularmap		textures/outside/outbuildings11_s.tga
}

textures/outside/outbuildings10
{
	qer_editorimage		textures/outside/outbuildings10.ga
	bumpmap			textures/outside/outbuildings10_local.tga
	diffusemap		textures/outside/outbuildings10.tga
//	specularmap		textures/outside/outbuildings10_s.tga
	{
		blend		add
		map		textures/outside/outbuildings10_add.tga
		rgb		5
	}
}

textures/outside/outbuildings9
{
	qer_editorimage		textures/outside/outbuildings9.tga
	bumpmap			textures/outside/outbuildings9_local.tga
	diffusemap		textures/outside/outbuildings9.tga
	specularmap		textures/outside/outbuildings9_s.tga
	{
		blend		add
		map		textures/outside/outbuildings9_add.tga
		rgb		5
	}
}

textures/outside/outbuildings8
{

	qer_editorimage		textures/outside/outbuildings8.tga
	bumpmap			textures/outside/outbuildings8_local.tga
	diffusemap		textures/outside/outbuildings8.tga
//	specularmap		textures/outside/outbuildings8_s.tga
}

textures/outside/outbuildings7
{
	noshadows
	qer_editorimage		textures/outside/outbuildings7.tga
	bumpmap			textures/outside/outbuildings7_local.tga
	{
		blend		diffusemap
		map		textures/outside/outbuildings7.tga
		alphatest	.5
	}
//	specularmap		textures/outside/outbuildings7_s.tga
}

textures/outside/outbuildings6
{
	qer_editorimage		textures/outside/outbuildings6.tga
	bumpmap			textures/outside/outbuildings6_local.tga
	diffusemap		textures/outside/outbuildings6.tga
	specularmap		textures/outside/outbuildings6_s.tga
}

textures/outside/outbuildings5
{
	qer_editorimage		textures/outside/outbuildings5.tga
	bumpmap			textures/outside/outbuildings5_local.tga
	diffusemap		textures/outside/outbuildings5.tga
//	specularmap		textures/outside/outbuildings5_s.tga
}

textures/outside/outbuildings4
{
	noshadows
	qer_editorimage		textures/outside/outbuildings4.tga
	bumpmap			textures/outside/outfactory5_local.tga
	{
		blend		diffusemap
		map		textures/outside/outbuildings4.tga
		alphatest	.2
	}
//	specularmap		textures/outside/outbuildings3_s.tga
}

textures/outside/outbuildings3
{
	qer_editorimage		textures/outside/outbuildings3.tga
	bumpmap			textures/outside/outfactory4_local.tga
	diffusemap		textures/outside/outbuildings3.tga
//	specularmap		textures/outside/outbuildings3_s.tga
	{
		blend		add
		map		textures/outside/outbuildings3_add.tga
		rgb		5
	}
}

textures/outside/outbuildings2
{
	qer_editorimage		textures/outside/outbuildings2.tga
	bumpmap			textures/outside/outbuildings2_local.tga
	diffusemap		textures/outside/outbuildings2.tga
//	specularmap		textures/outside/outbuildings2_s.tga
}

textures/outside/outbuildings1
{
	qer_editorimage		textures/outside/outbuildings1.tga
	bumpmap			textures/outside/outbuildings1_local.tga
	diffusemap		textures/outside/outbuildings1_d.tga
//	specularmap		textures/outside/outbuildings1_s.tga
}

textures/outside/outerpipe
{	
	qer_editorimage		textures/outside/outerpipe.tga
	bumpmap			addnormals (textures/outside/outerpipe_local.tga , heightmap (textures/outside/outerpipe_bmp.tga , 4))
	diffusemap		textures/outside/outerpipe_d.tga
}

textures/outside/outfactory1
{	
	qer_editorimage	textures/outside/outfactory1.tga
	bumpmap			addnormals (textures/outside/outfactory1_local.tga, heightmap (textures/outside/outfactory1_bmp.tga, 4))
	diffusemap		textures/outside/outfactory1_d.tga
}

textures/outside/outfactory2
{	
	qer_editorimage	textures/outside/outfactory2.tga
//	twosided
//	noshadows
	bumpmap			textures/outside/outfactory2_local.tga
	{
		blend		diffusemap
		map			textures/outside/outfactory2_d.tga
		alphatest	0.35
	}
}

textures/outside/outfactory3
{	
	qer_editorimage	textures/outside/outfactory3.tga
//	twosided
//	noshadows
	bumpmap			textures/outside/outfactory3_local.tga
	{
		blend		diffusemap
		map			textures/outside/outfactory3_d.tga
		alphatest	0.35
	}
}

textures/outside/outfactory4
{	
	qer_editorimage	textures/outside/outfactory4.tga
	bumpmap			textures/outside/outfactory4_local.tga
	diffusemap		textures/outside/outfactory4_d.tga
}

textures/outside/outfactory5
{	
	qer_editorimage	textures/outside/outfactory5.tga
	twosided
	noshadows
	bumpmap			textures/outside/outfactory5_local.tga
	{
		blend		diffusemap
		map			textures/outside/outfactory5_d.tga
		alphatest	0.5
	}
}

textures/outside/outfactory6
{	
	qer_editorimage	textures/outside/outfactory6.tga
	bumpmap			textures/outside/outfactory6_local.tga
	diffusemap		textures/outside/outfactory6_d.tga
}

textures/outside/outfactory7
{	
	qer_editorimage	textures/outside/outfactory7.tga
	bumpmap			addnormals (textures/outside/outfactory7_local.tga, heightmap (textures/outside/outfactory7_bmp.tga,4))
	diffusemap		textures/outside/outfactory7_d.tga
}

textures/outside/outfactory8
{	
	qer_editorimage	textures/outside/outfactory8.tga
	bumpmap			addnormals (textures/outside/outfactory8_local.tga, heightmap (textures/outside/outfactory8_bmp.tga,4))
	diffusemap		textures/outside/outfactory8_d.tga
}

textures/outside/outfactory9
{	
	qer_editorimage	textures/outside/outfactory9.tga
	bumpmap			textures/outside/outfactory9_local.tga
	diffusemap		textures/outside/outfactory9_d.tga
}

textures/outside/outfactory10
{	
	qer_editorimage	textures/outside/outfactory10.tga
	bumpmap			textures/outside/outfactory10_local.tga
	diffusemap		textures/outside/outfactory10_d.tga
	specularmap		textures/outside/outfactory10_s.tga
}

textures/outside/redskybuilding1
{	
	qer_editorimage	textures/outside/redskybuilding1.tga
	bumpmap			textures/outside/redskybuilding1_local.tga
	diffusemap		textures/outside/redskybuilding1_d.tga
	specularmap		textures/outside/redskybuilding1_s.tga
}

textures/outside/redskyroadwall2
{	
	qer_editorimage	textures/outside/redskyroadwall2.tga
	{
		blend		bumpmap
		map			addnormals ( textures/outside/redskyroadwall2_local.tga, heightmap (textures/outside/redskyroadwall2_bmp.tga, 4) )
	}
	diffusemap		textures/outside/redskyroadwall2_d.tga
	specularmap		textures/outside/redskyroadwall2_s.tga
}

textures/outside/redskyroadwall
{	
	qer_editorimage	textures/outside/redskyroadwall.tga
	{
		blend		bumpmap
		map			addnormals ( textures/outside/redskyroadwall_local.tga, heightmap (textures/outside/redskyroadwall_bmp.tga, 4) )
	}
	diffusemap		textures/outside/redskyroadwall_d.tga
	specularmap		textures/outside/redskyroadwall_s.tga
}



//============================================================================================================
//skies
//============================================================================================================

table deserttable { { .3, .2, .12, .4, .1, .5, .32, .15, .1, .12, .15, .12, .15, .3, .5, .12, .15, 1, 0, 1, .5, .1, .4, .15, .12, .15, .18, 1, .1, .11, .15, .2, .1, .2, .1, .12, .12, .3, .2, .1, .1, .1, .2, .14, .14, .1, .2, .05, .2, .3, .1, .12, .1, .1, .1, .13, .14, .1, .14, .21, 0, 1, .5, .1, .4, .15, .1, .12, .14, .1 } }

textures/skies/colortest
{
	noFragment
	forceOpaque
	noshadows
	{
		blend		add		// so transparent windows can draw on top of it
		cameraCubeMap	env/cloudy
		texgen		skybox
	}
}

textures/skies/desertlightning
{
	noFragment
	forceOpaque				// so transparent windows can draw on top of it
	noshadows
	{
		blend			add		// so transparent windows can draw on top of it
		cameraCubeMap	env/desert
		texgen			skybox
		red 			( deserttable [Parm4 + (time * 0.1) ]) * Parm0
		green 			( deserttable [Parm4 + (time * 0.1) ]) * Parm1
		blue 			( deserttable [Parm4 + (time * 0.1) ]) * Parm2	
	}
}

textures/skies/desert
{
	noFragment
	noshadows
	noimpact
	forceOpaque		
	{
		blend			add	
		cameraCubeMap	env/desert
		texgen			skybox
	}
}

textures/skies/commoutside
{
	noFragment
	noshadows
	noimpact
	forceOpaque		
	{
		blend			add	
		cameraCubeMap	env/cloudy //desert
		texgen			skybox
		red				.75//Parm0 * xray02table[ time * .1 ]
		green			.75//Parm1 * xray02table[ time * .1 ]
		blue			.75//Parm2 * xray02table[ time * .1 ]
	}
}


//============================================================================================================
//rock
//============================================================================================================

textures/rock/zbtest
{
	qer_editorimage		textures/rock/zbtest
	stone
	{
		blend			bumpmap				
		map				textures/rock/zbtest_local
		//map				heightmap (textures/rock/zbtest, 30)
		
	}
	{
		blend			diffusemap			
		map				textures/rock/zbtest
	}
	{
		blend			specularmap		
		map				textures/rock/zbtest_s
	}
}


textures/rock/sharprocklava
{
	qer_editorimage		textures/rock/sharprocklava
	stone
	bumpmap				textures/rock/sharprocklava_local
	diffusemap			textures/rock/sharprocklava
	specularmap			textures/rock/sharprocklava
	{
		map			textures/hell/lfwall27alava_add
		scale		.5,.5
		maskcolor
	}
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lfwall27alava_add
		translate	time*.1,time*.1
		rgb			ember1[time*.1]
		inverseVertexColor
	}
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lfwall27alava_add
		translate	time*.02,time*-.1
		inverseVertexColor
	}
}

textures/rock/sharprock_dark_dirt02noshadow
{
	qer_editorimage		textures/rock/sharprock_dark_lava1
	stone

	{
		blend 		bumpmap
		map			addnormals( textures/hell/dirt02_local.tga, heightmap( textures/hell/dirt02_h.tga, 8 ) )
		scale		2,2

	}
	{
		blend 		diffusemap
		map			textures/hell/dirt02.tga
		scale		2,2
		vertexColor
	}
	{
		blend		specularmap
		map			textures/hell/dirt02_s.tga
		scale		2,2
		vertexColor
	}
	{
		blend		bumpmap
		map			addnormals (textures/rock/sharprock_local, heightmap (textures/rock/newdarkrock_bmp.tga, 10) ) 
	}
	{
		blend		diffusemap
		map			textures/rock/sharprock_dark
		inverseVertexColor
	}
	{
		blend 		specularmap
		map			textures/rock/sharprock_dark_s
		inverseVertexColor
	}   
}

textures/rock/sharprock_dark_lavascroll
{
	qer_editorimage		textures/rock/sharprock_dark_lava1
	stone
	{
		blend 		bumpmap
		map			addnormals (textures/rock/sharprock_local, heightmap (textures/rock/newdarkrock_bmp.tga, 10) ) 
	}
	{
		blend 		diffusemap
		map			textures/rock/sharprock_dark
		vertexColor
	}
	{
		blend		specularmap
		map			textures/rock/sharprock_dark_s
		vertexColor
	}
	{
		blend		bumpmap
		map		    addnormals( textures/hell/lava1_local.tga, heightmap( textures/hell/lava1_h.tga, 9 ) )
		scale		2,2
	}
	{
		blend		diffusemap
		map			textures/hell/lavascroll.tga
		scale		2,2
		inverseVertexColor
	}
	{
		map				textures/hell/lavascroll
		scale			2,2
		maskcolor
	}
	{
		blend 		specularmap
		map			textures/hell/lava1_s.tga
		scale		2,2
		translate	time * .02 , time * -0.05
		inverseVertexColor
	}   
	{
		blend		gl_dst_alpha , gl_one
		map			textures/hell/lava1fx.tga
		rgb			fireballtable[ time * .05 ]
		scale		2,2
		translate	time * .01 , time * -0.025
		inverseVertexColor
	}
	{
		blend		gl_dst_alpha , gl_one
		map textures/hell/lava1fx.tga
		rgb			fireballtable[ time * .25  ]
		scale		3,3
		translate	time * -.02 , 1
		inverseVertexColor
	}
}

textures/rock/sharprock_dark
{
	qer_editorimage		textures/rock/sharprock_dark
	stone
	bumpmap				addnormals (textures/rock/sharprock_local, heightmap (textures/rock/newdarkrock_bmp.tga, 10) ) 
	diffusemap			textures/rock/sharprock_dark
	specularmap			textures/rock/sharprock_dark_s
}

textures/rock/sharprock
{
//	noselfshadow
	qer_editorimage		textures/rock/sharprock
	stone
	bumpmap				addnormals (textures/rock/sharprock_local, heightmap (textures/rock/newdarkrock_bmp.tga, 10) ) 
	diffusemap			textures/rock/sharprock
	specularmap			textures/rock/sharprock_s
}

textures/rock/skysandnew_sharprock_dark  //sharp rock blend to sand
{
	qer_editorimage	textures/rock/skysandnew_sharprock
	stone
	{
		blend 		bumpmap
		map			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand2_bmp.tga, 4))
	}
	{
		blend 		diffusemap
		map			textures/rock/skysand2.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			addnormals (textures/rock/sharprock_local, heightmap (textures/rock/newdarkrock_bmp.tga, 10) )
	}
	{
		blend		diffusemap
		map			textures/rock/sharprock_dark
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/rock/sharprock_dark_s
		inverseVertexColor
	}
}

textures/rock/skysandnew_sharprock  //sharp rock blend to sand
{
	qer_editorimage	textures/rock/skysandnew_sharprock
	stone
	{
		blend 		bumpmap
		map			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand2_bmp.tga, 4))
	}
	{
		blend 		diffusemap
		map			textures/rock/skysand2.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			addnormals (textures/rock/sharprock_local, heightmap (textures/rock/newdarkrock_bmp.tga, 10) )
	}
	{
		blend		diffusemap
		map			textures/rock/sharprock
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/rock/sharprock_s
		inverseVertexColor
	}
}

textures/rock/sharprockblend  //sharp rock blend to sand
{
	qer_editorimage	textures/rock/sharprockblend
	stone
	{
		blend 		bumpmap
		map			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand1_bmp.tga, 4))
	}
	{
		blend 		diffusemap
		map			textures/rock/skysand1_d.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			addnormals (textures/rock/sharprock_local, heightmap (textures/rock/newdarkrock_bmp.tga, 10) )
	}
	{
		blend		diffusemap
		map			textures/rock/sharprock
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/rock/sharprock_s
		inverseVertexColor
	}
}

textures/rock/sandblend2  //old sand blend texture
{
	qer_editorimage	textures/rock/sandblend2
	stone
	{
		blend 		bumpmap
		map			heightmap (textures/rock/skysand1_bmp.tga, 4)
	}
	{
		blend 		diffusemap
		map			textures/rock/skysand1_d.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			heightmap (textures/rock/rock01_h.tga, 24)
	}
	{
		blend		diffusemap
		map			textures/rock/rock01_d.tga
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/rock/rock01_s.tga
		inverseVertexColor
	}
}

textures/rock/newdarkrock //new rock texture (zoo rock walls)
{
	qer_editorimage		textures/rock/newdarkrock.tga
	stone
	bumpmap				addnormals	(textures/rock/newdarkrock_local.tga, heightmap (textures/rock/newdarkrock_bmp.tga, 12))
	diffusemap			textures/rock/newdarkrock.tga
	specularmap			textures/rock/newdarkrock_s.tga
}

textures/rock/skysandnew_newdarkrock //new rock texture(zoo rock) that blends into new sand
{
	qer_editorimage	textures/rock/skysandnew_newdarkrock 
	stone
	{
		blend 		bumpmap
		map			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand2_bmp.tga, 4))
	}
	{
		blend 		diffusemap
		map			textures/rock/skysand2.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			addnormals (textures/rock/newdarkrock_local.tga, heightmap (textures/rock/newdarkrock_bmp.tga, 12))
	}
	{
		blend		diffusemap
		map			textures/rock/newdarkrock.tga
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/rock/newdarkrock_s.tga
		inverseVertexColor
	}
}
textures/rock/newdarkrockblend //new rock texture that blends into sand
{
	qer_editorimage	textures/rock/newdarkrockblend
	stone
	{
		blend 		bumpmap
		map			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand1_bmp.tga, 4))
	}
	{
		blend 		diffusemap
		map			textures/rock/skysand1_d.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			addnormals (textures/rock/newdarkrock_local.tga, heightmap (textures/rock/newdarkrock_bmp.tga, 12))
	}
	{
		blend		diffusemap
		map			textures/rock/newdarkrock.tga
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/rock/newdarkrock_s.tga
		inverseVertexColor
	}
}

textures/rock/skysandnew_oldrock
{
	qer_editorimage	textures/rock/skysandnew_oldrock
	stone
	{
		blend 		bumpmap
		map			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand2_bmp.tga, 4))
	}
	{
		blend 		diffusemap
		map			textures/rock/skysand2.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			heightmap (textures/rock/skyrock1_bmp.tga, 4)
	}
	{
		blend		diffusemap
		map			textures/rock/skyrock1_d.tga
		inverseVertexColor
	}
}

textures/rock/sandblend
{
	qer_editorimage	textures/rock/sandblend
	stone
	{
		blend 		bumpmap
		map			heightmap (textures/rock/skysand1_bmp.tga, 4)
	}
	{
		blend 		diffusemap
		map			textures/rock/skysand1_d.tga
		vertexColor
	}
	{
		blend		bumpmap
		map			heightmap (textures/rock/skyrock1_bmp.tga, 4)
	}
	{
		blend		diffusemap
		map			textures/rock/skyrock1_d.tga
		inverseVertexColor
	}
}

textures/rock/skyrock1
{	
	qer_editorimage	textures/rock/skyrock1.tga
	stone
/*	{
		blend		bumpmap			
		//map			addnormals (textures/outside/rocks_local.tga, heightmap (textures/rock/skyrock1_bmp.tga, 12) ) 
		map			textures/outside/rocks_local.tga
		scale		.5,.5
	}
	*/
	bumpmap			heightmap (textures/rock/skyrock1_bmp.tga, 30)
	diffusemap		textures/rock/skyrock1_d.tga
//	specularmap		textures/rock/skyrock1_s.tga
}

textures/rock/skysandnew
{
	qer_editorimage	textures/rock/skysandnew.tga
	stone
	bumpmap			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand2_bmp.tga, 4))
	diffusemap		textures/rock/skysand2.tga
}

textures/rock/skysand1
{
	qer_editorimage	textures/rock/skysand1.tga
	stone
	bumpmap			addnormals (textures/rock/skysand1_local.tga, heightmap (textures/rock/skysand1_bmp.tga, 4))
	diffusemap		textures/rock/skysand1_d.tga
}

textures/rock/skysand1ns
{
	noshadows
	qer_editorimage	textures/rock/skysand1.tga
	stone
	bumpmap			heightmap (textures/rock/skysand1_bmp.tga, 4)
	diffusemap		textures/rock/skysand1_d.tga
	specularmap		textures/rock/skysand1_s.tga
}


//============================================================================================================
//monsters
//============================================================================================================


models/monsters/cacodemon/caco_shot
{
	translucent
	noshadows
	sort			nearest
	{
		maskcolor
		map			makealpha(models/weapons/bfg/bfgblast1_mask)
		translate	time *.5, 1
	}
	{	
		blend 		gl_dst_alpha, gl_one
		maskalpha
		map			models/weapons/bfg/bfgblast1a
		translate	time * .5 , time * -1
		scale 		1, bfgblast1table[time *.2]
	}
 }



models/monsters/cyberdemon/cyberdemon
{
	unsmoothedTangents
	//noselfshadow
	renderbump  -size 1024 1024 -aa 2 -colormap models/monsters/cyberdemon/cyberdemon_local.tga models/monsters/cyberdemon/work/cyberdemonZB_hp.lwo
	{
		blend	bumpmap
		map	addnormals (models/monsters/cyberdemon/cyberdemon_local, heightmap (models/monsters/cyberdemon/cyberdemon_bmp, 6) )
		
	}
	{
		blend diffusemap
		map	models/monsters/cyberdemon/cyberdemon
		//
		
		alphatest .5
	}
	specularmap	models/monsters/cyberdemon/cyberdemon_s
}	

//============================================================================================================
//decals
//============================================================================================================


textures/decals/hellhole_glow
{
	qer_editorimage textures/decals/hellhole_glow
	DECAL_MACRO
	noShadows
	nonsolid
	noimpact
	translucent
	spectrum 2
	{       
      	blend	diffusemap
		map		textures/decals/hellhole_glow
		translate	1,time
	}
}

textures/decals/blood_drip1
{
	qer_editorimage		textures/decals/blood_drip1
	translucent
	decal_macro
	{
		blend			filter
		map				textures/decals/blood_drip1
		translate		1,time*-0.1
	}
	{
		blend			filter
		map				textures/decals/blood_drip1a
		translate		1,time*-0.02
	}
}

textures/decals/crack
{
	qer_editorimage		textures/decals/crack
	noshadows
	bumpmap			heightmap (textures/decals/crack_bmp, 4) 
	{
		blend			diffusemap
		map				textures/decals/crack_d
		alphatest		.1
	}
}

textures/decals/btest
{
	qer_editorimage		textures/decals/btest
	noshadows
	nonsolid
	noimpact
	bumpmap				textures/decals/btest_local
	{
		blend			diffusemap			
		map				textures/decals/btest_d
		alphatest		.1
	}
	specularmap			textures/decals/btest_s
	{
		blend			filter
		map				textures/decals/btest_filter
		ignoreAlphaTest
	}
}

textures/decals/expmark1
{
	qer_editorimage		textures/decals/expmark1
	noshadows
	translucent
	{
		blend			filter
		map				textures/decals/expmark1
		
	}
}

textures/decals/ceilvent2
{
	qer_editorimage		textures/decals/ceilvent2
	noshadows
	bumpmap				textures/decals/ceilvent2_local
	{
		blend			diffusemap
		map				textures/decals/ceilvent2_d
		alphatest		.5
	}
	specularmap			textures/decals/ceilvent2_s
}

textures/decals/ceilvent1
{
	qer_editorimage		textures/decals/ceilvent1
	noshadows
	bumpmap				textures/decals/ceilvent1_local
	{
		blend			diffusemap
		map				textures/decals/ceilvent1_d
		alphatest		.5
	}
	specularmap			textures/decals/ceilvent1_s
}

textures/decals/uac4490
{
	qer_editorimage		textures/decals/uac4490
	noshadows
	translucent
	{
		blend			diffusemap
		map				textures/decals/uac4490
	}
}

textures/decals/mixom1
{
	qer_editorimage		textures/decals/mixom1
	translucent
	nonsolid
	{
		blend			diffusemap			
		map				textures/decals/mixom1
		colored
	}
}

textures/decals/mixom2
{
	qer_editorimage		textures/decals/mixom2
	translucent
	nonsolid
	{
		blend			diffusemap			
		map				textures/decals/mixom2_d
		colored
	}
}

textures/decals/cpusign1
{
	qer_editorimage		textures/decals/cpusign1
	nonsolid
	{
		blend			diffusemap		
		map				textures/decals/cpusign1
		alphatest		.55
	}
	{
		blend		specularmap		
		map			_white
		rgb			.4
	}
}

textures/decals/scratches
{
	qer_editorimage		textures/decals/scratches.tga	
	translucent
			nonsolid
			noimpact
	diffusemap		textures/decals/scratches.tga
}	

textures/decals/uacosticker2
{
	qer_editorimage		textures/decals/uacosticker2.tga
			nonsolid
			noimpact
	translucent
	diffusemap		textures/decals/uacosticker2.tga
}	

textures/decals/uacosticker
{
	qer_editorimage		textures/decals/uacosticker.tga
			nonsolid
			noimpact
	translucent
	diffusemap		textures/decals/uacosticker.tga
}	

textures/decals/redsticker3
{
	qer_editorimage		textures/decals/redsticker3.tga
			nonsolid
			noimpact
	translucent
	diffusemap		textures/decals/redsticker3.tga
}	

textures/decals/redsticker2
{
	qer_editorimage		textures/decals/redsticker2.tga
			nonsolid
			noimpact
	translucent
	diffusemap		textures/decals/redsticker2.tga
}	

textures/decals/redsticker1
{
	qer_editorimage		textures/decals/redsticker1.tga
			nonsolid
			noimpact
	translucent
	diffusemap		textures/decals/redsticker1.tga
}	

textures/decals/hangingwires_shadow
{
	qer_editorimage		textures/decals/hangingwires_shadow
	translucent  
	{
		blend 			gl_dst_color,gl_zero
		map				textures/decals/hangingwires_shadow
	}	
}

textures/decals/hangingwires
{
			nonsolid
	noimpact
	noshadows
	qer_editorimage		textures/decals/hangingwires.tga
	bumpmap			textures/decals/hangingwires_local.tga
	{
		blend		diffusemap
		map		textures/decals/hangingwires_d.tga
		alphatest	.25
	}
	specularmap		textures/decals/hangingwires_s.tga
}

textures/decals/hangingwires2sided
{
	twoSided
			nonsolid
	noimpact
	noshadows
	qer_editorimage		textures/decals/hangingwires.tga
	bumpmap			textures/decals/hangingwires_local.tga
	{
		blend		diffusemap
		map		textures/decals/hangingwires_d.tga
		alphatest	.25
	}
	specularmap		textures/decals/hangingwires_s.tga
}

textures/decals/bloodpool1
{
	DECAL_MACRO
	blood

	qer_editorimage	textures/decals/bloodpool1.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/bloodpool1.tga
		colored
	}	
}

textures/decals/splat17
{
	//DECAL_MACRO
	//blood
	noshadows
	translucent
	sort decal
	nonsolid
	qer_editorimage	textures/decals/splat17.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat17.tga
		colored
	}	
}

textures/decals/splat16
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat16.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat16.tga
		colored
	}	
}
		
textures/decals/splat15
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat15.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat15.tga
		colored
	}	
}

textures/decals/splat14
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat14.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat14.tga
		colored
	}	
}

textures/decals/splat13
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat13.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat13.tga
		colored
	}	
}

textures/decals/splat12
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat12.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat12.tga
		colored
	}	
}

textures/decals/splat11
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat11.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat11.tga
		colored
	}	
}

textures/decals/splat10
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat10.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat10.tga
		colored
	}	
}

textures/decals/splat9
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat9.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map textures/decals/splat9.tga
		colored
	}	
}

textures/decals/splat8
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat8.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map textures/decals/splat8.tga
		colored
	}	
}


textures/decals/splat7
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat7.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat7.tga
		colored
	}	
}

textures/decals/splat6
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat6.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat6.tga
		colored
	}	
}

textures/decals/splat5
{
	DECAL_MACRO
	nonsolid

	qer_editorimage	textures/decals/splat5.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat5.tga
		colored
	}	
}

textures/decals/splat4
{
	DECAL_MACRO
	nonsolid
	
	qer_editorimage	textures/decals/splat4.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat4.tga
		colored
	}	
}

textures/decals/splat3
{
	DECAL_MACRO
	nonsolid
	
	qer_editorimage	textures/decals/splat3.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat3.tga
		colored
	}	
}

textures/decals/splat2
{
	DECAL_MACRO
	nonsolid
	
	qer_editorimage	textures/decals/splat2.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat2.tga
		colored
	}	
}

textures/decals/splat1
{
	DECAL_MACRO
	nonsolid
	
	qer_editorimage	textures/decals/splat1.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/splat1.tga
		colored
	}	
}

textures/decals/sdirt12
{
	translucent
	DECAL_MACRO
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt12.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map	textures/decals/sdirt12.tga
		colored
	}	
}

textures/decals/sdirt11a
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt11a.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map	textures/decals/sdirt11a.tga
		colored
	}	
}

textures/decals/sdirt11
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt11.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map	textures/decals/sdirt11.tga
		colored
	}	
}

textures/decals/sdirt10a
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt10a.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map	textures/decals/sdirt10a.tga
		colored
	}	
}

textures/decals/sdirt10
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt10.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt10.tga
		colored	
	}	
}

textures/decals/sdirt9
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt9.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt9.tga
		colored	
	}	
}

textures/decals/sdirt8
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt8.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt8.tga	
		colored
	}	
}

textures/decals/sdirt7
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt7.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt7.tga
		colored
	}	
}

textures/decals/sdirt6
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt6.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt6.tga
		colored
	}	
}

textures/decals/sdirt5
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt5.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt5.tga
		colored
	}	
}

textures/decals/sdirt4
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt4.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt4.tga
		colored
	}	
}

textures/decals/sdirt3
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt3.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt3.tga
		colored
	}	
}

textures/decals/sdirt2
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt2.tga
	{
		blend 	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt2.tga
		colored	
	}	
}


textures/decals/sdirt1
{
	DECAL_MACRO
	translucent
	nonsolid
	noimpact
	noshadows
	qer_editorimage	textures/decals/sdirt1.tga
	{
		blend  	gl_zero,gl_one_minus_src_color
		map 	textures/decals/sdirt1.tga
		colored
	}	
}

textures/decals/mini
{
	translucent
	twoSided
	noshadows
	qer_editorimage	textures/decals/mini.tga
	
	{
		blend diffuseMap
		map textures/decals/mini.tga
	}
}

textures/decals/sulfuric
{
	translucent
	twoSided
	noshadows
	qer_editorimage	textures/decals/sulfuric.tga
	
	{
		blend diffuseMap
		map textures/decals/sulfuric.tga
	}
}

textures/decals/lw65
{
	translucent
	twoSided
	noshadows
	qer_editorimage	textures/decals/lw65.tga
	
	{
		blend diffuseMap
		map textures/decals/lw65.tga
	}
}

textures/decals/uacdec2.tga
{
	qer_editorimage	textures/decals/uacdec2.tga
	twoSided
	noshadows
		{
			blend	diffusemap
			map textures/decals/uacdec2.tga
			alphatest .55
		}
	specularmap textures/decals/uacdec2_s.tga
}

textures/decals/uacdec1.tga
{
	qer_editorimage	textures/decals/uacdec1.tga
	twoSided
	noshadows
		{
			blend	diffusemap
			map textures/decals/uacdec1.tga
			alphatest .55
		}
	specularmap textures/decals/uacdec1_s.tga
}

textures/decals/screw6
{
	qer_editorimage	textures/decals/screw6.tga
	noshadows
		{
			blend	diffusemap
			map textures/decals/screw6_d.tga
		}
	{
		blend gl_zero,gl_one
		map textures/decals/screw6_local.tga
		alphatest .55
	}
	bumpmap 		textures/decals/screw6_local.tga
	specularmap 	textures/decals/screw6_s.tga
}

textures/decals/screw5
{
	qer_editorimage	textures/decals/screw5.tga
	noshadows
		{
			blend	diffusemap
			map textures/decals/screw5_d.tga
		}
	{
		blend gl_zero,gl_one
		map textures/decals/screw5_local.tga
		alphatest .55
	}
	bumpmap 		textures/decals/screw5_local.tga
	specularmap 	textures/decals/screw5_s.tga
}

textures/decals/screw4
{
	qer_editorimage	textures/decals/screw4.tga
	noshadows
		{
			blend	diffusemap
			map textures/decals/screw4_d.tga
		}
	{
		blend gl_zero,gl_one
		map textures/decals/screw4_local.tga
		alphatest .55
	}
	bumpmap 		textures/decals/screw4_local.tga
	specularmap 	textures/decals/screw4_s.tga
}

textures/decals/screw3
{
	qer_editorimage	textures/decals/screw3.tga
	noshadows
		{
			blend	diffusemap
			map textures/decals/screw3_d.tga
		}
	{
		blend gl_zero,gl_one
		map textures/decals/screw3_local.tga
		alphatest .55
	}
	bumpmap 		textures/decals/screw3_local.tga
	specularmap 	textures/decals/screw3_s.tga
}

textures/decals/screw2
{
	qer_editorimage	textures/decals/screw2.tga
	noshadows
		{
			blend	diffusemap
			map textures/decals/screw2_d.tga
		}
	{
		blend gl_zero,gl_one
		map textures/decals/screw2_local.tga
		alphatest .55
	}
	bumpmap 		textures/decals/screw2_local.tga
	specularmap 	textures/decals/screw2_s.tga
}

textures/decals/screw1
{
	qer_editorimage	textures/decals/screw1.tga
	noshadows
		{
			blend	diffusemap
			map textures/decals/screw1_d.tga
		}
	{
		blend gl_zero,gl_one
		map textures/decals/screw1_local.tga
		alphatest .55
	}
	bumpmap 		textures/decals/screw1_local.tga
	specularmap 	textures/decals/screw1_s.tga
}

textures/decals/ember5
{
	qer_editorimage	textures/decals/ember5.tga
	noshadows
	bumpmap		heightmap (textures/decals/ember5.tga, 4)
	specularmap		textures/decals/ember1_dif.tga
	{
		blend	diffusemap
		map textures/decals/ember1_dif.tga
		rgb Parm3
	}
	{
		blend gl_zero,gl_one
		map textures/decals/ember5.tga
		alphatest .55
	}
	{
		ignoreAlphaTest
		blend gl_one, gl_one
		map textures/decals/ember5_add.tga
		rgb ( ember1 [ (time * .25) + Parm4 ] ) * 2
	}	
}

textures/decals/ember4
{
	qer_editorimage	textures/decals/ember4.tga
	noshadows
	bumpmap		heightmap (textures/decals/ember4.tga, 4)
	specularmap		textures/decals/ember1_dif.tga
	{
		blend	diffusemap
		map textures/decals/ember1_dif.tga
		rgb Parm3
	}
	{
		blend gl_zero,gl_one
		map textures/decals/ember4.tga
		alphatest .55
	}
	{
		ignoreAlphaTest
		blend gl_one, gl_one
		map textures/decals/ember4_add.tga
		rgb ( ember1 [ (time * .25) + Parm4 ] ) * 2
	}	
}

textures/decals/ember3
{
	qer_editorimage	textures/decals/ember3.tga
	noshadows
	bumpmap		heightmap (textures/decals/ember3.tga, 4)
	specularmap		textures/decals/ember1_dif.tga
	{
		blend	diffusemap
		map textures/decals/ember1_dif.tga
		rgb Parm3
	}
	{
		blend gl_zero,gl_one
		map textures/decals/ember3.tga
		alphatest .55
	}
	{
		ignoreAlphaTest
		blend gl_one, gl_one
		map textures/decals/ember3_add.tga
		rgb ( ember1 [ (time * .25) + Parm4 ] ) * 2
	}	
}

textures/decals/ember2
{
	qer_editorimage	textures/decals/ember2.tga
	noshadows
	bumpmap		heightmap (textures/decals/ember2_bmp.tga, 4)
	specularmap		textures/decals/ember2_dif.tga
	{
		blend	diffusemap
		map textures/decals/ember2_dif.tga
		rgb Parm3
		alphaTest 0.55
	}
	{
		ignoreAlphaTest
		blend gl_one, gl_one
		map textures/decals/ember2_add.tga
		rgb ( ember1 [ time * .25 ] ) * 2
	}	
	{
		ignoreAlphaTest
		blend gl_one, gl_one
		map textures/decals/ember2_add2.tga
		rgb ( ember1 [ (time * .5) + .33 ] ) * 2
	}	
	{
		ignoreAlphaTest
		blend gl_one, gl_one
		map textures/decals/ember2_add3.tga
		rgb ( ember1 [ (time * .15) + .66 ] ) * 2
	}	
}

textures/decals/ember1
{
	qer_editorimage	textures/decals/ember1.tga
	noshadows
	{
		blend	diffusemap
		map textures/decals/ember1_dif.tga
		rgb Parm3
		alphaTest .5
	}
	bumpmap		heightmap (textures/decals/ember1_bmp.tga, 4)
	specularmap		textures/decals/ember1_dif.tga

	{
		ignoreAlphaTest
		blend gl_one, gl_one
		map textures/decals/ember1_add.tga
		rgb ( ember1 [ time * .25 ] ) * 2
	}	
	{
		ignoreAlphaTest
		blend gl_one, gl_one
		map textures/decals/ember1_add2.tga
		rgb ( ember1 [ (time * .5) + .33 ] ) * 2
	}	
	{
		ignoreAlphaTest	
		blend gl_one, gl_one
		map textures/decals/ember1_add3.tga
		rgb ( ember1 [ (time * .15) + .66 ] ) * 2
	}	
}

textures/decals/pl_tarp
{
	qer_editorimage	textures/decals/pl_tarp.tga
	twoSided
	noshadows
	translucent
	{
		blend		diffusemap
		map		textures/decals/pl_tarp_d.tga
	}
	bumpmap 		addnormals (textures/decals/pl_tarp_local.tga, heightmap ( textures/decals/pl_tarp_bmp.tga, 4) )
	specularmap 		textures/decals/pl_tarp_s.tga
}



textures/decals/fanvent
{
	qer_editorimage		textures/decals/fanvent.tga
	twoSided
	noshadows
	translucent
	{
		blend		diffusemap
		map 		textures/decals/fanvent_d.tga
		alphaTest 	0.25
	}
	bumpmap 		textures/decals/fanvent_local.tga
	specularmap 		textures/decals/fanvent_d.tga
}

textures/decals/sp1_alpha
{
	qer_editorimage		textures/decals/sp1_alpha.tga
	twoSided
	noshadows
	{
		blend		diffusemap
		map 		textures/base_trim/sp1_d.tga
		alphaTest 	0.5
	}
	bumpmap 		textures/base_trim/sp1_local.tga
	specularmap 		textures/base_trim/sp1_s.tga
}

textures/decals/sp2_alpha
{
	qer_editorimage		textures/decals/sp2_alpha.tga
	twoSided
	noshadows
	{
		blend		diffusemap
		map 		textures/base_trim/sp2_d.tga
		alphaTest 	0.5

	}
	bumpmap			textures/base_trim/sp2_local.tga
	specularmap		textures/base_trim/sp2_s.tga
}

textures/decals/sp3_alpha
{
	qer_editorimage		textures/decals/sp3_alpha.tga
	twoSided
	noshadows
	{
		blend		diffusemap
		map	 	textures/base_trim/sp3_d.tga
		alphaTest 	0.5

	}
	bumpmap			textures/base_trim/sp3_local.tga
	specularmap		textures/base_trim/sp3_s.tga
}

textures/decals/sp4_alpha
{
	qer_editorimage		textures/decals/sp4_alpha.tga
	twoSided
	noshadows
	{
		blend		diffusemap
		map 		textures/base_trim/sp4_d.tga
		alphaTest	0.5

	}
	bumpmap			textures/base_trim/sp4_local.tga
	specularmap		textures/base_trim/sp4_s.tga
}

textures/decals/sp5_alpha
{
	qer_editorimage		textures/decals/sp5_alpha.tga
	twoSided
	noshadows
	{
		blend		diffusemap
		map 		textures/base_trim/sp5_d.tga
		alphaTest 	0.5

	}
	bumpmap			textures/base_trim/sp5_local.tga
	specularmap		textures/base_trim/sp5_s.tga
}

textures/decals/sp6_alpha
{
	qer_editorimage	textures/decals/sp6_alpha.tga
	twoSided
	noshadows
	{
		blend		diffusemap
		map		textures/base_trim/sp6_d.tga
		alphaTest	0.5

	}
	bumpmap			textures/base_trim/sp6_local.tga
	specularmap		textures/base_trim/sp6_s.tga
}



//============================================================================================================
//base_wall
//============================================================================================================


textures/lab/vent_spiral
{
	qer_editorimage	textures/lab/vent_spiral
	{
		blend			bumpmap			
		map				textures/lab/vent_spiral_local
		scale			8,1
	}
	diffusemap		textures/lab/vent1_d1
	specularmap		textures/lab/vent1_d1
}



textures/base_wall/gotbflat3b
{
	qer_editorimage	textures/base_wall/gotbflat3b.tga
	bumpmap			textures/base_wall/gotbflat3_local.tga
	diffusemap		textures/base_wall/gotbflat3b.tga
	specularmap		textures/base_wall/gotbflat3b_s.tga
	{
		blend 	gl_one,gl_one
		map 	textures/base_wall/gotbflat3_add.tga
		rgb 	(.3 * sintable [.2 + time ]) +.2
	}
}

textures/base_wall/gotbflat3a
{
	qer_editorimage	textures/base_wall/gotbflat3a.tga
	bumpmap			textures/base_wall/gotbflat3_local.tga
	diffusemap		textures/base_wall/gotbflat3a.tga
	specularmap		textures/base_wall/gotbflat3a_s.tga
	{
		blend 	gl_one,gl_one
		map 	textures/base_wall/gotbflat3_add.tga
		rgb 	(.3 * sintable [.2 + time ]) +.2
	}
}

textures/base_wall/lflift
{
		qer_editorimage	textures/base_wall/lflift
		bumpmap			textures/base_wall/lflift_local
		{
			blend		diffusemap
			map			textures/base_wall/lflift
		}
		specularmap		textures/base_wall/lflift_s
}

textures/base_wall/lfwall32
{
	qer_editorimage	textures/base_wall/lfwall32
	bumpmap			textures/base_wall/snpanel25_local
	diffusemap		textures/base_wall/lfwall32
	specularmap		textures/base_wall/lfwall32_s
}

textures/base_wall/lfwall31b
{
	qer_editorimage	textures/base_wall/lfwall31b
	bumpmap			textures/base_wall/snpanel5_local
	diffusemap		textures/base_wall/lfwall31b
	specularmap		textures/base_wall/lfwall31b_s
}

textures/base_wall/lfwall31a
{
	qer_editorimage	textures/base_wall/lfwall31a
	bumpmap			textures/base_wall/snpanel5_local.tga
	diffusemap		textures/base_wall/lfwall31a
	specularmap		textures/base_wall/lfwall31a_s
}

textures/base_wall/lfwall31
{
	qer_editorimage	textures/base_wall/lfwall31
	bumpmap			textures/base_wall/snpanel5_local.tga
	diffusemap		textures/base_wall/lfwall31
	specularmap		textures/base_wall/lfwall31_s
}

textures/base_wall/lfwall30
{
	qer_editorimage textures/base_wall/lfwall30
	noshadows
	bumpmap			textures/base_wall/snpanel26_local
	{
		blend		diffusemap		
		map			textures/base_wall/lfwall30_d
		alphatest	.5
	}
	specularmap		textures/base_wall/lfwall30_s
}

textures/base_wall/lfwall28a
{
	qer_editorimage textures/base_wall/lfwall28a
	bumpmap			textures/base_wall/lfwall28a_local
	diffusemap		textures/base_wall/lfwall28a
	specularmap		textures/base_wall/lfwall28a_s
}

textures/base_wall/lfwall27d2
{
	qer_editorimage textures/base_wall/lfwall27d2
	bumpmap			textures/base_wall/lfwall27d_local
	diffusemap		textures/base_wall/lfwall27d2
	specularmap		textures/base_wall/lfwall27d2_s
}

textures/base_wall/lfwall27c2
{
	qer_editorimage textures/base_wall/lfwall27c2
	bumpmap			textures/base_wall/lfwall27c_local
	diffusemap		textures/base_wall/lfwall27c2
	specularmap		textures/base_wall/lfwall27c2_s
}

textures/base_wall/lfwall27b2
{	
	qer_editorimage textures/base_wall/lfwall27b2
	bumpmap			textures/base_wall/lfwall27b_local
	diffusemap		textures/base_wall/lfwall27b2
	specularmap		textures/base_wall/lfwall27b2_s
}

textures/base_wall/lfwall27a2
{
	qer_editorimage textures/base_wall/lfwall27a2
	bumpmap			textures/base_wall/lfwall27a_local
	diffusemap		textures/base_wall/lfwall27a2
	specularmap		textures/base_wall/lfwall27a2_s
}

textures/base_wall/lfwall27d1
{
	qer_editorimage textures/base_wall/lfwall27d1
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall27d_local, heightmap (textures/base_wall/lfwall27d1_bmp.tga,4) ) 
	}
	diffusemap		textures/base_wall/lfwall27d1
	specularmap		textures/base_wall/lfwall27d1_s
}
textures/base_wall/lfwall27c1
{
	qer_editorimage textures/base_wall/lfwall27c1
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall27c_local, heightmap (textures/base_wall/lfwall27c1_bmp.tga,4) ) 
	}
	diffusemap		textures/base_wall/lfwall27c1
	specularmap		textures/base_wall/lfwall27c1_s
}

textures/base_wall/lfwall27b1
{
	qer_editorimage textures/base_wall/lfwall27b1
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall27b_local, heightmap (textures/base_wall/lfwall27b1_bmp.tga,4) ) 
	}
	diffusemap		textures/base_wall/lfwall27b1
	specularmap		textures/base_wall/lfwall27b1_s
}

textures/base_wall/lfwall27a1
{
	qer_editorimage textures/base_wall/lfwall27a1
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall27a_local, heightmap (textures/base_wall/lfwall27a1_bmp.tga,4) ) 
	}
	diffusemap		textures/base_wall/lfwall27a1
	specularmap		textures/base_wall/lfwall27a1_s
}

textures/base_wall/lfwall27d
{
	qer_editorimage textures/base_wall/lfwall27d
	bumpmap			textures/base_wall/lfwall27d_local
	diffusemap		textures/base_wall/lfwall27d
	specularmap		textures/base_wall/lfwall27d_s
}

textures/base_wall/lfwall27c
{
	qer_editorimage textures/base_wall/lfwall27c
	bumpmap			textures/base_wall/lfwall27c_local
	diffusemap		textures/base_wall/lfwall27c
	specularmap		textures/base_wall/lfwall27c_s
}

textures/base_wall/lfwall27b
{
	qer_editorimage textures/base_wall/lfwall27b
	bumpmap			textures/base_wall/lfwall27b_local
	diffusemap		textures/base_wall/lfwall27b
	specularmap		textures/base_wall/lfwall27b_s
}

textures/base_wall/lfwall27a
{
	qer_editorimage textures/base_wall/lfwall27a
	bumpmap			textures/base_wall/lfwall27a_local
	diffusemap		textures/base_wall/lfwall27a
	specularmap		textures/base_wall/lfwall27a_s
}

/*
textures/base_wall/lfwall27
{
	{
		blend			bumpmap			
		map				addnormals (textures/base_wall/lfwall27_local, heightmap (textures/base_wall/lfwall27_bmp.tga,4) ) 
	}
		diffusemap		textures/base_wall/lfwall27
		specularmap		textures/base_wall/lfwall27_s
}
*/

textures/base_wall/lfwall26
{
	bumpmap			textures/base_wall/lfwall26_local
	diffusemap		textures/base_wall/lfwall26
	specularmap		textures/base_wall/lfwall26_s
}

textures/base_wall/lfwall25a
{
	qer_editorimage	textures/base_wall/lfwall25a
	bumpmap			textures/base_wall/lfwall25_local
	diffusemap		textures/base_wall/lfwall25a
	specularmap		textures/base_wall/lfwall25a_s
}

textures/base_wall/lfwall25
{
	qer_editorimage	textures/base_wall/lfwall25
	bumpmap			textures/base_wall/lfwall25_local
	diffusemap		textures/base_wall/lfwall25
	specularmap		textures/base_wall/lfwall25_s
}

textures/base_wall/lfwall24
{
	qer_editorimage	textures/base_wall/lfwall24
	noshadows
	bumpmap			textures/base_wall/lfwall24_local
	{
		blend		diffusemap
		map			textures/base_wall/lfwall24_d
		alphatest	.55
	}
	specularmap		textures/base_wall/lfwall24_s
	{
		blend		add
		map			textures/base_wall/lfwall24_add
	}
}

textures/base_wall/lfwall23
{
	qer_editorimage	textures/base_wall/lfwall23
	noshadows
	bumpmap			textures/base_wall/lfwall23_local
	{
		blend		diffusemap
		map			textures/base_wall/lfwall23_d
		alphatest	.55
	}
	specularmap		textures/base_wall/lfwall23_s
}


textures/base_wall/lfwall22c
{
	qer_editorimage	textures/base_wall/lfwall22c
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall22_local, heightmap ( textures/base_wall/lfwall22_bmp.tga, 4) ) 
	}
	diffusemap		textures/base_wall/lfwall22c
	specularmap		textures/base_wall/lfwall22_s
}

textures/base_wall/lfwall22b
{
	qer_editorimage	textures/base_wall/lfwall22b
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall22_local, heightmap ( textures/base_wall/lfwall22_bmp.tga, 4) ) 
	}
	diffusemap		textures/base_wall/lfwall22b
	specularmap		textures/base_wall/lfwall22_s
}

textures/base_wall/lfwall22a2
{
	qer_editorimage	textures/base_wall/lfwall22a2
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall22_local, heightmap ( textures/base_wall/lfwall22_bmp.tga, 4) ) 
	}
	diffusemap		textures/base_wall/lfwall22a2
	specularmap		textures/base_wall/lfwall22_s
}

textures/base_wall/lfwall22a
{
	qer_editorimage	textures/base_wall/lfwall22a
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall22_local, heightmap ( textures/base_wall/lfwall22_bmp.tga, 4) ) 
	}
	diffusemap		textures/base_wall/lfwall22a
	specularmap		textures/base_wall/lfwall22_s
}

textures/base_wall/lfwall22
{
	qer_editorimage	textures/base_wall/lfwall22
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall22_local, heightmap ( textures/base_wall/lfwall22_bmp.tga, 4) ) 
	}
	diffusemap		textures/base_wall/lfwall22
	specularmap		textures/base_wall/lfwall22_s
}

textures/base_wall/lfwall21b
{
	qer_editorimage	textures/base_wall/lfwall21b
	bumpmap		textures/base_wall/lfwall21_local
	diffusemap		textures/base_wall/lfwall21b
	specularmap		textures/base_wall/lfwall21b_s
}

textures/base_wall/lfwall21a
{
	qer_editorimage	textures/base_wall/lfwall21a
	bumpmap		textures/base_wall/lfwall21a_local
	diffusemap		textures/base_wall/lfwall21
	specularmap		textures/base_wall/lfwall21_s
	{
		blend		add
		map			textures/base_wall/lfwall21a_add
		rgb			3
	}
}

textures/base_wall/lfwall21
{
	qer_editorimage	textures/base_wall/lfwall21
	bumpmap		textures/base_wall/lfwall21_local
	diffusemap		textures/base_wall/lfwall21
	specularmap		textures/base_wall/lfwall21_s
}

textures/base_wall/lfwall20
{
	noshadows
		nonsolid
	qer_editorimage	textures/base_wall/lfwall20
	bumpmap		textures/base_wall/lfwall20_local
	{
		blend		diffusemap		
		map		textures/base_wall/lfwall20_d
		alphatest	.55
	}
	specularmap		textures/base_wall/lfwall20_s
}

textures/base_wall/lfwall19
{
	qer_editorimage	textures/base_wall/lfwall19
	bumpmap			textures/base_wall/lfwall19_local
	diffusemap		textures/base_wall/lfwall19
	specularmap		textures/base_wall/lfwall19_s
}

textures/base_wall/lfwall18a
{
	qer_editorimage	textures/base_wall/lfwall18a
	bumpmap		textures/base_wall/lfwall18_local
	diffusemap		textures/base_wall/lfwall18a
	specularmap		textures/base_wall/lfwall18a_s
}

textures/base_wall/lfwall18
{
	qer_editorimage	textures/base_wall/lfwall18
	bumpmap			textures/base_wall/lfwall18_local
	diffusemap		textures/base_wall/lfwall18
	specularmap		textures/base_wall/lfwall18_s
}

textures/base_wall/lfwall17a
{
	qer_editorimage	textures/base_wall/lfwall17a
	bumpmap		textures/base_wall/lfwall17_local
	diffusemap		textures/base_wall/lfwall17a
	specularmap		textures/base_wall/lfwall17a_s
}

textures/base_wall/lfwall17
{
	qer_editorimage	textures/base_wall/lfwall17
	bumpmap			textures/base_wall/lfwall17_local
	diffusemap		textures/base_wall/lfwall17
	specularmap		textures/base_wall/lfwall17_s
}

textures/base_wall/lfwall16a
{
	qer_editorimage	textures/base_wall/lfwall16a
	bumpmap		textures/base_wall/lfwall16_local
	diffusemap		textures/base_wall/lfwall16a
	specularmap		textures/base_wall/lfwall16a_s
}

textures/base_wall/lfwall16
{
	qer_editorimage	textures/base_wall/lfwall16
	bumpmap			textures/base_wall/lfwall16_local
	diffusemap		textures/base_wall/lfwall16
	specularmap		textures/base_wall/lfwall16_s
}

textures/base_wall/lfwall15a_alpha
{
	qer_editorimage	textures/base_wall/lfwall15a_alpha
	noshadows
	bumpmap			textures/base_wall/lfwall15_local
	{
		blend		diffusemap		
		map			textures/base_wall/lfwall15a 
		alphatest	.55
	}
	specularmap		textures/base_wall/lfwall15_s
}

textures/base_wall/lfwall15a
{
	qer_editorimage	textures/base_wall/lfwall15a
	bumpmap			textures/base_wall/lfwall15_local
	diffusemap		textures/base_wall/lfwall15a
	specularmap		textures/base_wall/lfwall15_s
}

textures/base_wall/lfwall15
{
	qer_editorimage	textures/base_wall/lfwall15
	bumpmap			textures/base_wall/lfwall15_local
	diffusemap		textures/base_wall/lfwall15
	specularmap		textures/base_wall/lfwall15_s
	{
		blend		add
		map			textures/base_wall/lfwall15_add
	}
}


textures/base_wall/lfwall14g4
{
	qer_editorimage	textures/base_wall/lfwall14g4
	bumpmap		textures/base_wall/lfwall14g2_local
	diffusemap		textures/base_wall/lfwall14g4
	specularmap		textures/base_wall/lfwall14g2_s
}

textures/base_wall/lfwall14g3
{
	qer_editorimage	textures/base_wall/lfwall14g3
	bumpmap			textures/base_wall/lfwall14g2_local
	diffusemap		textures/base_wall/lfwall14g3
	specularmap		textures/base_wall/lfwall14g2_s
}

textures/base_wall/lfwall14g2
{
	qer_editorimage	textures/base_wall/lfwall14g2
	bumpmap			textures/base_wall/lfwall14g2_local
	diffusemap		textures/base_wall/lfwall14g2
	specularmap		textures/base_wall/lfwall14g2_s
}

textures/base_wall/lfwall14g
{
	qer_editorimage	textures/base_wall/lfwall14g
	bumpmap			textures/base_wall/lfwall14g_local
	diffusemap		textures/base_wall/lfwall14g
	specularmap		textures/base_wall/lfwall14g_s
}

textures/base_wall/lfwall14f2
{
	qer_editorimage	textures/base_wall/lfwall14f2
	bumpmap			textures/base_wall/lfwall14f2_local
	diffusemap		textures/base_wall/lfwall14f2
	specularmap		textures/base_wall/lfwall14f2_s
}

textures/base_wall/lfwall14f
{
	qer_editorimage	textures/base_wall/lfwall14f
	bumpmap			textures/base_wall/lfwall14f_local
	diffusemap		textures/base_wall/lfwall14f
	specularmap		textures/base_wall/lfwall14f_s
}

textures/base_wall/lfwall14e
{
	qer_editorimage	textures/base_wall/lfwall14e	
	bumpmap			textures/base_wall/lfwall14e_local
	diffusemap		textures/base_wall/lfwall14e
	specularmap		textures/base_wall/lfwall14e_s
}

textures/base_wall/lfwall14d
{
	qer_editorimage	textures/base_wall/lfwall14d
	bumpmap			textures/base_wall/lfwall14d_local
	diffusemap		textures/base_wall/lfwall14d
	specularmap		textures/base_wall/lfwall14d_s
}

textures/base_wall/lfwall14c
{
	qer_editorimage	textures/base_wall/lfwall14c
	bumpmap			textures/base_wall/lfwall14c_local
	diffusemap		textures/base_wall/lfwall14c
	specularmap		textures/base_wall/lfwall14c_s
}

textures/base_wall/lfwall14b
{
	qer_editorimage	textures/base_wall/lfwall14b
	bumpmap			textures/base_wall/lfwall14b_local
	diffusemap		textures/base_wall/lfwall14b
	specularmap		textures/base_wall/lfwall14b_s
}

textures/base_wall/lfwall14a
{
	qer_editorimage	textures/base_wall/lfwall14a
	bumpmap			textures/base_wall/lfwall14a_local
	diffusemap		textures/base_wall/lfwall14a
	specularmap		textures/base_wall/lfwall14a_s
}

/*textures/base_wall/lfwall14				//Big 1024 X 256 lfwall4 layout
{
		bumpmap			textures/base_wall/lfwall14_local
		diffusemap		textures/base_wall/lfwall14
		specularmap		textures/base_wall/lfwall14_s
}
*/

textures/base_wall/lfwall13g5
{
		qer_editorimage	textures/base_wall/lfwall13g5
		bumpmap			textures/base_wall/lfwall13g_local
		diffusemap		textures/base_wall/lfwall13g5
		specularmap		textures/base_wall/lfwall13g4_s
}

textures/base_wall/lfwall13g4
{
		qer_editorimage	textures/base_wall/lfwall13g4
		bumpmap			textures/base_wall/lfwall13g_local
		diffusemap		textures/base_wall/lfwall13g4
		specularmap		textures/base_wall/lfwall13g4_s
}

textures/base_wall/lfwall13g3
{
	qer_editorimage	textures/base_wall/lfwall13g3
	bumpmap			textures/base_wall/lfwall13g_local
	diffusemap		textures/base_wall/lfwall13g3
	specularmap		textures/base_wall/lfwall13g3_s
}

textures/base_wall/lfwall13g3_fire
{
	qer_editorimage	textures/base_wall/lfwall13g3
	bumpmap			textures/base_wall/lfwall13g_local
	diffusemap		textures/base_wall/lfwall13g3
	specularmap		textures/base_wall/lfwall13g3_s
	{if ( global1 != 1 )
		blend		add
		map			models/mapobjects/enpro/dm_cylinder2_add
		//rotate		time
		translate	time * -0.5 , time
		//scale		0.25, 0.25
		red			.85 * (1 - global1)
		green		.85 * (1 - global1)
		blue		.85 * (1 - global1)
	}
	{if ( global1 != 1 )
		blend		add
		map			models/mapobjects/enpro/dm_cylinder2_add
		translate	time * -1, time
		red			.5 * (1 - global1)
		green		.5 * (1 - global1)
		blue		.5 * (1 - global1)
		//scale		0.25, 0.25
	} 
}

textures/base_wall/lfwall13g2
{
	qer_editorimage	textures/base_wall/lfwall13g2
	bumpmap			textures/base_wall/lfwall13g_local
	diffusemap		textures/base_wall/lfwall13g2
	specularmap		textures/base_wall/lfwall13g2_s
}

textures/base_wall/lfwall13f4
{
	qer_editorimage	textures/base_wall/lfwall13f4
	bumpmap			textures/base_wall/lfwall13f_local
	diffusemap		textures/base_wall/lfwall13f4
	specularmap		textures/base_wall/lfwall13f4_s
}

textures/base_wall/lfwall13f3
{
	qer_editorimage	textures/base_wall/lfwall13f3
	bumpmap			textures/base_wall/lfwall13f_local
	diffusemap		textures/base_wall/lfwall13f3
	specularmap		textures/base_wall/lfwall13f3_s
}

textures/base_wall/lfwall13f2
{
	qer_editorimage	textures/base_wall/lfwall13f2
	bumpmap			textures/base_wall/lfwall13f_local
	diffusemap		textures/base_wall/lfwall13f2
	specularmap		textures/base_wall/lfwall13f2_s
}

textures/base_wall/lfwall13e2
{
	qer_editorimage	textures/base_wall/lfwall13e2
	bumpmap			textures/base_wall/lfwall13e_local
	diffusemap		textures/base_wall/lfwall13e2
	specularmap		textures/base_wall/lfwall13e2_s
}

textures/base_wall/lfwall13d2
{
	qer_editorimage	textures/base_wall/lfwall13d2
	bumpmap			textures/base_wall/lfwall13d_local
	diffusemap		textures/base_wall/lfwall13d2
	specularmap		textures/base_wall/lfwall13d2_s
}

textures/base_wall/lfwall13c2
{
	qer_editorimage	textures/base_wall/lfwall13c2
	bumpmap			textures/base_wall/lfwall13c_local
	diffusemap		textures/base_wall/lfwall13c2
	specularmap		textures/base_wall/lfwall13c2_s
}

textures/base_wall/lfwall13b2
{
	qer_editorimage	textures/base_wall/lfwall13b2
	bumpmap			textures/base_wall/lfwall13b_local
	diffusemap		textures/base_wall/lfwall13b2
	specularmap		textures/base_wall/lfwall13b2_s
}

textures/base_wall/lfwall13a2
{
	qer_editorimage	textures/base_wall/lfwall13a2
	bumpmap			textures/base_wall/lfwall13a_local
	diffusemap		textures/base_wall/lfwall13a2
	specularmap		textures/base_wall/lfwall13a2_s
}

textures/base_wall/lfwall13e
{
	qer_editorimage	textures/base_wall/lfwall13e
	bumpmap			textures/base_wall/lfwall13e_local
	diffusemap		textures/base_wall/lfwall13e
	specularmap		textures/base_wall/lfwall13e_s
}

textures/base_wall/lfwall13d
{
	qer_editorimage	textures/base_wall/lfwall13d
	bumpmap			textures/base_wall/lfwall13d_local
	diffusemap		textures/base_wall/lfwall13d
	specularmap		textures/base_wall/lfwall13d_s
}

textures/base_wall/lfwall13c
{
	qer_editorimage	textures/base_wall/lfwall13c
	bumpmap			textures/base_wall/lfwall13c_local
	diffusemap		textures/base_wall/lfwall13c
	specularmap		textures/base_wall/lfwall13c_s
}

textures/base_wall/lfwall13b
{
	qer_editorimage	textures/base_wall/lfwall13b
	bumpmap			textures/base_wall/lfwall13b_local
	diffusemap		textures/base_wall/lfwall13b
	specularmap		textures/base_wall/lfwall13b_s
}

textures/base_wall/lfwall13a
{
	qer_editorimage	textures/base_wall/lfwall13a
	bumpmap			textures/base_wall/lfwall13a_local
	diffusemap		textures/base_wall/lfwall13a
	specularmap		textures/base_wall/lfwall13a_s
}

textures/base_wall/lfwall12b2
{
	qer_editorimage	textures/base_wall/lfwall12b2
	{
		blend		bumpmap			
		map			textures/base_wall/lfwall12b_local
		
	}
	diffusemap		textures/base_wall/lfwall12b2
	specularmap		textures/base_wall/lfwall12b_s
}

textures/base_wall/lfwall12b
{
	qer_editorimage	textures/base_wall/lfwall12b
	{
		blend		bumpmap			
		map		textures/base_wall/lfwall12b_local
		
	}
	diffusemap		textures/base_wall/lfwall12b
	specularmap		textures/base_wall/lfwall12b_s
}

textures/base_wall/lfwall12a2
{
	qer_editorimage	textures/base_wall/lfwall12a2
	{
		blend		bumpmap			
		map		textures/base_wall/lfwall12a_local
		
	}
	diffusemap		textures/base_wall/lfwall12a2
	specularmap		textures/base_wall/lfwall12a_s
}

textures/base_wall/lfwall12a
{
	qer_editorimage	textures/base_wall/lfwall12a
	{
		blend		bumpmap			
		map			textures/base_wall/lfwall12a_local
		
	}
	diffusemap		textures/base_wall/lfwall12a
	specularmap		textures/base_wall/lfwall12a_s
}

/*textures/base_wall/lfwall13
{
		qer_editorimage	textures/base_wall/lfwall13
		bumpmap			textures/base_wall/lfwall13_local
		diffusemap		textures/base_wall/lfwall13
		specularmap		textures/base_wall/lfwall13_s
}

textures/base_wall/lfwall12
{
		{
			blend		bumpmap			
			map			textures/base_wall/lfwall12_local
			
		}
		diffusemap		textures/base_wall/lfwall12
		specularmap		textures/base_wall/lfwall12_s
}
*/
textures/base_wall/lfwall11c
{
	qer_editorimage textures/base_wall/lfwall11c
	bumpmap			textures/base_wall/lfwall11c_local
	diffusemap		textures/base_wall/lfwall11c
	specularmap		textures/base_wall/lfwall11c_s
}

textures/base_wall/lfwall11b
{
	qer_editorimage textures/base_wall/lfwall11b
	bumpmap			textures/base_wall/lfwall11b_local
	diffusemap		textures/base_wall/lfwall11b
	specularmap		textures/base_wall/lfwall11b_s
}

textures/base_wall/lfwall11a
{
	qer_editorimage textures/base_wall/lfwall11a
	bumpmap			textures/base_wall/lfwall11a_local
	diffusemap		textures/base_wall/lfwall11a
	specularmap		textures/base_wall/lfwall11a_s
}

textures/base_wall/lfwall10
{
	qer_editorimage textures/base_wall/lfwall10
	bumpmap			textures/base_wall/lfwall10_local
	diffusemap		textures/base_wall/lfwall10
	specularmap		textures/base_wall/lfwall10_s
}

textures/base_wall/lfwall9
{
	qer_editorimage textures/base_wall/lfwall9
	bumpmap			textures/base_wall/lfwall9_local
	diffusemap		textures/base_wall/lfwall9_d
	specularmap		textures/base_wall/lfwall9_s
}

textures/base_wall/lfwall8
{
	qer_editorimage textures/base_wall/lfwall8
	bumpmap			textures/base_wall/lfwall8_local
	diffusemap		textures/base_wall/lfwall8
	specularmap		textures/base_wall/lfwall8_s
}

textures/base_wall/lfwall7a
{
	qer_editorimage textures/base_wall/lfwall7a
	bumpmap			textures/base_wall/lfwall7a_local
	{
		blend		diffusemap
		map			textures/base_wall/lfwall7a_d
		alphatest	.5
	}	
	specularmap		textures/base_wall/lfwall7_s
	{
		blend		add
		map			textures/base_wall/lfwall7a_add
		colored
		ignoreAlphatest
	}
}

textures/base_wall/lfwall7a_global
{
	qer_editorimage textures/base_wall/lfwall7a
	bumpmap			textures/base_wall/lfwall7a_local
	{
		blend		diffusemap
		map			textures/base_wall/lfwall7a_d
		alphatest	.5
	}	
	specularmap		textures/base_wall/lfwall7_s
	{
		blend		add
		map			textures/base_wall/lfwall7a_add
		red			parm0
		green		parm1 * global1
		blue		parm2 * global1
		ignoreAlphatest
	}
}

textures/base_wall/lfwall7
{
	qer_editorimage textures/base_wall/lfwall7
	bumpmap			textures/base_wall/lfwall7_local
	{
		blend		diffusemap
		map			textures/base_wall/lfwall7_d
		alphatest	.5
	}	
	specularmap		textures/base_wall/lfwall7_s
	{
		blend		add
		map			textures/base_wall/lfwall7_add
		ignoreAlphatest
	}
}

textures/base_wall/lfwall6_shadow
{	
	qer_editorimage		textures/base_wall/lfwall6_shadow.tga
	translucent  
	{
		blend 		gl_dst_color,gl_zero
		map			textures/base_wall/lfwall6_shadow.tga
	}	
}

textures/base_wall/lfwall6
{
	qer_editorimage textures/base_wall/lfwall6
	bumpmap			textures/base_wall/lfwall6_local
	{
		blend		diffusemap
		map			textures/base_wall/lfwall6_d
		alphatest	.5
	}	
	specularmap		textures/base_wall/lfwall6_s
	{
		blend		add
		map			textures/base_wall/lfwall6_add
	}
}


textures/base_wall/lfwall5glow
{
	qer_editorimage textures/base_wall/lfwall5glow
	bumpmap			textures/base_wall/lfwall5_local
	diffusemap		textures/base_wall/lfwall5
	specularmap		textures/base_wall/lfwall5_s
	{
		blend		add
		map			textures/base_wall/lfwall5_add
	}
}

textures/base_wall/lfwall5
{
	qer_editorimage textures/base_wall/lfwall5
	bumpmap			textures/base_wall/lfwall5_local
	diffusemap		textures/base_wall/lfwall5_d
	specularmap		textures/base_wall/lfwall5_s
}

textures/base_wall/lfwall4
{
	qer_editorimage textures/base_wall/lfwall4
	bumpmap			textures/base_wall/lfwall4_local
	diffusemap		textures/base_wall/lfwall4
	specularmap		textures/base_wall/lfwall4_s
	{
		blend		add
		map			textures/base_wall/lfwall4_add
	}
}

textures/base_wall/lfwall3a
{
	qer_editorimage textures/base_wall/lfwall3a
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall3a_local, heightmap (textures/base_wall/lfwall3_bmp.tga, 4) ) 
	}
	diffusemap		textures/base_wall/lfwall3a
	specularmap		textures/base_wall/lfwall3a_s
}

textures/base_wall/lfwall3
{
	qer_editorimage textures/base_wall/lfwall3
	{
		blend		bumpmap			
		map			addnormals (textures/base_wall/lfwall3_local, heightmap (textures/base_wall/lfwall3_bmp.tga, 4) ) 
	}
	diffusemap		textures/base_wall/lfwall3
	specularmap		textures/base_wall/lfwall3_s
	{
		blend		add
		map			textures/base_wall/lfwall3_add
	}
}

textures/base_wall/lfwall2glow2
{
	qer_editorimage textures/base_wall/lfwall2glow2
	bumpmap			textures/base_wall/lfwall2_local
	diffusemap		textures/base_wall/lfwall2
	specularmap		textures/base_wall/lfwall2_s
	{
		blend		add
		map			textures/base_wall/lfwall2_add2
		colored
	}
}

textures/base_wall/lfwall2glow
{
	qer_editorimage textures/base_wall/lfwall2glow
	bumpmap			textures/base_wall/lfwall2_local
	diffusemap		textures/base_wall/lfwall2
	specularmap		textures/base_wall/lfwall2_s
	{
		blend		add
		map			textures/base_wall/lfwall2_add
	}
}

textures/base_wall/lfwall2
{
	qer_editorimage textures/base_wall/lfwall2
	bumpmap			textures/base_wall/lfwall2_local
	diffusemap		textures/base_wall/lfwall2
	specularmap		textures/base_wall/lfwall2_s
}

textures/base_wall/lfwall1b
{
	qer_editorimage textures/base_wall/lfwall1b
	bumpmap			textures/base_wall/lfwall1b_local
	diffusemap		textures/base_wall/lfwall1b
	specularmap		textures/base_wall/lfwall1b_s
}

textures/base_wall/lfwall1a
{
	qer_editorimage textures/base_wall/lfwall1a
	bumpmap			textures/base_wall/lfwall1a_local
	diffusemap		textures/base_wall/lfwall1a
	specularmap		textures/base_wall/lfwall1a_s
}

textures/base_wall/lfwall1
{
	qer_editorimage textures/base_wall/lfwall1
	bumpmap			textures/base_wall/lfwall1_local
	diffusemap		textures/base_wall/lfwall1
	specularmap		textures/base_wall/lfwall1_s
}

textures/base_wall/gotbwall1venttest
{
//	translucent
	noshadows
	qer_editorimage	textures/base_wall/gotbwall1vent.tga
	bumpmap			textures/base_wall/gotbwall1vent_local.tga
	{	
		blend		diffusemap
		blend		gl_dst_color,gl_zero
		map			textures/base_wall/test_d.tga
	}
	specularmap		textures/base_wall/test_s.tga
}

textures/base_wall/cpuwall3
{
	qer_editorimage	textures/base_wall/cpuwall3.tga
	bumpmap			textures/base_wall/cpuwall3_local.tga
	diffusemap		textures/base_wall/cpuwall3.tga
	specularmap		textures/base_wall/cpuwall3_s.tga
}

textures/base_wall/cpuwall2
{
	qer_editorimage	textures/base_wall/cpuwall2.tga
	bumpmap			textures/base_wall/cpuwall2_local.tga
	diffusemap		textures/base_wall/cpuwall2_d.tga
	specularmap		textures/base_wall/cpuwall2_s.tga
	{
		blend		add
		map			textures/base_wall/cpuwall2_add.tga
		red			parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/cpuwall1
{
	qer_editorimage		textures/base_wall/cpuwall1.tga
	bumpmap			textures/base_wall/cpuwall1_local.tga
	diffusemap		textures/base_wall/cpuwall1_d.tga
	specularmap		textures/base_wall/cpuwall1_s.tga
	{
		blend		add
		map		textures/base_wall/cpuwall1_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/medrust1
{
	qer_editorimage		textures/base_wall/medrust1.tga
	bumpmap			heightmap (textures/base_wall/medrust1.tga, 4)
	diffusemap		textures/base_wall/medrust1.tga
}

//S O panel***************************************************************************************************************************


textures/base_wall/sopanel36_alpha
{
	noshadows
	qer_editorimage		textures/base_wall/sopanel36.tga
	bumpmap				textures/base_wall/sopanel36_local.tga
	{
		blend			diffusemap			
		map				textures/base_wall/sopanel36.tga
		alphatest		.5
	}
	specularmap			textures/base_wall/sopanel36_s.tga
}

textures/base_wall/sopanel36
{
	qer_editorimage		textures/base_wall/sopanel36.tga
	bumpmap				textures/base_wall/sopanel36_local.tga
	diffusemap			textures/base_wall/sopanel36.tga
	specularmap			textures/base_wall/sopanel36_s.tga
}

textures/base_wall/sopanel35a
{
	qer_editorimage		textures/base_wall/sopanel35a.tga
	bumpmap				textures/base_wall/sopanel35_local.tga
	diffusemap			textures/base_wall/sopanel35a.tga
	specularmap			textures/base_wall/sopanel35_s.tga
}

textures/base_wall/sopanel35
{
	qer_editorimage		textures/base_wall/sopanel35.tga
	bumpmap				textures/base_wall/sopanel35_local.tga
	diffusemap			textures/base_wall/sopanel35.tga
	specularmap			textures/base_wall/sopanel35_s.tga
}

textures/base_wall/sopanel34a
{
	qer_editorimage		textures/base_wall/sopanel34a.tga
	bumpmap				textures/base_wall/sopanel34_local.tga
	diffusemap			textures/base_wall/sopanel34a.tga
	specularmap			textures/base_wall/sopanel34_s.tga
}

textures/base_wall/sopanel34
{
	qer_editorimage		textures/base_wall/sopanel34.tga
	bumpmap				textures/base_wall/sopanel34_local.tga
	diffusemap			textures/base_wall/sopanel34.tga
	specularmap			textures/base_wall/sopanel34_s.tga
}

/*textures/base_wall/sopanel33b
{
	qer_editorimage		textures/base_wall/sopanel33b.tga
	bumpmap				textures/base_wall/sopanel33b_local.tga
	diffusemap			textures/base_wall/sopanel33b.tga
	specularmap			textures/base_wall/sopanel33b_s.tga
}*/

textures/base_wall/sopanel33a
{
	qer_editorimage		textures/base_wall/sopanel33a.tga
	bumpmap				textures/base_wall/sopanel33a_local.tga
	diffusemap			textures/base_wall/sopanel33a.tga
	specularmap			textures/base_wall/sopanel33a_s.tga
}

textures/base_wall/sopanel33
{
	qer_editorimage		textures/base_wall/sopanel33.tga
	bumpmap				textures/base_wall/sopanel33_local.tga
	diffusemap			textures/base_wall/sopanel33.tga
	specularmap			textures/base_wall/sopanel33_s.tga
}

textures/base_wall/sopanel32
{
	qer_editorimage		textures/base_wall/sopanel32.tga
	noShadows
	twoSided
	bumpmap				textures/base_wall/sopanel32_local.tga
	{
		blend			diffusemap
		map				textures/base_wall/sopanel32_d.tga
		alphatest		.5
	}
	specularmap			textures/base_wall/sopanel32_s.tga
}

textures/base_wall/sopanel31a
{
	qer_editorimage		textures/base_wall/sopanel31a.tga
	noShadows
	twoSided
	bumpmap			textures/base_wall/sopanel31a_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel31a_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel31a_s.tga
}

textures/base_wall/sopanel31
{
	qer_editorimage		textures/base_wall/sopanel31.tga
	noShadows
	twoSided
	bumpmap			textures/base_wall/sopanel31_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel31_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel31_s.tga
}

textures/base_wall/sopanel30
{
	qer_editorimage		textures/base_wall/sopanel30.tga
	noShadows
	bumpmap			textures/base_wall/sopanel30_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel30_d.tga
		alphatest	.5
		red		Parm0 
		green		Parm1 
		blue		Parm2 
	}
	specularmap		textures/base_wall/sopanel30_s.tga
}

textures/base_wall/sopanel29
{
	qer_editorimage		textures/base_wall/sopanel29.tga
	bumpmap			textures/base_wall/sopanel29_local.tga
	discrete
	{
		blend		diffusemap
		map		textures/base_wall/sopanel29_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel29_s.tga
}

textures/base_wall/sopanel28a
{
	qer_editorimage		textures/base_wall/sopanel28a.tga
	bumpmap			addnormals (textures/base_wall/sopanel28a_local.tga, heightmap (textures/base_wall/sopanel28a_bmp.tga, 4 ) )
	diffusemap		textures/base_wall/sopanel28a.tga
	specularmap		textures/base_wall/sopanel28a_s.tga
}

textures/base_wall/sopanel28
{
	qer_editorimage		textures/base_wall/sopanel28.tga
	bumpmap			addnormals (textures/base_wall/sopanel28_local.tga, heightmap (textures/base_wall/sopanel28_bmp.tga, 4 ) )
	{
		blend		diffusemap
		map		textures/base_wall/sopanel28.tga
		red		Parm0 
		green		Parm1 
		blue		Parm2 
	}
	specularmap		textures/base_wall/sopanel28_s.tga
}

textures/base_wall/sopanel27
{
	qer_editorimage		textures/base_wall/sopanel27.tga
	bumpmap			addnormals (textures/base_wall/sopanel27_local.tga, heightmap (textures/base_wall/sopanel27_bmp.tga, 4 ) )
	{
		blend		diffusemap
		map		textures/base_wall/sopanel27.tga
		red		Parm0 
		green		Parm1 
		blue		Parm2 
	}
	specularmap		textures/base_wall/sopanel27_s.tga
}

textures/base_wall/sopanel26a
{
	qer_editorimage		textures/base_wall/sopanel26a.tga
	translucent
	noShadows
	{
		blend		gl_dst_color,gl_zero
		map		textures/base_wall/sopanel26a.tga
	}
}

textures/base_wall/sopanel26
{
	qer_editorimage		textures/base_wall/sopanel26.tga
	noShadows
	bumpmap			textures/base_wall/sopanel26_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel26_d.tga
		alphatest	.5
		red		Parm0 
		green		Parm1 
		blue		Parm2 
	}
	specularmap		textures/base_wall/sopanel26_s.tga
}

textures/base_wall/sopanel25a
{
	qer_editorimage	textures/base_wall/sopanel25a.tga
	bumpmap			addnormals (textures/base_wall/sopanel25a_local.tga, heightmap (textures/base_wall/sopanel25a_bmp.tga, 4 ) )
	{
		blend		diffusemap
		map			textures/base_wall/sopanel25a.tga
		red			Parm0 
		green		Parm1 
		blue		Parm2 
	}
	specularmap		textures/base_wall/sopanel25_s.tga
}

textures/base_wall/sopanel25
{
	qer_editorimage		textures/base_wall/sopanel25.tga
	bumpmap			addnormals (textures/base_wall/sopanel25_local.tga, heightmap (textures/base_wall/sopanel25_bmp.tga, 4 ) )
	{
		blend		diffusemap
		map		textures/base_wall/sopanel25.tga
		red		Parm0 
		green		Parm1 
		blue		Parm2 
	}
	specularmap		textures/base_wall/sopanel25_s.tga
}

textures/base_wall/sopanel24
{
	qer_editorimage		textures/base_wall/sopanel24.tga
	bumpmap			addnormals (textures/base_wall/sopanel24_local.tga, heightmap (textures/base_wall/sopanel24_bmp.tga, 4 ) )
	{
		blend		diffusemap
		map		textures/base_wall/sopanel24.tga
		red		Parm0 
		green		Parm1 
		blue		Parm2 
	}
	specularmap		textures/base_wall/sopanel24_s.tga
}

textures/base_wall/sopanel23
{
	qer_editorimage		textures/base_wall/sopanel23.tga
	bumpmap			addnormals (textures/base_wall/sopanel23_local.tga, heightmap (textures/base_wall/sopanel23_bmp.tga, 4 ) )
	{
		blend		diffusemap
		map		textures/base_wall/sopanel23.tga
		red		Parm0 
		green		Parm1 
		blue		Parm2 
	}
	specularmap		textures/base_wall/sopanel23_s.tga
}

textures/base_wall/sopanel22_shadow
{	
	qer_editorimage		textures/base_wall/sopanel22_shadow.tga
	sort decal
	translucent 
	nonsolid
	discrete
	{
		blend 		gl_dst_color,gl_zero
		map		textures/base_wall/sopanel22_shadow.tga
	}	
}

textures/base_wall/sopanel22
{
	qer_editorimage		textures/base_wall/sopanel22.tga
	noshadows
	nonsolid
	discrete
	{
		blend		bumpmap
		map		textures/base_wall/sopanel22_local.tga
	}
	{
		blend		diffusemap
		map		textures/base_wall/sopanel22_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel22_s.tga
}

textures/base_wall/sopanel21_shadow
{	
	qer_editorimage		 textures/base_wall/sopanel21_shadow.tga
	sort decal
	translucent  
	nonsolid
	discrete
	{
		blend 		gl_dst_color,gl_zero
		map		textures/base_wall/sopanel21_shadow.tga
	}	
}

textures/base_wall/sopanel21_y
{
	qer_editorimage		textures/base_wall/sopanel21_y.tga
	twoSided
	nonsolid
	noshadows
	discrete
	{
		blend		bumpmap
		map		textures/base_wall/sopanel21_local.tga
	}
	{
		blend		diffusemap
		map		textures/base_wall/sopanel21_y_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel21_s.tga
}

textures/base_wall/sopanel21
{
	qer_editorimage		textures/base_wall/sopanel21.tga
	twoSided	
	nonsolid
	noshadows
	discrete
	{
		blend		bumpmap
		map		textures/base_wall/sopanel21_local.tga
	}
	{
		blend		diffusemap
		map		textures/base_wall/sopanel21_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel21_s.tga
}

textures/base_wall/sopanel20_shadow
{	
	qer_editorimage		 textures/base_wall/sopanel20_shadow.tga
	sort decal
	translucent  
	nonsolid
	discrete
	{
		blend 		gl_dst_color,gl_zero
		map		textures/base_wall/sopanel20_shadow.tga
	}	
}

textures/base_wall/sopanel20
{
	qer_editorimage		textures/base_wall/sopanel20.tga
	noshadows
	nonsolid
	discrete
	{
		blend		bumpmap
		map		textures/base_wall/sopanel20_local.tga
	}
	{
		blend		diffusemap
		map		textures/base_wall/sopanel20_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel20_s.tga
}

textures/base_wall/sopanel19_broken
{
	qer_editorimage	textures/base_wall/sopanel19_broken.tga
	{
		blend	bumpmap			
		map		textures/base_wall/sopanel19_local.tga
	}
	{
		blend		diffusemap		
		map			textures/base_wall/sopanel19a2.tga
	}
	{
		blend		specularmap		
		map			textures/base_wall/sopanel19a2_s.tga
	}
	{
		blend		add
		map			textures/base_wall/sopanel19a2_add.tga
		colored
	}
}

textures/base_wall/sopanel19a
{
	qer_editorimage	textures/base_wall/sopanel19a.tga
	{if ( parm7 == 0 )
			blend	bumpmap			
			map		textures/base_wall/sopanel19_local.tga
	}
	{if ( parm7 == 0 )
		blend		diffusemap		
		map			textures/base_wall/sopanel19a.tga
	}
	{if ( parm7 == 0 )
		blend		specularmap		
		map			textures/base_wall/sopanel19_s.tga
	}
	{if ( parm7 == 0 )
		blend		add
		map			textures/base_wall/sopanel19a_add.tga
		colored
	}
	//
	{if ( parm7 != 0 )
			blend	bumpmap			
			map		textures/base_wall/sopanel19_local.tga
	}
	{if ( parm7 != 0 )
		blend		diffusemap		
		map			textures/base_wall/sopanel19a2.tga
	}
	{if ( parm7 != 0 )
		blend		specularmap		
		map			textures/base_wall/sopanel19a2_s.tga
	}
	{if ( parm7 != 0 )
		blend		add
		map			textures/base_wall/sopanel19a2_add.tga
		colored
	}
}

textures/base_wall/sopanel19
{
	qer_editorimage		textures/base_wall/sopanel19.tga
	diffusemap		textures/base_wall/sopanel19_d.tga
	{	//if ( parm7 == 0 )
		blend		bumpmap
		map		textures/base_wall/sopanel19_local.tga
	}
	{	//if ( parm7 == 0 )
		blend		specularmap
		map		textures/base_wall/sopanel19_s.tga
	}
	{	//if ( parm7 == 0 )
		colored
		blend		add
		map		textures/base_wall/sopanel19_add.tga
	}

/**
	{if ( parm7 != 0 )
		blend		bumpmap
		map		addnormals(textures/base_wall/sopanel19_local.tga, heightmap (textures/base_wall/sopanel19_bmp2.tga, 4 ) )
	}
	{if ( parm7 != 0 )
		blend		specularmap
		map		textures/base_wall/sopanel19_s2.tga
	}
	{if ( parm7 != 0 )
		blend		add
		map		textures/base_wall/sopanel19_add2.tga
		colored
	}
**/
}

textures/base_wall/sopanel18_shadow
{	
	qer_editorimage		textures/base_wall/sopanel18_shadow.tga
	sort decal
	translucent
	twosided
	nonsolid
	noimpact
	noshadows
	discrete
	
	{
		blend 		gl_dst_color,gl_zero
		map		textures/base_wall/sopanel18_shadow.tga
	}	
}

textures/base_wall/sopanel18
{
	qer_editorimage		textures/base_wall/sopanel18.tga
	noshadows
	nonsolid
	discrete
	{
		blend		bumpmap
		map		textures/base_wall/sopanel18_local.tga
	}
	{
		blend		diffusemap
		map		textures/base_wall/sopanel18_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel18_s.tga
}

textures/base_wall/sopanel17
{
	qer_editorimage		textures/base_wall/sopanel17.tga
	noshadows
	discrete
	bumpmap			textures/base_wall/sopanel17_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel17_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel17_s.tga
}

textures/base_wall/sopanel16
{
	qer_editorimage		textures/base_wall/sopanel16.tga
	bumpmap			textures/base_wall/sopanel16_local.tga
	diffusemap		textures/base_wall/sopanel16.tga
	specularmap		textures/base_wall/sopanel16_s.tga
}

textures/base_wall/sopanel15b
{
	qer_editorimage		textures/base_wall/sopanel15b.tga
	bumpmap			textures/base_wall/sopanel15b_local.tga
	diffusemap		textures/base_wall/sopanel15b.tga
	specularmap		textures/base_wall/sopanel15b_s.tga
}

textures/base_wall/sopanel15a
{
	qer_editorimage		textures/base_wall/sopanel15a.tga
	bumpmap			textures/base_wall/sopanel15a_local.tga
	diffusemap		textures/base_wall/sopanel15a.tga
	specularmap		textures/base_wall/sopanel15a_s.tga
}

textures/base_wall/sopanel15
{
	qer_editorimage		textures/base_wall/sopanel15.tga
	bumpmap			textures/base_wall/sopanel15_local.tga
	diffusemap		textures/base_wall/sopanel15.tga
	specularmap		textures/base_wall/sopanel15_s.tga
}

textures/base_wall/sopanel14a
{
	qer_editorimage		textures/base_wall/sopanel14a.tga
	bumpmap			textures/base_wall/sopanel14a_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel14a.tga
		rgb		parm3
	}
	specularmap		textures/base_wall/sopanel14a_s.tga
}

textures/base_wall/sopanel14
{
	qer_editorimage		textures/base_wall/sopanel14.tga
	bumpmap			textures/base_wall/sopanel14_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel14.tga
		rgb		parm3
	}
	specularmap		textures/base_wall/sopanel14_s.tga
}

textures/base_wall/sopanel13a
{
	qer_editorimage		textures/base_wall/sopanel13a.tga
	bumpmap				addnormals (textures/base_wall/sopanel13a_local.tga, heightmap (textures/base_wall/sopanel13_bmp.tga, 4) )
	diffusemap			textures/base_wall/sopanel13a.tga
	specularmap			textures/base_wall/sopanel13a_s.tga
}

textures/base_wall/sopanel13
{
	qer_editorimage		textures/base_wall/sopanel13.tga
	bumpmap			addnormals (textures/base_wall/sopanel13_local.tga, heightmap (textures/base_wall/sopanel13_bmp.tga, 4) )
	diffusemap		textures/base_wall/sopanel13.tga
	specularmap		textures/base_wall/sopanel13_s.tga
}

textures/base_wall/sopanel12a
{
	qer_editorimage		textures/base_wall/sopanel12a.tga
	bumpmap			addnormals (textures/base_wall/sopanel12a_local.tga, heightmap (textures/base_wall/sopanel12a_bmp.tga, 4) )
	{
		blend		diffusemap
		map		textures/base_wall/sopanel12a.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel12a_s.tga
}

textures/base_wall/sopanel12
{
	qer_editorimage		textures/base_wall/sopanel12.tga
	bumpmap			addnormals (textures/base_wall/sopanel12_local.tga, heightmap (textures/base_wall/sopanel12_bmp.tga, 4) )
	{
		blend		diffusemap
		map		textures/base_wall/sopanel12.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel12_s.tga
}

textures/base_wall/sopanel11
{
	qer_editorimage		textures/base_wall/sopanel11.tga
	bumpmap			addnormals (textures/base_wall/sopanel11_local.tga, heightmap (textures/base_wall/sopanel11_bmp.tga, 4) )
	{
		blend		diffusemap
		map		textures/base_wall/sopanel11.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel11_s.tga
}

textures/base_wall/sopanel10a
{
	qer_editorimage		textures/base_wall/sopanel10a.tga
	bumpmap			textures/base_wall/sopanel10_local.tga
	diffusemap		textures/base_wall/sopanel10a.tga
	specularmap		textures/base_wall/sopanel10a_s.tga
}

textures/base_wall/sopanel10
{
	qer_editorimage		textures/base_wall/sopanel10.tga
	bumpmap			textures/base_wall/sopanel10_local.tga
	diffusemap		textures/base_wall/sopanel10_d.tga
	specularmap		textures/base_wall/sopanel10_s.tga
}

textures/base_wall/sopanel9
{
	qer_editorimage		textures/base_wall/sopanel9.tga
	bumpmap			textures/base_wall/sopanel9_local.tga
	diffusemap		textures/base_wall/sopanel9_d.tga
	specularmap		textures/base_wall/sopanel9_s.tga
}

textures/base_wall/sopanel8
{
	qer_editorimage		textures/base_wall/sopanel8.tga
	bumpmap			textures/base_wall/sopanel8_local.tga
	diffusemap		textures/base_wall/sopanel8_d.tga
	specularmap		textures/base_wall/sopanel8_s.tga
}

textures/base_wall/sopanel7
{
	noShadows
	qer_editorimage		textures/base_wall/sopanel7.tga
	bumpmap			textures/base_wall/sopanel7_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel7_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel7_s.tga
}

textures/base_wall/sopanel6
{
	noShadows
	discrete
	qer_editorimage	textures/base_wall/sopanel6.tga
	{
		blend		bumpmap
		map			textures/base_wall/sopanel6_local.tga
		
	}
	{
		blend		diffusemap
		map			textures/base_wall/sopanel6_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel6_s.tga
}

textures/base_wall/sopanel5
{
	noShadows
	qer_editorimage		textures/base_wall/sopanel5.tga
	bumpmap			textures/base_wall/sopanel5_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/sopanel5_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/sopanel5_s.tga
}

textures/base_wall/sopanel4
{
	qer_editorimage		textures/base_wall/sopanel4.tga
	bumpmap			textures/base_wall/sopanel4_local.tga
	diffusemap		textures/base_wall/sopanel4_d.tga
	specularmap		textures/base_wall/sopanel4_s.tga
}

textures/base_wall/sopanel3a
{
	qer_editorimage		textures/base_wall/sopanel3a.tga
	bumpmap			textures/base_wall/sopanel3a_local.tga
	diffusemap		textures/base_wall/sopanel3a_d.tga
	specularmap		textures/base_wall/sopanel3a_s.tga
}

textures/base_wall/sopanel3
{
	qer_editorimage		textures/base_wall/sopanel3.tga
	bumpmap			textures/base_wall/sopanel3_local.tga
	diffusemap		textures/base_wall/sopanel3_d.tga
	specularmap		textures/base_wall/sopanel3_s.tga
}

textures/base_wall/sopanel2d
{
	qer_editorimage		textures/base_wall/sopanel2d.tga
	bumpmap			textures/base_wall/sopanel2d_local.tga
	diffusemap		textures/base_wall/sopanel2d.tga
	specularmap		textures/base_wall/sopanel2d_s.tga
}

textures/base_wall/sopanel2c
{
	qer_editorimage		textures/base_wall/sopanel2c.tga
	bumpmap			textures/base_wall/sopanel2c_local.tga
	diffusemap		textures/base_wall/sopanel2c_d.tga
	specularmap		textures/base_wall/sopanel2c_s.tga
}

textures/base_wall/sopanel2b5
{
	qer_editorimage		textures/base_wall/sopanel2b5.tga
	bumpmap			textures/base_wall/sopanel2b5_local.tga
	diffusemap		textures/base_wall/sopanel2b5_d.tga
	specularmap		textures/base_wall/sopanel2b5_s.tga
}

textures/base_wall/sopanel2b4
{
	qer_editorimage		textures/base_wall/sopanel2b4.tga
	bumpmap			textures/base_wall/sopanel2b4_local.tga
	diffusemap		textures/base_wall/sopanel2b4_d.tga
	specularmap		textures/base_wall/sopanel2b4_s.tga
}

textures/base_wall/sopanel2b3
{
	qer_editorimage		textures/base_wall/sopanel2b3.tga
	bumpmap			textures/base_wall/sopanel2b3_local.tga
	diffusemap		textures/base_wall/sopanel2b3_d.tga
	specularmap		textures/base_wall/sopanel2b3_s.tga
}

textures/base_wall/sopanel2b2
{
	qer_editorimage		textures/base_wall/sopanel2b2.tga
	bumpmap			textures/base_wall/sopanel2b2_local.tga
	diffusemap		textures/base_wall/sopanel2b2_d.tga
	specularmap		textures/base_wall/sopanel2b2_s.tga
}

textures/base_wall/sopanel2b
{
	qer_editorimage		textures/base_wall/sopanel2b.tga
	bumpmap			textures/base_wall/sopanel2b_local.tga
	diffusemap		textures/base_wall/sopanel2b_d.tga
	specularmap		textures/base_wall/sopanel2b_s.tga
}

textures/base_wall/sopanel2a
{
	qer_editorimage		textures/base_wall/sopanel2a.tga
	bumpmap			textures/base_wall/sopanel2a_local.tga
	diffusemap		textures/base_wall/sopanel2a_d.tga
	specularmap		textures/base_wall/sopanel2a_s.tga
}

textures/base_wall/sopanel2
{
	qer_editorimage		textures/base_wall/sopanel2.tga
	bumpmap			textures/base_wall/sopanel2_local.tga
	diffusemap		textures/base_wall/sopanel2_d.tga
	specularmap		textures/base_wall/sopanel2_s.tga
}

textures/base_wall/sopanel1c
{
	qer_editorimage		textures/base_wall/sopanel1c.tga
	bumpmap			textures/base_wall/sopanel1c_local.tga
	diffusemap		textures/base_wall/sopanel1c.tga
	specularmap		textures/base_wall/sopanel1c_s.tga
}

textures/base_wall/sopanel1b
{
	qer_editorimage		textures/base_wall/sopanel1b.tga
	bumpmap			textures/base_wall/sopanel1b_local.tga
	diffusemap		textures/base_wall/sopanel1b.tga
	specularmap		textures/base_wall/sopanel1b_s.tga
}

textures/base_wall/sopanel1a
{
	qer_editorimage		textures/base_wall/sopanel1a.tga
	bumpmap			textures/base_wall/sopanel1a_local.tga
	diffusemap		textures/base_wall/sopanel1a_d.tga
	specularmap		textures/base_wall/sopanel1a_s.tga
}

textures/base_wall/sopanel1
{
	qer_editorimage		textures/base_wall/sopanel1.tga
	bumpmap			textures/base_wall/sopanel1_local.tga
	diffusemap		textures/base_wall/sopanel1_d.tga
	specularmap		textures/base_wall/sopanel1_s.tga
}


//S N panel***************************************************************************************************************************

textures/base_wall/twistlightpipe
{
	qer_editorimage		textures/base_wall/twistlightpipe.tga
	bumpmap			textures/base_wall/twistlightpipe_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/twistlightpipe_d.tga
	}
	specularmap		textures/base_wall/twistlightpipe_s.tga
	{
		map		textures/base_wall/twistlightpipe_local.tga
		maskcolor
	}
	{
		blend		gl_dst_alpha , gl_one
		map 		textures/base_wall/twistlightpipe_add.tga
		rgb 		5
		translate	time, 0.5 * time
	}
}

textures/base_wall/twistlightpipeblue
{
	qer_editorimage		textures/base_wall/twistlightpipeblue.tga
	bumpmap			textures/base_wall/twistlightpipe_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/twistlightpipe_d.tga
	}
	specularmap		textures/base_wall/twistlightpipe_s.tga
	{
		map		textures/base_wall/twistlightpipe_local.tga
		maskcolor
	}
	{
		blend		gl_dst_alpha , gl_one
		map 		textures/base_wall/twistlightpipeblue_add.tga
		rgb 		5
		translate	time, 0.5 * time
	}
}

textures/base_wall/snpanelplain1
{
	qer_editorimage		textures/base_wall/snpanelplain1.tga
	diffusemap		textures/base_wall/snpanelplain1.tga
}

textures/base_wall/snpanelredplain
{
	qer_editorimage		textures/base_wall/snpanelredplain.tga
	bumpmap			heightmap (textures/base_wall/snpanelredplain_bmp, 3)
	diffusemap		textures/base_wall/snpanelredplain.tga
	{
		blend		specularmap
		map		textures/base_wall/snpanelredplain_bmp.tga
		rgb		0.4
	}
}


textures/base_wall/snpanel1
{
	qer_editorimage		textures/base_wall/snpanel1.tga
	bumpmap			textures/base_wall/snpanel1_local.tga
	diffusemap		textures/base_wall/snpanel1_d.tga
}

textures/base_wall/snpanel2e
{
	qer_editorimage	textures/base_wall/snpanel2e.tga
	bumpmap			textures/base_wall/snpanel2_local.tga
	diffusemap		textures/base_wall/snpanel2e.tga
	specularmap		textures/base_wall/snpanel2a_s.tga
}

textures/base_wall/snpanel2d
{
	qer_editorimage	textures/base_wall/snpanel2d.tga
	bumpmap			textures/base_wall/snpanel2_local.tga
	diffusemap		textures/base_wall/snpanel2d.tga
	specularmap		textures/base_wall/snpanel2a_s.tga
}

textures/base_wall/snpanel2c
{
	qer_editorimage	textures/base_wall/snpanel2c.tga
	bumpmap			textures/base_wall/snpanel2_local.tga
	diffusemap		textures/base_wall/snpanel2c.tga
	specularmap		textures/base_wall/snpanel2a_s.tga
}

textures/base_wall/snpanel2b
{
	qer_editorimage	textures/base_wall/snpanel2b.tga
	bumpmap			textures/base_wall/snpanel2_local.tga
	diffusemap		textures/base_wall/snpanel2b.tga
	specularmap		textures/base_wall/snpanel2a_s.tga
}

textures/base_wall/snpanel2a
{
	qer_editorimage	textures/base_wall/snpanel2a.tga
	bumpmap			textures/base_wall/snpanel2_local.tga
	diffusemap		textures/base_wall/snpanel2a.tga
	specularmap		textures/base_wall/snpanel2a_s.tga
}

textures/base_wall/snpanel2
{
	qer_editorimage		textures/base_wall/snpanel2.tga
	bumpmap			textures/base_wall/snpanel2_local.tga
	diffusemap		textures/base_wall/snpanel2_d.tga
	specularmap		textures/base_wall/snpanel2_s.tga
}

textures/base_wall/snpanel3
{
	qer_editorimage		textures/base_wall/snpanel3.tga
	bumpmap			textures/base_wall/snpanel3_local.tga
	diffusemap		textures/base_wall/snpanel3_d.tga
	specularmap		textures/base_wall/snpanel3_s.tga
}

textures/base_wall/snpanel3a
{
	qer_editorimage		textures/base_wall/snpanel3a.tga
	bumpmap			textures/base_wall/snpanel3a_local.tga
	diffusemap		textures/base_wall/snpanel3a_d.tga
	specularmap		textures/base_wall/snpanel3a_s.tga
}

textures/base_wall/snpanel3b
{
	qer_editorimage		textures/base_wall/snpanel3b.tga
	bumpmap			textures/base_wall/snpanel3b_local.tga
	diffusemap		textures/base_wall/snpanel3b_d.tga
	specularmap		textures/base_wall/snpanel3b_s.tga
}

textures/base_wall/snpanel3c
{
	qer_editorimage		textures/base_wall/snpanel3c.tga
	bumpmap			textures/base_wall/snpanel3c_local.tga
	diffusemap		textures/base_wall/snpanel3c_d.tga
	specularmap		textures/base_wall/snpanel3c_s.tga
}

textures/base_wall/snpanel3d
{
	qer_editorimage		textures/base_wall/snpanel3d.tga
	bumpmap			textures/base_wall/snpanel3d_local.tga
	diffusemap		textures/base_wall/snpanel3d_d.tga
	specularmap		textures/base_wall/snpanel3d_s.tga
}

textures/base_wall/snpanel3e
{
	qer_editorimage		textures/base_wall/snpanel3e.tga
	bumpmap			textures/base_wall/snpanel3e_local.tga
	diffusemap		textures/base_wall/snpanel3e_d.tga
	specularmap		textures/base_wall/snpanel3e_s.tga
}

textures/base_wall/snpanel3f
{
	qer_editorimage		textures/base_wall/snpanel3f.tga
	bumpmap			textures/base_wall/snpanel3f_local.tga
	diffusemap		textures/base_wall/snpanel3f_d.tga
	specularmap		textures/base_wall/snpanel3f_s.tga
}

textures/base_wall/snpanel3g
{
	qer_editorimage		textures/base_wall/snpanel3g.tga
	bumpmap			textures/base_wall/snpanel3g_local.tga
	diffusemap		textures/base_wall/snpanel3g_d.tga
	specularmap		textures/base_wall/snpanel3g_s.tga
}

textures/base_wall/snpanel4
{
	qer_editorimage		textures/base_wall/snpanel4.tga
	bumpmap			textures/base_wall/snpanel4_local.tga
	diffusemap		textures/base_wall/snpanel4_d.tga
	specularmap		textures/base_wall/snpanel4_s.tga
}

textures/base_wall/snpanel5
{
	qer_editorimage		textures/base_wall/snpanel5.tga
	bumpmap			textures/base_wall/snpanel5_local.tga
	diffusemap		textures/base_wall/snpanel5_d.tga
	specularmap		textures/base_wall/snpanel5_s.tga
}

textures/base_wall/snpanel6
{
	qer_editorimage		textures/base_wall/snpanel6.tga
	bumpmap			textures/base_wall/snpanel6_local.tga
	diffusemap		textures/base_wall/snpanel6_d.tga
	specularmap		textures/base_wall/snpanel6_s.tga
}

textures/base_wall/snpanel7
{
	qer_editorimage		textures/base_wall/snpanel7.tga
	bumpmap			textures/base_wall/snpanel7_local.tga
	diffusemap		textures/base_wall/snpanel7_d.tga
	specularmap		textures/base_wall/snpanel7_s.tga
}

textures/base_wall/snpanel8
{
	qer_editorimage		textures/base_wall/snpanel8.tga
//	bumpmap			addnormals (textures/base_wall/snpanel8_local.tga, heightmap (textures/base_wall/snpanel8_bmp.tga, 4))
	bumpmap			textures/base_wall/snpanel8_local.tga
	diffusemap		textures/base_wall/snpanel8_d.tga
	specularmap		textures/base_wall/snpanel8_s.tga
}

textures/base_wall/snpanel9
{
	qer_editorimage		textures/base_wall/snpanel9.tga
	bumpmap			textures/base_wall/snpanel9_local.tga
	diffusemap		textures/base_wall/snpanel9_d.tga
	specularmap		textures/base_wall/snpanel9_s.tga
	{
		blend 		gl_dst_color,gl_zero
		map		textures/base_wall/snpanel9_overlay.tga
		scale		0.25, 1
	}

}

textures/base_wall/snpanel10
{
	qer_editorimage		textures/base_wall/snpanel10.tga
	noshadows
	bumpmap			textures/base_wall/snpanel10_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/snpanel10_d.tga
		alphatest	.55
	}
}

textures/base_wall/snpanel10a
{
	qer_editorimage		textures/base_wall/snpanel10a.tga
	noshadows
	bumpmap			textures/base_wall/snpanel10_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/snpanel10a_d.tga
		alphatest	.55
	}
	specularmap		textures/base_wall/snpanel10a_s.tga
}


textures/base_wall/snpanel11
{
	qer_editorimage		textures/base_wall/snpanel11.tga
	bumpmap			textures/base_wall/snpanel11_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/snpanelplain1.tga
		scale 		2 , 1
	}
	{
		blend		add
		map		textures/base_wall/snpanel11_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/snpanel12
{
	qer_editorimage		textures/base_wall/snpanel12.tga
			nonsolid
	noshadows
	bumpmap			textures/base_wall/snpanel12_local.tga
	specularmap		textures/base_wall/snpanel12_s.tga
	{
		blend		diffusemap
		map		textures/base_wall/snpanel12_d.tga
		alphatest	.55
	}
}

textures/base_wall/snpanel12a
{
	qer_editorimage		textures/base_wall/snpanel12a.tga
			nonsolid
	noshadows
	bumpmap			textures/base_wall/snpanel12_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/snpanel12_d.tga
		alphatest	.55
	}
	specularmap		textures/base_wall/snpanel12_s.tga
	{
		blend		add
		map		textures/base_wall/snpanel12_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/snpanel13
{
	qer_editorimage		textures/base_wall/snpanel13.tga
	bumpmap			textures/base_wall/snpanel13_local.tga
	diffusemap		textures/base_wall/snpanel13_d.tga
	specularmap		textures/base_wall/snpanel13_s.tga
}


textures/base_wall/snpanel14
{
	qer_editorimage		textures/base_wall/snpanel14.tga
	bumpmap			textures/base_wall/snpanel14_local.tga
	diffusemap		textures/base_wall/snpanel14_d.tga
	specularmap		textures/base_wall/snpanel14_s.tga
}

textures/base_wall/snpanel15
{
	qer_editorimage		textures/base_wall/snpanel15.tga
	bumpmap			textures/base_wall/snpanel15_local.tga
	diffusemap		textures/base_wall/snpanel15_d.tga
	specularmap		textures/base_wall/snpanel15_s.tga
}

textures/base_wall/snpanel16
{
	qer_editorimage		textures/base_wall/snpanel16.tga
	bumpmap			textures/base_wall/snpanel16_local.tga
	diffusemap		textures/base_wall/snpanel16_d.tga
	{
		blend		add
		map		textures/base_wall/snpanel16_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/snpanel16_2
{
	qer_editorimage		textures/base_wall/snpanel16_2.tga
	bumpmap			textures/base_wall/snpanel16_local.tga
	diffusemap		textures/base_wall/snpanel16_2_s.tga
	specularmap		textures/base_wall/snpanel16_2_s.tga
	{
		blend		add
		map		textures/base_wall/snpanel16_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/snpanel16a
{
	qer_editorimage		textures/base_wall/snpanel16a.tga
	bumpmap			textures/base_wall/snpanel16a_local.tga
	diffusemap		textures/base_wall/snpanel16a_d.tga
	specularmap		textures/base_wall/snpanel16a_s.tga
}

textures/base_wall/snpanel17
{
	qer_editorimage		textures/base_wall/snpanel17.tga
	bumpmap			textures/base_wall/snpanel17_local.tga
	diffusemap		textures/base_wall/snpanel17_d.tga
	specularmap		textures/base_wall/snpanel17_s.tga
}

textures/base_wall/snpanel18
{
	qer_editorimage		textures/base_wall/snpanel18.tga
	bumpmap			textures/base_wall/snpanel18_local.tga
	diffusemap		textures/base_wall/snpanel18_d.tga
	specularmap		textures/base_wall/snpanel18_s.tga
}

textures/base_wall/snpanel19
{
	qer_editorimage		textures/base_wall/snpanel19.tga
			nonsolid
	translucent
	noshadows
	bumpmap			textures/base_wall/snpanel19_local.tga
	diffusemap		textures/base_wall/snpanel19_d.tga
	specularmap		textures/base_wall/snpanel19_s.tga
}

textures/base_wall/snpanel20
{
	qer_editorimage		textures/base_wall/snpanel20.tga
			nonsolid
	translucent
	noshadows
	bumpmap			textures/base_wall/snpanel20_local.tga
	diffusemap		textures/base_wall/snpanel20_d.tga
	specularmap		textures/base_wall/snpanel20_s.tga
}

textures/base_wall/snpanel21
{
	qer_editorimage		textures/base_wall/snpanel21.tga
	bumpmap			textures/base_wall/snpanel21_local.tga
	diffusemap		textures/base_wall/snpanel21_d.tga
	specularmap		textures/base_wall/snpanel21_s.tga
}

textures/base_wall/snpanel22
{
	qer_editorimage		textures/base_wall/snpanel22.tga
	bumpmap			textures/base_wall/snpanel22_local.tga
	diffusemap		textures/base_wall/snpanel22_d.tga
	specularmap		textures/base_wall/snpanel22_s.tga
}

textures/base_wall/snpanel23
{
	qer_editorimage		textures/base_wall/snpanel23.tga
	bumpmap			textures/base_wall/snpanel23_local.tga
	diffusemap		textures/base_wall/snpanel23_d.tga
	specularmap		textures/base_wall/snpanel23_s.tga
}

textures/base_wall/snpanel24
{
	qer_editorimage		textures/base_wall/snpanel24.tga
	nonsolid
	noshadows
	bumpmap			textures/base_wall/snpanel24_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/snpanel24_d.tga
		alphatest	.55
	}
	specularmap		textures/base_wall/snpanel24_s.tga
}

textures/base_wall/snpanel25
{
	qer_editorimage		textures/base_wall/snpanel25.tga
	bumpmap			textures/base_wall/snpanel25_local.tga
	diffusemap		textures/base_wall/snpanel25_d.tga
}

textures/base_wall/snpanel25a
{
	qer_editorimage		textures/base_wall/snpanel25a.tga
	bumpmap			textures/base_wall/snpanel25_local.tga
	diffusemap		textures/base_wall/snpanel25a_d.tga
}

textures/base_wall/snpanel25_add
{
	translucent
	nonsolid
	qer_editorimage		textures/base_wall/snpanel25_add.tga
	{
		blend		add
		map		textures/base_wall/snpanel25_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/snpanel26
{
	qer_editorimage		textures/base_wall/snpanel26.tga
	bumpmap			textures/base_wall/snpanel26_local.tga
	diffusemap		textures/base_wall/snpanel26_d.tga
}

textures/base_wall/snpanel28
{
	qer_editorimage		textures/base_wall/snpanel28.tga
	bumpmap			addnormals ( textures/base_wall/snpanel28_local.tga, heightmap (textures/base_wall/snpanel28_bmp.tga, 3) )
		
	diffusemap		textures/base_wall/snpanel28_d.tga
	specularmap		textures/base_wall/snpanel28_s.tga
}


//S M panel***************************************************************************************************************************

textures/base_wall/smpanel1
{
	qer_editorimage		textures/base_wall/smpanel1.tga
	bumpmap			addnormals (textures/base_wall/smpanel1_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel1_d.tga

}

textures/base_wall/smpanel1a
{
	qer_editorimage		textures/base_wall/smpanel1a.tga
	bumpmap			addnormals (textures/base_wall/smpanel1a_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel1a_d.tga

}

textures/base_wall/smpanel2
{
	qer_editorimage		textures/base_wall/smpanel2.tga
	bumpmap			addnormals (textures/base_wall/smpanel2_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel2_d.tga

}

textures/base_wall/smpanel2a
{
	qer_editorimage		textures/base_wall/smpanel2a.tga
	bumpmap			addnormals (textures/base_wall/smpanel2a_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel2a_d.tga

}

textures/base_wall/smpanel3
{
	qer_editorimage		textures/base_wall/smpanel3.tga
	bumpmap			addnormals (textures/base_wall/smpanel3_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel3_d.tga

}

textures/base_wall/smpanel3a
{
	qer_editorimage		textures/base_wall/smpanel3a.tga
	bumpmap			addnormals (textures/base_wall/smpanel3a_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel3a_d.tga

}

textures/base_wall/smpanel4
{
	qer_editorimage		textures/base_wall/smpanel4.tga
	bumpmap			addnormals (textures/base_wall/smpanel4_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel4_d.tga

}

textures/base_wall/smpanel4a
{
	qer_editorimage	textures/base_wall/smpanel4a.tga
	bumpmap			addnormals (textures/base_wall/smpanel4a_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel4a_d.tga

}

textures/base_wall/smpanel5
{
	qer_editorimage		textures/base_wall/smpanel5.tga
	bumpmap			addnormals (textures/base_wall/smpanel5_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel5_d.tga

}

textures/base_wall/smpanel5a
{
	qer_editorimage		textures/base_wall/smpanel5a.tga
	bumpmap			addnormals (textures/base_wall/smpanel5a_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel5a_d.tga

}

textures/base_wall/smpanel6
{
	qer_editorimage		textures/base_wall/smpanel6.tga
	bumpmap			addnormals (textures/base_wall/smpanel6_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel6_d.tga

}

textures/base_wall/smpanel7
{
	qer_editorimage		textures/base_wall/smpanel7.tga
	bumpmap			addnormals (textures/base_wall/smpanel7_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel7_d.tga

}

textures/base_wall/smpanel8
{
	qer_editorimage		textures/base_wall/smpanel8.tga
	bumpmap			addnormals (textures/base_wall/smpanel8_local.tga, heightmap (textures/base_wall/smpanel8_bmp.tga, 2) )
	diffusemap		textures/base_wall/smpanel8_d.tga

}

textures/base_wall/superpipes
{
	qer_editorimage		textures/base_wall/superpipes
	bumpmap			textures/base_wall/superpipes_local.tga
	diffusemap		textures/base_wall/superpipes_d.tga
	specularmap		textures/base_wall/superpipes_s.tga
}

//S L panel***************************************************************************************************************************

textures/base_wall/slpanel1
{
	qer_editorimage		textures/base_wall/slpanel1
	bumpmap			textures/base_wall/slpanel1_local.tga
	diffusemap		textures/base_wall/slpanel1_d.tga
	specularmap		textures/base_wall/slpanel1_s.tga
}

textures/base_wall/slpanel1a
{
	qer_editorimage		textures/base_wall/slpanel1a
	bumpmap			textures/base_wall/slpanel1_local.tga
	diffusemap		textures/base_wall/slpanel1a_d.tga
	specularmap		textures/base_wall/slpanel1_s.tga
}

textures/base_wall/slpanel2
{
	qer_editorimage		textures/base_wall/slpanel2
	bumpmap			textures/base_wall/slpanel2_local.tga
	diffusemap		textures/base_wall/slpanel2_d.tga
	specularmap		textures/base_wall/slpanel2_s.tga
}

textures/base_wall/slpanel2a
{
	qer_editorimage		textures/base_wall/slpanel2a
	bumpmap			textures/base_wall/slpanel2_local.tga
	diffusemap		textures/base_wall/slpanel2_d.tga
	specularmap		textures/base_wall/slpanel2_s.tga
	{
		blend		add
		map			textures/base_wall/slpanel2_add.tga
		colored
	}
}

textures/base_wall/slpanel3
{
	qer_editorimage		textures/base_wall/slpanel3
	bumpmap			textures/base_wall/slpanel3_local.tga
	diffusemap		textures/base_wall/slpanel3_d.tga
	specularmap		textures/base_wall/slpanel3_s.tga
}

textures/base_wall/slpanelpipe
{
	qer_editorimage		textures/base_wall/slpanelpipe
	bumpmap			textures/base_wall/slpanelpipe_local.tga
	diffusemap		textures/base_wall/slpanelpipe_d.tga
	specularmap		textures/base_wall/slpanelpipe_s.tga
}

textures/base_wall/longpanel
{
	qer_editorimage		textures/base_wall/longpanel.tga
	{
		blend		bumpmap
		map		textures/base_wall/longpanel_local.tga
		scale		1 , 8
	}
	diffusemap		textures/base_wall/longpanel.tga
	{
		blend		specularmap	
		map		textures/base_wall/longpanel_s.tga
		scale 		1,8
	}
}

textures/base_wall/conctest
{
	qer_editorimage		textures/base_wall/conctest.tga
	bumpmap			heightmap (textures/base_wall/conctest_bmp.tga, 4)
	diffusemap		textures/base_wall/conctest.tga
}

textures/base_wall/tramtrim
{
	qer_editorimage		textures/base_wall/tramtrim.tga
	bumpmap			textures/base_wall/tramtrim_local.tga
	diffusemap		textures/base_wall/tramtrim_d.tga
	specularmap		textures/base_wall/tramtrim_s.tga
}

textures/base_wall/tramwall2
{
	qer_editorimage		textures/base_wall/tramwall2.tga
	bumpmap			textures/base_wall/tramwall2_local.tga
	{
				blend gl_zero,gl_one
				map textures/base_wall/tramwall2_local.tga
				alphatest .55
	}
	diffusemap		textures/base_wall/tramwall2_d.tga
	specularmap		textures/base_wall/tramwall2_s.tga
}

textures/base_wall/tramwall1
{
	qer_editorimage		textures/base_wall/tramwall1.tga
	bumpmap			textures/base_wall/tramwall1_local.tga
	diffusemap		textures/base_wall/tramwall1_d.tga
	specularmap		textures/base_wall/tramwall1_s.tga
}

//S K panel***************************************************************************************************************************


textures/base_wall/skpanelT
{
	qer_editorimage		textures/base_wall/skpanelT.tga
	bumpmap			textures/base_wall/skpanelT_local.tga
	diffusemap		textures/base_wall/skpanelT_d.tga
	specularmap		textures/base_wall/skpanelT_s.tga
}

textures/base_wall/skpanel26
{
	qer_editorimage		textures/base_wall/skpanel26.tga
	bumpmap			textures/base_wall/skpanel26_local.tga
	diffusemap		textures/base_wall/skpanel26_d.tga
	specularmap		textures/base_wall/skpanel26_s.tga
}

textures/base_wall/skpanel25a
{	
	qer_editorimage		textures/base_wall/skpanel25a.tga
	bumpmap			textures/base_wall/skpanel25_local.tga
	diffusemap		textures/base_wall/skpanel25a.tga
	specularmap		textures/base_wall/skpanel25_s.tga
}


textures/base_wall/skpanel25b
{
	qer_editorimage		textures/base_wall/skpanel25b.tga
	bumpmap			textures/base_wall/skpanel25b_local.tga
	diffusemap		textures/base_wall/skpanel25b_d.tga
	specularmap		textures/base_wall/skpanel25b_s.tga
}

textures/base_wall/skpanel25
{
	qer_editorimage		textures/base_wall/skpanel25.tga
	bumpmap			textures/base_wall/skpanel25_local.tga
	diffusemap		textures/base_wall/skpanel25_d.tga
	specularmap		textures/base_wall/skpanel25_s.tga
}

textures/base_wall/skpanel24
{
	qer_editorimage		textures/base_wall/skpanel24.tga
	bumpmap			textures/base_wall/skpanel24_local.tga
	diffusemap		textures/base_wall/skpanel24_d.tga
	specularmap		textures/base_wall/skpanel24_s.tga
}

textures/base_wall/skpanel23
{
	qer_editorimage		textures/base_wall/skpanel23.tga
	bumpmap			textures/base_wall/skpanel23_local.tga
	diffusemap		textures/base_wall/skpanel23_d.tga
	specularmap		textures/base_wall/skpanel23_s.tga
}

textures/base_wall/skpanel22a
{
	qer_editorimage	textures/base_wall/skpanel22a.tga
	bumpmap			textures/base_wall/skpanel22_local.tga
	diffusemap		textures/base_wall/skpanel22a.tga
	specularmap		textures/base_wall/skpanel22_s.tga
}

textures/base_wall/skpanel22
{
	qer_editorimage	textures/base_wall/skpanel22.tga
	bumpmap			textures/base_wall/skpanel22_local.tga
	diffusemap		textures/base_wall/skpanel22.tga
	specularmap		textures/base_wall/skpanel22_s.tga
}

textures/base_wall/skpanel21
{
	qer_editorimage		textures/base_wall/skpanel21.tga
	bumpmap			textures/base_wall/skpanel21_local.tga
	diffusemap		textures/base_wall/skpanel21_d.tga
	specularmap		textures/base_wall/skpanel21_s.tga
}

textures/base_wall/skpanel20g
{
	qer_editorimage	textures/base_wall/skpanel20g
	bumpmap			textures/base_wall/skpanel20_local
	diffusemap		textures/base_wall/skpanel20g
	specularmap		textures/base_wall/skpanel20c_s
}

textures/base_wall/skpanel20f
{
	qer_editorimage	textures/base_wall/skpanel20f
	bumpmap			textures/base_wall/skpanel20_local
	diffusemap		textures/base_wall/skpanel20f
	specularmap		textures/base_wall/skpanel20c_s
}

textures/base_wall/skpanel20e
{
	qer_editorimage	textures/base_wall/skpanel20e
	bumpmap			textures/base_wall/skpanel20_local
	diffusemap		textures/base_wall/skpanel20e
	specularmap		textures/base_wall/skpanel20c_s
}

textures/base_wall/skpanel20d
{
	qer_editorimage	textures/base_wall/skpanel20d
	bumpmap			textures/base_wall/skpanel20_local
	diffusemap		textures/base_wall/skpanel20d
	specularmap		textures/base_wall/skpanel20c_s
}

textures/base_wall/skpanel20c
{
	qer_editorimage	textures/base_wall/skpanel20c
	bumpmap			textures/base_wall/skpanel20_local
	diffusemap		textures/base_wall/skpanel20c
	specularmap		textures/base_wall/skpanel20c_s
}


textures/base_wall/skpanel20
{
	qer_editorimage		textures/base_wall/skpanel20.tga
	bumpmap			textures/base_wall/skpanel20_local.tga
	diffusemap		textures/base_wall/skpanel20_d.tga
	specularmap		textures/base_wall/skpanel20_s.tga
}

textures/base_wall/skpanel19
{
	qer_editorimage		textures/base_wall/skpanel19.tga
	bumpmap			textures/base_wall/skpanel19_local.tga
	diffusemap		textures/base_wall/skpanel19_d.tga
	specularmap		textures/base_wall/skpanel19_s.tga
}

textures/base_wall/skpanel18
{	
	qer_editorimage		textures/base_wall/skpanel18.tga
	bumpmap			textures/base_wall/skpanel18_local.tga
	diffusemap		textures/base_wall/skpanel18_d.tga
	specularmap		textures/base_wall/skpanel18_s.tga
}

textures/base_wall/skpanel17cg
{
	qer_editorimage		textures/base_wall/skpanel17cg.tga
	bumpmap			textures/base_wall/skpanel17_local.tga
	diffusemap		textures/base_wall/skpanel17cg_d.tga
	specularmap		textures/base_wall/skpanel17cg_s.tga
}

textures/base_wall/skpanel17e_d
{
	qer_editorimage		textures/base_wall/skpanel17e_d.tga
	bumpmap			textures/base_wall/skpanel17_local.tga
	diffusemap		textures/base_wall/skpanel17e_d.tga
	specularmap		textures/base_wall/skpanel17_s.tga
}

textures/base_wall/skpanel17d_d
{
	qer_editorimage		textures/base_wall/skpanel17d_d.tga
	bumpmap			textures/base_wall/skpanel17_local.tga
	diffusemap		textures/base_wall/skpanel17d_d.tga
	specularmap		textures/base_wall/skpanel17_s.tga
}

textures/base_wall/skpanel17c_d
{
	qer_editorimage		textures/base_wall/skpanel17c_d.tga
	bumpmap			textures/base_wall/skpanel17_local.tga
	diffusemap		textures/base_wall/skpanel17c_d.tga
	specularmap		textures/base_wall/skpanel17_s.tga
}

textures/base_wall/skpanel17b_d
{
	qer_editorimage		textures/base_wall/skpanel17b_d.tga
	bumpmap			textures/base_wall/skpanel17_local.tga
	diffusemap		textures/base_wall/skpanel17b_d.tga
	specularmap		textures/base_wall/skpanel17_s.tga
}

textures/base_wall/skpanel17a_d
{
	qer_editorimage		textures/base_wall/skpanel17a_d.tga
	bumpmap			textures/base_wall/skpanel17_local.tga
	diffusemap		textures/base_wall/skpanel17a_d.tga
	specularmap		textures/base_wall/skpanel17_s.tga
}

/**
textures/base_wall/skpanel17
{
	qer_editorimage		textures/base_wall/skpanel17.tga
	bumpmap			textures/base_wall/skpanel17_local.tga
	diffusemap		textures/base_wall/skpanel17_d.tga
	specularmap		textures/base_wall/skpanel17_s.tga
}
**/

textures/base_wall/skpanel16a
{
	qer_editorimage		textures/base_wall/skpanel16a.tga
	bumpmap			textures/base_wall/skpanel16a_local.tga
	diffusemap		textures/base_wall/skpanel16a_d.tga
	specularmap		textures/base_wall/skpanel16a_s.tga
}

textures/base_wall/skpanel16
{
	qer_editorimage		textures/base_wall/skpanel16.tga
	bumpmap			textures/base_wall/skpanel16_local.tga
	diffusemap		textures/base_wall/skpanel16_d.tga
	specularmap		textures/base_wall/skpanel16_s.tga
}

textures/base_wall/skpanel15
{
	qer_editorimage		textures/base_wall/skpanel15.tga
	bumpmap			textures/base_wall/skpanel15_local.tga
	diffusemap		textures/base_wall/skpanel15_d.tga
	specularmap		textures/base_wall/skpanel15_s.tga
}

textures/base_wall/skpanel14
{
	qer_editorimage		textures/base_wall/skpanel14.tga
	bumpmap			textures/base_wall/skpanel14_local.tga
	diffusemap		textures/base_wall/skpanel14_d.tga
	specularmap		textures/base_wall/skpanel14_s.tga
}

textures/base_wall/skpanel13b
{
	qer_editorimage		textures/base_wall/skpanel13b.tga
	bumpmap			textures/base_wall/skpanel13_local.tga
	diffusemap		textures/base_wall/skpanel13b.tga
	specularmap		textures/base_wall/skpanel13_s.tga
}

textures/base_wall/skpanel13a
{
	qer_editorimage		textures/base_wall/skpanel13a.tga
	bumpmap			textures/base_wall/skpanel13_local.tga
	diffusemap		textures/base_wall/skpanel13a.tga
	specularmap		textures/base_wall/skpanel13_s.tga
}

textures/base_wall/skpanel13
{
	qer_editorimage		textures/base_wall/skpanel13.tga
	bumpmap			textures/base_wall/skpanel13_local.tga
	diffusemap		textures/base_wall/skpanel13c.tga
	specularmap		textures/base_wall/skpanel13_s.tga
}

textures/base_wall/skpanel12b
{
	qer_editorimage		textures/base_wall/skpanel12b.tga
	bumpmap			textures/base_wall/skpanel12_local.tga
	diffusemap		textures/base_wall/skpanel12b.tga
	specularmap		textures/base_wall/skpanel12_s.tga
}

textures/base_wall/skpanel12a
{
	qer_editorimage		textures/base_wall/skpanel12a.tga
	bumpmap			textures/base_wall/skpanel12_local.tga
	diffusemap		textures/base_wall/skpanel12a.tga
	specularmap		textures/base_wall/skpanel12_s.tga
}

textures/base_wall/skpanel12
{	
	qer_editorimage		textures/base_wall/skpanel12.tga
	bumpmap			textures/base_wall/skpanel12_local.tga
	diffusemap		textures/base_wall/skpanel12_d.tga
	specularmap		textures/base_wall/skpanel12_s.tga
}

textures/base_wall/skpanel11a
{	
	qer_editorimage		textures/base_wall/skpanel11a.tga
	bumpmap			textures/base_wall/skpanel11_local.tga
	diffusemap		textures/base_wall/skpanel11a.tga
	specularmap		textures/base_wall/skpanel11_s.tga
}

textures/base_wall/skpanel11
{
	qer_editorimage		textures/base_wall/skpanel11.tga
	bumpmap			textures/base_wall/skpanel11_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/skpanel11_d.tga
		rgb		Parm3
	}
	specularmap		textures/base_wall/skpanel11_s.tga
}

textures/base_wall/skpanel10
{
	twosided
	noshadows
	qer_editorimage		textures/base_wall/skpanel10.tga
	bumpmap			textures/base_wall/skpanel10_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/skpanel10_d.tga
		alphatest	.5
	}
	specularmap		textures/base_wall/skpanel10_s.tga
}

textures/base_wall/skpanel9
{
	twosided
	noshadows
	qer_editorimage		textures/base_wall/skpanel9.tga
	bumpmap			textures/base_wall/skpanel9_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/skpanel9_d.tga	
		alphatest 	.5
	}
	specularmap		textures/base_wall/skpanel9_s.tga
}

textures/base_wall/skpanel8
{
	qer_editorimage		textures/base_wall/skpanel8.tga
	bumpmap			textures/base_wall/skpanel8_local.tga
	diffusemap		textures/base_wall/skpanel8_d.tga
	specularmap		textures/base_wall/skpanel8_s.tga
}

textures/base_wall/skpanel8a
{
	qer_editorimage		textures/base_wall/skpanel8a.tga
	bumpmap			textures/base_wall/skpanel8a_local.tga
	diffusemap		textures/base_wall/skpanel8a.tga
	specularmap		textures/base_wall/skpanel8a_s.tga
}

textures/base_wall/skpanel7
{
	qer_editorimage		textures/base_wall/skpanel7.tga
	bumpmap			textures/base_wall/skpanel7_local.tga
	diffusemap		textures/base_wall/skpanel7_d.tga
	specularmap		textures/base_wall/skpanel7_s.tga
	{
		blend add
		map		textures/base_wall/skpanel7_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/skpanel6
{
	qer_editorimage		textures/base_wall/skpanel6.tga
	bumpmap			textures/base_wall/skpanel6_local.tga
	diffusemap		textures/base_wall/skpanel6_d.tga
	specularmap		textures/base_wall/skpanel6_s.tga
}

textures/base_wall/skpanel5
{
	qer_editorimage		textures/base_wall/skpanel5.tga
	bumpmap			textures/base_wall/skpanel5_local.tga
	diffusemap		textures/base_wall/skpanel5_d.tga
	specularmap		textures/base_wall/skpanel5_s.tga
}

textures/base_wall/skpanel4
{
	qer_editorimage		textures/base_wall/skpanel4.tga
	bumpmap			textures/base_wall/skpanel4_local.tga
	diffusemap		textures/base_wall/skpanel4_d.tga
	specularmap		textures/base_wall/skpanel4_s.tga
}

textures/base_wall/skpanel3b
{
	qer_editorimage		textures/base_wall/skpanel3b.tga
	bumpmap			textures/base_wall/skpanel3_local.tga
	diffusemap		textures/base_wall/skpanel3b_d.tga
	specularmap		textures/base_wall/skpanel3_s.tga
	{
		blend 		add
		map		textures/base_wall/skpanel3_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/skpanel3b_dust
{
	qer_editorimage		textures/base_wall/skpanel3b_dust.tga
	bumpmap			textures/base_wall/skpanel3_local.tga
	diffusemap		textures/base_wall/skpanel3_dust_d.tga
	specularmap		textures/base_wall/skpanel3_dust_s.tga
	{
		blend 		add
		map		textures/base_wall/skpanel3_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/skpanel3a
{
	qer_editorimage		textures/base_wall/skpanel3a.tga
	bumpmap			textures/base_wall/skpanel3_local.tga
	diffusemap		textures/base_wall/skpanel3b_d.tga
	specularmap		textures/base_wall/skpanel3_s.tga
	{
		blend 		add
		map		textures/base_wall/skpanel3a_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/skpanel3a_dust
{
	qer_editorimage		textures/base_wall/skpanel3a_dust.tga
	bumpmap			textures/base_wall/skpanel3_local.tga
	diffusemap		textures/base_wall/skpanel3_dust_d.tga
	specularmap		textures/base_wall/skpanel3_dust_s.tga
	{
		blend 		add
		map		textures/base_wall/skpanel3a_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/skpanel3
{
	qer_editorimage		textures/base_wall/skpanel3.tga
	bumpmap			textures/base_wall/skpanel3_local.tga
	diffusemap		textures/base_wall/skpanel3_d.tga
	specularmap		textures/base_wall/skpanel3_s.tga
	{
		blend 		add
		map		textures/base_wall/skpanel3_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_wall/skpanel2
{
	qer_editorimage		textures/base_wall/skpanel2.tga
	bumpmap			textures/base_wall/skpanel2_local.tga
	diffusemap		textures/base_wall/skpanel2_d.tga
	specularmap		textures/base_wall/skpanel2_s.tga
}

textures/base_wall/skpanel1c
{
	qer_editorimage	textures/base_wall/skpanel1c
	bumpmap			textures/base_wall/skpanel1_local.tga
	diffusemap		textures/base_wall/skpanel1c.tga
	specularmap		textures/base_wall/skpanel1c_s.tga
}

textures/base_wall/skpanel1b
{
	qer_editorimage		textures/base_wall/skpanel1b.tga
	bumpmap			textures/base_wall/skpanel1_local.tga
	diffusemap		textures/base_wall/skpanel1b.tga
	specularmap		textures/base_wall/skpanel1_s.tga
}

textures/base_wall/skpanel1a
{
	qer_editorimage		textures/base_wall/skpanel1a.tga
	bumpmap			textures/base_wall/skpanel1_local.tga
	diffusemap		textures/base_wall/skpanel1a.tga
	specularmap		textures/base_wall/skpanel1_s.tga
}

textures/base_wall/skpanel1
{
	qer_editorimage		textures/base_wall/skpanel1.tga
	bumpmap			textures/base_wall/skpanel1_local.tga
	diffusemap		textures/base_wall/skpanel1_d.tga
	specularmap		textures/base_wall/skpanel1_s.tga
}

textures/base_wall/reactorcircles
{
	qer_editorimage		textures/base_wall/reactorcircles.tga
	bumpmap			textures/base_wall/reactorcircles_local.tga
	diffusemap		textures/base_wall/reactorcircles_d.tga
	specularmap		textures/base_wall/reactorcircles_s.tga
}

textures/base_wall/reactorwalla3b2
{
	qer_editorimage		textures/base_wall/reactorwalla3b2.tga
	diffusemap		textures/base_wall/reactorwalla3b2.tga
	specularmap		textures/base_wall/reactorwalla3a2_s.tga
}	


textures/base_wall/reactorwalla3b
{
	qer_editorimage		textures/base_wall/reactorwalla3b.tga
	bumpmap			textures/base_wall/reactorwalla3a_local.tga
	diffusemap		textures/base_wall/reactorwalla3b.tga
	specularmap		textures/base_wall/reactorwalla3a_s.tga
}	

textures/base_wall/reactorwalla3a2
{
	qer_editorimage		textures/base_wall/reactorwalla3a2.tga
	diffusemap		textures/base_wall/reactorwalla3a2.tga
	specularmap		textures/base_wall/reactorwalla3a2_s.tga
}	

textures/base_wall/reactorwalla3a
{
	qer_editorimage		textures/base_wall/reactorwalla3a.tga
	bumpmap			textures/base_wall/reactorwalla3a_local.tga
	{
		blend		diffusemap
		map		textures/base_wall/reactorwalla3a.tga
		colored
	}
	specularmap		textures/base_wall/reactorwalla3a_s.tga
}	

textures/base_wall/reactorwall1a5
{	
	qer_editorimage		textures/base_wall/reactorwall1a5.tga
	bumpmap			textures/base_wall/reactorwall1a3_local.tga
	diffusemap		textures/base_wall/reactorwall1a5.tga
	specularmap		textures/base_wall/reactorwall1a3_s.tga
}

textures/base_wall/reactorwall1a4
{
	qer_editorimage		textures/base_wall/reactorwall1a4.tga
	bumpmap			textures/base_wall/reactorwall1a3_local.tga
	diffusemap		textures/base_wall/reactorwall1a4.tga
	specularmap		textures/base_wall/reactorwall1a3_s.tga
}

textures/base_wall/reactorwall1a3
{
	qer_editorimage		textures/base_wall/reactorwall1a3.tga
	bumpmap			textures/base_wall/reactorwall1a3_local.tga
	diffusemap		textures/base_wall/reactorwall1a3_d.tga
	specularmap		textures/base_wall/reactorwall1a3_s.tga
}

textures/base_wall/reactorwall1a2
{
	qer_editorimage		textures/base_wall/reactorwall1a2.tga
	bumpmap			textures/base_wall/reactorwall1_local.tga
	diffusemap		textures/base_wall/reactorwall1a2_d.tga
	specularmap		textures/base_wall/reactorwall1a2_s.tga
}

textures/base_wall/reactorwall1a
{
	qer_editorimage		textures/base_wall/reactorwall1a.tga
	bumpmap			textures/base_wall/reactorwall1a_local.tga
	diffusemap		textures/base_wall/reactorwall1a_d.tga
	specularmap		textures/base_wall/reactorwall1a_s.tga
}

textures/base_wall/reactorwall1
{
	qer_editorimage		textures/base_wall/reactorwall1.tga
	bumpmap			textures/base_wall/reactorwall1_local.tga
	diffusemap		textures/base_wall/reactorwall1_d.tga
	specularmap		textures/base_wall/reactorwall1_s.tga
}

textures/base_wall/pipevent_2
{
	qer_editorimage		textures/base_wall/pipevent_2.tga
	bumpmap			textures/base_wall/pipevent_2_local.tga
	diffusemap		textures/base_wall/pipevent_2_d.tga
	specularmap		textures/base_wall/pipevent_2_s.tga
}

textures/base_wall/bluetex1e2
{
	qer_editorimage		textures/base_wall/bluetex1e2.tga
	bumpmap			textures/base_wall/bluetex1e2_local.tga
	diffusemap		textures/base_wall/bluetex1e2_d.tga
	specularmap		textures/base_wall/bluetex1e2_s.tga
}

textures/base_wall/techgrate2
{
	qer_editorimage		textures/base_wall/techgrate2.tga
	bumpmap			textures/base_wall/techgrate2_local.tga
	diffusemap		textures/base_wall/techgrate2_d.tga
	specularmap		textures/base_wall/techgrate2_s.tga
}


//============================================================================================================
//base_trim
//============================================================================================================

textures/decals/lightgrate
{
	noshadows
	twoSided
	qer_editorimage		textures/decals/lightgrate.tga
	sort 3
	bumpmap			textures/decals/lightgrate_local.tga
	
	{
		blend		diffusemap
		map		textures/decals/lightgrate_d.tga
		alphatest	.5
	}
	specularmap		textures/decals/lightgrate_s.tga
}

textures/base_trim/redhaz3
{
	qer_editorimage 	textures/base_trim/redhaz3.tga
	bumpmap			heightmap (textures/base_trim/redhaz3_bmp.tga, 4)
	diffusemap		textures/base_trim/redhaz3.tga
}

textures/base_trim/skpaneltrim2
{
	qer_editorimage 	textures/base_trim/skpaneltrim2.tga
	bumpmap			textures/base_trim/skpaneltrim2_local.tga
	diffusemap		textures/base_trim/skpaneltrim2_d.tga
	specularmap		textures/base_trim/skpaneltrim2_s.tga
}

textures/base_trim/skpaneltrim1
{
	qer_editorimage 	textures/base_trim/skpaneltrim1.tga
	bumpmap			textures/base_trim/skpaneltrim1_local.tga
	diffusemap		textures/base_trim/skpaneltrim1_d.tga
	specularmap		textures/base_trim/skpaneltrim1_s.tga
}

textures/base_trim/glasscountertop
{
	qer_editorimage 	textures/base_trim/glasscountertop.tga
	bumpmap			textures/base_trim/glasscountertop_local.tga
	diffusemap		textures/base_trim/glasscountertop_d.tga
	specularmap		textures/base_trim/glasscountertop_s.tga
 }

textures/base_trim/reactorfence
{
	qer_editorimage	textures/base_trim/reactorfence.tga
	twoSided
	noshadows
	{
		blend		bumpmap
		map		textures/base_trim/reactorfence_local.tga
	}
	{
		blend 		specularmap
		map		textures/base_trim/reactorfence_s.tga
	}
	{
		blend		 diffusemap
		map		textures/base_trim/reactorfence_d.tga
		alphatest 	0.5
	}
}


textures/base_trim/reactorgirder1
{
	qer_editorimage	textures/base_trim/reactorgirder1.tga
	twoSided
	noshadows
	{
		blend		bumpmap
		map		textures/base_trim/reactorgirder1_local.tga
	}
	{
		blend 		specularmap
		map		textures/base_trim/reactorgirder1_s.tga
	}
	{
		blend 		diffusemap
		map		textures/base_trim/reactorgirder1_d.tga
		alphatest	0.5
	}
}

textures/base_trim/reactorep2
{
	qer_editorimage		textures/base_trim/reactorep2.tga
	bumpmap			textures/base_trim/reactorep2_local.tga
	diffusemap		textures/base_trim/reactorep2_d.tga
	specularmap		textures/base_trim/reactorep2_s.tga
}

textures/base_trim/reactorep
{
	qer_editorimage		textures/base_trim/reactorep.tga
	bumpmap			textures/base_trim/reactorep_local.tga
	diffusemap		textures/base_trim/reactorep_d.tga
	specularmap		textures/base_trim/reactorep_s.tga
}

textures/base_trim/reactortrim3
{
	qer_editorimage		textures/base_trim/reactortrim3.tga
	bumpmap			textures/base_trim/reactortrim3_local.tga
	diffusemap		textures/base_trim/reactortrim3_d.tga
	specularmap		textures/base_trim/reactortrim3_s.tga
}

textures/base_trim/reactortrim2
{
	qer_editorimage		textures/base_trim/reactortrim2.tga
	bumpmap			textures/base_trim/reactortrim2_local.tga
	diffusemap		textures/base_trim/reactortrim_d.tga
	specularmap		textures/base_trim/reactortrim_s.tga
}

textures/base_trim/reactortrim
{
	qer_editorimage		textures/base_trim/reactortrim.tga
	bumpmap			textures/base_trim/reactortrim_local.tga
	diffusemap		textures/base_trim/reactortrim_d.tga
	specularmap		textures/base_trim/reactortrim_s.tga
}

textures/base_trim/reactorpipe2
{
	qer_editorimage		textures/base_trim/reactorpipe2.tga
	bumpmap			textures/base_trim/reactorpipe2_local.tga
	diffusemap		textures/base_trim/reactorpipe2.tga
	specularmap		textures/base_trim/reactorpipe2_s.tga
}

textures/base_trim/reactorpipe
{
	qer_editorimage		textures/base_trim/reactorpipe.tga
	bumpmap			textures/base_trim/reactorpipe_local.tga
	diffusemap		textures/base_trim/reactorpipe_d.tga
	specularmap		textures/base_trim/reactorpipe_s.tga
}

textures/base_trim/sp6
{
	qer_editorimage		textures/base_trim/sp6.tga
	bumpmap			textures/base_trim/sp6_local.tga
	diffusemap		textures/base_trim/sp6_d.tga
	specularmap		textures/base_trim/sp6_s.tga
}

textures/base_trim/sp5
{
	qer_editorimage		textures/base_trim/sp5.tga
	bumpmap			textures/base_trim/sp5_local.tga
	diffusemap		textures/base_trim/sp5_d.tga
	specularmap		textures/base_trim/sp5_s.tga
}

textures/base_trim/sp4
{
	qer_editorimage		textures/base_trim/sp4.tga
	bumpmap			textures/base_trim/sp4_local.tga
	diffusemap		textures/base_trim/sp4_d.tga
	specularmap		textures/base_trim/sp4_s.tga
}

textures/base_trim/sp3
{
	qer_editorimage		textures/base_trim/sp3.tga
	bumpmap			textures/base_trim/sp3_local.tga
	diffusemap		textures/base_trim/sp3_d.tga
	specularmap		textures/base_trim/sp3_s.tga
}

textures/base_trim/sp2
{
	qer_editorimage		textures/base_trim/sp2.tga
	bumpmap			textures/base_trim/sp2_local.tga
	diffusemap		textures/base_trim/sp2_d.tga
	specularmap		textures/base_trim/sp2_s.tga
}

textures/base_trim/sp1
{
	qer_editorimage		textures/base_trim/sp1.tga
	bumpmap			textures/base_trim/sp1_local.tga
	diffusemap		textures/base_trim/sp1_d.tga
	specularmap		textures/base_trim/sp1_s.tga
}

textures/base_trim/comptrim2
{
	qer_editorimage		textures/base_trim/comptrim2.tga
	bumpmap			textures/base_trim/comptrim2_local.tga
	diffusemap		textures/base_trim/comptrim2_d.tga
	specularmap		textures/base_trim/comptrim2_s.tga
}

textures/base_trim/comptrim
{
	qer_editorimage		textures/base_trim/comptrim.tga
	bumpmap			textures/base_trim/comptrim_local.tga
	diffusemap		textures/base_trim/comptrim_d.tga
	specularmap		textures/base_trim/comptrim_s.tga
}

textures/base_trim/tabletop2
{
	qer_editorimage		textures/base_trim/tabletop2.tga
	diffusemap		textures/base_trim/tabletop2.tga
	specularmap		textures/base_trim/tabletop2.tga
}

textures/base_trim/tabletrim2
{
	qer_editorimage		textures/base_trim/tabletrim2.tga
	bumpmap			textures/base_trim/tabletrim_local.tga
	diffusemap		textures/base_trim/tabletrim2_d.tga
	specularmap		textures/base_trim/tabletrim2_d.tga
}

textures/base_trim/tabletop
{
	qer_editorimage		textures/base_trim/tabletop.tga
	diffusemap		textures/base_trim/tabletop.tga
}

textures/base_trim/tabletrimd
{
	qer_editorimage		textures/base_trim/tabletrimd.tga
	bumpmap			textures/base_trim/tabletrimd_local.tga
	diffusemap		textures/base_trim/tabletrim_d.tga
}

textures/base_trim/tabletrimc
{
	qer_editorimage		textures/base_trim/tabletrimc.tga
	bumpmap			textures/base_trim/tabletrimc_local.tga
	diffusemap		textures/base_trim/tabletrim_d.tga
}

textures/base_trim/tabletrimb
{
	qer_editorimage		textures/base_trim/tabletrimb.tga
	bumpmap			textures/base_trim/tabletrimb_local.tga
	diffusemap		textures/base_trim/tabletrim_d.tga
}

textures/base_trim/tabletrima
{
	qer_editorimage		textures/base_trim/tabletrima.tga
	bumpmap			textures/base_trim/tabletrima_local.tga
	diffusemap		textures/base_trim/tabletrim_d.tga
}

textures/base_trim/tabletrim
{
	qer_editorimage		textures/base_trim/tabletrim.tga
	bumpmap			textures/base_trim/tabletrim_local.tga
	diffusemap		textures/base_trim/tabletrim_d.tga
}





//============================================================================================================
//base_floor
//============================================================================================================

textures/base_floor/sofloor3
{
	qer_editorimage		textures/base_floor/sofloor3.tga
	bumpmap			textures/base_floor/sofloor3_local.tga
	diffusemap		textures/base_floor/sofloor3_d.tga	
	specularmap		textures/base_floor/sofloor3_s.tga	
}

textures/base_floor/sofloor2
{
	qer_editorimage		textures/base_floor/sofloor2.tga
	bumpmap			textures/base_floor/sofloor2_local.tga
	diffusemap		textures/base_floor/sofloor2_d.tga	
	specularmap		textures/base_floor/sofloor2_s.tga	
}

textures/base_floor/sofloor1
{
	qer_editorimage		textures/base_floor/sofloor1.tga
	{
		blend		bumpmap
		map		textures/base_floor/sofloor1_local.tga
		scale		2 , 2
	}
	diffusemap		textures/base_floor/sofloor1_d.tga	
	specularmap		textures/base_floor/sofloor1_s.tga	
}

textures/base_floor/cpufloor1
{
	qer_editorimage		textures/base_floor/cpufloor1.tga
	bumpmap			textures/base_floor/cpufloor1_local.tga
	diffusemap		textures/base_floor/cpufloor1_d.tga	
	specularmap		textures/base_floor/cpufloor1_s.tga	
}

textures/base_floor/cpufloor2
{
	qer_editorimage		textures/base_floor/cpufloor2.tga
	noshadows
	bumpmap			textures/base_floor/cpufloor2_local.tga
	{
		blend		diffusemap
		map		textures/base_floor/cpufloor2_d.tga	
		alphatest	0.55
	}
	specularmap		textures/base_floor/cpufloor2_s.tga	
}

textures/base_floor/plfloor
{
	qer_editorimage		textures/base_floor/plfloor.tga
	bumpmap			heightmap (textures/base_floor/plfloor_bmp.tga, 4)
	diffusemap		textures/base_floor/plfloor.tga
}

textures/base_floor/tramfloor
{
	qer_editorimage		textures/base_floor/tramfloor.tga
	bumpmap			textures/base_floor/tramfloor_local.tga
	diffusemap		textures/base_floor/tramfloor_d.tga
	specularmap		textures/base_floor/tramfloor_s.tga
}

textures/base_floor/reactorfloor2b
{
	qer_editorimage	textures/base_floor/reactorfloor2b.tga
	bumpmap			textures/base_floor/reactorfloor2b_local.tga
	diffusemap		textures/base_floor/reactorfloor2b_d.tga
	specularmap		textures/base_floor/reactorfloor2b_s.tga
}

textures/base_floor/reactorfloor2a
{
	qer_editorimage	textures/base_floor/reactorfloor2a.tga
	bumpmap			textures/base_floor/reactorfloor2a_local.tga
	diffusemap		textures/base_floor/reactorfloor2a_d.tga
	specularmap		textures/base_floor/reactorfloor2a_s.tga
}

textures/base_floor/reactorfloor2
{
	qer_editorimage		textures/base_floor/reactorfloor2.tga
	bumpmap			textures/base_floor/reactorfloor2_local.tga
	diffusemap		textures/base_floor/reactorfloor2_d.tga
	specularmap		textures/base_floor/reactorfloor2_s.tga
}

textures/base_floor/reactorfloor1
{
	qer_editorimage		textures/base_floor/reactorfloor1.tga
	bumpmap			textures/base_floor/reactorfloor1_local.tga
	diffusemap		textures/base_floor/reactorfloor1_d.tga
	specularmap		textures/base_floor/reactorfloor1_s.tga
}

textures/base_floor/reactorwalk1b
{
	qer_editorimage		textures/base_floor/reactorwalk1b.tga
	bumpmap			textures/base_floor/reactorwalk1a_local.tga
	diffusemap		textures/base_floor/reactorwalk1b_d.tga
	specularmap		textures/base_floor/reactorwalk1a_s.tga
}

textures/base_floor/reactorwalk1a
{
	qer_editorimage		textures/base_floor/reactorwalk1a.tga
	bumpmap			textures/base_floor/reactorwalk1a_local.tga
	diffusemap		textures/base_floor/reactorwalk1a_d.tga
	specularmap		textures/base_floor/reactorwalk1a_s.tga
}

textures/base_floor/reactorwalk1
{
	qer_editorimage		textures/base_floor/reactorwalk1.tga
	bumpmap			textures/base_floor/reactorwalk1_local.tga
	diffusemap		textures/base_floor/reactorwalk1_d.tga
	specularmap		textures/base_floor/reactorwalk1_s.tga
}

textures/base_floor/whitefloortrim
{
	qer_editorimage		textures/base_floor/whitefloortrim.tga
	bumpmap			textures/base_floor/whitefloortrim_local.tga
	diffusemap		textures/base_floor/whitefloortrim_d.tga
	specularmap		textures/base_floor/whitefloortrim_s.tga
}






//============================================================================================================
//base_light
//============================================================================================================

textures/base_light/striplight2_dirty_break
{
	qer_editorimage		textures/base_light/striplight2_dirty_break
	{if ( parm7 == 0 )
			blend	bumpmap			
			map		addnormals (textures/base_light/striplight2_local, heightmap (textures/base_light/striplight2bmp, 4) )
	}
	{if ( parm7 == 0 )
		blend		diffusemap		
		map			textures/base_light/striplight2_dirty
	}
	{if ( parm7 == 0 )
		blend		specularmap		
		map			textures/base_light/striplight2_dirty_s
	}
	{if ( parm7 == 0 )
		blend		add
		map			textures/base_light/striplight2_dirty_add
		colored
	}
	//
	{if ( parm7 != 0 )
			blend	bumpmap			
			map		addnormals (textures/base_light/striplight2_local, heightmap (textures/base_light/striplight2_brokenbmp, 4) )
	}
	{if ( parm7 != 0 )
		blend		diffusemap		
		map			textures/base_light/striplight2_dirty_break_d
	}
	{if ( parm7 != 0 )
		blend		specularmap		
		map			textures/base_light/striplight2_dirty_break_s
	}
	{if ( parm7 != 0 )
		blend		add
		map			textures/base_light/striplight2_dirty_break_add
		colored
	}
}

textures/base_light/striplight2_dirty_broken
{
	qer_editorimage		textures/base_light/striplight2_dirty_broken
	bumpmap				addnormals (textures/base_light/striplight2_local, heightmap (textures/base_light/striplight2_brokenbmp, 4) )
	diffusemap			textures/base_light/striplight2_dirty_break_d
	specularmap			textures/base_light/striplight2_dirty_break_s
	{
		blend			add
		map				textures/base_light/striplight2_dirty_break_add
	}
}

textures/base_light/striplight2_dirty
{
	qer_editorimage		textures/base_light/striplight2_dirty
	bumpmap				addnormals (textures/base_light/striplight2_local, heightmap (textures/base_light/striplight2bmp, 4) )
	diffusemap			textures/base_light/striplight2_dirty
	specularmap			textures/base_light/striplight2_dirty_s
	{
		blend			add
		map				textures/base_light/striplight2_dirty_add
	}
}
	
textures/base_light/squaresmall
{
	translucent
	noshadows
	{
		blend		add
		map			textures/base_light/lilsquare
		colored
	}
}

textures/base_light/sterlightdecal_dm
{
 	noShadows
	nonsolid
	noimpact
	qer_editorimage textures/base_light/sterlightdecal.tga
  	bumpmap 		textures/base_light/sterlightdecal_local.tga
	{       
      	 blend		diffusemap
		 map		textures/base_light/sterlightdecal_d.tga
		 alphaTest	0.5
	}
	{
		blend 		add
		map			textures/base_light/sterlightdecal_add.tga
		colored
	}
	{if ( global2 != 1 )
			blend		gl_dst_alpha , gl_one
			map			models/mapobjects/enpro/dm_laser_add
			red			1 * (1 - global2)
			green		1 * (1 - global2)
			blue		1 * (1 - global2)
	} 
}

textures/base_light/teenylights
{
	translucent
	nonsolid
	noshadows
	{
		blend		add
		map			textures/base_light/teenylights
		colored
	}
}


textures/base_light/snpanel15light
{
	qer_editorimage	textures/base_light/snpanel15light.tga
	bumpmap		textures/base_light/snpanel15light_local.tga
	diffusemap		textures/base_light/snpanel15light_d.tga
	{
		blend		add
		map		textures/base_light/snpanel15light_add.tga
		red		parm0
		green		parm1
		blue 		parm2
	}
}

textures/base_light/snpanel15lightb
{
	qer_editorimage	textures/base_light/snpanel15lightb.tga
	bumpmap		textures/base_light/snpanel15light_local.tga
	diffusemap		textures/base_light/snpanel15light_d.tga
	{
		blend		add
		map		textures/base_light/snpanel15lightb_add.tga
		red		parm0
		green		parm1
		blue 		parm2
	}
}


textures/base_wall/snpanel27
{
	qer_editorimage		textures/base_light/snpanel27.tga
	bumpmap			textures/base_light/snpanel27_local.tga
	diffusemap		textures/base_light/snpanel27_d.tga
	{
		blend		add
		map			textures/base_light/snpanel27_add.tga
		red			parm0 
		green		parm1 
		blue		parm2 
	}
}

textures/base_light/whiteblock
{
	qer_editorimage		textures/base_light/whiteblock.tga
	diffusemap		textures/base_light/whiteblock.tga
	{
		blend		add
		map		textures/base_light/whiteblock.tga
		colored
	}
}

textures/base_light/reactorlight1a
{
	noshadows
	qer_editorimage		textures/base_light/reactorlight1a.tga
	bumpmap			textures/base_light/reactorlight1_local.tga
	{
		blend		diffusemap
		map		textures/base_light/reactorlight1a.tga
		alphatest	.5
	}
	specularmap		textures/base_light/reactorlight1_s.tga
	{
		blend 		add
		map 		textures/base_light/reactorlight1_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_light/reactorlight1
{
	qer_editorimage		textures/base_light/reactorlight1.tga
	bumpmap			textures/base_light/reactorlight1_local.tga
	diffusemap		textures/base_light/reactorlight1_d.tga
	specularmap		textures/base_light/reactorlight1_s.tga
	{
		blend 		add
		map 		textures/base_light/reactorlight1_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

textures/base_light/bluepillar
{
	qer_editorimage		textures/base_light/bluepillar.tga
	bumpmap			textures/base_wall/bluetex1e2_local.tga
	diffusemap		textures/base_wall/bluetex1e2_d.tga
	specularmap		textures/base_wall/bluetex1e2_s.tga
	{
		blend	 	gl_one, gl_one
		map 		textures/base_light/bluepillar_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}



//============================================================================================================
//object
//============================================================================================================

textures/object/parts_ns
{
	qer_editorimage		textures/object/parts.tga
	noshadows
	bumpmap			addnormals (textures/object/parts_local.tga, heightmap (textures/object/parts_bmp.tga, 4) ) 
	{
		blend		diffusemap
		map		textures/object/parts.tga
		alphatest	.4
	}
	specularmap		textures/object/parts_s.tga
}

textures/object/parts
{
	qer_editorimage		textures/object/parts.tga
	bumpmap				addnormals (textures/object/parts_local.tga, heightmap (textures/object/parts_bmp.tga, 4) ) 
	{
		blend			diffusemap
		map				textures/object/parts.tga
		alphatest		.4
	}
	specularmap			textures/object/parts_s.tga
}

textures/object/cpupanels1b
{
	qer_editorimage		textures/object/cpupanels1b
	bumpmap				textures/object/cpupanels1b_local
	diffusemap			textures/object/cpupanels1b
	specularmap			textures/object/cpupanels1b_s
}

textures/object/cpupanels1a
{	
	qer_editorimage		textures/object/cpupanels1a.tga
	bumpmap				textures/object/cpupanels1a_local.tga
	diffusemap			textures/object/cpupanels1a.tga
	specularmap			textures/object/cpupanels1a_s.tga
}

textures/object/cpupanels1
{	
	qer_editorimage		textures/object/cpupanels1.tga
	bumpmap				textures/object/cpupanels1_local.tga
	diffusemap			textures/object/cpupanels1.tga
	specularmap			textures/object/cpupanels1_s.tga
}

textures/object/cpupanels
{	
	qer_editorimage		textures/object/cpupanels.tga
	bumpmap				textures/object/cpupanels_local.tga
	diffusemap			textures/object/cpupanels.tga
	specularmap			textures/object/cpupanels_s.tga
	{
		blend			add
		map				textures/object/cpupanels_add.tga
	}
}

textures/object/cpupanels2
{	
	qer_editorimage		textures/object/cpupanels2.tga
	noshadows		
	twosided
	bumpmap				textures/object/cpupanels2_local.tga
	{
		blend			diffusemap	
		map				textures/object/cpupanels2.tga
		alphatest		.5
	}
	specularmap			textures/object/cpupanels2_s.tga
}

textures/object/fanspin
{	
	qer_editorimage		textures/object/fan.tga
	noshadows		
	twosided
	{
		blend		bumpmap			
		map			textures/object/fan_local.tga
		rotate		parm4+(time*parm3)
		clamp
	}
	{
		blend		diffusemap	
		map			textures/object/fan_d.tga
		alphatest	.5
		rotate		parm4+(time*parm3)
		clamp
	}
	{
		blend		specularmap		
		map			textures/object/fan_s.tga
		rotate		parm4+(time*parm3)
		clamp
	}
}

textures/object/fan
{	
	qer_editorimage		textures/object/fan.tga
	noshadows		
	twosided
	bumpmap			textures/object/fan_local.tga
	{
		blend		diffusemap	
		map		textures/object/fan_d.tga
		alphatest	.5
	}
	specularmap		textures/object/fan_s.tga
}


textures/object/gohoser_sen
{
	qer_editorimage		textures/object/gohosersen.tga
	noShadows
	twoSided
	bumpmap			textures/object/gohoser_y_local.tga
	{			
		blend		diffusemap
		map		textures/object/gohosersen_d.tga
		red		Parm0
		green		Parm1
		blue		Parm2
		alphatest	.5
	}
	specularmap		textures/object/gohoser_y_s.tga
}


textures/object/sopbox2a
{
	qer_editorimage		textures/object/sopbox2a.tga
	bumpmap			addnormals (textures/object/sopbox2_local.tga, heightmap (textures/object/sopbox2_bmp.tga, 4 ) ) 
	{
		blend		diffusemap
		map		textures/object/sopbox2a.tga
		red		Parm0
		green		Parm1
		blue		Parm2
	}
	specularmap		textures/object/sopbox2_s.tga
}

textures/object/sopbox2
{
	qer_editorimage		textures/object/sopbox2.tga
	bumpmap	addnormals 	(textures/object/sopbox2_local.tga, heightmap (textures/object/sopbox2_bmp.tga, 4 ) ) 
	{
		blend		diffusemap
		map		textures/object/sopbox2.tga
		red		Parm0
		green		Parm1
		blue		Parm2
	}
	specularmap		textures/object/sopbox2_s.tga
}

textures/object/sopbox1
{
	qer_editorimage		textures/object/sopbox1.tga
	bumpmap			textures/object/sopbox1_local.tga
	{
		blend		diffusemap
		map		textures/object/sopbox1_d.tga
		red		Parm0
		green		Parm1
		blue		Parm2
	}
	specularmap		textures/object/sopbox1_s.tga
}

textures/object/sodoor1b
{
	qer_editorimage		textures/object/sodoor1b.tga
	bumpmap			textures/object/sodoor1b_local.tga
	diffusemap		textures/object/sodoor1b.tga
	specularmap		textures/object/sodoor1b.tga
}

textures/object/sodoor1a
{
	qer_editorimage		textures/object/sodoor1a.tga
	bumpmap			textures/object/sodoor1a_local.tga
	diffusemap		textures/object/sodoor1a.tga
	specularmap		textures/object/sodoor1a.tga
}

textures/object/sodoor1
{
	qer_editorimage		textures/object/sodoor1.tga
	bumpmap			textures/object/sodoor1_local.tga
	diffusemap		textures/object/sodoor1.tga
	specularmap		textures/object/sodoor1.tga
}

textures/object/servertex1f
{
	qer_editorimage	textures/object/servertex1f.tga
	bumpmap			addnormals (textures/object/servertex1f_local.tga, heightmap(textures/object/servertex1f_bmp.tga, 1) )
	diffusemap		textures/object/servertex1f.tga
	specularmap		textures/object/servertex1f_s.tga
}

textures/object/servertex1
{
	qer_editorimage		textures/object/servertex1.tga
	bumpmap			textures/object/servertex1_local.tga
	diffusemap		textures/object/servertex1_d.tga
	specularmap		textures/object/servertex1_s.tga
}

textures/object/cpumonitor1
{
	qer_editorimage		textures/object/cpumonitor1.tga
	{
		blend		add
		map		textures/object/cpumonitor1.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}	
}

textures/object/cpumonitor2
{
	qer_editorimage		textures/object/cpumonitor2.tga
	{
		blend		add
		map		textures/object/cpumonitor2.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}	
}

textures/object/cpumonitor3
{
	qer_editorimage		textures/object/cpumonitor3.tga
	{
		blend		add
		map		textures/object/cpumonitor3.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}	
}

textures/object/cpumonitor4
{
	qer_editorimage		textures/object/cpumonitor4.tga
	{
		blend		add
		map		textures/object/cpumonitor4.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}	
}

textures/object/cpumonitor5
{
	qer_editorimage		textures/object/cpumonitor5.tga
	{
		blend		add
		map		textures/object/cpumonitor5.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}	
}
	
textures/object/topbox
{
	qer_editorimage	textures/object/topbox.tga
	bumpmap			textures/object/topbox_local.tga
	diffusemap		textures/object/topbox_d.tga
	specularmap		textures/object/topbox_s.tga
}


textures/object/pcboardshit
{
	qer_editorimage	textures/object/pcboardshit.tga
	diffusemap		textures/object/pcboardshit.tga
	specularmap		textures/object/pcboardshit_s.tga
}

textures/object/counterside
{
	qer_editorimage	textures/object/counterside.tga
	bumpmap		textures/object/counterside_local.tga
	diffusemap		textures/object/counterside_d.tga
	specularmap		textures/object/counterside_s.tga
}

textures/object/counterfront
{
	qer_editorimage	textures/object/counterfront.tga
	bumpmap		textures/object/counterfront_local.tga
	diffusemap		textures/object/counterfront_d.tga
	specularmap		textures/object/counterfront_s.tga
}

textures/object/bottles
{
	qer_editorimage	textures/object/bottles.tga
	bumpmap		textures/object/bottles_local.tga
	{
		blend		diffusemap
		map		textures/object/bottles_d.tga
		alphatest	.5
	}
	specularmap		textures/object/bottles_s.tga
}

textures/object/magpage6
{
	qer_editorimage	textures/object/magpage6.tga
	diffusemap		textures/object/magpage6.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magpage5
{
	qer_editorimage	textures/object/magpage5.tga
	diffusemap		textures/object/magpage5.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magpage4
{
	qer_editorimage	textures/object/magpage4.tga
	diffusemap		textures/object/magpage4.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magpage3
{
	qer_editorimage	textures/object/magpage3.tga
	diffusemap		textures/object/magpage3.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magpage2
{
	qer_editorimage	textures/object/magpage2.tga
	diffusemap		textures/object/magpage2.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magpage1
{
	qer_editorimage	textures/object/magpage1.tga
	diffusemap		textures/object/magpage1.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magback6
{
	qer_editorimage	textures/object/magback6.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/magback6.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magback5
{
	qer_editorimage	textures/object/magback5.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/magback5.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magback4
{
	qer_editorimage	textures/object/magback4.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/magback4.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magback3
{
	qer_editorimage	textures/object/magback3.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/magback3.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magback2
{
	qer_editorimage	textures/object/magback2.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/magback2.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magback1
{
	qer_editorimage	textures/object/magback1.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/magback1.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/mag6
{
	qer_editorimage	textures/object/mag6.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/mag6.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/mag5
{
	qer_editorimage	textures/object/mag5.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/mag5.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/mag4
{
	qer_editorimage	textures/object/mag4.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/mag4.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/mag3
{
	qer_editorimage	textures/object/mag3.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/mag3.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/mag2
{
	qer_editorimage	textures/object/mag2.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/mag2.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/mag1
{
	qer_editorimage	textures/object/mag1.tga
	bumpmap		textures/object/mag_local.tga
	diffusemap		textures/object/mag1.tga
	specularmap		textures/object/mag_s.tga
}

textures/object/magrack4
{
	qer_editorimage	textures/object/magrack4.tga
	bumpmap			textures/object/magrack4_local.tga
	diffusemap		textures/object/magrack4.tga
	specularmap		textures/object/magrack4.tga
}

textures/object/magrack3
{
	qer_editorimage	textures/object/magrack3.tga
	bumpmap			textures/object/magrack3_local.tga
	diffusemap		textures/object/magrack3.tga
	specularmap		textures/object/magrack3.tga
}

textures/object/magrack2
{
	qer_editorimage	textures/object/magrack2.tga
	bumpmap			textures/object/magrack2_local.tga
	diffusemap		textures/object/magrack2.tga
	specularmap		textures/object/magrack2.tga
}

textures/object/magrack1
{
	qer_editorimage	textures/object/magrack1.tga
	bumpmap			textures/object/magrack1_local.tga
	diffusemap		textures/object/magrack1.tga
	specularmap		textures/object/magrack1.tga
}

textures/object/chairtex1
{
	qer_editorimage		textures/object/chairtex1.tga
	bumpmap			textures/object/chairtex1_local.tga
	diffusemap		textures/object/chairtex1_d.tga
	specularmap		textures/object/chairtex1_s.tga
}

textures/object/cdplayer3
{
	qer_editorimage		textures/object/cdplayer3.tga
	bumpmap			textures/object/cdplayer3_local.tga
	diffusemap		textures/object/cdplayer3_d.tga
	specularmap		textures/object/cdplayer3_s.tga
}

textures/object/cdplayer3f
{
	qer_editorimage		textures/object/cdplayer3f.tga
	bumpmap			textures/object/cdplayer3f_local.tga
	diffusemap		textures/object/cdplayer3f_d.tga
	specularmap		textures/object/cdplayer3f_d.tga
}

textures/object/cdplayer3e
{
	qer_editorimage		textures/object/cdplayer3e.tga
	bumpmap			textures/object/cdplayer3e_local.tga
	diffusemap		textures/object/cdplayer3e_d.tga
	specularmap		textures/object/cdplayer3e_d.tga
}

textures/object/cdplayer3d
{
	qer_editorimage		textures/object/cdplayer3d.tga
	bumpmap			textures/object/cdplayer3d_local.tga
	diffusemap		textures/object/cdplayer3a_d.tga
	specularmap		textures/object/cdplayer3a_d.tga
}

textures/object/cdplayer3c
{
	qer_editorimage		textures/object/cdplayer3c.tga
	bumpmap			textures/object/cdplayer3c_local.tga
	diffusemap		textures/object/cdplayer3c_d.tga
	specularmap		textures/object/cdplayer3c_d.tga
}

textures/object/cdplayer3b
{
	qer_editorimage		textures/object/cdplayer3b.tga
	bumpmap			textures/object/cdplayer3b_local.tga
	diffusemap		textures/object/cdplayer3a_d.tga
	specularmap		textures/object/cdplayer3a_d.tga
}

textures/object/cdplayer3a
{
	qer_editorimage		textures/object/cdplayer3a.tga
	bumpmap			textures/object/cdplayer3a_local.tga
	diffusemap		textures/object/cdplayer3a_d.tga
	specularmap		textures/object/cdplayer3a_d.tga
}

textures/object/cdplayer2
{
	qer_editorimage		textures/object/cdplayer2.tga
	bumpmap			textures/object/cdplayer2_local.tga
	diffusemap		textures/object/cdplayer2_d.tga
	specularmap		textures/object/cdplayer2_s.tga
}

textures/object/cdplayer
{
	qer_editorimage		textures/object/cdplayer.tga
	bumpmap			textures/object/cdplayer_local.tga
	{
		blend		diffusemap
		map		textures/object/cdplayer_d.tga
	}
	specularmap		textures/object/cdplayer_s.tga
	{
		map		textures/object/cdplayer_local.tga
		maskcolor
	}
	{
		blend		gl_dst_alpha , gl_one
		map		textures/object/cdplayer_add.tga
		red		parm0
		green		parm1
		blue		parm2
		translate 	cdplayertable [ time * .2 ], 0
	}
}


textures/object/post_it1
{
	qer_editorimage	textures/object/post_it1.tga
	diffusemap		textures/object/post_it1.tga
}
	
textures/object/post_it2
{
	qer_editorimage	textures/object/post_it2.tga
	diffusemap		textures/object/post_it2.tga
}

textures/object/post_it3
{
	qer_editorimage	textures/object/post_it3.tga
	diffusemap		textures/object/post_it3.tga
}

textures/object/post_it4
{
	qer_editorimage	textures/object/post_it4.tga
	noshadows
	twoSided
	{
		blend 	diffusemap
		map		textures/object/post_it4.tga
		alphaTest 0.5
	}
}

//============================================================================================================
//mapobjects
//============================================================================================================

//models/mapobjects/hellhole/hellhole_fire_rim1
//{
//	translucent
//	twosided
//	{
//		blend		add
//		map			models/mapobjects/hellhole/hellhole_fire_rim1
//		scale		1,hellhole_rim1a[time]
//		rgb			hellhole_rim1a[time]
//	}
//}
//
models/mapobjects/hell/teleporter_deco/teleporter_deco
{
	renderbump		-size 256 512 -aa 2 models/mapobjects/hell/teleporter_deco/teleporter_deco_local	models/mapobjects/hell/teleporter_deco/work/teleporter_deco_hp.lwo
	bumpmap			models/mapobjects/hell/teleporter_deco/teleporter_deco_local
	{
		blend		diffusemap		
		map			models/mapobjects/hell/teleporter_deco/teleporter_deco
	}
	{
		blend		specularmap
		map			models/mapobjects/hell/teleporter_deco/teleporter_deco_s
	}
}

models/mapobjects/cpu/sab_doorframe
{
	renderbump		-size 512 512 -aa 2 models/mapobjects/cpu/sab_doorframe_local.tga	models/mapobjects/cpu/work/sab_doorframe_hp.lwo
	{
		blend		bumpmap	
		map			models/mapobjects/cpu/sab_doorframe_local
		
	}
	diffusemap		models/mapobjects/cpu/sab_doorframe
	specularmap		models/mapobjects/cpu/sab_doorframe_s
}

textures/base_wall/sab_shieldfloor
{
	qer_editorimage		models/mapobjects/cpu/sab_shieldfloor
	bumpmap				models/mapobjects/cpu/sab_shieldfloor_local
	diffusemap			models/mapobjects/cpu/sab_shieldfloor
	specularmap			models/mapobjects/cpu/sab_shieldfloor_s
}

models/mapobjects/cpu/sab_shield2_add
{
	{
		blend		add
		map			models/mapobjects/cpu/sab_shield2_add
		colored
	}
}

models/mapobjects/cpu/sab_shield2
{
	renderbump		-size 128 512 -aa 2 models/mapobjects/cpu/sab_shield2_local.tga	models/mapobjects/cpu/work/sab_shield2_hp.lwo
	{
		blend		bumpmap	
		map			models/mapobjects/cpu/sab_shield2_local
		
	}
	diffusemap		models/mapobjects/cpu/sab_shield2
	specularmap		models/mapobjects/cpu/sab_shield2_s
}

models/mapobjects/cpu/sab_shield1
{
	renderbump		-size 256 512 -aa 2 models/mapobjects/cpu/sab_shield1_local.tga	models/mapobjects/cpu/work/sab_shield1_hp.lwo
	{
		blend		bumpmap		
		map			models/mapobjects/cpu/sab_shield1_local
		
	}
	diffusemap		models/mapobjects/cpu/sab_shield1
	specularmap		models/mapobjects/cpu/sab_shield1_s
}

models/mapobjects/cpu/sab_hex
{
	renderbump		-size 256 128 -aa 2 models/mapobjects/cpu/sab_hex_local.tga	models/mapobjects/cpu/work/sab_hex_hp.lwo
	bumpmap			models/mapobjects/cpu/sab_hex_local
	diffusemap		models/mapobjects/cpu/sab_hex
	specularmap		models/mapobjects/cpu/sab_hex_s
}

models/mapobjects/cpu/sab_floormotor
{
	renderbump		-size 256 256 -aa 2 models/mapobjects/cpu/sab_floormotor_local.tga	models/mapobjects/cpu/work/sab_floormotor_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/cpu/sab_floormotor_local
		clamp
	}
	{
		blend		diffusemap		
		map			models/mapobjects/cpu/sab_floormotor
		clamp
	}
	{
		blend		specularmap		
		map			models/mapobjects/cpu/sab_floormotor_s
		clamp
	}
}

models/mapobjects/cpu/sab_floor2
{
	renderbump		-size 512 512 -aa 2 models/mapobjects/cpu/sab_floor2_local.tga	models/mapobjects/cpu/work/sab_floor2_hp.lwo
	{
		blend		bumpmap		
		map			addnormals (models/mapobjects/cpu/sab_floor2_local, heightmap (models/mapobjects/cpu/sab_floor2_bmp.tga,4) ) 
		clamp
	}
	{
		blend		diffusemap		
		map			models/mapobjects/cpu/sab_floor2
		clamp
	}
	{
		blend		specularmap		
		map			models/mapobjects/cpu/sab_floor2_s
		clamp
	}
}

//models/mapobjects/cpu/sab_floor2_trans
//{
////	renderbump		-size 512 512 -aa 2 models/mapobjects/cpu/sab_floor2_local.tga	models/mapobjects/cpu/work/sab_floor2_hp.lwo
////	translucent
//	{
//		blend		bumpmap		
//		map			addnormals (models/mapobjects/cpu/sab_floor2_local, heightmap (models/mapobjects/cpu/sab_floor2_bmp.tga,4) ) 
//		clamp
//	}
//	{
//		blend		diffusemap		
//		map			models/mapobjects/cpu/sab_floor2
//		clamp
//	}
//	{
//		blend		specularmap		
//		map			models/mapobjects/cpu/sab_floor2_s
//		clamp
//	}
//	{
//		blend		add
//		cubeMap		env/cpuboss
//		texgen		reflect
//		rgb			.3
//	}
//}

models/mapobjects/cpu/sab_floor1
{
	renderbump		-size 512 256 -aa 2 -colormap models/mapobjects/cpu/sab_floor1_local.tga	models/mapobjects/cpu/work/sab_floor1_hp.lwo
	{
		blend		bumpmap		
		map			models/mapobjects/cpu/sab_floor1_local
	}
	diffusemap		models/mapobjects/cpu/sab_floor1
	specularmap		models/mapobjects/cpu/sab_floor1_s
}

models/mapobjects/hellhole_archdeco
{
	renderbump		-size 256 256 -aa 2 -colormap models/mapobjects/hellhole/hellhole_archdeco_local.tga	models/mapobjects/hellhole/work/hellhole_archdeco_hp.lwo
	{
		blend		bumpmap		
		map			models/mapobjects/hellhole/hellhole_archdeco_local
		//map			addnormals (models/mapobjects/hellhole/hellhole_sarcoph_local, heightmap (models/mapobjects/hellhole/hellhole_sarcoph_bmp.tga,4) ) 
		
	}
	diffusemap		models/mapobjects/hellhole/hellhole_archdeco
	specularmap		models/mapobjects/hellhole/hellhole_archdeco_s
}

models/mapobjects/hellhole/hellhole_sarcoph
{
	renderbump		-size 512 256 -aa 2 -colormap models/mapobjects/hellhole/hellhole_sarcoph_local.tga	models/mapobjects/hellhole/work/hellhole_sarcoph_hp.lwo
	ricochet
	{
		blend		bumpmap		
		//map			models/mapobjects/hellhole/hellhole_sarcoph_local
		map			addnormals (models/mapobjects/hellhole/hellhole_sarcoph_local, heightmap (models/mapobjects/hellhole/hellhole_sarcoph_bmp.tga,4) ) 
		
	}
	diffusemap		models/mapobjects/hellhole/hellhole_sarcoph
	specularmap		models/mapobjects/hellhole/hellhole_sarcoph_s
}

models/mapobjects/hellhole/hellhole_archtop
{
	renderbump		-size 256 512 -aa 2 -colormap models/mapobjects/hellhole/hellhole_archtop_local.tga	models/mapobjects/hellhole/work/hellhole_archtop_hp.lwo
	ricochet
	{
		blend		bumpmap		
		map			models/mapobjects/hellhole/hellhole_archtop_local
		//map			addnormals (models/mapobjects/hellhole/hellhole_archtop_local, heightmap (models/mapobjects/hellhole/hellhole_archtop_bmp.tga,4) ) 
		
	}
	diffusemap		models/mapobjects/hellhole/hellhole_archtop
	specularmap		models/mapobjects/hellhole/hellhole_archtop_s
}

models/mapobjects/hellhole/hellhole_floor
{
	renderbump		-size 256 512 -aa 2 -colormap models/mapobjects/hellhole/hellhole_floor_local.tga	models/mapobjects/hellhole/work/hellhole_floor_hp.lwo
	ricochet
	{
		blend		bumpmap		
		map			models/mapobjects/hellhole/hellhole_floor_local
		//map			addnormals (models/mapobjects/hellhole/hellhole_floor_local, heightmap (models/mapobjects/hellhole/hellhole_floor_bmp.tga,4) ) 
		
	}
	diffusemap		models/mapobjects/hellhole/hellhole_floor
	specularmap		models/mapobjects/hellhole/hellhole_floor_s
}

models/mapobjects/hellhole/hellhole_pillarstrap
{
	renderbump		-size 128 256 -aa 2 -colormap models/mapobjects/hellhole/hellhole_pillarstrap_local.tga	models/mapobjects/hellhole/work/hellhole_pillarstrap_hp.lwo
	{
		blend		bumpmap		
		map			addnormals (models/mapobjects/hellhole/hellhole_pillarstrap_local, heightmap (models/mapobjects/hellhole/hellhole_pillarstrap_bmp.tga,4) ) 
		
	}
	diffusemap		models/mapobjects/hellhole/hellhole_pillarstrap
	specularmap		models/mapobjects/hellhole/hellhole_pillarstrap_s
}

models/mapobjects/hellhole/hellhole_pillarcap
{
	renderbump		-size 256 512 -aa 2 -colormap models/mapobjects/hellhole/hellhole_pillarcap_local.tga	models/mapobjects/hellhole/work/hellhole_pillarcap_hp.lwo
	ricochet
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/hellhole/hellhole_pillarcap_local, heightmap (models/mapobjects/hellhole/hellhole_pillarcap_bmp.tga,4) ) 
		
	}
	diffusemap		models/mapobjects/hellhole/hellhole_pillarcap
	specularmap		models/mapobjects/hellhole/hellhole_pillarcap_s
}

models/mapobjects/commoutside/commo_hellhead
{
	//noselfshadow
	renderbump  -size 512 256 -aa 2 -colormap models/mapobjects/commoutside/commo_hellhead_local.tga models/mapobjects/commoutside/work/commo_hellhead_hp.lwo
	bumpmap		addnormals (models/mapobjects/commoutside/commo_hellhead_local, heightmap (models/mapobjects/commoutside/commo_hellhead_bmp.tga,4) ) 
	{
		blend		diffusemap	
		map			models/mapobjects/commoutside/commo_hellhead
		alphatest	.5	
	}
	specularmap	models/mapobjects/commoutside/commo_hellhead_s
}

models/mapobjects/alphalabs3/vagary/vagary_spout
{
	noshadows
	flesh
	renderbump  -size 256 256 -aa 2 -colormap models/mapobjects/alphalabs3/vagary/vagary_spout_local.tga models/mapobjects/alphalabs3/vagary/work/vagary_spout_hp.lwo
	bumpmap		models/mapobjects/alphalabs3/vagary/vagary_spout_local
	{
		blend	diffusemap	
		map		models/mapobjects/alphalabs3/vagary/vagary_spout
		alphatest	.5
	}
	specularmap	models/mapobjects/alphalabs3/vagary/vagary_spout_s
}

models/mapobjects/alphalabs3/vagary/vagary_mummy
{
	noselfshadow
	flesh
	renderbump  -size 128 256 -aa 2 -colormap models/mapobjects/alphalabs3/vagary/vagary_mummy_local.tga models/mapobjects/alphalabs3/vagary/work/vagary_mummy_hp.lwo
	bumpmap		addnormals (models/mapobjects/alphalabs3/vagary/vagary_mummy_local, heightmap (models/mapobjects/alphalabs3/vagary/vagary_mummy_bmp.tga, 4) ) 
	diffusemap	models/mapobjects/alphalabs3/vagary/vagary_mummy
	specularmap	models/mapobjects/alphalabs3/vagary/vagary_mummy_s
}

models/mapobjects/hellskulls/hornskull1
{
	noselfshadow
	renderbump  -size 128 128 -aa 2 models/mapobjects/hellskulls/hornskull1_local.tga models/mapobjects/hellskulls/work/hornskull1_hp.lwo
	bumpmap		models/mapobjects/hellskulls/hornskull1_local
	{
		blend		diffusemap	
		map			models/mapobjects/hellskulls/hornskull1
		alphatest	.5
	}
	specularmap	models/mapobjects/hellskulls/hornskull1_s
}

models/mapobjects/doors/hazdoor2
{
	bumpmap		models/mapobjects/doors/hazdoor2/hazdoor2_local
	diffusemap	models/mapobjects/doors/hazdoor2/hazdoor2
	specularmap	models/mapobjects/doors/hazdoor2/hazdoor2_s
}

models/mapobjects/doors/enprodoor2
{
	bumpmap		models/mapobjects/doors/enprodoor2/enprodoor2_local
	diffusemap	models/mapobjects/doors/enprodoor2/enprodoor2
	specularmap	models/mapobjects/doors/enprodoor2/enprodoor2_s
}


models/mapobjects/enpro/enporplasmatubelight
{
	translucent
	noshadows
	{
		blend		add
		map			textures/base_light/lilsquare
		colored
	}
}

models/mapobjects/enpro/enproplasmatubeglass
{
	translucent
	noshadows
	twosided
	{
		blend		diffusemap
		map			models/mapobjects/enpro/enproplasmatubeglass
	}
	{
		blend		add
		cubeMap		env/bland
		texgen		reflect
	}
	specularmap		models/mapobjects/enpro/enproplasmatubeglass
}

models/mapobjects/enpro/enproplasmatubeburner
{
	renderbump  	-size 64 64 -aa 2 models/mapobjects/enpro/enproplasmatubeburner_local	models/mapobjects/enpro/work/enproplasmatube_hp.lwo
	noshadows
	twosided
	bumpmap			models/mapobjects/enpro/enproplasmatubeburner_local
	{
		blend		diffusemap
		map			models/mapobjects/enpro/enproplasmatubeburner
		alphatest	.5
	}
	{
		blend		add
		map			models/mapobjects/enpro/enproplasmatubeburner_add
		red			bfgblast1table[time]*parm0
		green		bfgblast1table[time]*parm1
		blue		bfgblast1table[time]*parm2
		ignoreAlphaTest
	}
}

models/mapobjects/enpro/enproplasmatube
{
	renderbump  	-size 256 128 -aa 2 models/mapobjects/enpro/enproplasmatube_local	models/mapobjects/enpro/work/enproplasmatube_hp.lwo
	{
		blend		bumpmap
		map			models/mapobjects/enpro/enproplasmatube_local
		
	}
	diffusemap		models/mapobjects/enpro/enproplasmatube
	specularmap		models/mapobjects/enpro/enproplasmatube_s
}

models/mapobjects/enpro/enprotube_ejector2
{
   	renderbump  	-size 128 256 colorMap -aa 2 models/mapobjects/enpro/enprotube_ejector2_local.tga models/mapobjects/enpro/work/enprotube_ejector2_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/enpro/enprotube_ejector2_local
		
	}
	diffusemap		models/mapobjects/enpro/enprotube_ejector2
	specularmap		models/mapobjects/enpro/enprotube_ejector2_s
}

models/mapobjects/enpro/enprotube_ejector1
{
   	renderbump  	-size 128 256 colorMap -aa 2 models/mapobjects/enpro/enprotube_ejector1_local.tga models/mapobjects/enpro/work/enprotube_ejector1_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/enpro/enprotube_ejector1_local
		
	}
	diffusemap		models/mapobjects/enpro/enprotube_ejector1
	specularmap		models/mapobjects/enpro/enprotube_ejector1_s
}

models/mapobjects/delta3/ceilingtanks/ceilingtanks
{
   	renderbump  	-size 256 256 colorMap -aa 2 models/mapobjects/delta3/ceilingtanks/ceilingtanks_local.tga models/mapobjects/delta3/ceilingtanks/work/ceilingtanks_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/delta3/ceilingtanks/ceilingtanks_local
		
	}
	diffusemap		models/mapobjects/delta3/ceilingtanks/ceilingtanks
	specularmap		models/mapobjects/delta3/ceilingtanks/ceilingtanks_s
}

models/mapobjects/healthgui/healthgui
{
   	renderbump  	-size 256 256 colorMap -aa 2 models/mapobjects/healthgui/healthgui_local.tga	models/mapobjects/healthgui/work/healthgui_hp.lwo
	{
		blend			bumpmap			
		map				models/mapobjects/healthgui/healthgui_local
		
	}
	diffusemap		models/mapobjects/healthgui/healthgui
	specularmap		models/mapobjects/healthgui/healthgui_s
}

models/mapobjects/delta1/maincontrol/datalinker
{
    renderbump  	-size 256 256 colorMap -aa 2 models/mapobjects/delta1/maincontrol/datalinker_local.tga	models/mapobjects/delta1/maincontrol/work/datalinker_hp.lwo
	{
		blend			bumpmap
		map			addnormals (models/mapobjects/delta1/maincontrol/datalinker_local, heightmap (models/mapobjects/delta1/maincontrol/datalinker_bmp, 4) ) 
		
	}
	diffusemap		models/mapobjects/delta1/maincontrol/datalinker
	specularmap		models/mapobjects/delta1/maincontrol/datalinker_s
}

models/mapobjects/delta1/maincontrol/maincontrol_lights2
{
	translucent
	nonsolid
	{
		blend		add
		map		models/mapobjects/delta1/maincontrol/maincontrol_lights
	}
}

models/mapobjects/delta1/maincontrol/maincontrol_lights1
{
	translucent
	nonsolid
	{
		blend		add
		map		models/mapobjects/delta1/maincontrol/maincontrol_lights
		rgb		sintable[time*3]
	}
}

models/mapobjects/delta1/maincontrol/maincontrol_lights
{
	translucent
	nonsolid
	{
		blend		add
		map		models/mapobjects/delta1/maincontrol/maincontrol_lights
		rgb		maincontroltable[time*0.65]
	}
}

models/mapobjects/delta1/maincontrol/maincontrol
{
    renderbump  	-size 512 256 -colorMap -aa 3 models/mapobjects/delta1/maincontrol/maincontrol_local.tga models/mapobjects/delta1/maincontrol/work/maincontrol_hp.lwo
	{
		blend			bumpmap
		map			models/mapobjects/delta1/maincontrol/maincontrol_local
		
	}
	diffusemap		models/mapobjects/delta1/maincontrol/maincontrol
	specularmap		models/mapobjects/delta1/maincontrol/maincontrol_s
}

models/outdoors/tram/tram_gui
{
    renderbump  	-size 256 256 -colorMap -aa 2 models/outdoors/tram/tram_gui_local.tga models/outdoors/tram/work/tram_gui_hp.lwo
	{
		blend			bumpmap
		map			models/outdoors/tram/tram_gui_local
		
	}
	diffusemap		models/outdoors/tram/tram_gui
	specularmap		models/outdoors/tram/tram_gui_s
}

models/mapobjects/rover/rover_env
{
	nonsolid
	noimpact
	translucent
	{
		blend			add
		cubeMap		env/gen2
		red    .2
		green  .3
		blue   .3
		texgen		reflect
	}
}

models/mapobjects/rover/rover_headlights
{
	nonsolid
	noimpact
	{
		blend		add
		map		models/mapobjects/rover/rover_numbers
		colored
	}
}

models/mapobjects/rover/rover_numbers
{
	nonsolid
	noimpact
	translucent
	{
		blend		diffusemap
		map		models/mapobjects/rover/rover_numbers
	}
}

models/mapobjects/rover/rover
{
	renderbump  	-size 512 512 -colorMap -aa 2 models/mapobjects/rover/rover_local.tga models/mapobjects/rover/work/rover_hp.lwo
	bumpmap			addnormals (models/mapobjects/rover/rover_local.tga, heightmap (models/mapobjects/rover/rover_bmp.tga, 4 ) )
	diffusemap		models/mapobjects/rover/rover
	specularmap		models/mapobjects/rover/rover_s
}

models/mapobjects/hellhorn/hellhorn2
{
    unsmoothedTangents
	renderbump  -size 512 512 -colorMap -aa 1 -trace .1 models/mapobjects/hellhorn/hellhorn_local.tga models/mapobjects/hellhorn/hellhorn_hi.ase
	bumpmap			addnormals (models/mapobjects/hellhorn/hellhorn_local.tga, heightmap (models/mapobjects/hellhorn/hellhorn_h.tga, 14 ) )
	{
		blend		diffusemap		
		map			models/mapobjects/hellhorn/hellhorn2
		scale		4,1
	}
	{
		blend		specularmap		
		map			models/mapobjects/hellhorn/hellhorn_s
		red			.8
		green		.8
		blue		1
	}
}

models/mapobjects/skmachines/skgenerator2
{
		qer_editorimage	models/mapobjects/skmachines/skgenerator2
		ricochet
		{
			blend		bumpmap			
			map			models/mapobjects/skmachines/skgenerator2_local
		}
		diffusemap		models/mapobjects/skmachines/skgenerator2
		specularmap		models/mapobjects/skmachines/skgenerator2
}

models/mapobjects/skmachines/skgenerator_clean
{
		renderbump		-size 256 256 -aa 2 models/mapobjects/skmachines/skgenerator_local	models/mapobjects/skmachines/work/skgenerator_hp.lwo
		ricochet
		{
			blend		bumpmap			
			map			models/mapobjects/skmachines/skgenerator_local
			
		}
		diffusemap		models/mapobjects/skmachines/skgenerator_clean
		specularmap		models/mapobjects/skmachines/skgenerator_clean_s
}

models/mapobjects/skmachines/skgenerator
{
		renderbump		-size 256 256 -aa 2 models/mapobjects/skmachines/skgenerator_local	models/mapobjects/skmachines/work/skgenerator_hp.lwo
		ricochet
		{
			blend		bumpmap			
			map			models/mapobjects/skmachines/skgenerator_local
			
		}
		diffusemap		models/mapobjects/skmachines/skgenerator
		specularmap		models/mapobjects/skmachines/skgenerator_s
}

models/mapobjects/teleporter/teleporter_exit
{
		renderbump		-size 256 256 -aa 2 models/mapobjects/teleporter/teleporter_exit_local models/mapobjects/teleporter/work/teleporter_exit_hp.lwo
		{
			blend		bumpmap			
			map			models/mapobjects/teleporter/teleporter_exit_local
			
		}
		diffusemap		models/mapobjects/teleporter/teleporter_exit
		specularmap		models/mapobjects/teleporter/teleporter_exit_s
}

models/mapobjects/enpro/dm_sat
{
		bumpmap			models/mapobjects/enpro/dm_sat_local
		diffusemap		models/mapobjects/enpro/dm_sat
		specularmap		models/mapobjects/enpro/dm_sat_s
	{
		map				makealpha(models/mapobjects/enpro/dm_sat_local)
		maskcolor
	}
	{
		blend			gl_dst_alpha , gl_one
		cubeMap			env/cylinder
		texgen			reflect
	}
	{if ( global1 != 1 )
		blend			gl_dst_color,gl_src_color
		map				_white
		red				1
		green			parm2 * global1
		blue			parm3 * global1
	}
}

models/mapobjects/enpro/dm_laser2
{
		renderbump		-size 128 512 -aa 2 models/mapobjects/enpro/dm_laser2_local models/mapobjects/enpro/work/dm_laser2_hp.lwo
		bumpmap			models/mapobjects/enpro/dm_laser2_local
		diffusemap		models/mapobjects/enpro/dm_laser
		specularmap		models/mapobjects/enpro/dm_laser
}

models/mapobjects/enpro/dm_laser
{
		renderbump		-size 512 512 -aa 2 models/mapobjects/enpro/dm_laser_local models/mapobjects/enpro/work/dm_laser_hp.lwo
		{
			blend		bumpmap			
			map			models/mapobjects/enpro/dm_laser_local
			
		}
		diffusemap		models/mapobjects/enpro/dm_laser
		specularmap		models/mapobjects/enpro/dm_laser_s
		{
			map			makealpha(models/mapobjects/enpro/dm_laser_mask)
			maskcolor
			
		}
		{if ( global2 != 1 )
			blend		gl_dst_alpha , gl_one
			map			models/mapobjects/enpro/dm_laser_add
			translate	time * .1, time * -2
			//scale		1, 1
			red			1 * (1 - global2)
			green		1 * (1 - global2)
			blue		1 * (1 - global2)
		} 
}

models/mapobjects/enpro/dm_cylinder3
{
		renderbump		-size 512 512 -aa 2 models/mapobjects/enpro/dm_cylinder3_local models/mapobjects/enpro/work/dm_cylinder3_hp.lwo
		{
			blend		bumpmap			
			map			models/mapobjects/enpro/dm_cylinder3_local
			
		}
		diffusemap		models/mapobjects/enpro/dm_cylinder3
		specularmap		models/mapobjects/enpro/dm_cylinder3_s
}

models/mapobjects/enpro/dm_cylinder_arm
{
	renderbump		-size 256 512 -aa 2 models/mapobjects/enpro/dm_cylinder_arm_local models/mapobjects/enpro/work/dm_cylinder_arm_hp.lwo
	{
		blend			bumpmap			
		map				models/mapobjects/enpro/dm_cylinder_arm_local
		
	}
		diffusemap		models/mapobjects/enpro/dm_cylinder_arm
		specularmap		models/mapobjects/enpro/dm_cylinder_arm_s
}

models/mapobjects/enpro/dm_cylinder4  //this shader is tweaked for the dm map.  
{
		bumpmap			models/mapobjects/enpro/dm_cylinder4_local
		diffusemap		models/mapobjects/enpro/dm_cylinder4
		specularmap		models/mapobjects/enpro/dm_cylinder4
	{
		map				makealpha(models/mapobjects/enpro/dm_cylinder4_mask)
		maskcolor
	}
	{
		blend			gl_dst_alpha , gl_one
		map 			models/mapobjects/enpro/dm_cylinder4_add
		rgb 			1 * global1
		centerScale		sinTable[time*0.5], sinTable[time*0.5]
		translate		time * 0.5 , time * 0.1
	}
		{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			//rotate		time
			translate	time * -0.5 , time
			scale		0.25, 0.25
			red			.85 * (1 - global1)
			green		.85 * (1 - global1)
			blue		.85 * (1 - global1)
		}
		{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			translate	time * -1, time
			red			.5 * (1 - global1)
			green		.5 * (1 - global1)
			blue		.5 * (1 - global1)
			scale		0.25, 0.25
		} 
}

models/mapobjects/enpro/dm_cylinder2_fire
{
		translucent
		noshadows
		nonsolid
		{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			translate	time * -2, time * 2
			rotate		time * .15
			scale		.5, .5
			red			.85 * (1 - global1)
			green		.85 * (1 - global1)
			blue		.85 * (1 - global1)
		}
		{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			translate	time * -1, time * 1
			rotate		time * .35
			red			.5 * (1 - global1)
			green		.5 * (1 - global1)
			blue		.5 * (1 - global1)
		} 
}

models/mapobjects/enpro/dm_cylinder2a
{
		bumpmap			models/mapobjects/enpro/dm_cylinder2a_local
		diffusemap		models/mapobjects/enpro/dm_cylinder2a
		specularmap		models/mapobjects/enpro/dm_cylinder2a_s
/*		{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			//rotate		time
			translate	time * -0.5 , time * 0.5
			red			.85 * (1 - global1)
			green		.85 * (1 - global1)
			blue		.85 * (1 - global1)
			scale		1, .2
		} */
}

models/mapobjects/enpro/dm_cylinder2
{
		bumpmap			models/mapobjects/enpro/dm_cylinder2_local
		diffusemap		models/mapobjects/enpro/dm_cylinder2
		specularmap		models/mapobjects/enpro/dm_cylinder2_s
	/*	{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			//rotate		time
			translate	time * -0.5 , time * 0.5
			red			.85 * (1 - global1)
			green		.85 * (1 - global1)
			blue		.85 * (1 - global1)
		}
		{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			translate	time * -1, time * 1
			red			.5 * (1 - global1)
			green		.5 * (1 - global1)
			blue		.5 * (1 - global1)
		} 
		*/
}

models/mapobjects/enpro/dm_cylinder_fire
{
		bumpmap			models/mapobjects/enpro/dm_cylinder_local
		diffusemap		models/mapobjects/enpro/dm_cylinder
		specularmap		models/mapobjects/enpro/dm_cylinder_s
	{
		map				makealpha(models/mapobjects/enpro/dm_cylinder_mask)
		maskcolor
	}
	{
		blend			gl_dst_alpha , gl_one
		map 			models/mapobjects/enpro/dm_cylinder_add2
		rotate			( time * .5)
		red				parm0
		green			parm1 * global1
		blue			parm2 * global1
	}
	{
		blend			gl_dst_alpha , gl_one
		map 			models/mapobjects/enpro/dm_cylinder_add
		centerScale		dm_cylindertable[time*0.5], dm_cylindertable[time*0.5]
		translate		-0.5, .5
		red				parm0
		green			parm1 * global1
		blue			parm2 * global1

		zeroClamp
	}
		{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			//rotate		time
			translate	time * 0.5 , time * -0.5
			red			.85 * (1 - global1)
			green		.85 * (1 - global1)
			blue		.85 * (1 - global1)
		}
		{if ( global1 != 1 )
			blend		add
			map			models/mapobjects/enpro/dm_cylinder2_add
			translate	time * 1, time * -1
			red			.5 * (1 - global1)
			green		.5 * (1 - global1)
			blue		.5 * (1 - global1)
		} 
}

models/mapobjects/enpro/dm_cylinder
{
		bumpmap			models/mapobjects/enpro/dm_cylinder_local
		diffusemap		models/mapobjects/enpro/dm_cylinder
		specularmap		models/mapobjects/enpro/dm_cylinder_s
	{
		map				makealpha(models/mapobjects/enpro/dm_cylinder_mask)
		maskcolor
	}
	{
		blend			gl_dst_alpha , gl_one
		map 			models/mapobjects/enpro/dm_cylinder_add2
		rotate			( time * .5)
		red				parm0
		green			parm1 * global1
		blue			parm2 * global1
	}
	{
		blend			gl_dst_alpha , gl_one
		map 			models/mapobjects/enpro/dm_cylinder_add
		centerScale		dm_cylindertable[time*0.5], dm_cylindertable[time*0.5]
		translate		-0.5, .5
		red				parm0
		green			parm1 * global1
		blue			parm2 * global1
		zeroClamp
	}
}

models/mapobjects/skmachines/skoverhang
{
	renderbump		-size 256 256 -aa 2 models/mapobjects/skmachines/skoverhang_local models/mapobjects/skmachines/work/skoverhang_hp.lwo
	{
		blend			bumpmap			
		map				models/mapobjects/skmachines/skoverhang_local
	}
		diffusemap		models/mapobjects/skmachines/skoverhang
		specularmap		models/mapobjects/skmachines/skoverhang_s
}

models/mapobjects/arcade_machine/arcade_decal2
{
	diffusemap		models/mapobjects/arcade_machine/arcade_decal2
	{
		blend		specularmap
		map			_white
		rgb			.1
	}
}

models/mapobjects/arcade_machine/arcade_decal1
{
	diffusemap		models/mapobjects/arcade_machine/arcade_decal1
}

models/mapobjects/arcade_machine/arcade_logo
{
	diffusemap		models/mapobjects/arcade_machine/arcade_logo
	{
		blend		specularmap
		map			_white
		rgb			.1
	}
}

models/mapobjects/arcade_machine/arcade_machine
{
	renderbump		-size 256 256 -aa 2 -colorMap models/mapobjects/arcade_machine/arcade_machine_local models/mapobjects/arcade_machine/work/arcade_machine_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/arcade_machine/arcade_machine_local
		
	}
		diffusemap		models/mapobjects/arcade_machine/arcade_machine
	specularmap		models/mapobjects/arcade_machine/arcade_machine_s
}

models/mapobjects/shipping_crates/chem_crate1
{
	renderbump		-size 256 256 -aa 2 -colorMap models/mapobjects/shipping_crates/chem_crate1_local.tga models/mapobjects/shipping_crates/work/chem_crate1_hp.lwo
	bumpmap			addnormals (models/mapobjects/shipping_crates/chem_crate1_local, heightmap (models/mapobjects/shipping_crates/chem_crate1_bmp.tga, 4) ) 
	{
		blend		diffusemap	
		map			models/mapobjects/shipping_crates/chem_crate1
		alphatest	.5
	}
	specularmap		models/mapobjects/shipping_crates/chem_crate1_s
}

models/mapobjects/shipping_crates/shipping_crates3_green
{
	renderbump		-size 256 256 -aa 2 -colorMap models/mapobjects/shipping_crates/shipping_crates3_local.tga models/mapobjects/shipping_crates/work/shipping_crates3_hp.lwo
	bumpmap			models/mapobjects/shipping_crates/shipping_crates3_local
	diffusemap		models/mapobjects/shipping_crates/shipping_crates3_green
	specularmap		models/mapobjects/shipping_crates/shipping_crates3_s
}

models/mapobjects/shipping_crates/shipping_crates3_orange
{
	renderbump		-size 256 256 -aa 2 -colorMap models/mapobjects/shipping_crates/shipping_crates3_local.tga models/mapobjects/shipping_crates/work/shipping_crates3_hp.lwo
	bumpmap			models/mapobjects/shipping_crates/shipping_crates3_local
	diffusemap		models/mapobjects/shipping_crates/shipping_crates3_orange
	specularmap		models/mapobjects/shipping_crates/shipping_crates3_s
}

models/mapobjects/shipping_crates/shipping_crates3_white
{
	renderbump		-size 256 256 -aa 2 -colorMap models/mapobjects/shipping_crates/shipping_crates3_local.tga models/mapobjects/shipping_crates/work/shipping_crates3_hp.lwo
	bumpmap			models/mapobjects/shipping_crates/shipping_crates3_local
	diffusemap		models/mapobjects/shipping_crates/shipping_crates3_white
	specularmap		models/mapobjects/shipping_crates/shipping_crates3_s
}

models/mapobjects/shipping_crates/shipping_crates3
{
	renderbump		-size 256 256 -aa 2 -colorMap models/mapobjects/shipping_crates/shipping_crates3_local.tga models/mapobjects/shipping_crates/work/shipping_crates3_hp.lwo
	bumpmap			models/mapobjects/shipping_crates/shipping_crates3_local
	diffusemap		models/mapobjects/shipping_crates/shipping_crates3
	specularmap		models/mapobjects/shipping_crates/shipping_crates3_s
}

models/mapobjects/shipping_crates/shipping_crates2
{
	bumpmap			models/mapobjects/shipping_crates/shipping_crates_tex_local
	diffusemap		models/mapobjects/shipping_crates/shipping_crates2
	specularmap		models/mapobjects/shipping_crates/shipping_crates_s
}

models/mapobjects/shipping_crates/shipping_crates
{
	bumpmap			models/mapobjects/shipping_crates/shipping_crates_tex_local
	diffusemap		models/mapobjects/shipping_crates/shipping_crates
	specularmap		models/mapobjects/shipping_crates/shipping_crates_s
}

models/mapobjects/kiosk/infokiosk_add
{
	noshadows
	{
	blend	add
	map		models/mapobjects/kiosk/infokiosk_add
	}
}

models/mapobjects/kiosk/infokiosk
{
	renderbump  	-size 256 256 -aa 3 models/mapobjects/kiosk/infokiosk_local models/mapobjects/kiosk/work/infokiosk_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/kiosk/infokiosk_local
		
	}
	diffusemap		models/mapobjects/kiosk/infokiosk
	specularmap		models/mapobjects/kiosk/infokiosk_s
}

models/mapobjects/monitors/controlmonitor
{
	renderbump  	-size 512 256 -aa 2 models/mapobjects/monitors/controlmonitor_local models/mapobjects/monitors/work/controlmonitor_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/monitors/controlmonitor_local
		
	}
	diffusemap		models/mapobjects/monitors/controlmonitor
	specularmap		models/mapobjects/monitors/controlmonitor_s
}


models/mapobjects/lights/klaxon/klaxon_red
{
	translucent
	bumpmap		heightmap (models/mapobjects/lights/klaxon/klaxon_red_bmp, 1) 
	{
		blend		diffusemap
		map			models/mapobjects/lights/klaxon/klaxon_red
	}
	{
		blend		specularmap	
		map			_white
		red			.4
		green		.4
		blue		.4
	}
}

models/mapobjects/lights/klaxon/klaxon
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/lights/klaxon/klaxon_local models/mapobjects/lights/klaxon/work/klaxon_hp.lwo
	noselfshadow
	{
		blend		bumpmap			
		map			models/mapobjects/lights/klaxon/klaxon_local
		
	}
	diffusemap		models/mapobjects/lights/klaxon/klaxon
	specularmap		models/mapobjects/lights/klaxon/klaxon_s
}

models/items/keycard/keycard
{
	renderbump  	-size 128 256 -aa 2 models/items/keycard/keycard_local models/items/keycard/work/keycard_hp.lwo
	noselfshadow
	{
		blend		bumpmap			
		map			models/items/keycard/keycard_local
		
	}
	diffusemap		models/items/keycard/keycard
	specularmap		models/items/keycard/keycard_s
}

models/mapobjects/turrets/ceilingturret1
{
	renderbump  	-size 256 128 -aa 2 models/mapobjects/turrets/ceilingturret1_local models/mapobjects/turrets/work/ceilingturret1_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/turrets/ceilingturret1_local
		
	}
	diffusemap		models/mapobjects/turrets/ceilingturret1
	specularmap		models/mapobjects/turrets/ceilingturret1_s
}


models/mapobjects/dropship/dropship_sticker
{
	
	translucent
	diffusemap		models/mapobjects/dropship/dropship_sticker
}	


models/mapobjects/dropship/dropshipglass
{
	
	qer_editorimage	textures/sfx/paneglass1.tga
	{
		blend		diffusemap		
		map			models/mapobjects/dropship/dropship_glass
		
	}
	{
		blend		add
		cubeMap		env/gen1
		texgen		reflect
	}
	{
		blend		specularmap
		map			models/mapobjects/dropship/dropship_glass
		
	}	
}

models/mapobjects/dropship/dropship
{
	
	renderbump  	-size 1024 1024 -aa 2 models/mapobjects/dropship/dropship_local.tga models/mapobjects/dropship/work/dropship_hp.lwo
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/dropship/dropship_local, heightmap (models/mapobjects/dropship/dropship_bmp, 4) ) 
		
	}
	{
		blend		diffusemap		
		map			models/mapobjects/dropship/dropship
		
	}
	{
		blend		specularmap		
		map			models/mapobjects/dropship/dropship_s
		//
	}
}

models/mapobjects/cpu/smallguimonitor
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/cpu/smallguimonitor_local.tga models/mapobjects/cpu/work/smallguimonitor_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/cpu/smallguimonitor_local
		
	}
	diffusemap		models/mapobjects/cpu/smallguimonitor
	specularmap		models/mapobjects/cpu/smallguimonitor_s
}



models/mapobjects/doors/enprodoor1/enprodoor1glass
{
	translucent
	noshadows
	diffusemap		models/mapobjects/doors/enprodoor1/enprodoor1_glass
	{
		blend 	add
		cubeMap	env/encyl
		texgen	reflect
	}
}

models/mapobjects/doors/enprodoor1/enprodoor1
{
	bumpmap			models/mapobjects/doors/enprodoor1/enprodoor1_local
	diffusemap		models/mapobjects/doors/enprodoor1/enprodoor1
	specularmap		models/mapobjects/doors/enprodoor1/enprodoor1_s
}

models/mapobjects/skmachines/skbeltmachine_orange
{
	renderbump  	-size 512 512 -aa 2 models/mapobjects/skmachines/skbeltmachine_local.tga models/mapobjects/skmachines/work/skbeltmachine_hp.lwo
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/skmachines/skbeltmachine_local, heightmap (models/mapobjects/skmachines/skbeltmachine_bmp, 4) ) 
		
	}
	diffusemap		models/mapobjects/skmachines/skbeltmachine_orange
	specularmap		models/mapobjects/skmachines/skbeltmachine_s
}

models/mapobjects/skmachines/skbeltmachine
{
	renderbump  	-size 512 512 -aa 2 models/mapobjects/skmachines/skbeltmachine_local.tga models/mapobjects/skmachines/work/skbeltmachine_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/skmachines/skbeltmachine_local
		
	}
	diffusemap		models/mapobjects/skmachines/skbeltmachine
	specularmap		models/mapobjects/skmachines/skbeltmachine_s
}

models/mapobjects/lamps/desklamp
{
	bumpmap			models/mapobjects/lamps/desklamp_local
	diffusemap		models/mapobjects/lamps/desklamp
	specularmap		models/mapobjects/lamps/desklamp_s
}

models/mapobjects/chairs/kitchenchair/kitchenchair
{
	qer_editorimage models/mapobjects/chairs/kitchenchair/kitchenchair
	bumpmap			models/mapobjects/chairs/kitchenchair/kitchenchair_local
	{
		blend		diffusemap		
		map			models/mapobjects/chairs/kitchenchair/kitchenchair_d
		colored
	}
	{
		blend		specularmap		
		map			models/mapobjects/chairs/kitchenchair/kitchenchair_d
		rgb			parm3 * .4
	}
}

models/mapobjects/cpu/serverplate
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/cpu/serverplate_local.tga models/mapobjects/cpu/work/serverplate_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/cpu/serverplate_local
		
	}
	diffusemap		models/mapobjects/cpu/serverplate
	specularmap		models/mapobjects/cpu/serverplate_s
}

models/mapobjects/filler/toolchest_rust
{
	bumpmap			models/mapobjects/filler/toolchest_local
	diffusemap		models/mapobjects/filler/toolchest_rust
	specularmap		models/mapobjects/filler/toolchest_rust_s
}

models/mapobjects/filler/toolchest
{
	bumpmap			models/mapobjects/filler/toolchest_local
	diffusemap		models/mapobjects/filler/toolchest
	specularmap		models/mapobjects/filler/toolchest_s
}

models/mapobjects/filler/monkeywrench
{
	renderbump  	-size 64 128 -aa 4 models/mapobjects/filler/monkeywrench_local.tga models/mapobjects/filler/work/monkeywrench_hp.lwo
	metal
	{
		blend		bumpmap			
		map			models/mapobjects/filler/monkeywrench_local
		
	}
	diffusemap		models/mapobjects/filler/monkeywrench
	{
		blend		specularmap
		map			_white
		rgb			.4
	}
}


//barrel_red
models/mapobjects/fuel_barrel/exp_barrel2a_red
{
	noshadows
{	// burning corpse effect
		if	parm7			// only when dead
		// make a burned away alpha test for the normal skin
		blend	gl_zero, gl_one			// don't draw anything
		
		noclamp map models/monsters/spectre/global_dis.tga	// replace this with a monster-specific texture
		alphaTest 0.25 + 0.5 * (time - parm7)
	}
	{
		blend		bumpmap			
		map		addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp2, 2) ) 
	}
	{
		if ( parm7 == 0 )
		blend		diffusemap		
		map		models/mapobjects/fuel_barrel/exp_barrel2_red
		alphatest	.45
		rgb		.2
	}
	{
		if ( parm7 )
		blend		diffusemap		
		map		models/mapobjects/fuel_barrel/exp_barrel2_red
		// alphatest	.45
		rgb		.2
	}
}

models/mapobjects/fuel_barrel/exp_barrel2_red
{
	noshadows
{	// burning corpse effect
		if	parm7			// only when dead
		// make a burned away alpha test for the normal skin
		blend	gl_zero, gl_one			// don't draw anything
		
		noclamp map models/monsters/spectre/global_dis.tga	// replace this with a monster-specific texture
		alphaTest 0.25 + 0.5 * (time - parm7)
	}
	{
		blend		bumpmap			
		map		addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp2, 2) ) 
	}
	{
		if ( parm7 == 0 )
		blend		diffusemap		
		map		models/mapobjects/fuel_barrel/exp_barrel2_red
		alphatest	.45
	}
	{
		if ( parm7 )
		blend		diffusemap		
		map		models/mapobjects/fuel_barrel/exp_barrel2_red
		// alphatest	.45
	}
	specularmap		models/mapobjects/fuel_barrel/exp_barrel_s
}

models/mapobjects/fuel_barrel/exp_barrel_red
{
	noSelfShadow
	{
		blend		bumpmap			
		map		addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp, 2) ) 
	}
	diffusemap		models/mapobjects/fuel_barrel/exp_barrel_red
	specularmap		models/mapobjects/fuel_barrel/exp_barrel_s
}

//barrel_white
models/mapobjects/fuel_barrel/exp_barrel2a_white
{
	noshadows
	{
		blend		bumpmap			
		map		addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp2, 2) ) 
	}
	{
		blend		diffusemap		
		map		models/mapobjects/fuel_barrel/exp_barrel2_white
		alphatest	.45
		rgb		.2
	}
}

models/mapobjects/fuel_barrel/exp_barrel2_white
{
	noshadows
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp2, 2) ) 
	}
	{
		blend		diffusemap		
		map			models/mapobjects/fuel_barrel/exp_barrel2_white
		alphatest	.45
	}
	specularmap		models/mapobjects/fuel_barrel/exp_barrel_s
}

models/mapobjects/fuel_barrel/exp_barrel_white
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp, 2) ) 
	}
	diffusemap		models/mapobjects/fuel_barrel/exp_barrel_white
	specularmap		models/mapobjects/fuel_barrel/exp_barrel_s
}
//

//barrel_blue
models/mapobjects/fuel_barrel/exp_barrel2a_blue
{
	noshadows
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp2, 2) ) 
	}
	{
		blend		diffusemap		
		map			models/mapobjects/fuel_barrel/exp_barrel2_blue
		alphatest	.45
		rgb			.2
	}
}

models/mapobjects/fuel_barrel/exp_barrel2_blue
{
	noshadows
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp2, 2) ) 
	}
	{
		blend		diffusemap		
		map			models/mapobjects/fuel_barrel/exp_barrel2_blue
		alphatest	.45
	}
	specularmap		models/mapobjects/fuel_barrel/exp_barrel_s
}

models/mapobjects/fuel_barrel/exp_barrel_blue
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp, 2) ) 
	}
	diffusemap		models/mapobjects/fuel_barrel/exp_barrel_blue
	specularmap		models/mapobjects/fuel_barrel/exp_barrel_s
}
//

//barrel
models/mapobjects/fuel_barrel/exp_barrel2a
{
	noshadows
{	// burning corpse effect
		if	parm7			// only when dead
		// make a burned away alpha test for the normal skin
		blend	gl_zero, gl_one			// don't draw anything
		
		noclamp map models/monsters/spectre/global_dis.tga	// replace this with a monster-specific texture
		alphaTest 0.45 + 0.5 * (time - parm7)
	}
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp2, 2) ) 
	}
	{
		if ( parm7 == 0 )
		blend		diffusemap		
		map			_default //models/mapobjects/fuel_barrel/exp_barrel2
		alphatest	.45
		rgb			.2
	}
	{
		if ( parm7 )
		blend		diffusemap		
		map			_default //models/mapobjects/fuel_barrel/exp_barrel2
		//alphatest	.45
		rgb			.2
	}
}

models/mapobjects/fuel_barrel/exp_barrel2
{
	noshadows
{	// burning corpse effect
		if	parm7			// only when dead
		// make a burned away alpha test for the normal skin
		blend	gl_zero, gl_one			// don't draw anything
		
		noclamp map models/monsters/spectre/global_dis.tga	// replace this with a monster-specific texture
		alphaTest 0.05 + 0.5 * (time - parm7)
	}
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp2, 2) ) 
	}
	{
		if ( parm7 == 0 )
		blend		diffusemap		
		map			 models/mapobjects/fuel_barrel/exp_barrel2
		alphatest	.45
	}
	{
		if ( parm7 )
		blend		diffusemap		
		map			 models/mapobjects/fuel_barrel/exp_barrel2
		//alphatest	.45
	}
	specularmap		models/mapobjects/fuel_barrel/exp_barrel_s
}

models/mapobjects/fuel_barrel/exp_barrel
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/fuel_barrel/exp_barrel_local, heightmap (models/mapobjects/fuel_barrel/exp_barrel_bmp, 2) ) 
	}
	diffusemap		models/mapobjects/fuel_barrel/exp_barrel
	specularmap		models/mapobjects/fuel_barrel/exp_barrel_s
}
//

models/mapobjects/filler/snackmachine_snacks
{
	{
		blend			blend
		map				models/mapobjects/filler/snackmachine_snacks
	}
}

models/mapobjects/filler/snackmachine_logo
{
	translucent
	{
		blend		filter
		map			models/mapobjects/filler/snackmachine_logo
	}
}

models/mapobjects/filler/snackmachine
{
	bumpmap			models/mapobjects/filler/snackmachine_local
	diffusemap		models/mapobjects/filler/snackmachine
	specularmap		models/mapobjects/filler/snackmachine_s
}

models/mapobjects/lab/loadingplatform/loadingplatformtex
{
	{
		blend		bumpmap
		map			addnormals (models/mapobjects/lab/loadingplatform/loadingplatformtex_local, heightmap (models/mapobjects/lab/loadingplatform/loadingplatformtex_bmp, 4) )
	}
	diffusemap		models/mapobjects/lab/loadingplatform/loadingplatformtex
	specularmap		models/mapobjects/lab/loadingplatform/loadingplatformtex_s
}

models/mapobjects/lab/diamondbox/diamondboxtex_green
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/lab/diamondbox/diamondboxtex_local, heightmap (models/mapobjects/lab/diamondbox/diamondboxtex_bmp.tga, 4 ) )
	}
	diffusemap		models/mapobjects/lab/diamondbox/diamondboxtex_green
	specularmap		models/mapobjects/lab/diamondbox/diamondboxtex_s
}

models/mapobjects/lab/diamondbox/diamondboxtex_red
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/lab/diamondbox/diamondboxtex_local, heightmap (models/mapobjects/lab/diamondbox/diamondboxtex_bmp.tga, 4 ) )
	}
	diffusemap		models/mapobjects/lab/diamondbox/diamondboxtex_red
	specularmap		models/mapobjects/lab/diamondbox/diamondboxtex_s
}

models/mapobjects/lab/diamondbox/diamondboxtex
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/lab/diamondbox/diamondboxtex_local, heightmap (models/mapobjects/lab/diamondbox/diamondboxtex_bmp.tga, 4 ) )
	}
	diffusemap		models/mapobjects/lab/diamondbox/diamondboxtex
	specularmap		models/mapobjects/lab/diamondbox/diamondboxtex_s
}

models/mapobjects/lab/diamondbox/diamondbox_sm
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/lab/diamondbox/diamondbox_sm_local, heightmap (models/mapobjects/lab/diamondbox/diamondbox_sm_bmp.tga, 4 ) )
	}
	diffusemap		models/mapobjects/lab/diamondbox/diamondbox_sm
	specularmap		models/mapobjects/lab/diamondbox/diamondbox_sm_s
}

models/mapobjects/lab/diamondbox/diamondbox_sm_grn
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/lab/diamondbox/diamondbox_sm_local, heightmap (models/mapobjects/lab/diamondbox/diamondbox_sm_bmp.tga, 4 ) )
	}
	diffusemap		models/mapobjects/lab/diamondbox/diamondbox_sm_grn
	specularmap		models/mapobjects/lab/diamondbox/diamondbox_sm_s
}

models/mapobjects/lab/diamondbox/diamondbox_sm_red
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/lab/diamondbox/diamondbox_sm_local, heightmap (models/mapobjects/lab/diamondbox/diamondbox_sm_bmp.tga, 4 ) )
	}
	diffusemap		models/mapobjects/lab/diamondbox/diamondbox_sm_red
	specularmap		models/mapobjects/lab/diamondbox/diamondbox_sm_s
}

models/mapobjects/lab/diamondbox/diamondbox_sm_dirt
{
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/lab/diamondbox/diamondbox_sm_local, heightmap (models/mapobjects/lab/diamondbox/diamondbox_sm_bmp.tga, 4 ) )
	}
	diffusemap		models/mapobjects/lab/diamondbox/diamondbox_sm_dirt
	specularmap		models/mapobjects/lab/diamondbox/diamondbox_sm_dirt_s
}


models/mapobjects/lab/divider/dividertex
{	
	bumpmap			models/mapobjects/lab/divider/dividertex_local
	diffusemap		models/mapobjects/lab/divider/dividertex
	specularmap		models/mapobjects/lab/divider/dividertex_s
}

models/mapobjects/lab/divider/dividertex2
{	
//	noshadows
//	nonsolid
	twoSided
	{
		blend		bumpmap			
		map			models/mapobjects/lab/divider/dividertex2_local
		
	}
	{
		blend		diffusemap		
		map			models/mapobjects/lab/divider/dividertex2
		alphatest	.5
	}
	specularmap		models/mapobjects/lab/divider/dividertex2_s
}

models/mapobjects/lab/divider/dividertex3
{	
	noshadows
	nonsolid
	twoSided
	bumpmap			models/mapobjects/lab/divider/dividertex3_local
	{
		blend		diffusemap		
		map			models/mapobjects/lab/divider/dividertex3
		alphatest	.5
	}
	specularmap		models/mapobjects/lab/divider/dividertex3_s
}


models/mapobjects/lab/newfridge/newfridge
{
	renderbump  	-size 512 256 -aa 2 models/mapobjects/lab/newfridge/newfridge_local.tga models/mapobjects/lab/newfridge/work/newfridge_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/lab/newfridge/newfridge_local
		
	}
	diffusemap		models/mapobjects/lab/newfridge/newfridge
	specularmap		models/mapobjects/lab/newfridge/newfridge_s
}

models/mapobjects/tables/conf_table/conf_table_tex
{
	bumpmap			models/mapobjects/tables/conf_table/conf_table_tex_local
	diffusemap		models/mapobjects/tables/conf_table/conf_table_tex
	specularmap		models/mapobjects/tables/conf_table/conf_table_tex_s
}

models/mapobjects/tables/conf_table/conf_table_tex_blue
{
	bumpmap			models/mapobjects/tables/conf_table/conf_table_tex_local
	diffusemap		models/mapobjects/tables/conf_table/conf_table_tex_blue
	specularmap		models/mapobjects/tables/conf_table/conf_table_tex_s
}

models/mapobjects/tables/conf_table/conf_table_tex_green
{
	bumpmap			models/mapobjects/tables/conf_table/conf_table_tex_local
	diffusemap		models/mapobjects/tables/conf_table/conf_table_tex_green
	specularmap		models/mapobjects/tables/conf_table/conf_table_tex_s
}

models/mapobjects/tables/udesk/udesk2
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/tables/udesk/udesk_local.tga models/mapobjects/tables/udesk/work/udesk_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/tables/udesk/udesk_local
		
	}
	diffusemap		models/mapobjects/tables/udesk/udesk2
	specularmap     models/mapobjects/tables/udesk/udesk_s
}

models/mapobjects/tables/udesk/udesk
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/tables/udesk/udesk_local.tga models/mapobjects/tables/udesk/work/udesk_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/tables/udesk/udesk_local
		
	}
	diffusemap		models/mapobjects/tables/udesk/udesk
	specularmap     models/mapobjects/tables/udesk/udesk_s
}

models/mapobjects/swinglights/swinglighttex2a
{
	qer_editorimage	models/mapobjects/swinglights/work/swinglighttex2a
	translucent
	noshadows
	diffusemap		models/mapobjects/swinglights/work/swinglighttex2a
}

models/mapobjects/swinglights/swinglighttex2
{
	qer_editorimage	models/mapobjects/swinglights/work/swinglighttex2
	bumpmap			models/mapobjects/swinglights/work/swinglighttex2_local
	diffusemap		models/mapobjects/swinglights/work/swinglighttex2
	specularmap     _white
	{
		blend		add
		map			models/mapobjects/swinglights/work/swinglighttex2_add
		colored
	}
}

models/mapobjects/swinglights/swinglighttex1
{
	bumpmap				models/mapobjects/swinglights/work/swinglighttex1_local
	diffusemap			models/mapobjects/swinglights/work/swinglighttex1
	specularmap			models/mapobjects/swinglights/work/swinglighttex1_s
}

models/mapobjects/doors/mcitydoor2tex_hangar
{
	noselfshadow
	bumpmap				models/mapobjects/doors/mcitydoor2tex_local
	diffusemap			models/mapobjects/doors/mcitydoor2tex_hangar
	specularmap			models/mapobjects/doors/mcitydoor2tex_s_hangar
}

models/mapobjects/doors/mcitydoor2tex
{
	noselfshadow
	bumpmap				models/mapobjects/doors/mcitydoor2tex_local
	diffusemap			models/mapobjects/doors/mcitydoor2tex
	specularmap			models/mapobjects/doors/mcitydoor2tex_s
}

models/mapobjects/doors/mcitydoorframeglow
{
	translucent
	noshadows
	{		
		blend			add
		map				models/mapobjects/doors/mcitydoorframeglow
		rgb				1
	}
}

models/mapobjects/doors/mcitydoorframetex_white
{
	bumpmap				models/mapobjects/doors/mcitydoorframetex_local
	diffusemap			models/mapobjects/doors/mcitydoorframetex_white
	specularmap			textures/mcity/mcityc1_s
}

models/mapobjects/doors/mcitydoorframetex_hangar
{												
	bumpmap				models/mapobjects/doors/mcitydoorframetex_local
	diffusemap			models/mapobjects/doors/mcitydoorframetex_hangar
	specularmap			models/mapobjects/doors/mcitydoorframetex_s_hangar
}

models/mapobjects/doors/mcitydoorframetex
{
	bumpmap				models/mapobjects/doors/mcitydoorframetex_local
	diffusemap			models/mapobjects/doors/mcitydoorframetex
	specularmap			textures/mcity/mcityc1_s
}

models/mapobjects/doors/mcitydoortex_hangar
{
	bumpmap				models/mapobjects/doors/mcitydoortex_local
	diffusemap			models/mapobjects/doors/mcitydoortex_hangar
	specularmap			models/mapobjects/doors/mcitydoortex_s_hangar
}

models/mapobjects/doors/mcitydoortex
{
	bumpmap				models/mapobjects/doors/mcitydoortex_local
	diffusemap			models/mapobjects/doors/mcitydoortex
	specularmap			models/mapobjects/doors/mcitydoortex_s
}

models/mapobjects/filler/sodamachine
{
	bumpmap				models/mapobjects/filler/sodamachine_local
	diffusemap			models/mapobjects/filler/sodamachine
	specularmap			models/mapobjects/filler/sodamachine_s
}

models/mapobjects/filler/sodamachinesq
{
	bumpmap				models/mapobjects/filler/sodamachine_local
	diffusemap			models/mapobjects/filler/sodamachinesq
	specularmap			models/mapobjects/filler/sodamachine_s
}

models/mapobjects/filler/sodamachine_add
{
	translucent
		noshadows
	{
		blend			add
		map				models/mapobjects/filler/sodamachine_add
	}
}


models/mapobjects/filler/sodamachinesq_add
{
	translucent
		noshadows
	{
		blend			add
		map				models/mapobjects/filler/sodamachinesq_add
	}
}

models/mapobjects/filler/sodamachine_add2
{
	translucent
		noshadows
	{
		blend			add
		map				models/mapobjects/filler/sodamachine_add2
	}
}

models/mapobjects/filler/sodamachinesq_add2
{
	translucent
		noshadows
	{
		blend			add
		map				models/mapobjects/filler/sodamachinesq_add2
	}
}

models/mapobjects/mcity/mcitysign1_add
{
	translucent
	{
		blend			diffusemap
		map				models/mapobjects/mcity/mcitysign1_add
	}
}

models/mapobjects/mcity/mcitysign1
{
		renderbump  	-size 128 128 -aa 2 models/mapobjects/mcity/mcitysign1_local.tga models/mapobjects/mcity/work/mcitysign1_hp.lwo		
		bumpmap			models/mapobjects/mcity/mcitysign1_local
		diffusemap		models/mapobjects/mcity/mcitysign1
		specularmap		models/mapobjects/mcity/mcitysign1_s
}

models/mapobjects/doors/doorlocklightg
{
	translucent
	{
		if ( parm7 == 0 )
		blend 	add
		map		models/mapobjects/doors/doorlocklightg
		red		1
		green	0.1
		blue	0.1

	}
	{
		if ( parm7 == 1 )
		blend 	add
		map		models/mapobjects/doors/doorlocklightg
		red		0.6
		green	1
		blue	0.23
	}
}

models/mapobjects/doors/doorlocklight
{
	bumpmap			models/mapobjects/doors/doorlocklight_local
	{
		blend		diffusemap		
		map			models/mapobjects/doors/doorlocklight
		alphatest	.5
	}
	specularmap		models/mapobjects/doors/doorlocklight
}

models/mapobjects/doors/doormonitorarrow
{
noshadows
nonsolid
	{
		blend		bumpmap
		map		models/mapobjects/doors/doormonitorarrow_local
	}
	{
		blend		diffusemap
		map		models/mapobjects/doors/doormonitorarrow
		alphatest	.5
	}
	{
		blend		specularmap
		map		_white
		rgb		.2
	}
	{
		maskcolor
		map makealpha(models/mapobjects/doors/doormonitorarrow_mask)
	}
	{
		blend gl_dst_alpha, gl_one
		maskalpha
		map models/mapobjects/doors/doormonitorarrow_grad
		scale		.2,.2
		translate	1 , time * -2
	}
}

models/mapobjects/doors/doormonitor2
{
	renderbump  	-size 128 128 -aa 2 -colorMap models/mapobjects/doors/doormonitor_local.tga models/mapobjects/doors/work/doormonitor_hp.lwo		
	{
		blend		bumpmap			
		map			models/mapobjects/doors/doormonitor_local
		
	}
	diffusemap		models/mapobjects/doors/doormonitor2
	specularmap		models/mapobjects/doors/doormonitor_s
}

models/mapobjects/doors/doormonitor
{
	renderbump  	-size 128 128 -aa 2 -colorMap models/mapobjects/doors/doormonitor_local.tga models/mapobjects/doors/work/doormonitor_hp.lwo		
	{
		blend		bumpmap			
		map			models/mapobjects/doors/doormonitor_local
		
	}
	diffusemap		models/mapobjects/doors/doormonitor
	specularmap		models/mapobjects/doors/doormonitor_s
}

models/mapobjects/elevators/elevator_green
{
	
	renderbump  	-size 512 512 -aa 2 models/mapobjects/elevators/elevator_local.tga models/mapobjects/elevators/work/elevator_hp.lwo		
	{
		blend		bumpmap		
		//map			models/mapobjects/elevators/elevatorcompresstest_local.tga
		map			models/mapobjects/elevators/elevator_local
		
	}
	diffusemap		models/mapobjects/elevators/elevator_green
	specularmap		models/mapobjects/elevators/elevator_green_s
}

models/mapobjects/elevators/elevator_cop3
{
	
	renderbump  	-size 512 512 -aa 2 models/mapobjects/elevators/elevator_local.tga models/mapobjects/elevators/work/elevator_hp.lwo		
	{
		blend		bumpmap			
		map			models/mapobjects/elevators/elevator_local
		
	}
	diffusemap		models/mapobjects/elevators/elevator_cop3
	specularmap		models/mapobjects/elevators/elevator_cop_s
}

models/mapobjects/elevators/elevator_cop2
{
	
	renderbump  	-size 512 512 -aa 2 models/mapobjects/elevators/elevator_local.tga models/mapobjects/elevators/work/elevator_hp.lwo		
	{
		blend		bumpmap			
		map			models/mapobjects/elevators/elevator_local
		
	}
	diffusemap		models/mapobjects/elevators/elevator_cop2
	specularmap		models/mapobjects/elevators/elevator_cop_s
}

models/mapobjects/elevators/elevator_cop
{
	
	renderbump  	-size 512 512 -aa 2 models/mapobjects/elevators/elevator_local.tga models/mapobjects/elevators/work/elevator_hp.lwo		
	{
		blend		bumpmap			
		map			models/mapobjects/elevators/elevator_local
		
	}
	diffusemap		models/mapobjects/elevators/elevator_cop
	specularmap		models/mapobjects/elevators/elevator_cop_s
}

models/mapobjects/elevators/elevator
{
	
	renderbump  	-size 1024 1024 -aa 2 models/mapobjects/elevators/elevator_local.tga models/mapobjects/elevators/work/elevator_hp.lwo		
	{
		blend		bumpmap	
		//map			models/mapobjects/elevators/elevatorcompresstest_local.tga
		map			models/mapobjects/elevators/elevator_local
	}
	diffusemap		models/mapobjects/elevators/elevator
	specularmap		models/mapobjects/elevators/elevator_s2
}

models/mapobjects/washroom/airtank_grey
{
	renderbump  	-size 64 256 -aa 2 models/mapobjects/washroom/airtank_local.tga models/mapobjects/washroom/work/airtank_hp.lwo		
	bumpmap			models/mapobjects/washroom/airtank_local
	diffusemap		models/mapobjects/washroom/airtank_grey
	specularmap		models/mapobjects/washroom/airtank_s
}

models/mapobjects/washroom/airtank
{
	renderbump  	-size 64 256 -aa 2 models/mapobjects/washroom/airtank_local.tga models/mapobjects/washroom/work/airtank_hp.lwo		
	bumpmap			models/mapobjects/washroom/airtank_local
	diffusemap		models/mapobjects/washroom/airtank
	specularmap		models/mapobjects/washroom/airtank_s
}

models/mapobjects/washroom/mopbucket
{
	renderbump  	-size 256 256 -aa 2 -trace .2 models/mapobjects/washroom/mopbucket_local.tga models/mapobjects/washroom/work/mopbucket_hp.lwo		
	bumpmap			models/mapobjects/washroom/mopbucket_local
	diffusemap		models/mapobjects/washroom/mopbucket
	specularmap		models/mapobjects/washroom/mopbucket_s
}

models/mapobjects/washroom/mop2
{
	renderbump  	-size 16 64 -aa 2 models/mapobjects/washroom/mop2_local.tga models/mapobjects/washroom/work/mop_hp.lwo		
	bumpmap			models/mapobjects/washroom/mop2_local
	diffusemap		models/mapobjects/washroom/mop2
	specularmap		models/mapobjects/washroom/mop2_s
}

models/mapobjects/washroom/mop1
{
	renderbump  	-size 64 64 -aa 2 models/mapobjects/washroom/mop1_local.tga models/mapobjects/washroom/work/mop_hp.lwo		
	bumpmap			models/mapobjects/washroom/mop1_local
	diffusemap		models/mapobjects/washroom/mop1
	specularmap		models/mapobjects/washroom/mop1_s
}

models/mapobjects/cpu/heater2_y
{
	renderbump  	-size 256 64 -aa 2 models/mapobjects/cpu/heater2_local.tga models/mapobjects/cpu/work/heater2_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/cpu/heater2_local.tga
		
	}
	diffusemap		models/mapobjects/cpu/heater2_y.tga
	specularmap		models/mapobjects/cpu/heater2_s.tga
}

models/mapobjects/cpu/heater2
{
	renderbump  	-size 256 64 -aa 2 models/mapobjects/cpu/heater2_local.tga models/mapobjects/cpu/work/heater2_hp.lwo
	bumpmap			models/mapobjects/cpu/heater2_local.tga
	diffusemap		models/mapobjects/cpu/heater2.tga
	specularmap		models/mapobjects/cpu/heater2_s.tga
}

models/mapobjects/cpu/heater_y
{
	renderbump  	-size 256 128 -aa 2 models/mapobjects/cpu/heater_local.tga models/mapobjects/cpu/work/heater_hp.lwo
	bumpmap			models/mapobjects/cpu/heater_local.tga
	diffusemap		models/mapobjects/cpu/heater_y.tga
	specularmap		models/mapobjects/cpu/heater_s.tga
}

models/mapobjects/cpu/heater
{
	renderbump  		-size 256 128 -aa 2 models/mapobjects/cpu/heater_local.tga models/mapobjects/cpu/work/heater_hp.lwo
	bumpmap			models/mapobjects/cpu/heater_local.tga
	diffusemap		models/mapobjects/cpu/heater.tga
	specularmap		models/mapobjects/cpu/heater_s.tga
}

models/mapobjects/cpu/pullhandle
{
	renderbump  		-size 64 128 -aa 2 models/mapobjects/cpu/pullhandle_local.tga models/mapobjects/cpu/work/pullhandle_hp.lwo
	bumpmap			models/mapobjects/cpu/pullhandle_local.tga
	diffusemap		models/mapobjects/cpu/pullhandle.tga
	specularmap		models/mapobjects/cpu/pullhandle_s.tga
}

models/mapobjects/cpu/cpumaze1
{
	renderbump  		-size 128 512 -aa 2 -colorMap models/mapobjects/cpu/cpumaze1_local.tga models/mapobjects/cpu/work/cpumaze1_hp.lwo
	bumpmap			models/mapobjects/cpu/cpumaze1_local.tga
	diffusemap		models/mapobjects/cpu/cpumaze1.tga
	specularmap		models/mapobjects/cpu/cpumaze1_s.tga
}

models/mapobjects/teleporter/teleporterunit
{
	renderbump  		-size 256 512 -aa 2 -colorMap models/mapobjects/teleporter/teleporterunit_local.tga models/mapobjects/teleporter/work/teleporterunit_hp.lwo
	bumpmap			models/mapobjects/teleporter/teleporterunit_local.tga
	diffusemap		models/mapobjects/teleporter/teleporterunit.tga
	specularmap		models/mapobjects/teleporter/teleporterunit_s.tga
}

models/mapobjects/machineroom/mac_thing
{
	renderbump  		-size 512 128 -aa 2 models/mapobjects/machineroom/mac_thing_local.tga models/mapobjects/machineroom/work/mac_thing_hp.lwo
	bumpmap			models/mapobjects/machineroom/mac_thing_local.tga
	diffusemap		models/mapobjects/machineroom/mac_thing.tga
	specularmap		models/mapobjects/machineroom/mac_thing_s.tga
}

models/mapobjects/machineroom/mac_britapivot
{
	renderbump  		-size 64 256 -aa 2 -trace .035 models/mapobjects/machineroom/mac_britapivot_local.tga models/mapobjects/machineroom/work/mac_britapivot_hp.lwo
	bumpmap			models/mapobjects/machineroom/mac_britapivot_local.tga
	diffusemap		models/mapobjects/machineroom/mac_britapivot.tga
	specularmap		models/mapobjects/machineroom/mac_britapivot_s.tga
}

models/mapobjects/machineroom/mac_britacase
{
	renderbump  		-size 256 256 -aa 2 models/mapobjects/machineroom/mac_britacase_local.tga models/mapobjects/machineroom/work/mac_britacase_hp.lwo
	bumpmap			models/mapobjects/machineroom/mac_britacase_local.tga
	diffusemap		models/mapobjects/machineroom/mac_britacase.tga
	specularmap		models/mapobjects/machineroom/mac_britacase_s.tga
}

models/mapobjects/machineroom/capsule2
{
	noshadows
	{ if ( parm4 == 0 )
		blend		diffusemap
		map		models/mapobjects/machineroom/capsule2a.tga
		alphatest	1
	}
	specularmap		models/mapobjects/machineroom/capsule2_s.tga
//	{if ( parm4 == 0 )
//		blend		add
//		map		models/mapobjects/machineroom/capsule2.tga
//		ignoreAlphaTest
//	}
	{ if ( parm4 == 1 )
		blend		diffusemap
		map		models/mapobjects/machineroom/capsule2a.tga
		alphatest	0
		translate 	time * 0.15 , time * 0.1
	}
}

models/mapobjects/machineroom/capsule
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/machineroom/capsule_local.tga models/mapobjects/machineroom/work/capsule_hp.lwo
	bumpmap			models/mapobjects/machineroom/capsule_local.tga
	diffusemap		models/mapobjects/machineroom/capsule.tga
	specularmap		models/mapobjects/machineroom/capsule_s.tga
}

models/mapobjects/machineroom/machineclaw1
{
	renderbump  	-size 512 512 -aa 2 -colorMap models/mapobjects/machineroom/machineclaw1_local.tga models/mapobjects/machineroom/work/machineclaw_hp.lwo
	bumpmap			models/mapobjects/machineroom/machineclaw1_local.tga
	diffusemap		models/mapobjects/machineroom/machineclaw1.tga
	specularmap		models/mapobjects/machineroom/machineclaw1_s.tga
}
models/mapobjects/machineroom/machineclaw1_rust
{
	bumpmap			addnormals (models/mapobjects/machineroom/machineclaw1_local.tga, heightmap (models/mapobjects/machineroom/machineclaw1_rust_h.tga, 3) )
	diffusemap		models/mapobjects/machineroom/machineclaw1_rust.tga
	specularmap		models/mapobjects/machineroom/machineclaw1_rust_s.tga
}

models/mapobjects/machineroom/machineclaw2
{
	renderbump  		-size 128 256 -aa 2 -colorMap models/mapobjects/machineroom/machineclaw2_local.tga models/mapobjects/machineroom/work/machineclaw_hp.lwo
	bumpmap			models/mapobjects/machineroom/machineclaw2_local.tga
	diffusemap		models/mapobjects/machineroom/machineclaw2.tga
	specularmap		models/mapobjects/machineroom/machineclaw2_s.tga
}
models/mapobjects/machineroom/machineclaw2_rust
{
	bumpmap			models/mapobjects/machineroom/machineclaw2_local.tga
	diffusemap		models/mapobjects/machineroom/machineclaw2_rust.tga
	specularmap		models/mapobjects/machineroom/machineclaw2_rust_s.tga
}
	
models/mapobjects/machineroom/machineclaw5
{
	renderbump  	-size 128 128 -aa 2 -colorMap models/mapobjects/machineroom/machineclaw5_local.tga models/mapobjects/machineroom/work/machineclaw5_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/machineroom/machineclaw5_local.tga
		
	}
	diffusemap		models/mapobjects/machineroom/machineclaw5.tga
	specularmap		models/mapobjects/machineroom/machineclaw5_s.tga
}
models/mapobjects/machineroom/machineclaw5_rust
{
	
	{
		blend		bumpmap			
		map			models/mapobjects/machineroom/machineclaw5_local.tga
		
	}
	diffusemap		models/mapobjects/machineroom/machineclaw5_rust.tga
	specularmap		models/mapobjects/machineroom/machineclaw5_rust_s.tga
}

models/mapobjects/cpu/ccfloortex
{
	noshadows
	bumpmap			models/mapobjects/cpu/ccfloortex_local.tga
	diffusemap		models/mapobjects/cpu/ccfloortex.tga
	specularmap		models/mapobjects/cpu/ccfloortex_s.tga
}

models/mapobjects/cpu/comcenter1
{
	translucent
	noshadows
	{
		blend		add
		map		models/mapobjects/cpu/comcenter1.tga
		rgb		3
	}
}

models/mapobjects/cpu/comcenter
{
	renderbump  		-size 512 256 -aa 2 -colorMap models/mapobjects/cpu/comcenter_local.tga models/mapobjects/cpu/work/comcenter_hp.lwo
	bumpmap			models/mapobjects/cpu/comcenter_local.tga
	diffusemap		models/mapobjects/cpu/comcenter.tga
	specularmap		models/mapobjects/cpu/comcenter_s.tga
}

models/mapobjects/cpu/hangingcpublock2
{
	noshadows
	bumpmap			models/mapobjects/cpu/hangingcpublock2_local.tga
	{
		blend		diffusemap
		map		models/mapobjects/cpu/hangingcpublock2.tga
		alphatest 	.5
	}
	specularmap		models/mapobjects/cpu/hangingcpublock2_s.tga
}

models/mapobjects/cpu/hangingcpublock
{
	renderbump  	-size 256 128 -aa 2 -colorMap models/mapobjects/cpu/hangingcpublock_local.tga models/mapobjects/cpu/work/hangingcpublock_hp.lwo
	bumpmap		models/mapobjects/cpu/hangingcpublock_local.tga
	diffusemap	models/mapobjects/cpu/hangingcpublock.tga
	specularmap	models/mapobjects/cpu/hangingcpublock_s.tga
}

models/mapobjects/boxes/metalbox1
{
	renderbump  	-size 256 128 -aa 2 -colorMap models/mapobjects/boxes/metalbox1_local.tga models/mapobjects/boxes/work/metalbox1_hp.lwo
	bumpmap		models/mapobjects/boxes/metalbox1_local.tga
	diffusemap	models/mapobjects/boxes/metalbox1.tga
	specularmap	models/mapobjects/boxes/metalbox1_s.tga
}

models/mapobjects/cpu/cpudesk2_white
{
	bumpmap		models/mapobjects/cpu/cpudesk2_local.tga
	diffusemap	models/mapobjects/cpu/cpudesk2_white.tga
	specularmap	models/mapobjects/cpu/cpudesk2_s.tga
}

models/mapobjects/cpu/cpudesk2_yellow
{
	bumpmap		models/mapobjects/cpu/cpudesk2_local.tga
	diffusemap	models/mapobjects/cpu/cpudesk2_yellow.tga
	specularmap	models/mapobjects/cpu/cpudesk2_s.tga
}

models/mapobjects/cpu/cpudesk2_red
{
	bumpmap		models/mapobjects/cpu/cpudesk2_local.tga
	diffusemap	models/mapobjects/cpu/cpudesk2_red.tga
	specularmap	models/mapobjects/cpu/cpudesk2_s.tga
}

models/mapobjects/cpu/cpudesk2
{
	renderbump  	-size 256 256 -aa 2 -colorMap models/mapobjects/cpu/cpudesk2_local.tga models/mapobjects/cpu/work/cpudesk2_hp.lwo
	bumpmap		models/mapobjects/cpu/cpudesk2_local.tga
	diffusemap	models/mapobjects/cpu/cpudesk2.tga
	specularmap	models/mapobjects/cpu/cpudesk2_s.tga
}


models/mapobjects/cpu/cpudesk1a
{
	bumpmap		models/mapobjects/cpu/cpudesk1_local.tga
	diffusemap	models/mapobjects/cpu/cpudesk1a.tga
	specularmap	models/mapobjects/cpu/cpudesk1_s.tga
}

models/mapobjects/cpu/cpudesk1
{
	renderbump  	-size 512 256 -aa 2 -colorMap models/mapobjects/cpu/cpudesk1_local.tga models/mapobjects/cpu/work/cpudesk1_hp.lwo
	bumpmap		models/mapobjects/cpu/cpudesk1_local.tga
	diffusemap	models/mapobjects/cpu/cpudesk1.tga
	specularmap	models/mapobjects/cpu/cpudesk1_s.tga
}

models/mapobjects/cpu/boxmonitor1
{
	renderbump  	-size 128 64 -aa 2 -colorMap models/mapobjects/cpu/boxmonitor1_local.tga models/mapobjects/cpu/work/boxmonitor1_hp.lwo
	bumpmap		models/mapobjects/cpu/boxmonitor1_local.tga
	diffusemap	models/mapobjects/cpu/boxmonitor1.tga
	specularmap	models/mapobjects/cpu/boxmonitor1_s.tga
}

models/mapobjects/cpu/cpudoorarch
{
	renderbump  	-size 256 256 -aa 2 -colorMap models/mapobjects/cpu/cpudoorarch_local.tga models/mapobjects/cpu/work/cpudoorarch_hp.lwo
	bumpmap		addnormals (models/mapobjects/cpu/cpudoorarch_local.tga, heightmap (models/mapobjects/cpu/cpudoorarch_bmp.tga, 4) ) 
	diffusemap	models/mapobjects/cpu/cpudoorarch.tga
	specularmap	models/mapobjects/cpu/cpudoorarch_s.tga
}

models/mapobjects/cpu/comrack2
{
	renderbump  	-size 256 256 -aa 2 -colorMap models/mapobjects/cpu/comrack2_local.tga models/mapobjects/cpu/work/comrack2_hp.lwo
	bumpmap		addnormals (models/mapobjects/cpu/comrack2_local.tga, heightmap (models/mapobjects/cpu/comrack2_bmp.tga, 4) ) 
	diffusemap	models/mapobjects/cpu/comrack2.tga
	specularmap	models/mapobjects/cpu/comrack2_s.tga
}

models/mapobjects/doors/cpudoor2light2
{
	noshadows
	translucent
	nonsolid
	{
		blend		add
		map		models/mapobjects/doors/cpudoor2light.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

models/mapobjects/doors/cpudoor2light
{
	noshadows
	translucent
	nonsolid
	deform flare 		16
	qer_editorimage		textures/editor/flare.tga
	{
		blend		add
		map		_quadratic
		colored
		vertexcolor
	}
}

models/mapobjects/doors/cpudoor2pipes
{
	renderbump  	-size 32 64 -aa 2 -colorMap models/mapobjects/doors/cpudoor2pipes_local.tga models/mapobjects/doors/work/cpudoor2pipes_hp.lwo
	bumpmap		models/mapobjects/doors/cpudoor2pipes_local.tga
	diffusemap	models/mapobjects/doors/cpudoor2pipes_d.tga
	specularmap	models/mapobjects/doors/cpudoor2pipes_s.tga
}

models/mapobjects/doors/cpudoor2
{
	renderbump  	-size 256 512 -aa 2 -colorMap models/mapobjects/doors/cpudoor2_local.tga models/mapobjects/doors/work/cpudoor2_hp.lwo
	{
		blend		bumpmap
		map			addnormals (models/mapobjects/doors/cpudoor2_local.tga, heightmap (models/mapobjects/doors/cpudoor2_bmp.tga, 4) )
		
	}
	diffusemap	models/mapobjects/doors/cpudoor2_d.tga
	specularmap	models/mapobjects/doors/cpudoor2_s.tga
}

models/mapobjects/doors/cpudoor2r
{
	renderbump  	-size 128 256 -aa 2 -colorMap models/mapobjects/doors/cpudoor2r_local.tga models/mapobjects/doors/work/cpudoor2r_hp.lwo
	bumpmap		models/mapobjects/doors/cpudoor2r_local.tga
	diffusemap	models/mapobjects/doors/cpudoor2r_d.tga
	specularmap	models/mapobjects/doors/cpudoor2r_s.tga
}

models/mapobjects/cpu/cpudisc
{
	renderbump  	-size 64 128 -aa 2 -colorMap models/mapobjects/cpu/cpudisc_local.tga models/mapobjects/cpu/work/cpudisc_hp.lwo
	bumpmap		models/mapobjects/cpu/cpudisc_local.tga
	diffusemap	models/mapobjects/cpu/cpudisc.tga
	specularmap	models/mapobjects/cpu/cpudisc_s.tga
}

models/mapobjects/cpu/comrack
{
//	renderbump  	-size 128 256 -aa 2 models/mapobjects/cpu/comrack_local.tga models/mapobjects/cpu/work/comrack_hp.lwo
	//bumpmap		models/mapobjects/cpu/comrack_local.tga 
	bumpmap		models/mapobjects/cpu/comrack_hi_local.tga 
	diffusemap	models/mapobjects/cpu/comrack_d.tga 
	specularmap	models/mapobjects/cpu/comrack_s.tga 
}

models/mapobjects/cpu/xrayboardscreen
{
	{
		blend	add
		map	models/mapobjects/cpu/xrayboardscreen.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

models/mapobjects/cpu/xrayboard1
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/xrayboard1_d.tga 
	specularmap	models/mapobjects/cpu/xrayboard1_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_yel01_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_yel01_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_yel01_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_org01_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_org01_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_org01_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_gray04_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_gray04_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_gray04_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_grn01_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_grn01_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_grn01_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_gray02_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_gray02_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_gray02_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_brn02_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_brn02_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_brn02_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_gray03_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_gray03_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_gray03_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_grn07_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_grn07_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_grn07_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_grn06_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_grn06_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_grn06_s.tga 
}

models/mapobjects/cpu/a_xrayboard1_grn02_d
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/cpu/xrayboard1_local.tga models/mapobjects/cpu/work/xrayboard1_hp.lwo
	bumpmap		models/mapobjects/cpu/xrayboard1_local.tga 
	diffusemap	models/mapobjects/cpu/a_xrayboard1_grn02_d.tga 
	specularmap	models/mapobjects/cpu/a_xrayboard1_grn02_s.tga 
}

models/mapobjects/cpu/cpupole2
{
	renderbump  	-size 128 256 -aa 2 models/mapobjects/cpu/cpupole2_local.tga models/mapobjects/cpu/work/cpupole2_hp.lwo
	{
		blend	bumpmap		
		map		addnormals (models/mapobjects/cpu/cpupole2_local.tga, heightmap (models/mapobjects/cpu/cpupole2_bmp.tga, 4) ) 
	}
	diffusemap	models/mapobjects/cpu/cpupole2_d.tga 
	specularmap	models/mapobjects/cpu/cpupole2_s.tga 
}

models/mapobjects/cpu/cpupole2a
{
	bumpmap		models/mapobjects/cpu/cpupole2a_local.tga 
	diffusemap	models/mapobjects/cpu/cpupole2a_d.tga 
	specularmap	models/mapobjects/cpu/cpupole2a_s.tga 
}

models/mapobjects/cpu/cpufloorinsert
{
	renderbump  	-size 512 256 -aa 2 -trace .15 models/mapobjects/cpu/cpufloorinsert_local.tga models/mapobjects/cpu/work/cpufloorinsert_hp.lwo
	bumpmap		addnormals (models/mapobjects/cpu/cpufloorinsert_local.tga, heightmap (models/mapobjects/cpu/cpufloorinsert_bmp.tga, 2 ) )
		
	diffusemap	models/mapobjects/cpu/cpufloorinsert_d.tga 
	specularmap	models/mapobjects/cpu/cpufloorinsert_s.tga 
}

models/mapobjects/cpu/cpuoverdoor
{
	renderbump  	-size 128 256 -aa 2 -trace .1 models/mapobjects/cpu/cpuoverdoor_local.tga models/mapobjects/cpu/work/cpuoverdoor_hp.lwo
	bumpmap		models/mapobjects/cpu/cpuoverdoor_local.tga 
	diffusemap	models/mapobjects/cpu/cpuoverdoor_d.tga 
	specularmap	models/mapobjects/cpu/cpuoverdoor_s.tga 
}

models/mapobjects/cpu/cpuhex
{
	renderbump  	-size 256 32 -aa 2 -trace .01 models/mapobjects/cpu/cpuhex_local.tga models/mapobjects/cpu/work/cpuhex_hp.lwo
	bumpmap		models/mapobjects/cpu/cpuhex_local.tga 
	diffusemap	models/mapobjects/cpu/cpuhex_d.tga 
	specularmap	models/mapobjects/cpu/cpuhex_s.tga 
}

models/mapobjects/cpu/cpuarch1
{
	renderbump  	-size 256 512 -aa 2 models/mapobjects/cpu/cpuarch1_local.tga models/mapobjects/cpu/work/cpuarch1_hp.lwo
	bumpmap		addnormals (models/mapobjects/cpu/cpuarch1_local.tga , heightmap (models/mapobjects/cpu/cpuarch1_bmp, 4) )
	diffusemap	models/mapobjects/cpu/cpuarch1_d.tga 
	specularmap	models/mapobjects/cpu/cpuarch1_s.tga 
}

models/mapobjects/doors/smalldoor
{
	qer_editorimage	models/mapobjects/doors/smalldoor_local.tga
	renderbump  	-size 256 256 -aa 2 models/mapobjects/doors/smalldoor_local.tga models/mapobjects/doors/work/smalldoor_hp.lwo
	{
		blend		bumpmap			
		map			models/mapobjects/doors/smalldoor_local.tga
		
	}
	diffusemap		models/mapobjects/doors/smalldoor_d.tga
	specularmap		models/mapobjects/doors/smalldoor_s.tga
}

models/mapobjects/doors/smalldoor_light
{
	translucent
	qer_editorimage	models/mapobjects/doors/smalldoor_light_add.tga
	{
		blend	add
		map	models/mapobjects/doors/smalldoor_light_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

models/mapobjects/doors/smalldoor_sign
{
	translucent
	qer_editorimage	models/mapobjects/doors/smalldoor_sign_add.tga
	{
		blend	add
		map	models/mapobjects/doors/smalldoor_sign_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

models/mapobjects/doors/smalldoorblue_light
{
	translucent
	qer_editorimage	models/mapobjects/doors/smalldoorblue_light_add.tga
	{
		blend	add
		map	models/mapobjects/doors/smalldoorblue_light_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

models/mapobjects/doors/smalldoorblue_sign
{
	translucent
	qer_editorimage	models/mapobjects/doors/smalldoorblue_sign_add.tga
	{
		blend	add
		map	models/mapobjects/doors/smalldoorblue_sign_add.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

models/mapobjects/lab/microscope/microscopeblue
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/lab/microscope/microscope_local.tga models/mapobjects/lab/microscope/microscope_hp.lwo
	bumpmap		models/mapobjects/lab/microscope/microscope_local.tga
	diffusemap	models/mapobjects/lab/microscope/microscope_d.tga
	specularmap	models/mapobjects/lab/microscope/microscope_s.tga
}

models/mapobjects/lab/microscope/microscope
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/lab/microscope/microscope_local.tga models/mapobjects/lab/microscope/microscope_hp.lwo
	bumpmap		models/mapobjects/lab/microscope/microscope_local.tga
	diffusemap	models/mapobjects/lab/microscope/microscopeblack_d.tga
	specularmap	models/mapobjects/lab/microscope/microscope_s.tga
}

models/mapobjects/lab/blaptop/blaptop
{
	renderbump  	-size 128 256 -aa 3 models/mapobjects/lab/blaptop/blaptop_local.tga models/mapobjects/lab/blaptop/blaptop_hi.lwo
	bumpmap		models/mapobjects/lab/blaptop/blaptop_local.tga
	diffusemap	models/mapobjects/lab/blaptop/blaptop_d.tga
	specularmap	models/mapobjects/lab/blaptop/blaptop_s.tga
}

models/mapobjects/lab/infusion1
{
	renderbump  	-size 128 256 -aa 2 models/mapobjects/lab/infusion/infusion1_local.tga models/mapobjects/lab/infusion/infusion_hp.lwo
	bumpmap		models/mapobjects/lab/infusion/infusion1_local.tga
	diffusemap	models/mapobjects/lab/infusion/infusion1_d.tga
	specularmap	models/mapobjects/lab/infusion/infusion1_s.tga
}

models/mapobjects/lab/infusion2
{
	renderbump  	-size 128 128 -aa 2 models/mapobjects/lab/infusion/infusion2_local.tga models/mapobjects/lab/infusion/infusion_hp.lwo
	translucent
	bumpmap		addnormals (models/mapobjects/lab/infusion/infusion2_local.tga, heightmap (models/mapobjects/lab/infusion/infusion2_bmp.tga, 4))
	diffusemap	models/mapobjects/lab/infusion/infusion2_d.tga
	specularmap	models/mapobjects/lab/infusion/infusion2_s.tga
}

models/mapobjects/lab/cube1
{
	bumpmap			addnormals (models/mapobjects/lab/cube1/cube_hp_local.tga, heightmap (models/mapobjects/lab/cube1/cube_bmp.tga,4))
	diffusemap		models/mapobjects/lab/cube1/cube_d.tga
	specularmap		models/mapobjects/lab/cube1/cube_s.tga
}

models/mapobjects/skmachines/skcubedirtred2
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/skmachines/skcube_local.tga models/mapobjects/skmachines/work/skcube_hp.lwo
	{
		blend		bumpmap		
		map			models/mapobjects/skmachines/skcube2_local.tga
					
	}
	diffusemap		models/mapobjects/skmachines/skcube2_d6.tga 
	specularmap		models/mapobjects/skmachines/skcube2_s6.tga 
}

models/mapobjects/skmachines/skcubedirtred
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/skmachines/skcube_local.tga models/mapobjects/skmachines/work/skcube_hp.lwo
	{
		blend		bumpmap		
		map			models/mapobjects/skmachines/skcube_local.tga
					
	}
	diffusemap		models/mapobjects/skmachines/skcube_d7.tga 
	specularmap		models/mapobjects/skmachines/skcube_s6.tga 
}

models/mapobjects/skmachines/skcubedirtgreen2
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/skmachines/skcube_local.tga models/mapobjects/skmachines/work/skcube_hp.lwo
	{
		blend		bumpmap		
		map			models/mapobjects/skmachines/skcube2_local.tga
					
	}
	diffusemap		models/mapobjects/skmachines/skcube2_d7.tga 
	specularmap		models/mapobjects/skmachines/skcube2_s6.tga 
}

models/mapobjects/skmachines/skcubedirtgreen
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/skmachines/skcube_local.tga models/mapobjects/skmachines/work/skcube_hp.lwo
	{
		blend		bumpmap		
		map			models/mapobjects/skmachines/skcube_local.tga
					
	}
	diffusemap		models/mapobjects/skmachines/skcube_d6.tga 
	specularmap		models/mapobjects/skmachines/skcube_s6.tga 
}

models/mapobjects/skmachines/skcube
{
	renderbump  	-size 256 256 -aa 2 models/mapobjects/skmachines/skcube_local.tga models/mapobjects/skmachines/work/skcube_hp.lwo
	{
		blend			bumpmap		
		map				models/mapobjects/skmachines/skcube_local.tga
					
	}
	diffusemap		models/mapobjects/skmachines/skcube_d.tga 
	specularmap		models/mapobjects/skmachines/skcube_s.tga 
}

models/mapobjects/skmachines/skcubered
{
	{
		blend			bumpmap		
		map				models/mapobjects/skmachines/skcube_local.tga
					
	}
	diffusemap	models/mapobjects/skmachines/skcube_d2.tga 
	specularmap	models/mapobjects/skmachines/skcube_s.tga 
}

models/mapobjects/skmachines/skcubeyellow
{
	{
		blend			bumpmap		
		map				models/mapobjects/skmachines/skcube_local.tga
					
	}
	diffusemap	models/mapobjects/skmachines/skcube_d3.tga 
	specularmap	models/mapobjects/skmachines/skcube_s.tga 
}

models/mapobjects/skmachines/skcubegreen
{
	{
		blend			bumpmap		
		map				models/mapobjects/skmachines/skcube_local.tga
					
	}
	diffusemap	models/mapobjects/skmachines/skcube_d4.tga 
	{
		blend			specularmap	
		map				models/mapobjects/skmachines/skcube_s.tga 
		rgb				.5
	}
}

models/mapobjects/skmachines/skcubeblue
{
	{
		blend			bumpmap		
		map				models/mapobjects/skmachines/skcube_local.tga
					
	}
	diffusemap	models/mapobjects/skmachines/skcube_d5.tga 
	{
		blend			specularmap	
		map				models/mapobjects/skmachines/skcube_s.tga 
		rgb				.75
	}
}

models/mapobjects/skmachines/skcube2
{
	renderbump  -size 64 64 -aa 2 models/mapobjects/skmachines/skcube2_local.tga models/mapobjects/skmachines/work/skcube_hp.lwo
	bumpmap	models/mapobjects/skmachines/skcube2_local.tga
	diffusemap	models/mapobjects/skmachines/skcube2_d.tga 
	specularmap	models/mapobjects/skmachines/skcube2_s.tga 
}

models/mapobjects/filler/pipebutton
{
	renderbump  -size 256 256 -aa 2 models/mapobjects/filler/pipebutton_local.tga models/mapobjects/filler/work/pipebutton_hp.lwo
	bumpmap	models/mapobjects/filler/pipebutton_local.tga
	diffusemap	models/mapobjects/filler/pipebutton_d.tga 
	specularmap	models/mapobjects/filler/pipebutton_s.tga 
}

models/mapobjects/skmachines/skpipeblock
{
	renderbump  -size 256 256 -aa 4 models/mapobjects/skmachines/skpipeblock_local.tga models/mapobjects/skmachines/work/skpipeblock_hp.lwo
	bumpmap	models/mapobjects/skmachines/skpipeblock_local.tga
	diffusemap	models/mapobjects/skmachines/skpipeblock_d.tga 
	specularmap	models/mapobjects/skmachines/skpipeblock_s.tga 
}

models/mapobjects/skmachines/skceilingdisc1b  //dirty 
{
	renderbump  -size 256 256 -aa 2 models/mapobjects/skmachines/skceilingdisc1_local.tga models/mapobjects/skmachines/work/skceilingdisc_hp.lwo
	bumpmap	models/mapobjects/skmachines/skceilingdisc1_local.tga 
	diffusemap	models/mapobjects/skmachines/skceilingdisc1b.tga 
	specularmap	models/mapobjects/skmachines/skceilingdisc1b_s.tga 
}

models/mapobjects/skmachines/skceilingdisc1b2  //dirty cap
{
	renderbump  -size 64 64 -aa 2 models/mapobjects/skmachines/skceilingdisc1a_local.tga models/mapobjects/skmachines/work/skceilingdisc_hp.lwo
	bumpmap	models/mapobjects/skmachines/skceilingdisc1a_local.tga 
	diffusemap	models/mapobjects/skmachines/skceilingdisc1b2.tga 
	specularmap	models/mapobjects/skmachines/skceilingdisc1b2_s.tga 
}

models/mapobjects/skmachines/skceilingdisc1red
{
	renderbump  -size 256 256 -aa 2 models/mapobjects/skmachines/skceilingdisc1_local.tga models/mapobjects/skmachines/work/skceilingdisc_hp.lwo
	bumpmap	models/mapobjects/skmachines/skceilingdisc1_local.tga 
	diffusemap	models/mapobjects/skmachines/skceilingdisc1red_d.tga 
	specularmap	models/mapobjects/skmachines/skceilingdisc1_s.tga 
}

models/mapobjects/skmachines/skceilingdisc1
{
	renderbump  -size 256 256 -aa 2 models/mapobjects/skmachines/skceilingdisc1_local.tga models/mapobjects/skmachines/work/skceilingdisc_hp.lwo
	bumpmap	models/mapobjects/skmachines/skceilingdisc1_local.tga 
	diffusemap	models/mapobjects/skmachines/skceilingdisc1_d.tga 
	specularmap	models/mapobjects/skmachines/skceilingdisc1_s.tga 
}

models/mapobjects/skmachines/skceilingdisc1a
{
	renderbump  -size 64 64 -aa 2 models/mapobjects/skmachines/skceilingdisc1a_local.tga models/mapobjects/skmachines/work/skceilingdisc_hp.lwo
	bumpmap	models/mapobjects/skmachines/skceilingdisc1a_local.tga 
	diffusemap	models/mapobjects/skmachines/skceilingdisc1a_d.tga 
	specularmap	models/mapobjects/skmachines/skceilingdisc1a_s.tga 
}

models/mapobjects/lab/sink2faucet
{
	renderbump  -aa 2 -size 64 64 models/mapobjects/lab/sink2/sink2faucet_local.tga models/mapobjects/lab/sink2/work/sink2_hp.lwo
	bumpmap	models/mapobjects/lab/sink2/sink2faucet_local.tga 
	diffusemap	models/mapobjects/lab/sink2/sink2faucet_d.tga 
	specularmap	models/mapobjects/lab/sink2/sink2faucet_s.tga 
}

models/mapobjects/lab/sink2
{
	renderbump  -aa 2 -size 128 128 models/mapobjects/lab/sink2/sink2_local.tga models/mapobjects/lab/sink2/work/sink2_hp.lwo
	bumpmap	models/mapobjects/lab/sink2/sink2_local.tga 
	diffusemap	models/mapobjects/lab/sink2/sink2_d.tga 
	specularmap	models/mapobjects/lab/sink2/sink2_s.tga 
}

models/mapobjects/lab/sink1faucet
{
	renderbump  -aa 2 -size 64 64 models/mapobjects/lab/sink1/sink1faucet_local.tga models/mapobjects/lab/sink1/work/sink1_hp.lwo
	bumpmap	models/mapobjects/lab/sink1/sink1faucet_local.tga 
	diffusemap	models/mapobjects/lab/sink1/sink1faucet_d.tga 
	specularmap	models/mapobjects/lab/sink1/sink1faucet_s.tga 
}

models/mapobjects/lab/sink1
{
	renderbump  -aa 2 -size 128 128 models/mapobjects/lab/sink1/sink1_local.tga models/mapobjects/lab/sink1/work/sink1_hp.lwo
	bumpmap	models/mapobjects/lab/sink1/sink1_local.tga 
	diffusemap	models/mapobjects/lab/sink1/sink1_d.tga 
	specularmap	models/mapobjects/lab/sink1/sink1_s.tga 
}

models/mapobjects/normchairblood1
{
	renderbump  -aa 2 -size 128 128 models/mapobjects/base/chairs/normchair_local.tga models/mapobjects/base/chairs/work/normchair_hp.lwo
	bumpmap	models/mapobjects/base/chairs/normchair_local.tga
	diffusemap	models/mapobjects/base/chairs/normchairblood1_d.tga
	specularmap	models/mapobjects/base/chairs/normchair_s.tga
}

models/mapobjects/normchair
{
	renderbump  -aa 2 -size 128 128 models/mapobjects/base/chairs/normchair_local.tga models/mapobjects/base/chairs/work/normchair_hp.lwo
	bumpmap	models/mapobjects/base/chairs/normchair_local.tga
	diffusemap	models/mapobjects/base/chairs/normchair_d.tga
	specularmap	models/mapobjects/base/chairs/normchair_s.tga
}

models/mapobjects/base/chairs/normchair
{
	//renderbump  -aa 2 -size 128 128 models/mapobjects/base/chairs/normchair_local.tga models/mapobjects/base/chairs/work/normchair_hp.lwo
	bumpmap	models/mapobjects/base/chairs/normchair_local.tga
	diffusemap	models/mapobjects/base/chairs/normchair_d.tga
	specularmap	models/mapobjects/base/chairs/normchair_s.tga
}

models/mapobjects/filler/ktableblood1
{
	renderbump  -aa 2 -size 256 128 models/mapobjects/filler/ktable_local.tga models/mapobjects/filler/work/ktable_hp.lwo
	bumpmap	models/mapobjects/filler/ktable_local.tga
	diffusemap	models/mapobjects/filler/ktableblood1_d.tga
	specularmap	models/mapobjects/filler/ktable_s.tga
}

models/mapobjects/filler/ktable
{
	renderbump  -aa 2 -size 256 128 -trace .2 models/mapobjects/filler/ktable_local.tga models/mapobjects/filler/work/ktable_hp.lwo
	bumpmap	models/mapobjects/filler/ktable_local.tga
	diffusemap	models/mapobjects/filler/ktable_d.tga
	specularmap	models/mapobjects/filler/ktable_s.tga
}

models/mapobjects/lab/compcart/compcartgrey
{
	{
		blend		bumpmap	
		map			models/mapobjects/lab/compcart/compcart_local.tga
		
	}
	diffusemap		models/mapobjects/lab/compcart/compcart.tga
	specularmap		models/mapobjects/lab/compcart/compcart_s.tga
}

models/mapobjects/lab/compcart/compcart
{
	renderbump  -aa 2 -size 256 128 models/mapobjects/lab/compcart/compcart_local.tga models/mapobjects/lab/compcart/work/compcart_hp.lwo
	{
		blend		bumpmap	
		map			models/mapobjects/lab/compcart/compcart_local.tga
		
	}
	diffusemap	models/mapobjects/lab/compcart/compcart2.tga
	specularmap	models/mapobjects/lab/compcart/compcart2_s.tga
}

models/mapobjects/lab/compcart/compcartblood
{
	renderbump  -aa 2 -size 256 128 models/mapobjects/lab/compcart/compcart_local.tga models/mapobjects/lab/compcart/work/compcart_hp.lwo
	{
		blend		bumpmap	
		map			models/mapobjects/lab/compcart/compcart_local.tga
		
	}
	diffusemap	models/mapobjects/lab/compcart/compcart2blood.tga
	specularmap	models/mapobjects/lab/compcart/compcart2blood_s.tga
}

models/mapobjects/filecabinet1
{
	renderbump  -size 128 256 -aa 2 models/mapobjects/lab/filecabinet1/filecabinet1_local.tga models/mapobjects/lab/filecabinet1/work/filecabinet1_hp.lwo
	bumpmap	models/mapobjects/lab/filecabinet1/filecabinet1_local.tga
	diffusemap	models/mapobjects/lab/filecabinet1/filecabinet1_d.tga
	specularmap	models/mapobjects/lab/filecabinet1/filecabinet1_s.tga
}

models/mapobjects/filecabinet1whi
{
	renderbump  -size 128 256 -aa 2 models/mapobjects/lab/filecabinet1/filecabinet1_local.tga models/mapobjects/lab/filecabinet1/work/filecabinet1_hp.lwo
	bumpmap	models/mapobjects/lab/filecabinet1/filecabinet1_local.tga
	diffusemap	models/mapobjects/lab/filecabinet1/filecabinet1whi_d.tga
	specularmap	models/mapobjects/lab/filecabinet1/filecabinet1_s.tga
}

models/mapobjects/bubbler2
{
	renderbump  -size 256 256 -aa 2 models/mapobjects/lab/bubbler2/bubbler2_local.tga models/mapobjects/lab/bubbler2/work/bubbler2_hp.lwo
	{
		blend	bumpmap	
		map		models/mapobjects/lab/bubbler2/bubbler2_local.tga
		
	}
	diffusemap	models/mapobjects/lab/bubbler2/bubbler2_d.tga
	specularmap	models/mapobjects/lab/bubbler2/bubbler2_s.tga
}

models/mapobjects/bubbler1
{
	renderbump  -size 256 256 -aa 2 models/mapobjects/lab/bubbler1/bubbler1_local.tga models/mapobjects/lab/bubbler1/work/bubbler1_hp.lwo
	{
		blend	bumpmap	
		map		models/mapobjects/lab/bubbler1/bubbler1_local.tga
		
	}
	diffusemap	models/mapobjects/lab/bubbler1/bubbler1_d.tga
	specularmap	models/mapobjects/lab/bubbler1/bubbler1_s.tga
}

models/mapobjects/scannerbed3
{
	bumpmap		models/mapobjects/lab/scannerbed/scannerbed_local.tga
	diffusemap	models/mapobjects/lab/scannerbed/scannerbed3_d.tga
	specularmap	models/mapobjects/lab/scannerbed/scannerbed_s.tga
}

models/mapobjects/scannerbed2
{
	bumpmap		models/mapobjects/lab/scannerbed/scannerbed_local.tga
	diffusemap	models/mapobjects/lab/scannerbed/scannerbed2_d.tga
	specularmap	models/mapobjects/lab/scannerbed/scannerbed_s.tga
}

models/mapobjects/scannerbed
{
	renderbump  -size 1024 512 -aa 2 models/mapobjects/lab/scannerbed/scannerbed_local.tga models/mapobjects/lab/scannerbed/work/scannerbed_hp.lwo
	bumpmap	models/mapobjects/lab/scannerbed/scannerbed_local.tga
	diffusemap	models/mapobjects/lab/scannerbed/scannerbed_d.tga
	specularmap	models/mapobjects/lab/scannerbed/scannerbed_s.tga
}

models/mapobjects/tablecart1ball
{	
	noShadows
	deform sprite
	discrete
	bumpmap			models/mapobjects/lab/tablecart1/tablecart1ball_local.tga
	{
		blend 		diffusemap
		map			models/mapobjects/lab/tablecart1/tablecart1ball_d.tga
		alphatest .5
	}
}

models/mapobjects/tablecart2
{
	renderbump		-size 128 128 -trace .25 -aa 2 models/mapobjects/lab/tablecart2/tablecart2_local.tga models/mapobjects/lab/tablecart2/work/tablecart2_hp.lwo
	{
		blend		bumpmap	
		map			models/mapobjects/lab/tablecart2/tablecart2_local.tga
		
	}
	{
		blend		diffusemap		
		map			models/mapobjects/lab/tablecart2/tablecart2_d.tga
		
	}
	specularmap		models/mapobjects/lab/tablecart2/tablecart2_s.tga
}

models/mapobjects/tablecart1a.tga
{
	translucent
	qer_editorimage		models/mapobjects/tablecart1a.tga
	{
		blend		add
		map		models/mapobjects/tablecart1a.tga
		colored
	}
}

models/mapobjects/tablecart1
{
	renderbump  -size 128 128 -aa 2 models/mapobjects/lab/tablecart1/tablecart1_local.tga models/mapobjects/lab/tablecart1/work/tablecart1_hp.lwo
	bumpmap		models/mapobjects/lab/tablecart1/tablecart1_local.tga
	diffusemap	models/mapobjects/lab/tablecart1/tablecart1_d.tga
	specularmap	models/mapobjects/lab/tablecart1/tablecart1_s.tga
}

models/mapobjects/serverrack1a
{
	bumpmap	models/mapobjects/lab/serverrack1/serverrack1_local.tga
	diffusemap	models/mapobjects/lab/serverrack1/serverrack1a_d.tga
	specularmap	models/mapobjects/lab/serverrack1/serverrack1_s.tga
}

models/mapobjects/serverrack1
{
	renderbump  -size 256 256 -aa 2 models/mapobjects/lab/serverrack1/serverrack1_local.tga models/mapobjects/lab/serverrack1/work/serverrack1_hp.lwo
	bumpmap	models/mapobjects/lab/serverrack1/serverrack1_local.tga
	diffusemap	models/mapobjects/lab/serverrack1/serverrack1_d.tga
	specularmap	models/mapobjects/lab/serverrack1/serverrack1_s.tga
}

models/mapobjects/fridge2add
{
	translucent
	noshadows
	{
		blend 		gl_dst_color,gl_zero
		map		models/mapobjects/lab/fridge2/fridge2add.tga
	}
}

models/mapobjects/fridge2grillblood
{
	noshadows
	bumpmap			models/mapobjects/lab/fridge2/grill_local.tga
	{
		blend 		diffusemap
		map 		models/mapobjects/lab/fridge2/grillblood.tga
		alphatest	.25
	}
	specularmap		models/mapobjects/lab/fridge2/grill_s.tga
}

models/mapobjects/fridge2grill
{
	noshadows
	bumpmap			models/mapobjects/lab/fridge2/grill_local.tga
	{
		blend 		diffusemap
		map 		models/mapobjects/lab/fridge2/grill_d.tga
		alphatest	.25
	}
	specularmap		models/mapobjects/lab/fridge2/grill_s.tga
}

models/mapobjects/fridge2blood
{
	bumpmap	models/mapobjects/lab/fridge2/fridge2_local.tga
	diffusemap	models/mapobjects/lab/fridge2/fridge2blood.tga
	specularmap	models/mapobjects/lab/fridge2/fridge2_s.tga
}

models/mapobjects/fridge2
{
	renderbump  	-size 512 512 -aa 2 models/mapobjects/lab/fridge2/fridge2_local.tga models/mapobjects/lab/fridge2/work/fridge2_hp.lwo
	bumpmap		models/mapobjects/lab/fridge2/fridge2_local.tga
	diffusemap	models/mapobjects/lab/fridge2/fridge2_d.tga
	specularmap	models/mapobjects/lab/fridge2/fridge2_s.tga
}

models/mapobjects/fridge1
{
	renderbump  	-size 512 512 -aa 2 models/mapobjects/lab/fridge1/fridge1_local.tga models/mapobjects/lab/fridge1/work/fridge1_hp.lwo
	bumpmap		models/mapobjects/lab/fridge1/fridge1_local.tga
	diffusemap	models/mapobjects/lab/fridge1/fridge1_d.tga
	specularmap	models/mapobjects/lab/fridge1/fridge1_s.tga
}

models/mapobjects/elevator/glass
{
	noshadows	
	translucent
	{
		blend 		diffusemap
		map			models/mapobjects/elevators/elevator_glass
	}
}

models/mapobjects/fridge1glass
{
	noshadows	
	translucent
	{
		blend 		add
		cubeMap		env/reactor 
		texgen		reflect
	}
	{
		blend		diffuseMap
		map 		models/mapobjects/lab/fridge1/fridge1glass_d.tga
	}
}

models/testbox
{
	diffusemap models/testbox
}	

models/mapobjects/tram/traminfoscreen
{
	renderbump -trace 0.1 -size 128 128 -aa 2 models/mapobjects/tram/traminfoscreen_local.tga models/mapobjects/tram/work/traminfo_hp.lwo
	bumpmap			models/mapobjects/tram/traminfoscreen_local.tga
	diffusemap		models/mapobjects/tram/traminfoscreen_d.tga
	specularmap		models/mapobjects/tram/traminfoscreen_s.tga
}

models/mapobjects/tram/traminfo
{
	renderbump -trace 0.1 -size 128 256 -aa 4 models/mapobjects/tram/traminfo_local.tga models/mapobjects/tram/work/traminfo_hp.lwo
	bumpmap			models/mapobjects/tram/traminfo_local.tga
	diffusemap		models/mapobjects/tram/traminfo_d.tga
	specularmap		models/mapobjects/tram/traminfo_s.tga
}

models/mapobjects/tram/tramoverlook3a
{
	bumpmap			models/mapobjects/tram/tramoverlook3a_local.tga
	diffusemap		models/mapobjects/tram/tramoverlook3a_d.tga
	specularmap		models/mapobjects/tram/tramoverlook3a_s.tga
}	

models/mapobjects/tram/tramoverlook3
{	
	bumpmap			models/mapobjects/tram/tramoverlook3_local.tga
	diffusemap		models/mapobjects/tram/tramoverlook3_d.tga
	specularmap		models/mapobjects/tram/tramoverlook3_s.tga
}

models/mapobjects/tram/tramcorner
{
	{
		blend		bumpmap	
		map			models/mapobjects/tram/tramcorner_local.tga
		
	}
	diffusemap		models/mapobjects/tram/tramcorner_d.tga
	specularmap		models/mapobjects/tram/tramcorner_s.tga
}

models/mapobjects/tram/tramtablescreen
{
	{
		blend		bumpmap			
		map			models/mapobjects/tram/tramtablescreen_local.tga
		
	}
	diffusemap		models/mapobjects/tram/tramtablescreen_d.tga
	specularmap		models/mapobjects/tram/tramtablescreen_s.tga
}

models/mapobjects/tram/tramtable
{
	{
		blend		bumpmap	
		map			models/mapobjects/tram/tramtable_local.tga
		
	}
	diffusemap		models/mapobjects/tram/tramtable_d.tga
	specularmap		models/mapobjects/tram/tramtable_s.tga
}

models/mapobjects/tram/tramchair
{
	renderbump		-size 256 128 -aa 2 models/mapobjects/tram/tramchair_local.tga models/mapobjects/tram/work/tramchair_hp.lwo
	{
		blend		bumpmap			
		map			addnormals (models/mapobjects/tram/tramchair_local, heightmap (models/mapobjects/tram/tramchair_bmp, 1) ) 
		
	}
	diffusemap		models/mapobjects/tram/tramchair
	specularmap		models/mapobjects/tram/tramchair_s
}

models/mapobjects/tram/trampillar2
{
	bumpmap			models/mapobjects/tram/trampillar2_local.tga
	diffusemap		models/mapobjects/tram/trampillar2_d.tga
	specularmap		models/mapobjects/tram/trampillar2_s.tga
}

models/mapobjects/tram/trampillar
{
	bumpmap			models/mapobjects/tram/trampillar_local.tga
	diffusemap		models/mapobjects/tram/trampillar_d.tga
	specularmap		models/mapobjects/tram/trampillar_s.tga
}

/**
models/mapobjects/tram/traminfoscreen
{
	bumpmap			models/mapobjects/tram/traminfoscreen_local.tga
	diffusemap		models/mapobjects/tram/traminfoscreen_d.tga
	specularmap		models/mapobjects/tram/traminfoscreen_s.tga
}

models/mapobjects/tram/traminfo
{	
	bumpmap			models/mapobjects/tram/traminfo_local.tga
	diffusemap		models/mapobjects/tram/traminfo_d.tga
	specularmap		models/mapobjects/tram/traminfo_s.tga
}
**/

models/mapobjects/tram/tramoverlook
{
	bumpmap			models/mapobjects/tram/tramoverlook_local.tga
	diffusemap		models/mapobjects/tram/tramoverlook_d.tga
	specularmap		models/mapobjects/tram/tramoverlook_s.tga
}

models/mapobjects/base/chairs/chair1
{
	renderbump  		-size 128 256 -aa 2 models/mapobjects/base/chairs/chair1_local models/mapobjects/base/chairs/work/chair1_hp.lwo
	bumpmap			addnormals (models/mapobjects/base/chairs/chair1_local.tga, heightmap (models/mapobjects/base/chairs/chair1_bmp.tga, 6 ))
	diffusemap		models/mapobjects/base/chairs/chair1.tga
	specularmap		models/mapobjects/base/chairs/chair1_s.tga
}

models/mapobjects/monitors/hangingmonitor
{
	bumpmap			models/mapobjects/monitors/hangingmonitor_local.tga
	diffusemap		models/mapobjects/monitors/hangingmonitor_d.tga
	specularmap		models/mapobjects/monitors/hangingmonitor_s.tga
}

models/mapobjects/monitors/hangingmonitorpiece
{
	twoSided
	{
		blend		diffusemap
		map 		models/mapobjects/monitors/hangingmonitorpiece_d.tga
		alphaTest	0.5
	}	
	bumpmap			models/mapobjects/monitors/hangingmonitorpiece_local.tga
	specularmap		models/mapobjects/monitors/hangingmonitorpiece_s.tga
}

models/mapobjects/monitors/hangingmonitorscreen
{
	translucent
	noShadows
	{
		blend 		gl_one,gl_one
		map 		models/mapobjects/monitors/hangingmonitorscreen.tga
		red		parm0 * 2
		green		parm1 * 2
		blue		parm2 * 2
	}
}

//============================================================================================================
//sfx
//============================================================================================================

table threestage { { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
table elevenstage { { .5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
table sixstage { { 1, 0, 0, 0, 0, 0 } }

table slowstart_one_zero { { 1.000000, 0.999699, 0.998795, 0.997290, 0.995185, 0.992480, 0.989177, 0.985278, 0.980785, 0.975702, 0.970031, 0.963776, 0.956940, 0.949528, 0.941544, 0.932993, 0.923880, 0.914210, 0.903989, 0.893224, 0.881921, 0.870087, 0.857729, 0.844854, 0.831470, 0.817585, 0.803208, 0.788346, 0.773010, 0.757209, 0.740951, 0.724247, 0.707107, 0.689541, 0.671559, 0.653173, 0.634393, 0.615232, 0.595699, 0.575808, 0.555570, 0.534998, 0.514103, 0.492898, 0.471397, 0.449611, 0.427555, 0.405241, 0.382683, 0.359895, 0.336890, 0.313682, 0.290285, 0.266713, 0.242980, 0.219101, 0.195090, 0.170962, 0.146730, 0.122411, 0.098017, 0.073565, 0.049068, 0.024541} }

table faststart_zero_one { { 0.024541, 0.049068, 0.073565, 0.098017, 0.122411, 0.146730, 0.170962, 0.195090, 0.219101, 0.242980, 0.266713, 0.290285, 0.313682, 0.336890, 0.359895, 0.382683, 0.405241, 0.427555, 0.449611, 0.471397, 0.492898, 0.514103, 0.534998, 0.555570, 0.575808, 0.595699, 0.615232, 0.634393, 0.653173, 0.671559, 0.689541, 0.707107, 0.724247, 0.740951, 0.757209, 0.773010, 0.788346, 0.803208, 0.817585, 0.831470, 0.844854, 0.857729, 0.870087, 0.881921, 0.893224, 0.903989, 0.914210, 0.923880, 0.932993, 0.941544, 0.949528, 0.956940, 0.963776, 0.970031, 0.975702, 0.980785, 0.985278, 0.989177, 0.992480, 0.995185, 0.997290, 0.998795, 0.999699, 1.000000 } }

table watersplashscaletable { { 0.024541, 0.049068, 0.073565, 0.098017, 0.122411, 0.146730, 0.170962, 0.195090, 0.219101, 0.242980, 0.266713, 0.290285, 0.313682, 0.336890, 0.359895, 0.382683, 0.405241, 0.427555, 0.449611, 0.471397, 0.492898, 0.514103, 0.534998, 0.555570, 0.575808, 0.595699, 0.615232, 0.634393, 0.653173, 0.671559, 0.689541, 0.707107, 0.724247, 0.740951, 0.757209, 0.773010, 0.788346, 0.803208, 0.817585, 0.831470, 0.844854, 0.857729, 0.870087, 0.881921, 0.893224, 0.903989, 0.914210, 0.923880, 0.932993, 0.941544, 0.949528, 0.956940, 0.963776, 0.970031, 0.975702, 0.980785, 0.985278, 0.989177, 0.992480, 0.995185, 0.997290, 0.998795, 0.999699, 1.000000 } }


table watersplashrgbtable { { 0, 1, 1, 1, .8, .6, .4, .2, .1, .05, 0 } }
table s_lightningtable { { 1, .5, 1, 0, 0, 0, 0, 1, 1, 0, .5, 1, 0, 1, .5, 0, 0, 0, 0, 0, 0, 0} }
table s_lightningtable2 { { 1, 2, 1, 3 } }

textures/sfx/hellhole_endflame1
{
	translucent
	twosided
	{
		blend			add
		map				textures/sfx/hellhole_endflame1d
		vertexcolor
	}
	//{
	//	blend			gl_dst_alpha , gl_one
	//	map				textures/sfx/hellhole_endflame1d2
	//	rgb				fireballtable[ time * .15 ]
	//	scale			1,2
	//	translate		time * -.1 , time * 2
	//}
}

textures/sfx/seneca_vptest
{
		nonsolid
		translucent
        {
                vertexProgram           heatHazeWithMask.vfp
                vertexParm              0       time * 0.1 , time * 0.5 // texture scrolling
                vertexParm              1       1.5           // magnitude of the distortion
                fragmentProgram			heatHazeWithMask.vfp
                fragmentMap             0       _currentRender
                fragmentMap             1       textures/sfx/vp1.tga   // the normal map for distortion
                fragmentMap             2       textures/sfx/vp1_alpha.tga   // the distortion blend map
        }
}


textures/sfx/s_lightning2b
{
	translucent
	twosided
	noshadows
	nonsolid
	{
		blend		add
		map			textures/sfx/s_lightning2
		red			s_lightningtable [(time*.5)+(.66+parm4)] * parm0
		green		s_lightningtable [(time*.5)+(.66+parm4)] * parm1
		blue		s_lightningtable [(time*.5)+(.66+parm4)] * parm2
		centerscale	s_lightningtable2[time*4], s_lightningtable2[time*4]
		zeroclamp
	}
}

textures/sfx/s_lightning2a
{
	translucent
	twosided
	noshadows
	nonsolid
	{
		blend		add
		map			textures/sfx/s_lightning2
		red			s_lightningtable [(time*.5)+(.33+parm4)] * parm0
		green		s_lightningtable [(time*.5)+(.33+parm4)] * parm1
		blue		s_lightningtable [(time*.5)+(.33+parm4)] * parm2
		centerscale	s_lightningtable2[time*4], s_lightningtable2[time*4]
		zeroclamp
	}
}

textures/sfx/s_lightning2
{
	translucent
	twosided
	noshadows
	nonsolid
	{
		blend		add
		map			textures/sfx/s_lightning2
		red			s_lightningtable [(time*.5)+parm4] * parm0
		green		s_lightningtable [(time*.5)+parm4] * parm1
		blue		s_lightningtable [(time*.5)+parm4] * parm2
		centerscale	s_lightningtable2[time*4], s_lightningtable2[time*4]
		zeroclamp
	}
}

textures/sfx/s_lightning1b
{
	translucent
	twosided
	noshadows
	nonsolid
	{
		blend		add
		map			textures/sfx/s_lightning1
		translate	1,time*1.5
		red			s_lightningtable [(time*.5)+(.66+parm4)] * parm0
		green		s_lightningtable [(time*.5)+(.66+parm4)] * parm1
		blue		s_lightningtable [(time*.5)+(.66+parm4)] * parm2
		scale		1,ember1 [time*1.5]
	}
}

textures/sfx/s_lightning1a
{
	translucent
	twosided
	noshadows
	nonsolid
	{
		blend		add
		map			textures/sfx/s_lightning1
		translate	1,time*3
		red			s_lightningtable [(time*.5)+(.33+parm4)] * parm0
		green		s_lightningtable [(time*.5)+(.33+parm4)] * parm1
		blue		s_lightningtable [(time*.5)+(.33+parm4)] * parm2
		scale		1,ember1 [time*.75]
	}
}

textures/sfx/s_lightning1
{
	translucent
	twosided
	noshadows
	nonsolid
	{
		blend		add
		map			textures/sfx/s_lightning1
		translate	1,time*2
		red			s_lightningtable [(time*.5)+parm4] * parm0
		green		s_lightningtable [(time*.5)+parm4] * parm1
		blue		s_lightningtable [(time*.5)+parm4] * parm2
		scale		1,ember1 [time]
	}
}

textures/sfx/techglass1dark
{
	translucent
	twosided
	noshadows
	qer_editorimage	textures/sfx/techglass1.tga
	{
		blend		add
		cubeMap		env/bland
		texgen		reflect
	}
	{
	 	blend		add
		map			textures/sfx/techglass1_d.tga
		
		rgb			.2
		scale		8 , 8
	}
}

textures/sfx/enprotubeglass
{
	qer_editorimage	textures/sfx/enprotubeglass
	translucent
	{
		blend		diffusemap
		map			textures/sfx/enprotubeglass
	}
	specularmap		textures/sfx/enprotubeglass_s
	{
        blend 		gl_zero,gl_one_minus_src_color
		map			textures/sfx/enprotubeglass_filter
		translate	1,(time*parm3) + parm4
		colored
	}
	{
        blend 		gl_zero,gl_one_minus_src_color
		map			textures/sfx/enprotubeglass_filter2
		colored
	}
}

textures/sfx/act1glass3_dirt
{
	qer_editorimage	textures/sfx/act1glass3a
	nonsolid
	translucent
	{
		blend		add
		cubeMap		env/act1
		texgen		reflect
		red			parm0
		green		parm1
		blue		parm2
	}
	{
		blend		filter
		map			textures/sfx/act1glass3a
	}
}


textures/sfx/dustcloud
{
	qer_editorimage		textures/sfx/dustcloud
	nonsolid
	translucent
	{
		blend			add
		map				textures/sfx/dustcloud
		colored
	}
}

textures/sfx/watersplash2
{
	qer_editorimage		textures/sfx/watersplash2
	nonsolid
	translucent
	{
		blend			bumpmap
		map				textures/sfx/watersplash2_local
		scale			1,1.5
		translate		1,time*-0.35
	}
	{
		blend			diffusemap
		map				_white //textures/sfx/watersplash2_d
		rgb				0
	}
	{
		blend			specularmap
		map				textures/sfx/watersplash2_s
		rgb				.7
	}
}

textures/sfx/s_blooddrip2
{
	qer_editorimage		textures/sfx/s_blooddrip2
	nonsolid
	twosided
	{
		blend			bumpmap
		map				heightmap (textures/sfx/untitled001.tga, 4) 
//		scale			1,0.5
		translate		1,time*-0.6
	}
	{
		blend			diffusemap
		map				textures/sfx/s_blooddrip2
		alphatest		.8
		translate		1,time*-1
//		scale			1,0.25
	}
	{
		blend			specularmap
		map				_white
		rgb				.4
	}
}

textures/sfx/s_blooddrip
{
	qer_editorimage		textures/sfx/s_blooddrip
	nonsolid
	translucent
	twosided
	{
		blend			filter
		map				textures/sfx/s_blooddrip
		translate		1,time*-0.15
		scale			1,0.25
	}
}

table snapTen { snap { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
table snapFive { snap { 1, 0, 0, 0, 0 } }
table lerp2Table { { 0, 1 } }

//
// This shader features a cross-faded, animating bump map, which is tedious to set up.
// Bump maps can't really be blended, so it selects one bump map and blends the diffuse
// and specular maps, then selects an adjacent bump map and inverse blends the diffuse
// and specular maps.  There must be an even number of frames, with the odd numbered
// frames going in the first pass, and the even numbered frames going in the second.
//
// It is probably easiest to just ask John to set these up.
//

textures/sfx/waterbump
{
	qer_editorimage textures\decals\bloodpool01_jim
	nonsolid
	//
	// first part of the crossfade
	//
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 0.0 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled001, 4)
		rgb	elevenstage [ time * Parm3 + Parm4 + 10.0 / 11 ]
	}
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 1.0 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled003, 4)
	}
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 2.0 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled005, 4)
	}
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 3.0 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled007, 4)
	}
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 4.0 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled009, 4)
	}
	{
		blend	diffusemap
		rgb		lerp2Table[ ( time * Parm3 * 0.5 + Parm4 ) * 5  ]
		map		textures\decals\bloodpool01_jim
	}
	{
		blend	specularmap
		rgb		lerp2Table[ ( time * Parm3 * 0.5 + Parm4 ) * 5  ]
//		map		textures\decals\bloodrun01_s
		map		_white
	}
	

	//
	// second part of the crossfade
	//
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 0.5 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled002, 4)
	}
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 1.5 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled004, 4)
	}
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 2.5 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled006, 4)
	}
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 3.5 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled008, 4)
	}
	{
		if snapFive[ time * Parm3 * 0.5 + Parm4 + 4.5 / 5 ]
		blend 	bumpmap
		map	heightmap (textures/sfx/untitled010, 4)
	}
	{
		blend	diffusemap
		rgb		1.0 - lerp2Table[ ( time * Parm3 * 0.5 + Parm4 ) * 5  ]
		map		textures\decals\bloodpool01_jim
	}
	{
		blend	specularmap
		rgb		1.0 - lerp2Table[ ( time * Parm3 * 0.5 + Parm4 ) * 5  ]
//		map		textures\decals\bloodrun01_s
		map		_white
	}

}

textures/sfx/pustulefilter
{
	qer_editorimage	textures/sfx/pustulefilter
	translucent
	noshadows
	twosided
	{
		blend		bumpmap
		map			textures/hell/hellanustube2_local.tga
	
		translate	1,time*-.1
	}
	{
		blend		gl_dst_color,gl_src_color
		map			textures/sfx/pustulefilter
		rotate		time*-.02
	}
	{
		blend		specularmap		
		map			textures/hell/stitches1_s
		rgb			.3
	}
}

textures/sfx/reddot
{
	translucent
	noshadows
	{
		blend		add
		map			textures/sfx/reddot
		colored
		//vertexcolor
	}
}

textures/sfx/dm_spectrum
{
	qer_editorimage textures/sfx/dm_spectrum.tga
	DECAL_MACRO
	noShadows
	nonsolid
	noimpact
	translucent
	spectrum 2
	{       
      	blend	diffusemap
		map		textures/sfx/dm_spectrum.tga
		//red		(fireballtable[ time * .2]) * parm0
		//green	(fireballtable[ time * .2]) * parm1
		//blue	(fireballtable[ time * .2]) * parm2
	}
//	{       
//      	blend	specularmap
//		map		textures/decals/symbol06.tga
//	}
}


textures/sfx/dm_cylinder_teleport
{
	qer_editorimage		textures/sfx/dm_cylinder_teleport
	{
		blend 	blend
		cubeMap	env/reactor 
		texgen	reflect
	}
	{
		blend			add
		map				textures/sfx/dm_cylinder_teleport2
		clamp
		centerScale 	.95, .95
		
	}
}

textures/sfx/clearreflect
{
	qer_editorimage			textures/sfx/senedust
	sort				nearest
	{
		mirrorRenderMap		256	256		
		blend	add
		//red		0.3
		//green	0.3
		//blue	0.1
		alpha	1
		translate			0.5 , 0.5 
		scale				0.5 , 0.5

	}
}

textures/sfx/enprolongflare
{
	translucent
	noshadows
	deform	tube
	{
		blend		add
		map			textures/sfx/enprolongflare
	}
}

textures/sfx/encylglass
{
	translucent
	twosided
	noshadows
	qer_editorimage	env/encyl_nx.tga
	{
		blend 	add
		cubeMap	env/encyl
		texgen	reflect
	}
}

textures/sfx/longbeam
{
	translucent
	nonsolid
	deform			tube
	noshadows
	{
		blend		add
		map			textures/sfx/longbeam
		colored
	}
}

textures/sfx/senedust
{
	noshadows
	{
		blend		blend
		map			textures/sfx/senedust
		colored
	}
}

textures/sfx/web4
{
	translucent
	noshadows
	twosided
	nonsolid
	flesh
	sort	5
	bumpmap			heightmap (textures/sfx/web4.tga, 2)
    diffusemap		textures/sfx/web4.tga
	{
		blend		specularmap	
		map			textures/sfx/web4.tga
		red			.25
		green		.25
		blue		.2
	}
}

textures/sfx/web3a
{
	nonsolid
	twosided
	flesh
	sort	farthest
	{
		blend		blend
		map			textures/sfx/web2.tga
		rgb			.5
	}
}

textures/sfx/web3
{
	nonsolid
	twosided
	flesh
	sort	farthest
	{
		blend		blend
		map			textures/sfx/web1.tga
		rgb			.7
	}
}

textures/sfx/web2
{
	translucent
	noshadows
	flesh
	bumpmap			heightmap (textures/sfx/web2.tga, 4)
	diffusemap		textures/sfx/web2.tga
	{
		blend		specularmap	
		map			textures/sfx/web2.tga
		red			.25
		green		.25
		blue		.2
	}
}

textures/sfx/web1nonsolid
{
	translucent
	noshadows
	flesh
	nonsolid
	bumpmap			heightmap (textures/sfx/web1.tga, 4)
	diffusemap		textures/sfx/web1.tga
	{
		blend		specularmap	
		map			textures/sfx/web1.tga
		red			.25
		green		.25
		blue		.2
	}
}

textures/sfx/web1
{
	translucent
	noshadows
	flesh
	bumpmap			heightmap (textures/sfx/web1.tga, 4)
	diffusemap		textures/sfx/web1.tga
	{
		blend		specularmap	
		map			textures/sfx/web1.tga
		red			.25
		green		.25
		blue		.2
	}
}

textures/sfx/secureclear
{
	translucent
	nonsolid
	noshadows
	qer_editorimage	textures/sfx/secureclear.tga
	{
		blend		add
		map			textures/sfx/secureclear
		rgb  		sintable [time] + 2.5
	}
}

textures/sfx/nogreyinvert
{
	translucent
	nonsolid
	noshadows
	qer_editorimage		textures/sfx/inverttest.tga
	{
		blend			gl_one_minus_dst_color,gl_one_minus_src_color
		map				textures/sfx/inverttest.tga
	}
}

textures/sfx/overlay
{
	translucent
	nonsolid
	noshadows
	qer_editorimage		textures/sfx/inverttest.tga
	{
		blend			gl_dst_color,gl_src_color
		map				textures/sfx/inverttest.tga
	}
}

textures/sfx/colortest
{
	translucent
	nonsolid
	noshadows
	qer_editorimage		textures/sfx/inverttest.tga
	{
		blend			gl_one_minus_dst_color,gl_one_minus_src_color
		map				textures/sfx/inverttest.tga
	}		
}

textures/sfx/xrayblend
{
	translucent
	nonsolid
	noshadows
	qer_editorimage	textures/sfx/xrayblend
	sort				nearest
	{
		blend		gl_one_minus_dst_color,gl_zero
		map			textures/sfx/xrayblend
	}
}

textures/sfx/inverttest
{
	translucent
	nonsolid
	noshadows
	qer_editorimage		textures/sfx/inverttest.tga
	{
		blend		gl_one_minus_dst_color,gl_zero
		map			textures/sfx/inverttest.tga
	}
}

textures/sfx/smokescreen
{
	translucent
	nonsolid
	noshadows
	qer_editorimage			textures/sfx/smokescreen.tga
	{
		blend			add
		map			textures/sfx/smokescreen.tga
		translate		time, time * .1
	
	}
	{
		blend			add
		map			textures/sfx/smokescreen.tga
		translate		time * .5 , time * -0.1
	}
	{
		blend			filter
		map			textures/sfx/smokescreen2.tga
		translate		time * .25 , time * -0.02
	}
}
	

textures/sfx/teenysmoke2
{
	translucent
	nonsolid
	noshadows
	qer_editorimage		textures/sfx/teenysmoke.tga
	{
		blend			gl_zero,gl_one_minus_src_color
		map			textures/sfx/teenysmoke.tga
		vertexColor
	}
}

textures/sfx/teenysmoke
{
	translucent
	nonsolid
	noshadows
	qer_editorimage		textures/sfx/teenysmoke.tga
	{
		blend		add
		map		textures/sfx/teenysmoke.tga
		vertexColor
	}
}

textures/sfx/mac_glow
{
	translucent
	nonsolid
	noshadows
	qer_editorimage		textures/sfx/mac_glow.tga
	{
		blend		add
		map		textures/sfx/mac_glow.tga
		rgb		3
	}
}

textures/sfx/outsidedustpass1
{
	qer_editorimage		textures/sfx/outsidedustpass1
	translucent
	noshadows
	{
		blend		add
		map		textures/sfx/outsidedustpass1.tga
		translate 	time * .17, 0
		colored
	}
	{
		blend		add
		map		textures/sfx/outsidedustpass1.tga
		translate 	time * 0.07, 0.1
		colored
	}
}		

textures\sfx\waveteststrip
{
	qer_editorimage textures\sfx\waveteststrip
	translucent
	nonsolid
	deform sprite
	{
		blend		add
		map			textures\sfx\waveteststrip
		scale		0.0625, 1
		translate	stripAnim16table[time], 0
	}
}

textures/sfx/smsmoke
{
	qer_editorimage textures\sfx\smsmoke.tga
	translucent
	noshadows
	nonsolid
	{
		blend 	add
		map	textures\sfx\smsmoke1.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 10.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke2.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 9.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke3.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 8.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke4.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 7.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke5.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 6.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke6.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 5.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke7.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 4.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke8.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 3.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke9.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 2.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke10.tga
		rgb	elevenstage [ time * Parm3 + Parm4 + 1.0 / 11 ]
	}
	{
		blend 	add
		map	textures\sfx\smsmoke11.tga
		rgb	elevenstage [ time * Parm3 + Parm4 ]
	}
}



textures/sfx/spotlight
{
	qer_editorimage		textures/sfx/spotlight.tga
	translucent
	noshadows
	{
		blend		add
		map		textures/sfx/spotlight
		colored
	}
}

textures/sfx/smallglow
{
	qer_editorimage 	textures/sfx/smallglow
	translucent
	noshadows
	deform sprite
	{
		blend		add
		map		textures/sfx/smallglow.tga
		colored
	}
}
textures/sfx/desertdust
{
	translucent
	noshadows
	{
		//blend gl_dst_color,gl_zero
		blend add
		map textures/sfx/desertdust.tga
		rotate	( time * -0.1 )
		clamp
	}	
}

textures/sfx/watersplash
{
	discrete
	translucent
	qer_editorimage		textures/sfx/watersplash_local.tga
	{
		blend		bumpmap
		map		textures/sfx/watersplash_local.tga
		centerScale 	1 + 9 * (1-faststart_zero_one [2*time])*(1-faststart_zero_one [2*time]), 1 + 9 * (1-faststart_zero_one [2*time])*(1-faststart_zero_one [2*time])
		clamp
	}
	{
		blend		specularmap
		map		textures/sfx/watersplash_d.tga
		centerScale 	1 + 9 * (1-faststart_zero_one [2*time])*(1-faststart_zero_one [2*time]), 1 + 9 * (1-faststart_zero_one [2*time])*(1-faststart_zero_one [2*time])
		rgb		watersplashrgbtable [2*time]
		zeroClamp
	}
}


textures/sfx/redskyglass
{
	translucent
	twosided
	noshadows
	qer_editorimage	env/desert2_nx.tga
	{
		blend 	add
		cubeMap	env/desert2
		texgen	reflect
	}
}

textures/sfx/redskyenv
{
	translucent
	noshadows
	qer_editorimage	textures/sfx/techglass1.tga
	{
		cubeMap	env/redskyenv
		texgen	reflect
	}
}


textures/sfx/techglassadd
{
	translucent
	twosided
	noshadows
	qer_editorimage	textures/sfx/techglass1.tga
	{
		blend 	add
		cubeMap	env/sk7
		texgen	reflect
	}
	{
		blend		add
		map 		textures/sfx/techglass1_d.tga
		scale		8 , 8
	}
}

textures/sfx/tramwall2env
{
	qer_editorimage	textures/base_wall/tramwall2_alpha.tga
	noShadows

	{
		blend bumpmap
		map	textures/base_wall/tramwall2_local.tga
	}
	{
		blend diffusemap
		map	textures/base_wall/tramwall2_d.tga
	}
	{
		blend 	add
		cubeMap	env/tramenv
		texgen	reflect
	}
	{
		blend gl_zero,gl_one
		map textures/base_wall/tramwall2_alpha.tga
		alphatest .55
	}
}

textures/sfx/firetest
{
	qer_editorimage textures\sfx\firetest.tga
	translucent
	noshadows
//	deform sprite
	nonsolid
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_1.tga
		rgb	threestage [ time * Parm3 + Parm4 + 13.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_2.tga
		rgb	threestage [ time * Parm3 + Parm4 + 12.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_3.tga
		rgb	threestage [ time * Parm3 + Parm4 + 11.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_4.tga
		rgb	threestage [ time * Parm3 + Parm4 + 10.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_5.tga
		rgb	threestage [ time * Parm3 + Parm4 + 9.0 / 14 ]

	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_6.tga
		rgb	threestage [ time * Parm3 + Parm4 + 8.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_7.tga
		rgb	threestage [ time * Parm3 + Parm4 + 7.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_8.tga
		rgb	threestage [ time * Parm3 + Parm4 + 6.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_9.tga
		rgb	threestage [ time * Parm3 + Parm4 + 5.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_10.tga
		rgb	threestage [ time * Parm3 + Parm4 + 4.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_11.tga
		rgb	threestage [ time * Parm3 + Parm4 + 3.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_12.tga
		rgb	threestage [ time * Parm3 + Parm4 + 2.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_13.tga
		rgb	threestage [ time * Parm3 + Parm4 + 1.0 / 14 ]
	}
	{
		blend add
		map	textures\sfx\work\firetest\firetest2_14.tga
		rgb	threestage [ time * Parm3 + Parm4 ]
	}

}


textures/sfx/defaultflare
{
	qer_editorimage textures/sfx/defaultflare.tga
	noShadows
	deform sprite
	discrete
	nonsolid
	noimpact
	{       
		blend	add
		map		textures/sfx/defaultflare.tga
		red		parm0
		green	parm1
		blue	parm2
	}
 }

textures/sfx/reactorflare
{
	qer_editorimage textures/sfx/reactorflare.tga
	translucent
	noShadows
	deform sprite
	{
		blend add
		map textures/sfx/reactorflare.tga
		rgb  sintable [time] + 2.5
	}
}

textures/sfx/reactorflare_tube
{
	qer_editorimage textures/sfx/reactorflare.tga
	translucent
	nonsolid
	noShadows
	deform tube
	{
		blend add
		map textures/sfx/reactorflare.tga
		//rgb  sintable [time] + 2.5
		colored
	}
}



textures/sfx/flamesparks
{
	sort far		// usually happens right in front of a wall, so make sure it draws behind gun smoke
	{
		blend add
		map textures/sfx/firesparks.tga
//		rgb  sintable [time] + 2.5
//		centerScale (1.25 + 0.25 * sintable[time]), (1.25 + 0.25 * sintable[time])
		zeroClamp
//		translate sintable[time], 0
	}
}

textures/sfx/reactorreflectadd
{
	qer_editorimage textures/sfx/reactorreflect.tga
	translucent
	noShadows
	{
		blend gl_one,gl_one
		cubeMap		env/reactor
		texgen		reflect
	}
}

textures/sfx/tramenv
{
	qer_editorimage textures/sfx/tramenv.tga
	{
		cubeMap		env/tramenv
		texgen		reflect
	}
}

textures/sfx/reactorreflect
{
	qer_editorimage textures/sfx/reactorreflect.tga
	{
		cubeMap		env/reactor
		texgen		reflect
	}
}

textures/sfx/bluefog
{
	translucent
	noShadows
	{
		blend gl_one,gl_one
		map textures/sfx/bluefog.tga
	}
}



//============================================================================================================
//delta1_hologram
//============================================================================================================
models/mapobjects/delta1/hologram/hologram1 //sides
{
translucent
nonsolid
noshadows				
	{
		blend		add
		map			models/mapobjects/delta1/hologram/hologram1
		colored				//.6 .7 .9   //1 .1 0  //.1 .15 .15
		translate	0,parm3		//(-0.6 - 0)
		clamp
	}
	{
		blend		add
		map			models/mapobjects/delta1/hologram/hologram1_2
		rgb			parm5
		translate	time*0.1,time
	}
}

models/mapobjects/delta1/hologram/hologram2 //bottom
{
translucent
nonsolid
noshadows				
	{
		blend	 	add
		map		models/mapobjects/delta1/hologram/hologram2
		colored				//.6 .7 .9   //1 .1 0  //.1 .15 .15
		centerscale parm4,parm4	//(100 - .85)
		zeroclamp
	}
}

models/mapobjects/delta1/hologram/hologram2a //top
{
translucent
nonsolid
noshadows				
	{
		blend	 		add
		map				models/mapobjects/delta1/hologram/hologram2
		red				parm0*parm7
		green			parm1*parm7
		blue			parm2*parm7
		centerscale		.85,.85
	}
}

models/mapobjects/delta1/hologram/hologram3  //plane
{
translucent
nonsolid
noshadows				
	{
		blend	 	add
		map			models/mapobjects/delta1/hologram/hologram3
		centerscale	parm6,parm6 //100 - 1
		zeroclamp
	}
	{
		blend		add
		map			models/mapobjects/delta1/hologram/hologram3a
		translate	hologram3atable[time*.05],hologram3atable2[time*.05]
		centerscale 3,3
		rgb			parm5
		clamp
	}
}

models/mapobjects/delta1/hologram/hologram4 //ring
{
translucent
nonsolid
noshadows				
	{
		blend	 	add
		map		models/mapobjects/delta1/hologram/hologram4
		translate	time*-1,1
		rgb		parm5  //0 - 1
	}
}

models/mapobjects/delta1/hologram/hologram5  //selection vertical glow
{
translucent
nonsolid
noshadows				
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram5
		rgb		parm3 //0-1
		centerscale	1, parm4    //10-1
		clamp
	}
}

models/mapobjects/delta1/hologram/hologram6_1  //label1
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram6_1
		centerscale 	1,8
		zeroclamp
	}
}

models/mapobjects/delta1/hologram/hologram6_2  //label2
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram6_2
		centerscale 	1,8
		zeroclamp
	}
}

models/mapobjects/delta1/hologram/hologram6_3  //label3
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram6_3
		centerscale 	1,8
		zeroclamp
	}
}

models/mapobjects/delta1/hologram/hologram6_4  //label4
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram6_4
		centerscale 	1,4
		zeroclamp
	}
}

models/mapobjects/delta1/hologram/hologram6_5  //label5
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram6_5
		centerscale 	1,8
		zeroclamp
	}
}

models/mapobjects/delta1/hologram/hologram7_1  //level decal
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram7_1
	}
}

models/mapobjects/delta1/hologram/hologram7_2  //level decal
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram7_2
	}
}

models/mapobjects/delta1/hologram/hologram7_3  //level decal
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram7_3
	}
}

models/mapobjects/delta1/hologram/hologram7_4  //level decal
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram7_4
	}
}

models/mapobjects/delta1/hologram/hologram7_5  //level decal
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram7_5
	}
}

models/mapobjects/delta1/hologram/hologram8  //wireframe square
{
translucent
nonsolid
noshadows				
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram8
	}
}

models/mapobjects/delta1/hologram/hologram9  //selection expander ring
{
translucent
nonsolid
noshadows				
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram9
		rotate		time * .5
		rgb		parm6
		centerscale	parm5,parm5
		zeroclamp
	}
}

models/mapobjects/delta1/hologram/hologram9sprite  //selection expander ring
{
translucent
nonsolid
noshadows				
deform sprite
	{
		blend		add
		map		models/mapobjects/delta1/hologram/hologram9
		rotate		time * .5
		rgb		parm7
		zeroclamp
	}
}



//============================================================================================================
//ktest
//============================================================================================================

textures/ktest/nurntest2fire
{
	qer_editorimage textures/ktest/nurntest2fire.tga
	bumpmap	addnormals ( textures/ktest/nurntest2fire_local.tga, heightmap ( textures/ktest/nurntest2fire_bmp.tga, 4 ) )
	diffusemap	textures/ktest/nurntest2fire_d.tga
	specularmap	textures/ktest/nurntest2fire_s.tga
}

//============================================================================================================
//particles
//============================================================================================================

textures/particles/sparks_multi
{
	qer_editorimage	textures/particles/sparks_multi
	nonsolid
	noshadows
	{
		blend		add
		map			textures/particles/sparks_multi
		vertexColor
	}
}


textures/particles/hellhole_fire
{
	qer_editorimage	textures/particles/hellholefire
	nonsolid
	noshadows
	{
		blend		add
		map			textures/particles/hellholefire
		vertexColor
	}
}

textures/particles/caco_shot2
{
	qer_editorimage	textures/particles/caco_shot2
	nonsolid
	noshadows
	twosided
	{
		blend		add
		map			textures/particles/caco_shot2
		vertexColor
	}
}

textures/particles/spark_colorme
{
	qer_editorimage	textures/particles/spark_white
	nonsolid
	noshadows
	{
		blend		add
		map			textures/particles/spark_white
		vertexColor
	}
}

textures/particles/dot_hard
{
	qer_editorimage	textures/particles/dot_hard
	nonsolid
	noshadows
	{
		blend		add
		map			textures/particles/dot_hard
		vertexColor
	}
}

textures/particles/dot
{
	qer_editorimage	textures/particles/dot
	nonsolid
	noshadows
	{
		blend		add
		map			textures/particles/dot
		vertexColor
	}
}

textures/particles/s_lightning2
{
	qer_editorimage	textures/sfx/s_lightning2
	nonsolid
	noshadows
	{
		blend		add
		map			textures/sfx/s_lightning2
		centerscale	s_lightningtable2[time*4], s_lightningtable2[time*4]
		zeroclamp
		vertexColor
	}
}

textures/particles/s_lightning_masked
{
	qer_editorimage	textures/sfx/s_lightning1_whi
	nonsolid
	noshadows
	//{
	//	maskcolor
	//	map			makealpha(models/weapons/bfg/bfgblast1_mask)
	//}
	{
		blend 		gl_one, gl_one
		//maskalpha
		map			textures/sfx/s_lightning1_whi
		translate	1,time*2
		scale		1,ember1 [time]
		vertexColor
	}
}


textures/particles/s_lightning
{
	qer_editorimage	textures/sfx/s_lightning1
	nonsolid
	noshadows
	{
		blend		add
		map			textures/sfx/s_lightning1
		translate	1,time*2
		scale		1,ember1 [time]
		vertexColor
	}
}

textures/particles/rocketbacklit
{
	qer_editorimage	textures/particles/rocketbacklit
	nonsolid
	noshadows
	{
		blend		add
		map			textures/particles/rocketbacklit
		vertexColor
	}
}


textures/particles/barrelpoof
{
	nonsolid
	noshadows
	qer_editorimage		textures/particles/barrelpoof
    {
		blend			blend
		map				textures/particles/barrelpoof
		vertexColor
	}
}

textures/particles/barrelexpbase1
{
	qer_editorimage		textures/particles/barrelexpbase1
	nonsolid
	noshadows
	translucent
	twosided
	{
		map				textures/particles/barrelexpbase1
		maskcolor
	}
	{
		blend		gl_dst_alpha , gl_one
		map			textures/particles/barrelexpbase1
		rotate		time*.5
		vertexColor
	}
	//{
	//	blend		gl_dst_alpha , gl_one
	//	map			textures/hell/lava1fx.tga
	//	rotate		time*.2
	//	vertexColor
	//}
}


textures/particles/barrelexpsmall
{
	qer_editorimage	textures/particles/barrelexpsmall
	nonsolid
	noshadows
	{
		blend		add
		map			textures/particles/barrelexpsmall
		vertexColor
	}
}

textures/particles/round001
{
	qer_editorimage	textures/particles/round001
	translucent
	nonsolid
	noshadows
	{
		blend		add
		map			textures/particles/round001
		vertexColor
	}
}

textures/particles/hell_blood_splash
{
	qer_editorimage		textures/particles/hell_blood_splash
	nonsolid
	noshadows
	{
		blend			blend
		map				textures/particles/hell_blood_splash
		vertexColor
	}
}

textures/particles/hell_blood_drip
{
	qer_editorimage		textures/particles/hell_blood_drip
	nonsolid
	noshadows
	{
		blend			blend
		map				textures/particles/hell_blood_drip
		vertexColor
	}
}



textures/particles/dustcloud_opaque
{
	qer_editorimage		textures/particles/dustcloud
	nonsolid
	noshadows
	{
		blend			blend
		map				textures/particles/dustcloud_opaque
		vertexColor
	}
}

textures/particles/dustcloud
{
	qer_editorimage		textures/particles/dustcloud
	translucent
	nonsolid
	noshadows
	{
		blend			add
		map				textures/particles/dustcloud
		vertexColor
	}
}


//============================================================================================================
//delta3 BROKEN BRIDGE (BLEND SHADERS) 
//============================================================================================================

//
//  ONE
//  ONE
//

textures/base_floor/insettrim_burn
{
	qer_editorimage		textures/base_floor/insettrim.tga
	//uncolored verts
	{
		blend 		bumpmap
		map			textures/base_floor/insettrim_local.tga
	}
	{
		blend 		diffusemap
		map			textures/base_floor/insettrim_d.tga
		vertexColor
	}
	{
		blend		specularmap
		map			textures/base_floor/insettrim_s.tga
		vertexColor
	}
	//black colored verts
	{
		blend		bumpmap
		map			textures/hell/lfwall27alava_local
	}
	{
		blend		diffusemap
		map			textures/hell/lfwall27alava_d
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/lfwall27alava_s
		inverseVertexColor
	}
}

textures/base_floor/insettrim_burn_glow
{
	qer_editorimage		textures/base_floor/insettrim.tga
	//uncolored verts
	{
		blend 		bumpmap
		map			textures/hell/lfwall27alava_local
	}
	{
		blend 		diffusemap
		map			textures/hell/lfwall27alava_d
		vertexColor
	}
	{
		blend		specularmap
		map			textures/hell/lfwall27alava_s
		vertexColor
	}
	{
		blend		gl_one , gl_one
		map			textures/sfx/radiogoop_red
		rotate		time*.00015
		vertexColor
	}
	{
		blend		gl_one , gl_one
		map			textures/sfx/radiogoop_red
		rotate		time*-.00015
		translate	time*.002,1
		vertexColor
	}


	//black colored verts
	{
		blend 		bumpmap
		map			textures/hell/lfwall27alava_local
	}
	{
		blend 		diffusemap
		map			textures/hell/lfwall27alava_d
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/lfwall27alava_s
		inverseVertexColor
	}
}

//
//	TWO
//	TWO
//

textures/base_floor/sfloor_burn
{
	ricochet
	qer_editorimage	textures/base_floor/sfloor
	//uncolored verts
	{
		blend 		bumpmap
		map			addnormals( textures/base_floor/sfloor_local.tga, heightmap( textures/base_floor/sfloor_h.tga, 6 ) )
	}
	{
		blend 		diffusemap
		map			textures/base_floor/sfloor_d.tga
		vertexColor
	}
	{
		blend		specularmap
		map			textures/base_floor/sfloor_s.tga
		vertexColor
	}
	//black colored verts
	{
		blend		bumpmap
		map			textures/hell/lfwall27alava_local
	}
	{
		blend		diffusemap
		map			textures/hell/lfwall27alava_d
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/lfwall27alava_s
		inverseVertexColor
	}
}

//
//	THREE
//	THREE
//

textures/base_trim/bluetex4r_danger_d_burn
{
	qer_editorimage	textures/base_trim/bluetex4r_danger_d.tga
	//uncolored verts
	{
		blend 		bumpmap
		map			textures/base_trim/bluetex4q_local.tga
	}
	{
		blend 		diffusemap
		map			textures/base_trim/bluetex4r_danger_d.tga
		vertexColor
	}
	{
		blend		specularmap
		map			textures/base_trim/bluetex4rspec.tga
		vertexColor
	}
	//black colored verts
	{
		blend		bumpmap
		map			textures/hell/lfwall27alava_local
	}
	{
		blend		diffusemap
		map			textures/hell/lfwall27alava_d
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/lfwall27alava_s
		inverseVertexColor
	}
}

//
//	FOUR
//	FOUR
//

textures/base_trim/strim_burn
{
	qer_editorimage	textures/base_trim/strim_d.tga
	//uncolored verts
	{
		blend 		bumpmap
		map			textures/base_trim/bluetex4q_local.tga
	}
	{
		blend 		diffusemap
		map			textures/base_trim/strim_d.tga
		vertexColor
	}
	{
		blend		specularmap
		map			textures/base_trim/strim_s.tga
		vertexColor
	}
	//black colored verts
	{
		blend		bumpmap
		map			textures/hell/lfwall27alava_local
	}
	{
		blend		diffusemap
		map			textures/hell/lfwall27alava_d
		inverseVertexColor
	}
	{
		blend		specularmap
		map			textures/hell/lfwall27alava_s
		inverseVertexColor
	}
}




