textures/hipshot_m13/sky2
{
	qer_editorimage textures/hipshot_m13/env/color.jpg
	q3map_lightimage textures/colors/m13skysstrong.jpg
	q3map_lightmapFilterRadius 0 8		
	q3map_sunExt 1 .7 .2 450 -150 60 3 32	
	q3map_sunExt 1 .79 .3 75 -151 61 3 32
	q3map_sunExt 1 .79 .3 75 -149 59 3 32				
	q3map_skyLight 125 6 //175
	q3map_noFog
	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	skyparms textures/hipshot_m13/env/sky - -
	nopicmip
}

textures/hipshot_m13/env/sun
{
	surfaceparm nonsolid	
        surfaceparm nomarks	
        surfaceparm nolightmap 
    	surfaceparm trans   
        {
		clampmap textures/hipshot_m13/env/sun.jpg
                tcmod rotate 20
                blendFunc add
                rgbGen identitylighting
	}
}

textures/hipshot_m13/flare1
{
	surfaceparm nonsolid	
        surfaceparm nomarks	
        surfaceparm nolightmap 
    	surfaceparm trans
        deformVertexes autosprite    	
        {
		clampmap textures/hipshot_m13/env/flare1.tga
                tcmod rotate 10
                blendFunc add
                rgbGen identity
	}
}

textures/hipshot_m13/flare2
{
	surfaceparm nonsolid	
        surfaceparm nomarks	
        surfaceparm nolightmap 
    	surfaceparm trans
        deformVertexes autosprite    	   
        {
		clampmap textures/hipshot_m13/env/flare2.tga
                tcmod rotate -10
                blendFunc add
                rgbGen identity
	}
}

textures/hipshot_m13/flare3
{
	surfaceparm nonsolid	
        surfaceparm nomarks	
        surfaceparm nolightmap 
    	surfaceparm trans
        deformVertexes autosprite    	 
        {
		clampmap textures/hipshot_m13/env/flare3.tga
                tcmod rotate 10
                blendFunc add
                rgbGen identity
	}
}

textures/hipshot_m13/darkbecomeslight
{
	qer_editorimage textures/hipshot_m13/floor_1_dark.tga
	{
		map textures/hipshot_m13/floor_1_dark.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m13/floor_1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
		alphaGen oneMinusVertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}


textures/hipshot_m13/jumpgrid
{
	qer_editorimage textures/hipshot_m13/jumpgrid.jpg
	//q3map_lightimage textures/colors/white.jpg
	surfaceparm trans
	surfaceparm nonsolid	
	surfaceparm nomarks
	surfaceparm nodamage
	surfaceparm nolightmap
	q3map_surfacelight 1000
	{
		map textures/hipshot_m13/jumpgrid.tga
		rgbGen identityLighting
	}
	{
		clampmap textures/hipshot_m13/jumpsquare.jpg //timad med moave square, den stora.
		blendfunc add
		tcMod stretch sawtooth .1 7 .1 1.3 //size den kommer från; hur mycket den växer; tid till spawn; hastighet.
		//rgbGen wave inversesawtooth 0 1 .1 1.3 //fada bort			
	}
	{
		map textures/hipshot_m13/jumpgrid.tga
		blendfunc blend
		rgbGen identityLighting
	}	
}

textures/hipshot_m13/movesquare1
{
	qer_editorimage textures/hipshot_m13/jumpring1.jpg
	qer_trans .5	
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes move 0 0 50 sawtooth 0 1 1 1.3
	{
		clampmap textures/hipshot_m13/jumpring1.jpg
		rgbGen wave sawtooth 1 -1 1 1.3
		blendfunc add
	}
}

textures/hipshot_m13/movesquare2
{
	qer_editorimage textures/hipshot_m13/jumpring2.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes move 0 0 50 sawtooth 0 1 .875 1.3
	{
		clampmap textures/hipshot_m13/jumpring2.jpg
		rgbGen wave sawtooth 1 -1 .875 1.3
		blendfunc add
	}
}

textures/hipshot_m13/movesquare3
{
	qer_editorimage textures/hipshot_m13/jumpring3.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes move 0 0 50 sawtooth 0 1 .75 1.3
	{
		clampmap textures/hipshot_m13/jumpring3.jpg
		rgbGen wave sawtooth 1 -1 .75 1.3
		blendfunc add
	}
}

textures/hipshot_m13/movesquare4
{
	qer_editorimage textures/hipshot_m13/jumpring4.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes move 0 0 50 sawtooth 0 1 .625 1.3
	{
		clampmap textures/hipshot_m13/jumpring4.jpg
		rgbGen wave sawtooth 1 -1 .625 1.3
		blendfunc add
	}
}

textures/hipshot_m13/metal_1_noclip
{
	qer_editorimage textures/hipshot_m13/ed/metal_1.jpg
	q3map_lightimage textures/hipshot_m13/metal_1.jpg
	surfaceparm nonsolid
	{
		map textures/hipshot_m13/metal_1.jpg
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/metal_2_noclip
{
	qer_editorimage textures/hipshot_m13/ed/metal_2.jpg
	q3map_lightimage textures/hipshot_m13/metal_2.jpg
	surfaceparm nonsolid
	surfaceparm nomarks		
	{
		map textures/hipshot_m13/metal_2.jpg
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/plaster_2_noclip
{
	qer_editorimage textures/hipshot_m13/ed/plaster_2_noclip.tga
	q3map_lightimage textures/hipshot_m13/plaster_2_end.tga
	surfaceparm nonsolid
	surfaceparm nomarks		
	{
		map textures/hipshot_m13/plaster_2_end.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/plaster_6_noclip
{
	qer_editorimage textures/hipshot_m13/ed/plaster_6_noclip.tga
	q3map_lightimage textures/hipshot_m13/plaster_6.jpg
	surfaceparm nonsolid
	surfaceparm nomarks		
	{
		map textures/hipshot_m13/plaster_6.jpg
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/metal_1_vl
{
	qer_editorimage textures/hipshot_m13/ed/metal_1_vl.jpg
	q3map_lightimage textures/hipshot_m13/metal_1.jpg
	surfaceparm nolightmap
	q3map_vertexScale 4
	{
		map textures/hipshot_m13/metal_1.jpg
                tcmod scale 2 2		
		rgbGen vertex
	}
}

textures/hipshot_m13/metal_1_vl_noclip
{
	qer_editorimage textures/hipshot_m13/ed/metal_1_vl.jpg
	q3map_lightimage textures/hipshot_m13/metal_1.jpg
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm nomarks	
	q3map_vertexScale 4
	{
		map textures/hipshot_m13/metal_1.jpg
                tcmod scale 2 2		
		rgbGen vertex
	}
}

textures/hipshot_m13/concrete_2_sign
{
	qer_editorimage textures/hipshot_m13/concrete_2.jpg
	q3map_lightimage textures/hipshot_m13/concrete_2.jpg
	surfaceparm nolightmap
	q3map_vertexScale 4	
	{
		map textures/hipshot_m13/concrete_2.jpg	
		rgbGen vertex
	}
}

textures/hipshot_m13/metal_1_scaled
{
	qer_editorimage textures/hipshot_m13/ed/metal_1_scale.jpg
	q3map_lightimage textures/hipshot_m13/metal_1.jpg
	{
		map textures/hipshot_m13/metal_1.jpg
                tcmod scale 2 2			
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/concrete_2
{
	qer_editorimage textures/hipshot_m13/ed/concrete_2.jpg
	q3map_lightimage textures/hipshot_m13/concrete_2.jpg
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m13/concrete_2.jpg
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/concrete_2_noclip
{
	qer_editorimage textures/hipshot_m13/ed/concrete_2_noclip.jpg
	q3map_lightimage textures/hipshot_m13/concrete_2.jpg
	surfaceparm nonsolid
	{
		map textures/hipshot_m13/concrete_2.jpg
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/plaster_3_top
{
	qer_editorimage textures/hipshot_m13/ed/plaster_3_top.jpg
	q3map_lightimage textures/hipshot_m13/plaster_3x.tga
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m13/plaster_3_top.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/plaster_3
{
	qer_editorimage textures/hipshot_m13/ed/plaster_3.jpg
	q3map_lightimage textures/hipshot_m13/plaster_3x.tga
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m13/plaster_3x.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/plaster_3_noclip
{
	qer_editorimage textures/hipshot_m13/ed/plaster_3.jpg
	q3map_lightimage textures/hipshot_m13/plaster_3x.tga
	surfaceparm nonsolid	
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m13/plaster_3x.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/bricks_2
{
	qer_editorimage textures/hipshot_m13/ed/bricks_2.jpg
	q3map_lightimage textures/hipshot_m13/bricks_2.jpg
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m13/bricks_2.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/bricks_2_noclip
{
	qer_editorimage textures/hipshot_m13/ed/bricks_2_noclip.tga
	q3map_lightimage textures/hipshot_m13/bricks_2.tga
	surfaceparm nonsolid
	surfaceparm nomarks
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m13/bricks_2.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/bricks_2_top
{
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m13/bricks_2_top.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/bricks_2_top_noclip
{
	qer_editorimage textures/hipshot_m13/ed/bricks_2_top_noclip.tga
	q3map_lightimage textures/hipshot_m13/bricks_2_top.tga
	surfaceparm nonsolid
	surfaceparm nomarks
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m13/bricks_2_top.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/plastermix_2
{
	q3map_nonplanar
	q3map_shadeangle 300
	{
		map textures/hipshot_m13/plastermix_2.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/metalmix_1
{
	q3map_nonplanar
	q3map_shadeangle 300
	{
		map textures/hipshot_m13/metalmix_1.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/plaster_4_shade
{
	qer_editorimage textures/hipshot_m13/plaster_4.tga
	q3map_nonplanar
	q3map_shadeangle 300
	{
		map textures/hipshot_m13/plaster_4.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m13/wood_1_vl
{
	qer_editorimage textures/hipshot_m13/ed/wood_1_lq.jpg
	q3map_lightimage textures/hipshot_m13/wood_1.jpg
	surfaceparm nolightmap	
	q3map_vertexScale 4	
	{
		map textures/hipshot_m13/wood_1.jpg
		rgbGen vertex
	}
}

textures/hipshot_m13/water
	{
	qer_editorimage textures/liquids/pool3d_3e.tga
	q3map_lightimage textures/colors/black.jpg
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	surfaceparm fog	
	surfaceparm nomarks
	surfaceparm nolightmap		
	cull disable
	fogparms ( .2 .4 .2 ) 1750 //changed from 2 4 2		
	{ 
		map textures/hipshot_m13/pool3d_5e.tga
		blendFunc GL_dst_color GL_one
		//rgbgen identitylighting
		tcmod scale .5 .5
		tcmod scroll .025 .01
	}
	{ 
		map textures/hipshot_m13/pool3d_3e.tga
		blendFunc GL_dst_color GL_one
		tcmod scale -.5 -.5
		tcmod scroll .025 .025
		//rgbgen identitylighting
	}	

}

textures/hipshot_m13/window_1
{    
        {
		map textures/hipshot_m13/window_1.tga
		rgbGen identity
	}
        {
		map textures/hipshot_m13/window_reflection.jpg
                blendFunc add  		
                tcGen environment
		rgbGen identity
                tcmod scale 3 3              
	}
        {
		map textures/hipshot_m13/window_1.tga
                blendFunc blend
		rgbGen identity
	}
	{
		map $lightmap
        	blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}


textures/hipshot_m13/window_1_grate
{
	qer_alphafunc greater 0.5
	//surfaceparm alphashadow	
	surfaceparm nonsolid
	surfaceparm nomarks	
	surfaceparm trans
	qer_trans 0.99		
        nopicmip
	{
		map textures/hipshot_m13/window_1_grate.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hipshot_m13/tile_1_noclip
{    
	qer_editorimage textures/hipshot_m13/ed/tile_1_noclip.tga
	q3map_lightimage textures/hipshot_m13/tile_1.tga
	surfaceparm nonsolid
	surfaceparm nomarks		
        {
		map textures/hipshot_m13/tile_1.tga
		rgbGen identity
	}
	{
		map $lightmap
        	blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m13/concrete_1_noclip
{    
	qer_editorimage textures/hipshot_m13/ed/concrete_1_noclip.tga
	q3map_lightimage textures/hipshot_m13/concrete_1.jpg
	surfaceparm nonsolid
	surfaceparm nomarks		
        {
		map textures/hipshot_m13/concrete_1.jpg
		rgbGen identity
	}
	{
		map $lightmap
        	blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m13/lamp_sun_on
{
	qer_editorimage textures/hipshot_m13/lamp_sun.jpg
	surfaceparm nomarks
	q3map_lightimage textures/colors/m13sunlamp.jpg
	q3map_lightmapFilterRadius 16 16
	q3map_surfacelight 8000
	q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/hipshot_m13/lamp_sun.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/hipshot_m13/lamp_sun_glow.jpg
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .8 .2 0 1
	}		
}

textures/hipshot_m13/lamp_moon_on
{
	qer_editorimage textures/hipshot_m13/lamp_moon.jpg
	surfaceparm nomarks
	q3map_lightimage textures/colors/m13sunlamp.jpg
	q3map_lightmapFilterRadius 16 16
	q3map_surfacelight 8000
	q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/hipshot_m13/lamp_moon.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/hipshot_m13/lamp_moon_glow.jpg
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .8 .2 0 1
	}		
}

textures/hipshot_m13/lamp_delta_on
{
	qer_editorimage textures/hipshot_m13/lamp_delta.jpg
	surfaceparm nomarks
	q3map_lightimage textures/colors/m13sunlamp.jpg
	q3map_lightmapFilterRadius 16 16	
	q3map_surfacelight 8000
	q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/hipshot_m13/lamp_delta.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/hipshot_m13/lamp_delta_glow.jpg
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .8 .2 0 1
	}		
}

textures/hipshot_m13/lamp_z_on //it's actually off
{
	qer_editorimage textures/hipshot_m13/lamp_z.jpg
	surfaceparm nomarks
	q3map_lightimage textures/colors/m13sunlamp.jpg
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/hipshot_m13/lamp_z.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}	
}

textures/hipshot_m13/tele
{
	qer_editorimage textures/hipshot_m13/tele.jpg
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm nomarks
	q3map_surfacelight 100
	q3map_backSplash 10 25	
	{
		map textures/hipshot_m13/tele.jpg
		rgbGen identitylighting	
	}	
	{
		map textures/hipshot_m13/tele.jpg
		blendfunc add		
		rgbGen identitylighting
		rgbGen wave sin .8 .2 0 1
	}
}

textures/hipshot_m13/tele_vl
{
	qer_editorimage textures/hipshot_m13/tele.jpg
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nonsolid	
	surfaceparm nomarks	
	{
		map textures/hipshot_m13/white.tga	
	}
}

textures/hipshot_m13/teleglow
{
	qer_editorimage textures/hipshot_m13/ed/teleglow.jpg
	surfaceparm trans
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nonsolid	
	surfaceparm nomarks
	cull disable
	{
		map textures/hipshot_m13/teleglow.jpg
		blendfunc add
		rgbGen identity
		rgbGen wave sin .8 .2 0 1		
	}
}

textures/hipshot_m13/ed/pink //hips dev tex
{
	qer_editorimage textures/hipshot_m13/ed/pink.jpg
	surfaceparm nolightmap
	surfaceparm nomarks
	q3map_surfacelight 300
	sort 16	
	{
		map textures/hipshot_m13/ed/pink.jpg
		rgbGen identity
	}
}

textures/hipshot_m13/wp_sg
{
	qer_editorimage textures/hipshot_m13/wp_sg.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	surfaceparm nonsolid
	sort 6
	polygonOffset	
	{
		map textures/hipshot_m13/wp_sg.jpg
		rgbGen identitylighting
		blendfunc add
	}
}

textures/hipshot_m13/wp_rl
{
	qer_editorimage textures/hipshot_m13/wp_rl.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	surfaceparm nonsolid
	sort 6
	polygonOffset	
	{
		map textures/hipshot_m13/wp_rl.jpg
		rgbGen identitylighting
		blendfunc add
	}
}

textures/hipshot_m13/wp_rg
{
	qer_editorimage textures/hipshot_m13/wp_rg.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	surfaceparm nonsolid
	sort 6
	polygonOffset	
	{
		map textures/hipshot_m13/wp_rg.jpg
		rgbGen identitylighting
		blendfunc add
	}
}

textures/hipshot_m13/wp_lg
{
	qer_editorimage textures/hipshot_m13/wp_lg.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	surfaceparm nonsolid
	sort 6
	polygonOffset	
	{
		map textures/hipshot_m13/wp_lg.jpg
		rgbGen identitylighting
		blendfunc add
	}
}

textures/hipshot_m13/wp_pg
{
	qer_editorimage textures/hipshot_m13/wp_pg.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	surfaceparm nonsolid
	sort 6
	polygonOffset	
	{
		map textures/hipshot_m13/wp_pg.jpg
		rgbGen identitylighting
		blendfunc add
	}
}

textures/hipshot_m13/wp_gl
{
	qer_editorimage textures/hipshot_m13/wp_gl.jpg
	qer_trans .5		
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	surfaceparm nonsolid
	sort 6
	polygonOffset	
	{
		map textures/hipshot_m13/wp_gl.jpg
		rgbGen identitylighting
		blendfunc add
	}
}

textures/hipshot_m13/grass_sprite
{
	qer_editorimage textures/hipshot_m13/grass_sprite.tga
	qer_alphafunc greater 0.5
	//q3map_vertexScale 15
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	cull none
	deformVertexes wave 25 sin 3 2 .1 0.1 
	{
		map textures/hipshot_m13/grass_sprite.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/hipshot_m13/black
{
	surfaceparm nolightmap
	surfaceparm nomarks
	{
		map textures/hipshot_m13/black.tga
	}
}

textures/hipshot_m13/waterplant_2
{
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	cull none 
	deformVertexes bulge 128 1 2		
	{
		map textures/hipshot_m13/waterplant_2.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}		
}

textures/hipshot_m13/waterplant_1
{
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	cull none 
	deformVertexes bulge 128 1 2		
	{
		map textures/hipshot_m13/waterplant_1.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}		
}

textures/hipshot_m13/moats
	{
	qer_editorimage textures/hipshot_m13/ed/particles.jpg
	surfaceparm trans	
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm nolightmap
	nopicmip	
	qer_trans .5
	cull none
	deformVertexes bulge 128 1 2	
	{
		map textures/hipshot_m13/particles.jpg
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen vertex
		tcMod Scroll 0 .04
	}
}

textures/hipshot_m13/moats2
	{
	qer_editorimage textures/hipshot_m13/ed/particles2.jpg
	surfaceparm trans	
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm nolightmap
	nopicmip	
	qer_trans .5
	cull none
	deformVertexes bulge 128 1 2	
	{
		map textures/hipshot_m13/particles2.jpg
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen vertex
		tcMod Scroll -0.03 .05
	}
}