textures/hipshot_m8/sky
{
	q3map_lightimage textures/colors/m13sky.jpg	
	q3map_lightmapFilterRadius 0 8		
	q3map_sunExt 1 .6 .2 300 -150 60 3 32		// 1-6-2	//125
	q3map_skyLight 250 6 //60
	q3map_noFog
	//q3map_globalTexture
	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	skyparms - 500 -
	nopicmip	
	{
		map textures/hipshot_m8/clouds.tga
		tcMod scroll 0.003 -0.001875	
		tcmod scale 4 4
		rgbGen identityLighting
	}	
	{
		map textures/hipshot_m8/mask.tga
		blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
		tcMod transform 0.25 0 0 0.25 0.1075 0.1075		
		rgbGen identityLighting
	}
}

textures/hipshot_m8/sun
{
	surfaceparm nonsolid	
        surfaceparm nomarks	
        surfaceparm nolightmap 
    	surfaceparm trans   
        {
		clampmap textures/hipshot_m8/sun.jpg
		tcmod rotate 5
		blendFunc add
		rgbGen identitylighting
	}
        {
		clampmap textures/hipshot_m8/sun_blend.tga
              	tcmod rotate -7
		blendFunc add
		rgbGen identitylighting
		//rgbGen wave sin .8 .2 0 1                
	}	
}

textures/hipshot_m8/cliff_bd
{
	qer_alphafunc greater 0.5
	qer_trans 1
	surfaceparm nolightmap
	surfaceparm trans	
	nopicmip
	noMipMaps
	cull none
	{
		map textures/hipshot_m8/cliff_bd.tga
		blendFunc blend
		rgbGen identitylighting
	}
}

textures/hipshot_m8/water_caulk
{
	qer_editorimage textures/hipshot_m8/jumpgrid.tga
	qer_trans 0.5
	surfaceparm nodraw
	surfaceparm nomarks	
	surfaceparm noimpact
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
}

textures/hipshot_m8/fog_dark
{
		qer_editorimage textures/sfx/fog_grey.tga
		surfaceparm	trans
		surfaceparm	nonsolid
		surfaceparm	fog
		surfaceparm	nolightmap
		fogparms ( 0 .04 .01 ) 25
	{
		map textures/liquids/kc_fogcloud3.tga
		blendfunc gl_dst_color gl_zero
		tcmod scale -.05 -.05
		tcmod scroll .1 -.1
		rgbgen identity
	}
	{
		map textures/liquids/kc_fogcloud3.tga
		blendfunc gl_dst_color gl_zero
		tcmod scale .05 .05
		tcmod scroll .1 -.1
		rgbgen identity
	}
}

textures/hipshot_m8/fog_light
{
	surfaceparm	trans
	surfaceparm	nonsolid
	surfaceparm	fog
	surfaceparm	nolightmap
	fogparms ( .125 .15 .15 ) 200
}

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

textures/hipshot_m8/black_ns
{
	qer_editorimage textures/hipshot_m15/sun.jpg
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid	
	{
		map textures/hipshot_m8/black.tga
	}
}


textures/hipshot_m8/cliffbecomesgrass
{
	qer_editorimage textures/hipshot_m8/cliff.tga	
	q3map_nonplanar
	q3map_shadeangle 200
	//q3map_clipModel	
	{
		map $lightmap
		rgbGen identity
	}	
	{
		map textures/hipshot_m8/cliff.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m8/grass.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		tcmod scale 1.75 1.75
		rgbGen identity
		alphaGen oneMinusVertex //v=grass
		//alphagen vertex //v=cliff
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/grassbecomesdirt
{
	qer_editorimage textures/hipshot_m8/grass.tga
	q3map_nonplanar
	q3map_shadeangle 200
	{
		map $lightmap
		rgbGen identity
	}	
	{
		map textures/hipshot_m8/grass.tga
		tcmod scale 1.5 1.5
		rgbGen identity
	}
	{
		map textures/hipshot_m8/dirt.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		tcmod scale 1.5 1.5
		rgbGen identity
		alphaGen oneMinusVertex //v=grass
		//alphagen vertex //v=cliff
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/cliff_shade
{
	qer_editorimage textures/hipshot_m8/ed/cliff.tga
	q3map_lightimage textures/hipshot_m8/cliff.tga
	q3map_nonplanar
	q3map_shadeangle 180
	{
		map textures/hipshot_m8/cliff.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/wall_6_hq_shade
{
	qer_editorimage textures/hipshot_m8/ed/wall_6_hq_shade.tga
	q3map_lightimage textures/hipshot_m8/wall_6_hq.tga
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m8/wall_6_hq.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/wall_6_hq_shade_special
{
	qer_editorimage textures/hipshot_m8/ed/wall_6_hq_shade.tga
	q3map_lightimage textures/hipshot_m8/wall_6_hq.tga
	q3map_nonplanar
	q3map_shadeangle 120
	{
		map textures/hipshot_m8/wall_6_hq.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/plaster_4_shade_special
{
	qer_editorimage textures/hipshot_m8/ed/plaster_4_shade.tga
	q3map_lightimage textures/hipshot_m8/plaster_4.tga
	q3map_nonplanar
	q3map_shadeangle 120
	{
		map textures/hipshot_m8/plaster_4.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/metal_3_cut_hq_shade
{
	qer_editorimage textures/hipshot_m8/ed/metal_3_cut_hq_shade.tga
	q3map_lightimage textures/hipshot_m8/metal_3_cut_hq.tga
	q3map_nonplanar
	q3map_shadeangle 135
	{
		map textures/hipshot_m8/metal_3_cut_hq.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/metal_3_hq_shade
{
	qer_editorimage textures/hipshot_m8/ed/metal_3_hq.tga
	q3map_lightimage textures/hipshot_m8/metal_3_hq.tga
	q3map_nonplanar
	q3map_shadeangle 135
	{
		map textures/hipshot_m8/metal_3_hq.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/concrete_3_shade
{
	qer_editorimage textures/hipshot_m8/ed/concrete_3_shade.tga
	q3map_lightimage textures/hipshot_m8/concrete_3.tga
	q3map_nonplanar
	q3map_shadeangle 135
	{
		map textures/hipshot_m8/concrete_3.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/concrete_4_nodlight
{
	qer_editorimage textures/hipshot_m8/concrete_4.tga
	surfaceparm nodlight
	surfaceparm nolightmap
	surfaceparm nomarks
	{
		map textures/hipshot_m8/concrete_4.tga
		rgbGen exactVertex
	}
}


textures/hipshot_m8/tile_1
{    
	{
		map textures/hipshot_m8/tile_1.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m8/ref_tile.jpg
		blendFunc add  		
		tcGen environment
		rgbGen identity
		tcmod scale 1 1       
	}
	{
		map textures/hipshot_m8/tile_1.tga
		blendFunc blend
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/tile_1_cut
{    
	q3map_shadeangle 100
	{
		map textures/hipshot_m8/tile_1_cut.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m8/ref_tile.jpg
		blendFunc add  		
		tcGen environment
		rgbGen identity
		tcmod scale 1 1       
	}
	{
		map textures/hipshot_m8/tile_1_cut.tga
		blendFunc blend
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/plaster_1_shade
{
	qer_editorimage textures/hipshot_m8/ed/plaster_1.tga
	q3map_lightimage textures/hipshot_m8/plaster_1.tga
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m8/plaster_1.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/plaster_1_ns
{
	qer_editorimage textures/hipshot_m8/ed/plaster_1_ns.tga
	q3map_lightimage textures/hipshot_m8/plaster_1.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	{
		map textures/hipshot_m8/plaster_1.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/trim_6_ns
{
	qer_editorimage textures/hipshot_m8/ed/trim_6_ns.tga
	q3map_lightimage textures/hipshot_m8/trim_6.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	{
		map textures/hipshot_m8/trim_6.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

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

textures/hipshot_m8/concrete_1_hq_shade
{
	qer_editorimage textures/hipshot_m8/ed/concrete_1_hq_shade.tga
	q3map_lightimage textures/hipshot_m8/concrete_1_hq.tga
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map textures/hipshot_m8/concrete_1_hq.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/waterbecomesnull
{
	//qer_trans 0.5
	qer_editorimage textures/hipshot_m8/water.tga
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap
	nopicmip
	noMipMaps
	cull none
	//deformVertexes normal .15 2 
	//deformVertexes bulge 128 5 2	
	{
		map textures/hipshot_m8/water.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//blendfunc GL_SRC_ALPHA GL_ONE //"add" instead of "alpha blend"
		rgbGen identity
		alphaGen vertex	
		tcmod scale 1 1			
		tcMod turb 0 .15 0 .015	
	}	
	{
		map textures/hipshot_m8/water2.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//blendfunc GL_SRC_ALPHA GL_ONE //"add" instead of "alpha blend"
		rgbGen identity
		alphaGen vertex	
		tcmod scale 1 1			
		tcMod turb 0 -.15 0 -.015				
	}			
}














































textures/hipshot_m8/grate_1
{
	qer_editorimage textures/base_wall/shinygrate1_4.tga
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/base_wall/shinygrate1_4.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}


}

textures/hipshot_m8/ceil1_4_NOUSE
//yellow light static
{
	qer_editorimage textures/base_light/ceil1_4.jpg
	surfaceparm nomarks
	q3map_surfacelight 8000
	q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/base_light/ceil1_4.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/base_light/ceil1_4.blend.jpg
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .8 .2 0 1
	}		
}

textures/hipshot_m8/ceil1_38
//white light static
{
	qer_editorimage textures/base_light/ceil1_38.jpg
	surfaceparm nomarks
	q3map_surfacelight 3000
	q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/base_light/ceil1_38.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/base_light/ceil1_38.blend.jpg
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .8 .2 0 1
	}		
}

textures/hipshot_m8/pjceil1_39_1p5k
//beige cream light static
{
	qer_editorimage textures/base_light/ceil1_39.tga
	q3map_lightimage textures/colors/255-140-70.jpg	
	surfaceparm nomarks
	q3map_surfacelight 8000
	q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/base_light/ceil1_39.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/base_light/ceil1_39.blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .8 .2 0 1
	}		
}

textures/hipshot_m8/stripe_light
//beige cream light static stripe
{
	qer_editorimage textures/hipshot_m8/stripe_light.tga
	q3map_lightimage textures/colors/255-140-70.jpg	
	surfaceparm nomarks
	q3map_surfacelight 1000
	//q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/hipshot_m8/stripe_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/hipshot_m8/stripe_light.tga
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .8 .2 0 1
	}			
}

textures/hipshot_m8/pjceil1_40
//turqoise light
{
	qer_editorimage textures/base_light/ceil1_34.tga
	q3map_lightimage textures/colors/m13water.jpg
	surfaceparm nomarks
	q3map_surfacelight 6000 //1500 old sky
	q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/base_light/ceil1_34.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/base_light/ceil1_34.blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen wave sin .8 .2 0 1
	}		
}

textures/hipshot_m8/ceil1_22a_static
//red light static
{
	qer_editorimage textures/hipshot_m8/lamp_small_red.tga
	q3map_lightimage textures/hipshot_m8/jumpgrid.jpg	
	surfaceparm nomarks
	q3map_surfacelight 3000
	q3map_backSplash 10 25	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/hipshot_m8/lamp_small_red.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/hipshot_m8/lamp_small_red.tga
		blendfunc add
		rgbGen wave sin .8 .2 0 1					
	}			
}

textures/hipshot_m8/lamp_small_red_1
//red light dynamic 1
{
	qer_editorimage textures/hipshot_m8/lamp_small_red.tga
	q3map_lightimage textures/hipshot_m8/jumpgrid.jpg	
	surfaceparm nomarks
	surfaceparm nolightmap		
	//q3map_surfacelight 3000
	q3map_backSplash 10 25	
	{
		map textures/hipshot_m8/lamp_small_off.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m8/lamp_small_red.tga
		blendfunc add
		rgbGen wave sin 0 1 0 2					
	}			
}

textures/hipshot_m8/lamp_small_red_2
//red light dynamic 2
{
	qer_editorimage textures/hipshot_m8/lamp_small_red.tga
	q3map_lightimage textures/hipshot_m8/jumpgrid.jpg	
	surfaceparm nomarks
	surfaceparm nolightmap		
	//q3map_surfacelight 3000
	q3map_backSplash 10 25	
	{
		map textures/hipshot_m8/lamp_small_off.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m8/lamp_small_red.tga
		blendfunc add
		rgbGen wave sin 0 1 .2 2					
	}			
}

textures/hipshot_m8/lamp_small_red_3
//red light dynamic 3
{
	qer_editorimage textures/hipshot_m8/lamp_small_red.tga
	q3map_lightimage textures/hipshot_m8/jumpgrid.jpg	
	surfaceparm nomarks
	surfaceparm nolightmap		
	//q3map_surfacelight 3000
	q3map_backSplash 10 25	
	{
		map textures/hipshot_m8/lamp_small_off.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m8/lamp_small_red.tga
		blendfunc add
		rgbGen wave sin 0 1 .4 2					
	}			
}

textures/hipshot_m8/lamp_small_red_4
//red light dynamic 4
{
	qer_editorimage textures/hipshot_m8/lamp_small_red.tga
	q3map_lightimage textures/hipshot_m8/jumpgrid.jpg	
	surfaceparm nomarks
	surfaceparm nolightmap		
	q3map_surfacelight 3000
	{
		map textures/hipshot_m8/lamp_small_off.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m8/lamp_small_red.tga
		blendfunc add
		rgbGen wave sin 0 1 .6 2					
	}			
}

textures/hipshot_m8/lamp_small_red_5
//red light dynamic 5
{
	qer_editorimage textures/hipshot_m8/lamp_small_red.tga
	q3map_lightimage textures/hipshot_m8/jumpgrid.jpg	
	surfaceparm nomarks
	surfaceparm nolightmap		
	q3map_surfacelight 3000
	{
		map textures/hipshot_m8/lamp_small_off.tga
		rgbGen identity
	}
	{
		map textures/hipshot_m8/lamp_small_red.tga
		blendfunc add
		rgbGen wave sin 0 1 .8 2					
	}			
}

textures/hipshot_m8/lamp_small_dark_1
{
	qer_editorimage textures/hipshot_m8/lamp_small_dark.tga
	q3map_vertexScale 1
	{
		map textures/hipshot_m8/lamp_small_dark.tga
		rgbGen vertex		
	}
	{
		map textures/hipshot_m8/lamp_small_dark_on.tga
		blendfunc add
		rgbGen wave sin 0 1 0 2					
	}			
}

textures/hipshot_m8/lamp_small_dark_2
{
	qer_editorimage textures/hipshot_m8/lamp_small_dark.tga
	q3map_vertexScale 1
	{
		map textures/hipshot_m8/lamp_small_dark.tga
		rgbGen vertex		
	}
	{
		map textures/hipshot_m8/lamp_small_dark_on.tga
		blendfunc add
		rgbGen wave sin 0 1 .2 2					
	}			
}

textures/hipshot_m8/lamp_small_dark_3
{
	qer_editorimage textures/hipshot_m8/lamp_small_dark.tga
	q3map_vertexScale 1
	{
		map textures/hipshot_m8/lamp_small_dark.tga
		rgbGen vertex		
	}
	{
		map textures/hipshot_m8/lamp_small_dark_on.tga
		blendfunc add
		rgbGen wave sin 0 1 .4 2				
	}			
}

textures/hipshot_m8/lamp_small_dark_4
{
	qer_editorimage textures/hipshot_m8/lamp_small_dark.tga
	q3map_vertexScale 1
	{
		map textures/hipshot_m8/lamp_small_dark.tga
		rgbGen vertex		
	}
	{
		map textures/hipshot_m8/lamp_small_dark_on.tga
		blendfunc add
		rgbGen wave sin 0 1 .6 2				
	}			
}

textures/hipshot_m8/lamp_small_dark_5
{
	qer_editorimage textures/hipshot_m8/lamp_small_dark.tga
	q3map_vertexScale 1
	{
		map textures/hipshot_m8/lamp_small_dark.tga
		rgbGen vertex		
	}
	{
		map textures/hipshot_m8/lamp_small_dark_on.tga
		blendfunc add
		rgbGen wave sin 0 1 .8 2					
	}			
}








textures/hipshot_m8/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_m8/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_m8/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_m8/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_m8/leaf
{
	qer_editorimage textures/hipshot_m8/leaf.tga
	//q3map_lightimage textures/hipshot_m8/black.tga	
	qer_alphafunc greater 0.5
	qer_trans 0.99	
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm nonsolid				
	nopicmip
	cull none	     
	deformVertexes wave 25 sin 3 8 .1 0.1    //deformVertexes wave 25 sin 3 2 .1 0.1      
	{
		map textures/hipshot_m8/leaf.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		rgbGen const ( 1 1 1 )		
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hipshot_m8/trunk
{
	qer_editorimage textures/hipshot_m8/trunk.tga
	q3map_lightimage textures/hipshot_m8/black.tga		
	q3map_nonplanar
	q3map_shadeangle 180
	{
		map textures/hipshot_m8/trunk.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/cart_wheel
{
	qer_editorimage textures/hipshot_m8/cart_wheel.tga
	qer_trans 1
	qer_alphafunc greater 0.5		
	nopicmip	
	q3map_vertexScale 4	
	surfaceparm trans
	surfaceparm nolightmap			
	{
		map textures/hipshot_m8/cart_wheel.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen vertex
	}

}

textures/hipshot_m8/cart_wheel2
{
	qer_editorimage textures/hipshot_m8/cart_wheel2.tga	
	nopicmip	
	q3map_vertexScale 6
	surfaceparm nolightmap	
	{
		map textures/hipshot_m8/cart_wheel2.tga
		rgbGen vertex
	}

}










textures/hipshot_m8/e6metalfan_s
{
	qer_editorimage textures/hipshot_m8/e6metalfan.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	sort 6	
	polygonOffset
	{
		clampmap textures/hipshot_m8/fan.tga
		tcMod rotate -500
		rgbGen identity
	}
	{
		map textures/hipshot_m8/e6metalfan.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}	
}

textures/hipshot_m8/e6metalfan_s_slow
{
	qer_editorimage textures/hipshot_m8/e6metalfan.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	sort 6	
	polygonOffset
	{
		clampmap textures/hipshot_m8/fan.tga
		tcMod rotate -100
		rgbGen identity
	}
	{
		map textures/hipshot_m8/e6metalfan.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}	
}

textures/hipshot_m8/logo_rustgrad
{
	qer_editorimage textures/hipshot_m8/ed/logo_rustgrad.tga
	qer_trans 1		
	surfaceparm nomarks
	surfaceparm nonsolid					
	sort 6	
	polygonOffset
	{
		clampmap textures/hipshot_m8/logo_rustgrad.tga
		blendFunc blend
		rgbGen identity
	}	
}

textures/hipshot_m8/threadplate
{
	surfaceparm metalsteps
	q3map_lightimage textures/hipshot_m8/threadplate.tga
	{
		map textures/hipshot_m8/threadplate.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_win.tga
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/threadplate.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/threadplate2
{
	surfaceparm metalsteps
	q3map_lightimage textures/hipshot_m8/threadplate2.tga		
	{
		map textures/hipshot_m8/threadplate2.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_water.jpg
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/threadplate2.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/threadplate_spec2
{
	qer_editorimage textures/hipshot_m8/ed/threadplate_spec2.tga
	q3map_lightimage textures/hipshot_m8/threadplate_spec2.tga
	surfaceparm metalsteps	
	{
		map textures/hipshot_m8/threadplate_spec2.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_win.tga
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/threadplate_spec2.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/threadplate3
{
	surfaceparm metalsteps	
		{
		map textures/hipshot_m8/threadplate3.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_water.jpg
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/threadplate3.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}


textures/hipshot_m8/metal_9_hq
{
	{
		map textures/hipshot_m8/metal_9_hq.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_tile.tga
		blendFunc add  		
		tcGen environment
		rgbGen identity
		tcmod scale 4 4
	}	
	{
		map textures/hipshot_m8/metal_9_hq.tga
		blendFunc blend
		rgbGen identity 		
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/metal_1_blue
{
	surfaceparm metalsteps	
        {
		map textures/hipshot_m8/metal_1_blue.tga
		rgbGen identity	
	}
        {
		map textures/hipshot_m8/ref_win.tga
                blendFunc add	
                tcGen environment
                rgbGen identity
                tcmod scale 4 2
	}
        {
		map textures/hipshot_m8/metal_1_blue.tga
                blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
        	blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/support_grate_trans
{
	qer_editorimage textures/hipshot_m8/support_grate.tga
	qer_alphafunc greater 0.5
	qer_trans 0.99	
	surfaceparm alphashadow	
	surfaceparm trans
	{
		map textures/hipshot_m8/support_grate.tga
		blendFunc blend
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}	
}

textures/hipshot_m8/e6cyb0rpipes
{    
	qer_editorimage textures/hipshot_m8/e6cyb0rpipes.tga
        {
		map textures/hipshot_m8/e6cyb0rpipes.tga
		rgbGen identity	
	}
        {
		map textures/hipshot_m8/ref_win.tga
                blendFunc add  		
                tcGen environment
		rgbGen identity
                tcmod scale 4 4
		//tcMod scroll .01 .25           
	}	
        {
		map textures/hipshot_m8/e6cyb0rpipes.tga
                blendFunc blend
		rgbGen identity 		
	}
	{
		map $lightmap
        	blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/mech1_d
{    
	qer_editorimage textures/hipshot_m8/mech1_d.tga
        {
		map textures/hipshot_m8/mech1_d.tga
		rgbGen identity	
	}
        {
		map textures/hipshot_m8/ref_win.tga
                blendFunc add  		
                tcGen environment
		rgbGen identity
                tcmod scale 4 4
		//tcMod scroll .01 .25           
	}	
        {
		map textures/hipshot_m8/mech1_d.tga
                blendFunc blend
		rgbGen identity 		
	}
	{
		map $lightmap
        	blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/textures_metal_q3_c
{    
	qer_editorimage textures/hipshot_m8/textures_metal_q3_c.tga
        {
		map textures/hipshot_m8/textures_metal_q3_c.tga
		rgbGen identity	
	}
        {
		map textures/hipshot_m8/ref_win.tga
                blendFunc add  		
                tcGen environment
		rgbGen identity
                tcmod scale 4 4
		//tcMod scroll .01 .25           
	}	
        {
		map textures/hipshot_m8/textures_metal_q3_c.tga
                blendFunc blend
		rgbGen identity 		
	}
	{
		map $lightmap
        	blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/concrete_2_ref
{    
	qer_editorimage textures/hipshot_m8/concrete_2.tga
	{
		map $lightmap
		rgbgen identity 
	}	
	{
		map textures/hipshot_m8/concrete_2.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_water.jpg
		blendFunc add  		
		tcGen environment              
		rgbGen identity
		tcmod scale 2 2   
		//tcMod scroll .01 .25           
	}	
	{
		map textures/hipshot_m8/concrete_2.tga
		blendFunc blend              
		rgbGen identity 		
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/letter_b
{
	qer_editorimage textures/hipshot_m8/b.tga
	qer_alphafunc greater 0.5
	qer_trans 0.99	
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nolightmap					
	sort 6	
	polygonOffset
	{
		map textures/hipshot_m8/b.tga
		blendfunc blend
		rgbGen identity
	}	
}

textures/hipshot_m8/1r_clocktrim02_trans
{
	qer_editorimage textures/hipshot_m8/1r_clocktrim02.tga
	qer_alphafunc greater 0.5
	qer_trans 0.99		
	//surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm nonsolid				
        nopicmip
	{
		map textures/hipshot_m8/1r_clocktrim02.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_m8/grate2_7_small_scroll
{
	qer_editorimage textures/hipshot_m8/ed/grate2_7_small.jpg
        {
		map textures/base_support/grate2_7_small.jpg
		rgbGen identity
		tcMod scroll 0 -1.6	
	}
	{
		map $lightmap
        	blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/quake3sign_outside
{
	qer_editorimage textures/hipshot_m8/quake3sign_outside.tga
	qer_alphafunc greater -0.5
	qer_trans 0.99		
	//surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm nonsolid				
	sort 6	
	polygonOffset      
	{
		map textures/hipshot_m8/quake3sign_outside.tga
		blendFunc blend
		rgbGen identity
	}

}

textures/hipshot_m8/fan999
{
	qer_editorimage textures/sfx/fan.tga
	qer_alphafunc greater -0.5
	qer_trans 0.99			
        surfaceparm trans	
        surfaceparm nomarks	
        nopicmip
	{
		clampmap textures/sfx/fan.tga
		tcMod rotate 256 
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hipshot_m8/fan_slow999
{
	qer_editorimage textures/sfx/fan.tga
	qer_alphafunc greater -0.5
	qer_trans 0.99			
        surfaceparm trans	
        surfaceparm nomarks	
        nopicmip
	{
		clampmap textures/sfx/fan.tga
		tcMod rotate -50
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hipshot_m8/fanfx999
{
	qer_editorimage textures/sfx/fanfx.tga
        surfaceparm nolightmap
        surfaceparm trans	
        surfaceparm nomarks	
        nopicmip
	sort 6	
	polygonOffset
	{
		clampmap textures/hipshot_m8/fanfx.tga
		tcMod rotate 256 
		blendFunc filter
		//rgbGen exactVertex
	}
}

textures/hipshot_m8/litpan2
{
	qer_editorimage textures/hipshot_m8/litpan2.jpg
	//q3map_lightimage textures/base_light/ceil1_39.tga	
	q3map_lightimage textures/colors/255-140-70.jpg
	surfaceparm nomarks
	q3map_surfacelight 1500
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/hipshot_m8/litpan2.jpg
		blendFunc GL_DST_COLOR GL_ZERO
	}
	{
		map textures/hipshot_m8/litpan2fx.jpg
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin 0.8 0.1 0 2
	}
}

textures/hipshot_m8/1_rust_grill01
{
	qer_editorimage textures/hipshot_m8/1_rust_grill01.tga
	qer_alphafunc greater -0.5
	qer_trans 0.99		
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm nonsolid
	//surfaceparm nolightmap
	polygonOffset
	sort 6	
	{
		map textures/hipshot_m8/1_rust_grill01.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_m8/jumpgrid
{
	qer_editorimage textures/hipshot_m8/jumpgrid.jpg
	//q3map_lightimage textures/colors/white.jpg
	surfaceparm trans
	surfaceparm nonsolid	
	surfaceparm nomarks
	surfaceparm nodamage
	surfaceparm nolightmap
	q3map_surfacelight 1000
	{
		map textures/hipshot_m8/jumpgrid.tga
		rgbGen identityLighting
	}
	{
		clampmap textures/hipshot_m8/jumpsquare.jpg //timad med move 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_m8/jumpgrid.tga
		blendfunc blend
		rgbGen identityLighting
	}	
}

textures/hipshot_m8/movesquare1
{
	qer_editorimage textures/hipshot_m8/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_m8/jumpring1.jpg
		rgbGen wave sawtooth 1 -1 1 1.3
		blendfunc add
	}
}

textures/hipshot_m8/movesquare2
{
	qer_editorimage textures/hipshot_m8/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_m8/jumpring2.jpg
		rgbGen wave sawtooth 1 -1 .875 1.3
		blendfunc add
	}
}

textures/hipshot_m8/movesquare3
{
	qer_editorimage textures/hipshot_m8/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_m8/jumpring3.jpg
		rgbGen wave sawtooth 1 -1 .75 1.3
		blendfunc add
	}
}

textures/hipshot_m8/movesquare4
{
	qer_editorimage textures/hipshot_m8/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_m8/jumpring4.jpg
		rgbGen wave sawtooth 1 -1 .625 1.3
		blendfunc add
	}
}

textures/hipshot_m8/tele
{
	qer_editorimage textures/hipshot_m8/tele.jpg
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm nonsolid
	surfaceparm nomarks
	q3map_surfacelight 100
	q3map_backSplash 10 25	
	{
		map textures/hipshot_m8/tele_scan.jpg
		blendfunc add		
		rgbGen identity
		tcMod Scroll 0 -1
	}		
	{
		map textures/hipshot_m8/tele_scan2.jpg
		blendfunc add		
		rgbGen identity
		tcMod Scroll 0 -0.35
		rgbGen wave sin .8 .2 0 1		
	}			
	{
		map textures/hipshot_m8/tele.jpg
		blendfunc add		
		rgbGen identity
		rgbGen wave sin .8 .2 0 1
	}
}

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

textures/hipshot_m8/wp_gl
{
	qer_editorimage textures/hipshot_m8/wp_gl.tga
	qer_trans 1	
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm nonsolid
	polygonOffset
	sort 6	
	{
		map textures/hipshot_m8/wp_gl.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_m8/moats
	{
	qer_alphafunc greater 0.5
	qer_trans 0.99
	qer_editorimage textures/hipshot_m8/ed/particles.jpg
	surfaceparm trans	
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm nolightmap
	nopicmip	
	cull none
	deformVertexes bulge 128 1 2	
	{
		map textures/hipshot_m8/particles.jpg
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen vertex
		tcMod Scroll 0 .04
	}
}

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

textures/hipshot_m8/064-20a_decal
{
	qer_editorimage textures/hipshot_m8/ed/064-20a.tga
	q3map_lightimage textures/hipshot_m8/064-20a.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	sort 6	
	polygonOffset
	{
		map textures/hipshot_m8/064-20a.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}	
}

textures/hipshot_m8/wood_1_hq_ns
{
	qer_editorimage textures/hipshot_m8/ed/wood_1_hq_ns.tga
	q3map_lightimage textures/hipshot_m8/wood_1_hq.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	{
		map textures/hipshot_m8/wood_1_hq.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}	
}

textures/hipshot_m8/metal_5_decal
{
	qer_editorimage textures/hipshot_m8/ed/metal_5.jpg
	q3map_lightimage textures/hipshot_m8/metal_5.jpg
	q3map_bounceScale 0
	surfaceparm nomarks
	surfaceparm nonsolid					
	sort 6	
	polygonOffset
	{
		map textures/hipshot_m8/metal_5.jpg
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}	
}

textures/hipshot_m8/blocks18d_decal
{
	qer_editorimage textures/gothic_block/blocks18d
	q3map_lightimage textures/gothic_block/blocks18d.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	sort 6	
	polygonOffset
	{
		map textures/gothic_block/blocks18d.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}	
}

textures/hipshot_m8/ivy_5
{
	qer_editorimage textures/hipshot_m8/ivy_5.tga
	qer_alphafunc greater 0.5
	q3map_shadeangle 90
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
   	noPicMip	
	cull none 	
	{
		map textures/hipshot_m8/ivy_5.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_m8/nut
{
	qer_editorimage textures/hipshot_m8/nut.tga
	q3map_lightimage textures/hipshot_m8/nut.tga
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap
	q3map_vertexScale 10
	{
		map textures/hipshot_m8/nut.tga
		rgbGen vertex		
	}
	{
		map textures/hipshot_m8/ref_win.tga
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/nut.tga
		blendFunc blend
		rgbGen vertex		
	}
}


textures/hipshot_m8/dirt_decal
{
   noPicMip
   polygonOffset
   surfaceparm nonsolid
   surfaceparm nomarks
   {
      map textures/hipshot_m8/dirt_decal.jpg
      blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
   }
}

// Added new more HQ-shaders

textures/hipshot_m8/dirt_1_hq_shade
{
	qer_editorimage textures/hipshot_m8/ed/dirt_1_hq.tga
	q3map_lightimage textures/hipshot_m8/dirt_1_hq.tga
	q3map_nonplanar
	q3map_shadeangle 180
	{
		map textures/hipshot_m8/dirt_1_hq.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/hipshot_m8/threadplate2_hq
{
	surfaceparm metalsteps
	q3map_lightimage textures/hipshot_m8/threadplate2_hq.tga
	{
		map textures/hipshot_m8/threadplate2_hq.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_water.jpg
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/threadplate2_hq.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/wire
{
	qer_editorimage textures/hipshot_m8/ed/concrete_1_hq_shade.tga
	surfaceparm nonsolid	
	surfaceparm nomarks		
	{
		map textures/hipshot_m8/ref_water.jpg	
		tcGen environment
		rgbGen identity
		tcmod scale 10 10
	}
	{
		map textures/hipshot_m8/threadplate2_hq.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/trim_9_decal
{
	qer_editorimage textures/hipshot_m8/ed/trim_9.tga
	q3map_lightimage textures/hipshot_m8/trim_9.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	sort 6	
	polygonOffset
	{
		map textures/hipshot_m8/trim_9.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}	
}

textures/hipshot_m8/fan_normal
{
	qer_editorimage textures/hipshot_m8/ed/fan_frame.tga
	q3map_lightimage textures/hipshot_m8/fan_frame.tga
	surfaceparm nomarks
	surfaceparm nonsolid					
	//sort 6	
	//polygonOffset
	{
		clampmap textures/hipshot_m8/fan_hq.tga
		tcMod rotate -500
		rgbGen identity
	}
	{
		map textures/hipshot_m8/fan_frame.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}	
}

textures/hipshot_m8/fan_slow
{
	qer_editorimage textures/hipshot_m8/ed/fan_frame_slow.tga
	q3map_lightimage textures/hipshot_m8/fan_frame.tga
	surfaceparm nomarks
	surfaceparm nonsolid				
	{
		clampmap textures/hipshot_m8/fan_hq.tga
		tcMod rotate -100
		rgbGen identity
	}
	{
		map textures/hipshot_m8/fan_frame.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}	
}

textures/hipshot_m8/threadplate3_hq
{
	surfaceparm metalsteps	
		{
		map textures/hipshot_m8/threadplate3_hq.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_water.jpg
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/threadplate3_hq.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/wall_vent
{
	surfaceparm metalsteps	
		{
		map textures/hipshot_m8/wall_vent.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_water.jpg
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/wall_vent.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/wall_vent_rust
{
	surfaceparm metalsteps	
		{
		map textures/hipshot_m8/wall_vent_rust.tga
		rgbGen identity	
	}
	{
		map textures/hipshot_m8/ref_water.jpg
		blendFunc add	
		tcGen environment
		rgbGen identity
		tcmod scale 2 2
	}
	{
		map textures/hipshot_m8/wall_vent_rust.tga
		blendFunc blend
		rgbGen identity	
	}
	{
		map $lightmap
		blendfunc gl_dst_color gl_zero
		rgbgen identity 
	}
}

textures/hipshot_m8/lamp_small_brt
{
	surfaceparm nonsolid	
	surfaceparm nomarks	
	surfaceparm nolightmap
  	surfaceparm trans	
	//q3map_surfacelight 10000		
	{
		map textures/hipshot_m8/lamp_small_brt.tga
	}
}

textures/hipshot_m8/lamp_small_blue_brt
{
	surfaceparm nonsolid	
	surfaceparm nomarks	
	surfaceparm nolightmap
  	surfaceparm trans			
	{
		map textures/hipshot_m8/lamp_small_blue_brt.tga
	}
}

textures/hipshot_m8/lamp_square
{
	surfaceparm nonsolid	
	surfaceparm nomarks	
	surfaceparm nolightmap
  	surfaceparm trans		
	//q3map_surfacelight 200
	//q3map_backSplash 100 32		
	{
		map textures/hipshot_m8/lamp_square.tga
	//	rgbGen wave sin 1 .2 0 1			
	}
}

textures/hipshot_m8/lamp_square_surfacelight
{
	qer_editorimage textures/hipshot_m8/lamp_square.tga
	surfaceparm nonsolid	
	surfaceparm nomarks	
	surfaceparm nolightmap
  	surfaceparm trans		
	q3map_surfacelight 5000
	//q3map_backSplash 100 32		
	{
		map textures/hipshot_m8/lamp_square.tga
	//	rgbGen wave sin 1 .2 0 1			
	}
}

textures/hipshot_m8/lamp_square_surfacelight_weak
{
	qer_editorimage textures/hipshot_m8/lamp_square.tga
	surfaceparm nonsolid	
	surfaceparm nomarks	
	surfaceparm nolightmap
  	surfaceparm trans		
	q3map_surfacelight 2500	
	{
		map textures/hipshot_m8/lamp_square.tga		
	}
}

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

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


textures/hipshot_m8/dirt_1_blend
{
	qer_editorimage textures/hipshot_m8/dirt_1_blend.tga
	qer_trans 1
	surfaceparm trans
	nopicmip
	q3map_shadeangle 45
	surfaceparm nonsolid
	surfaceparm nomarks	
	sort 6	
	polygonOffset	
	{
		map textures/hipshot_m8/dirt_1_blend.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_m8/window_1_trans
{
	qer_editorimage textures/hipshot_m8/window_1.tga
	qer_trans 1
	surfaceparm alphashadow		
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nomarks
	//cull none
	{
		map textures/hipshot_m8/window_1.tga
		blendFunc blend
		rgbGen identity
	}		
	{
		map textures/hipshot_m8/window_1.tga
		blendFunc GL_ONE GL_ZERO
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}






// VEGETATION


textures/hipshot_m8/fern_sun
{
	qer_editorimage textures/hipshot_m8/ed/fern.tga
	q3map_lightimage textures/hipshot_m8/fern.tga
	qer_trans 1	
	qer_alphafunc greater 0.5	
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 5 sin 0 .5 0 0.1 
	{
		map textures/hipshot_m8/fern.tga
		rgbGen const ( .45 .29 .2 ) //( .374 .26 .189 )				
		depthWrite
		alphaFunc GE128		
	}	
}

textures/hipshot_m8/fern_brt
{
	qer_editorimage textures/hipshot_m8/ed/fern_brt.tga
	q3map_lightimage textures/hipshot_m8/fern.tga
	qer_trans 1	
	qer_alphafunc greater 0.5	
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 5 sin 0 .5 0 0.1 
	{
		map textures/hipshot_m8/fern.tga
		rgbGen const ( .3 .2 .18 ) //( .374 .26 .189 )				
		depthWrite
		alphaFunc GE128		
	}	
}

textures/hipshot_m8/fern_drk
{
	qer_editorimage textures/hipshot_m8/ed/fern_dark.tga
	q3map_lightimage textures/hipshot_m8/fern.tga
	qer_trans 1	
	qer_alphafunc greater 0.5	
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 5 sin 0 .5 0 0.1 
	{
		map textures/hipshot_m8/fern.tga
		rgbGen const ( .15 .125 .09 )				
		depthWrite
		alphaFunc GE128		
	}	
}

textures/hipshot_m8/grass_sun
{
	qer_editorimage textures/hipshot_m8/ed/grass_sprite.tga
	q3map_lightimage textures/hipshot_m8/grass_sprite.tga
	qer_trans 1
	qer_alphafunc greater 0.5	
	q3map_vertexScale 2
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 25 sin 0 2 0 0.1 
	{
		map textures/hipshot_m8/grass_sprite.tga
		rgbGen const ( .36 .33 .23 )	//when I changed sky from 30 to 60 I changed this from .26 .24 .16				
		depthWrite
		alphaFunc GE128		
	}	
}

textures/hipshot_m8/grass_brt
{
	qer_editorimage textures/hipshot_m8/ed/grass_sprite_inside_brt.tga
	q3map_lightimage textures/hipshot_m8/grass_sprite.tga
	qer_trans 1
	qer_alphafunc greater 0.5	
	q3map_vertexScale 2
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 25 sin 0 2 0 0.1 
	{
		map textures/hipshot_m8/grass_sprite.tga
		rgbGen const ( .26 .25 .19 )	//when I changed sky from 30 to 60 I changed this from .26 .24 .16				
		depthWrite
		alphaFunc GE128		
	}	
}


textures/hipshot_m8/grass_drk
{
	qer_editorimage textures/hipshot_m8/ed/grass_sprite_dark.tga
	q3map_lightimage textures/hipshot_m8/grass_sprite.tga
	qer_trans 1
	qer_alphafunc greater 0.5	
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 25 sin 0 2 0 0.1 
	{
		map textures/hipshot_m8/grass_sprite.tga
		rgbGen const ( .12 .13 .14 )				
		depthWrite
		alphaFunc GE128		
	}	
}

textures/hipshot_m8/grass_mine
{
	qer_editorimage textures/hipshot_m8/ed/grass_sprite.tga
	q3map_lightimage textures/hipshot_m8/grass_sprite.tga
	qer_trans 1
	qer_alphafunc greater 0.5	
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 25 sin 0 2 0 0.1 
	{
		map textures/hipshot_m8/grass_sprite.tga
		rgbGen const ( .36 .28 .26 )				
		depthWrite
		alphaFunc GE128		
	}	
}

textures/hipshot_m8/grass_mine2
{
	qer_editorimage textures/hipshot_m8/ed/grass_mine2.tga
	q3map_lightimage textures/hipshot_m8/grass_sprite.tga
	qer_trans 1
	qer_alphafunc greater 0.5	
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 25 sin 0 2 0 0.1 
	{
		map textures/hipshot_m8/grass_sprite.tga
		rgbGen const ( .22 .17 .16 )				
		depthWrite
		alphaFunc GE128		
	}	
}

textures/hipshot_m8/grass_mine3
{
	qer_editorimage textures/hipshot_m8/ed/grass_mine3.tga
	q3map_lightimage textures/hipshot_m8/grass_sprite.tga
	qer_trans 1
	qer_alphafunc greater 0.5	
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap	
	cull none
	deformVertexes wave 25 sin 0 2 0 0.1 
	{
		map textures/hipshot_m8/grass_sprite.tga
		rgbGen const ( .13 .11 .1 )							
		depthWrite
		alphaFunc GE128		
	}	
}