textures/cptnt_coffin/spike_metal
{
	qer_editorimage textures/metal_misc/ametal_m01.tga
	implicitMap textures/metal_misc/ametal_m01.tga
	surfaceparm nonsolid
	surfaceparm metalsteps
}

textures/cptnt_coffin/red_flame
{
	qer_editorimage textures/cptnt_coffin/red_fire/flame1.tga
	cull none
	nofog
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	{
		animMap 10 textures/cptnt_coffin/red_fire/flame1.tga textures/cptnt_coffin/red_fire/flame2.tga textures/cptnt_coffin/red_fire/flame3.tga textures/cptnt_coffin/red_fire/flame4.tga textures/cptnt_coffin/red_fire/flame5.tga textures/cptnt_coffin/red_fire/flame6.tga textures/cptnt_coffin/red_fire/flame7.tga textures/cptnt_coffin/red_fire/flame8.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}
	{
		animMap 10 textures/cptnt_coffin/red_fire/flame2.tga textures/cptnt_coffin/red_fire/flame3.tga textures/cptnt_coffin/red_fire/flame4.tga textures/cptnt_coffin/red_fire/flame5.tga textures/cptnt_coffin/red_fire/flame6.tga textures/cptnt_coffin/red_fire/flame7.tga textures/cptnt_coffin/red_fire/flame8.tga textures/cptnt_coffin/red_fire/flame1.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/cptnt_coffin/red_fire/flameball.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6
	}
}


textures/cptnt_coffin/blue_flame
{
	qer_editorimage textures/cptnt_coffin/blue_fire/flame1.tga
	cull none
	nofog
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	{
		animMap 10 textures/cptnt_coffin/blue_fire/flame1.tga textures/cptnt_coffin/blue_fire/flame2.tga textures/cptnt_coffin/blue_fire/flame3.tga textures/cptnt_coffin/blue_fire/flame4.tga textures/cptnt_coffin/blue_fire/flame5.tga textures/cptnt_coffin/blue_fire/flame6.tga textures/cptnt_coffin/blue_fire/flame7.tga textures/cptnt_coffin/blue_fire/flame8.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}
	{
		animMap 10 textures/cptnt_coffin/blue_fire/flame2.tga textures/cptnt_coffin/blue_fire/flame3.tga textures/cptnt_coffin/blue_fire/flame4.tga textures/cptnt_coffin/blue_fire/flame5.tga textures/cptnt_coffin/blue_fire/flame6.tga textures/cptnt_coffin/blue_fire/flame7.tga textures/cptnt_coffin/blue_fire/flame8.tga textures/cptnt_coffin/blue_fire/flame1.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/cptnt_coffin/blue_fire/flameball.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6
	}
}

textures/cptnt_coffin/quicksand
{
	qer_editorimage textures/cptnt_coffin/pale_sand.jpg
	qer_trans 0.8
    	q3map_shadeangle 180
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
      surfaceparm gravelsteps
	nopicmip
	q3map_globaltexture

	{
		map textures/cptnt_coffin/pale_sand.jpg
		blendfunc blend
		rgbGen identity
		tcMod scroll 0.03 0.01
	}
	{
		map textures/cptnt_coffin/pale_sand_alpha.tga
		blendfunc blend
		rgbGen identity
		tcMod scroll 0.03 0.1
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
	}
}

textures/cptnt_coffin/sand_fall
{
	qer_editorimage textures/cptnt_coffin/pale_sand.jpg
	qer_trans 0.8
    	q3map_shadeangle 180
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	nopicmip
	q3map_globaltexture

	{
		map textures/cptnt_coffin/pale_sand.jpg
		blendfunc blend
		rgbGen identity
		tcMod scroll 0.0 -0.5
	}
	{
		map textures/cptnt_coffin/pale_sand_alpha.tga
		blendfunc blend
		rgbGen identity
		tcMod scroll 0.0 -0.7
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
	}
}