//script by GT-Agressor. 29.12.05
models/mapobjects/griffin/griffin
{
	cull none
	
	{
		Map models/mapobjects/griffin/griffin.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		depthWrite
//		rgbGen identityLighting
	}	
	
}

models/mapobjects/griffin/water
{
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	cull disable
	deformVertexes wave 64 sin .5 .5 0 .5	
	
	{
		Map models/mapobjects/griffin/water.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
		tcmod scale .5 .5
		tcmod transform 1.5 0 1.5 1 1 2
		tcmod scroll -.005 .001
	}	
	{ 
		map textures/liquids/pool3d_6.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
		tcmod scale .5 .5
		tcmod transform 0 1.5 1 1.5 2 1
		tcmod scroll .025 -.001
	}
	{ 
		map textures/liquids/pool3d_3.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
		tcmod scale .25 .5
		tcmod scroll .001 .025
	}	
	{
		map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}
	
}
models/mapobjects/griffin/Spray
{
	cull none
	
	{
		Map models/mapobjects/griffin/Spray.tga
		depthWrite
		rgbGen identityLighting
		tcmod scroll 0 -3
	}	
	
}

models/mapobjects/griffin/Bubbles
{
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	{
		map models/mapobjects/griffin/Bubbles.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
//		tcMod stretch 0 .7 0 0.1
	}	
}
