//
// facility31_obj md3 model of an chemical counteragent container.
// models/mapobjects/facility31_obj/counteragent.md3
// ** added to facility31 map for et with permission by CptnTriscuit
// raybanb@gmail.com

models/mapobjects/facility31_obj/agent
{
	qer_trans 0.5
	cull none
	surfaceparm glass
	surfaceparm pointlight
	surfaceparm trans
	{
		map models/mapobjects/facility31_obj/agent.tga
		blendFunc blend
		rgbGen identity
	}
}

models/mapobjects/facility31_obj/shiny
{
	qer_editorimage models/mapobjects/facility31_obj/body.tga
	{
		map textures/effects/tinfx.tga
		rgbGen identity
		tcGen environment 
	}
	{
		map models/mapobjects/facility31_obj/body.tga
		blendfunc blend
		rgbGen identity
	}
}

models/mapobjects/facility31_obj/body
{
	qer_editorimage models/mapobjects/facility31_obj/body.tga
	{
	         map textures/effects/envmap_slate.tga
	         rgbGen lightingdiffuse
	         tcGen environment
	}
	{
	         map models/mapobjects/facility31_obj/body.tga
	         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         rgbGen lightingdiffuse
	}
}

models/mapobjects/facility31_obj/body2
{
	qer_editorimage models/mapobjects/facility31_obj/body.tga
	cull none
	surfaceparm nomarks
	{
	         map textures/effects/envmap_slate.tga
	         rgbGen lightingdiffuse
	         tcGen environment
	}
	{
	         map models/mapobjects/facility31_obj/body.tga
	         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         rgbGen lightingdiffuse
	}
}

models/mapobjects/facility31_obj/display
{
	{
		map models/mapobjects/facility31_obj/panel.tga
	}
	{
		map models/mapobjects/facility31_obj/pulse.tga
		rgbGen wave sin 0.5 0.5 0 0.5
		tcgen environment
		//blendfunc add
	}
	{
		map models/mapobjects/facility31_obj/panel.tga
		blendfunc blend
		rgbGen identity
	}
}