//**********************************
//   		Rivr metal  
//**********************************
textures/evil_3metals/mtldrk0
{
	surfaceparm metalsteps
	implicitMap -
}

textures/rivrstyx_metal/metal
{
	//qer_editorimage textures/rivrstyx_metal/metal.tga
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm metalsteps
	{	
	map textures/rivrstyx_metal/metal.tga
	blendFunc GL_ONE GL_ZERO
	alphaFunc GE128
	depthWrite
	rgbGen identity
	}
	{		
	map $lightmap	
	rgbGen identity	
	blendFunc GL_DST_COLOR GL_ZERO
	depthFunc equal	
	}
}

textures/rivrstyx_metal/basic
{
	//qer_editorimage textures/rivrstyx_metal/basic.tga
	surfaceparm nonsolid	
	surfaceparm trans
	surfaceparm metalsteps
	{	
	map textures/rivrstyx_metal/basic.tga
	blendFunc GL_ONE GL_ZERO
	alphaFunc GE128
	depthWrite
	rgbGen identity
	}
	{		
	map $lightmap	
	rgbGen identity	
	blendFunc GL_DST_COLOR GL_ZERO
	depthFunc equal	
	}
}
textures/rivrstyx_metal/metbars1
{
	qer_editorimage textures/bricktex/metbars.tga
	surfaceparm trans		
	cull none
        nopicmip

	{
		map textures/rivrstyx_metal/metbars.tga
		blendFunc GL_ONE GL_zero
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
textures/rivrstyx_metal/railsupport
{
	qer_editorimage textures/rivrstyx_metal/railsupport2.tga
	surfaceparm trans		
	cull none
        nopicmip

	{
		map textures/rivrstyx_metal/railsupport.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
textures/rivrstyx_metal/railsupportL
{
	qer_editorimage textures/rivrstyx_metal/railsupport4.tga
	surfaceparm trans		
	cull none
        nopicmip

	{
		map textures/rivrstyx_metal/railsupport3.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/rivrstyx_metal/wire2
{
	surfaceparm trans		
	cull none
        nopicmip

	{
		map textures/rivrstyx_metal/wire2.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/rivrstyx_metal/wire3
{
	surfaceparm trans		
	cull none
        nopicmip

	{
		map textures/rivrstyx_metal/wire3.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
textures/rivrstyx_metal/chainlink
{
	surfaceparm trans		
	cull none
        nopicmip

	{
		map textures/rivrstyx_metal/chainlink.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
textures/rivrstyx_metal/chainlink2
{
	surfaceparm trans		
	cull none
        nopicmip

	{
		map textures/rivrstyx_metal/chainlink2.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
textures/rivrstyx_metal/jailbars
{
	surfaceparm trans		
	cull none
        nopicmip

	{
		map textures/rivrstyx_metal/jail.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
textures/rivrstyx_metal/rodiron1
{
qer_editorimage textures/rivrstyx_metal/rodiron.tga
	surfaceparm trans		
	cull none
        nopicmip
	qer_trans 0.40

	{
		map textures/rivrstyx_metal/rodiron.tga
		blendFunc GL_ONE GL_zero
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_zero
		depthFunc equal
	}
}