textures/tq/blacksky25
{
	qer_editorimage textures/skies/blacksky.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	//surfaceparm sky
	//skyparms env/q3sky_red1 - -
	//skyparms env/kmnight - -
	//skyparms env/black - -
//	q3map_surfacelight 25
	q3map_lightsubdivide 512
	q3map_sun	0.3 0.3 1 100	270 60
	{
		map	gfx/colors/black.tga
	}
}

textures/tq/blacksky0
{
	qer_editorimage textures/skies/blacksky.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	//skyparms env/q3sky_red1 - -
	//skyparms env/kmnight - -
	//skyparms env/black - -
	{
		map	gfx/colors/black.tga
	}
}

textures/tq/light5_0
{
	qer_editorimage textures/base_light/light5.tga
	//light 1
	surfaceparm nomarks
	surfaceparm nolightmap
	q3map_backsplash 0 0
//	q3map_surfacelight 5000
	{
		map textures/base_light/light5.tga
		rgbGen identity
	}
//	{
//		map textures/base_light/light5.blend.tga
//		blendFunc GL_ONE GL_ONE
//	}
}

textures/tq/baslt4_1_0
{
	qer_editorimage textures/base_light/baslt4_1.tga
	surfaceparm nomarks
//	q3map_surfacelight 4000
	//light 1

	// New Fluorescent light
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/base_light/baslt4_1.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/base_light/baslt4_1.blend.tga
		blendfunc GL_ONE GL_ONE
	}
}

textures/tq/lt2_0
{
	qer_editorimage textures/base_light/light2.tga
//	light 1
	surfaceparm nomarks
//	q3map_surfacelight 8000
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/base_light/light2.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/base_light/light2.blend.tga
		rgbGen wave sin .6 .1 .1 .1
		blendFunc GL_ONE GL_ONE
	}
}

textures/tq/diamond2cjumppadNoLight
{
	qer_editorimage textures/sfx/bouncepad01_diamond2cTGA.tga
	//q3map_surfacelight 2000
	surfaceparm nodamage
	q3map_lightimage textures/sfx/jumppadsmall.tga	
//	q3map_surfacelight 500

	
	{
		map textures/sfx/bouncepad01_diamond2cTGA.tga
		rgbGen identity
	}
	
	{
		map $lightmap
		rgbGen identity
		blendfunc gl_dst_color gl_zero
	}
	
	{
		map textures/sfx/bouncepad01b_layer1.tga
		blendfunc gl_one gl_one
		rgbGen wave sin .5 .5 0 1.5	
	}

	{
		clampmap textures/sfx/jumppadsmall.tga
		blendfunc gl_one gl_one
		tcMod stretch sin 1.2 .8 0 1.5
		rgbGen wave square .5 .5 .25 1.5
	}

	//	END
}

textures/tq/bluejazz
{
	qer_editorimage textures/sfx/proto_zzztblu3.tga
	surfaceparm nolightmap
	cull twosided
	{
		map textures/sfx/proto_zzztblu3.tga
		tcGen environment
                tcMod turb 0 0.25 0 0.5
                tcmod scroll 1 1
		blendfunc GL_ONE GL_ONE
	}
}


textures/tq/tqbluesky
{
	qer_editorimage textures/tq/bluesky3
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_globaltexture
	q3map_lightsubdivide 256 
	q3map_sun	0.316383 0.324632 0.358662 150 60 80
	q3map_surfacelight 150

	skyparms - 512 -
	{
		map textures/tq/bluesky3.jpg
		tcMod scale 7 7
		tcMod scroll 0.02 0.05
		depthWrite
	}
	{
		map textures/tq/skyline1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		tcMod scale 5 5
 		tcMod scroll 0.03 0.06
	}
}

textures/tq/tqSunlight
{
	qer_editorimage textures/tq/bluesky3
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_lightsubdivide 512
	q3map_sun	0.8 0.9 1 200	270 60
	skyparms - 512 -
//	q3map_surfacelight 150
	{
		map textures/tq/bluesky3.jpg
		tcMod scale 7 7
		tcMod scroll 0.02 0.05
		depthWrite
	}
	{
		map textures/tq/skyline1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		tcMod scale 5 5
 		tcMod scroll 0.03 0.06
	}
}


textures/tq/BlacktqSunlight
{
	qer_editorimage textures/skies/blacksky.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_lightsubdivide 512
	q3map_sun	0.8 0.9 1 200	270 60
	skyparms - 512 -
	{
		map	gfx/colors/black.tga
	}
}

 
tq/tqaim
{

	cull disable
	{
		clampmap sprites/tqaimc.tga
		blendfunc GL_ONE GL_ONE
	}


	cull disable
	{
		map sprites/tqaim.tga
		blendfunc GL_ONE GL_ONE
                tcMod rotate 200
	}


	cull disable
	{
		map sprites/tqaim.tga
		blendfunc GL_ONE GL_ONE
                tcMod rotate 240
	}


	cull disable
	{
		map sprites/tqaim.tga
		blendfunc GL_ONE GL_ONE
                tcMod rotate 280
	}


	cull disable
	{
		map sprites/tqaim.tga
		blendfunc GL_ONE GL_ONE
                tcMod rotate 320
	}


	cull disable
	{
		map sprites/tqaim.tga
		blendfunc GL_ONE GL_ONE
                tcMod rotate 360
	}

}

textures/tq/bounce_largeblock3b
{
	qer_editorimage textures/sfx/bounce_largeblock3b.tga

	//q3map_surfacelight 2000
	surfaceparm nodamage
	q3map_lightimage textures/sfx/jumppadsmall.tga	

	
	{
		map textures/sfx/bounce_largeblock3b.tga
		rgbGen identity
	}
	
	{
		map $lightmap
		rgbGen identity
		blendfunc gl_dst_color gl_zero
	}
	
	{
		map textures/sfx/bouncepad01b_layer1.tga
		blendfunc gl_one gl_one
		rgbGen wave sin .5 .5 0 1.5	
	}

	{
		clampmap textures/sfx/jumppadsmall.tga
		blendfunc gl_one gl_one
		tcMod stretch sin 1.2 .8 0 1.5
		rgbGen wave square .5 .5 .25 1.5
	}

	//	END
}



textures/tq/water1

//	*********************************************************
//	*      Large clear ripple water. Created September 9	*
//	*********************************************************
	
	{
		qer_editorimage textures/liquids/pool3d_3.tga
//		qer_trans .4
		q3map_globaltexture
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water

		cull disable
//		deformVertexes wave 64 sin .5 .5 0 .5	
		{ 
			map textures/liquids/pool3d_5.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 -.05 .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		
		}
//	END
	}




textures/tq/stonepad
{
	qer_editorimage textures/sfx/bouncepad01b_layer1.tga
	//q3map_surfacelight 2000
	surfaceparm nodamage
	q3map_lightimage textures/sfx/jumppadsmall.tga	
//	q3map_surfacelight 500

	
	{
		map textures/stone/rockwall.jpg
		rgbGen identity
	}
	
	{
		map $lightmap
		rgbGen identity
		blendfunc gl_dst_color gl_zero
	}
	
	{
		map textures/sfx/bouncepad01b_layer1.tga
		blendfunc gl_one gl_one
		rgbGen wave sin .5 .5 0 1.5	
	}

	{
		clampmap textures/sfx/jumppadsmall.tga
		blendfunc gl_one gl_one
		tcMod stretch sin 1.2 .8 0 1.5
		rgbGen wave square .5 .5 .25 1.5
	}

	//	END
}




textures/tq/bluepad
{
	qer_editorimage textures/sfx/bouncepad01b_layer1.tga
	//q3map_surfacelight 2000
	surfaceparm nodamage
	q3map_lightimage textures/sfx/jumppadsmall.tga	
//	q3map_surfacelight 500

	
	{
		map textures/tq/bluemetfloor.jpg
		rgbGen identity
	}
	{
		map textures/sfx/bouncepad01b_layer1.tga
		blendfunc gl_one gl_one
		rgbGen wave sin .5 .5 0 1.5	
	}

	{
		map textures/sfx/jumppadsmall.tga
		blendfunc gl_one gl_one
		tcMod stretch sin 1.2 .8 0 1.5
		rgbGen wave square .5 .5 .25 1.5
	}
	
	{
		map $lightmap
		rgbGen identity
		blendfunc gl_dst_color gl_zero
	}
	

	//	END
}



textures/tq/CTFblueDOWNsun
{
	qer_editorimage textures/skies/blacksky.tga
	surfaceparm noimpact
	surfaceparm nolightmap
  	q3map_lightsubdivide 512
	q3map_sun	1 1 1 100	270 60
//	skyparms - 512 -
	{
		map	textures/skies/blacksky.tga
	}
}


textures/tq/CTFblueUPsun
{
	qer_editorimage textures/tq/bluelite.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_lightsubdivide 2048
//	q3map_sun	0.5 0.6 1 100	270 -60
	q3map_surfacelight 1500
//	skyparms - 512 -
	{
		map	textures/skies/blacksky.tga
	}
}



textures/tq/redpad
{
	qer_editorimage textures/sfx/bouncepad01b_layer1.tga
	//q3map_surfacelight 2000
	surfaceparm nodamage
	q3map_lightimage textures/sfx/jumppadsmall.tga	
//	q3map_surfacelight 500

	
	{
		map textures/tq/redmetfloor.jpg
		rgbGen identity
	}
	{
		map textures/sfx/bouncepad01b_layer1.tga
		blendfunc gl_one gl_one
		rgbGen wave sin .5 .5 0 1.5	
	}

	{
		map textures/sfx/jumppadsmall.tga
		blendfunc gl_one gl_one
		tcMod stretch sin 1.2 .8 0 1.5
		rgbGen wave square .5 .5 .25 1.5
	}
	
	{
		map $lightmap
		rgbGen identity
		blendfunc gl_dst_color gl_zero
	}
	

	//	END
}



textures/tq/CTFredDOWNsun
{
	qer_editorimage textures/skies/blacksky.tga
	surfaceparm noimpact
	surfaceparm nolightmap
  	q3map_lightsubdivide 512
	q3map_sun	1 1 1 100	270 60
//	skyparms - 512 -
	{
		map	textures/skies/blacksky.tga
	}
}


textures/tq/CTFredUPsun
{
	qer_editorimage textures/tq/redlite.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_lightsubdivide 2048
//	q3map_sun	0.5 0.6 1 100	270 -60
	q3map_surfacelight 1500
//	skyparms - 512 -
	{
		map	textures/skies/blacksky.tga
	}
}
