textures/jec_ground/SandToGrass
{
      {
            map textures/jec_ground/jec_grass_sand_flat.tga
      }
      {
            map textures/jec_ground/A_Grass_1.tga
            blendFunc blend
            alphaGen vertex
      }
      {
            map $lightmap
            blendFunc GL_DST_COLOR GL_ZERO
            rgbGen identity
      }   
}

//Fueldump Sky I changed some things
textures/mission_critical_zone/jec_sky
{
	//skyparms textures/shaderlab_1337/env/sky 1024 -	
	skyparms - 200 -

	q3map_lightImage textures/mission_critical_zone/jec_sky.tga

	//*** VARIABLES START ***

	// DEFAULT QUAKE III KEYWORDS
	//q3map_sun 1 1 1 140 -35 25
	//q3map_lightSubdivide 256
	//q3map_surfaceLight 200

	// Q3MAP2 KEYWORDS

	q3map_sunExt 1 1 1 130 -45 20 3 16
	q3map_lightmapFilterRadius 0 8
	q3map_skyLight 80 5

	//*** VARIABLES END ***

	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nodlight

	nopicmip
	nomipmaps

	qer_editorimage textures/mission_critical_zone/jec_sky.tga
	
	{
		map textures/mission_critical_zone/jec_sky.tga
		tcMod scale 2 1
		tcMod scroll 0.0080 0.000
		rgbGen identityLighting
	}
	{
		map textures/mission_critical_zone/jec_sky.tga
		blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
		tcMod transform 0.25 0 0 0.25 0.1075 0.1075
		rgbGen identityLighting
	}
}

//END OF SKY SHADER

textures/mission_critical_zone/jecsflame1
{
	qer_editorimage textures/mission_critical_zone/flame1_cdm.tga
	//q3map_surfacelight 1482
	cull none
	nofog
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	{
		animMap 10 textures/mission_critical_zone/flame1_cdm.tga textures/mission_critical_zone/flame2_cdm.tga textures/mission_critical_zone/flame3_cdm.tga textures/mission_critical_zone/flame4_cdm.tga textures/mission_critical_zone/flame5_cdm.tga textures/mission_critical_zone/flame6_cdm.tga textures/mission_critical_zone/flame7_cdm.tga textures/mission_critical_zone/flame8_cdm.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}
	{
		animMap 10 textures/mission_critical_zone/flame2_cdm.tga textures/mission_critical_zone/flame3_cdm.tga textures/mission_critical_zone/flame4_cdm.tga textures/mission_critical_zone/flame5_cdm.tga textures/mission_critical_zone/flame6_cdm.tga textures/mission_critical_zone/flame7_cdm.tga textures/mission_critical_zone/flame8_cdm.tga textures/mission_critical_zone/flame1_cdm.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/mission_critical_zone/flameball_cdm.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6
	}
}

//END

//My Chain
textures/mission_critical_zone/jec_chain
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

//My tire
textures/mission_critical_zone/jec_tire_1
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

//END

//Water Shaders

textures/mission_critical_zone/jec_watercalm

//Clear Water		
		{
		qer_editorimage textures/mission_critical_zone/pool3d_3c.tga
		qer_trans .5
		q3map_globaltexture
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water
		nofog
		cull disable
		
		{ 
		fog on
			map textures/mission_critical_zone/pool3d_5c.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
		}
	
		{ 
		fog on
			map textures/mission_critical_zone/pool3d_6c.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/mission_critical_zone/pool3d_3c.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		
		}
	}

//bubbles Clear
textures/mission_critical_zone/jec_bubbles

		{
		qer_editorimage textures/mission_critical_zone/jec_bubbles.tga
		qer_trans .95
		q3map_globaltexture
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water	
		nofog
		cull disable
		
		{ 
		fog on
			map textures/mission_critical_zone/jec_bubbles.tga
			blendFunc GL_dst_color GL_one
			rgbgen identity
			tcmod scroll -.5 .25
		}
	
		{ 
		fog on
			map textures/mission_critical_zone/jec_bubbles.tga
			blendFunc GL_dst_color GL_one
			rgbgen identity
			tcmod scroll .25 -.15
		}

		{ 
		fog on
			map textures/mission_critical_zone/jec_bubbles.tga
			blendFunc GL_dst_color GL_one
			rgbgen identity
			tcmod scroll -.25 .75
		}

		{ 
			map textures/mission_critical_zone/jec_bubbles.tga
			blendFunc GL_dst_color GL_one
			rgbgen identity
			tcmod scroll .001 .25

		}
	
		{
			map $lightmap
			blendFunc GL_dst_color GL_zero
			rgbgen identity		
		}
	}

//Mist
textures/mission_critical_zone/jec_mist

		{
		qer_editorimage textures/mission_critical_zone/jec_foggy.tga
		qer_trans .5
		q3map_globaltexture
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water
		nofog
		cull disable
		
		{ 
		fog on
			map textures/mission_critical_zone/jec_foggy.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
		}
	
		{ 
		fog on
			map textures/mission_critical_zone/jec_foggy.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/mission_critical_zone/jec_foggy.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

//My Mote Water
textures/mission_critical_zone/jec_watermote
{
	qer_editorimage textures/mission_critical_zone/jec_water21.tga
	qer_trans .5
	q3map_globaltexture
	cull disable
	deformVertexes wave 160 sin 0 10 0 .3
	nofog
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm water
	tesssize 512
	waterfogvars ( 0.1 0.1 0.1 ) 512
	{
		map textures/mission_critical_zone/jec_water21.tga
		rgbgen wave sin .4 0 0 .5
		tcmod scale .2 .1
		tcmod scroll .03 .02
		fog on
	}
	{
		map textures/mission_critical_zone/jec_water21.tga
		blendFunc GL_src_alpha GL_ONE
		alphagen const .5
		tcmod scale .2 .2
		tcmod scroll -.03 -.02
	}
}

//	END

//**********************************************************************//
//
//	terrain_example.shader for Q3 by Sock
//	Website : http://www.planetquake.com/simland/
//
//**********************************************************************//
//


// ======================================================================
// Alpha blending without dotProduct2 and ivector
// ======================================================================
textures/mission_critical_zone/sand_to_grass
{
	qer_editorimage textures/mission_critical_zone/sand_to_grass.tga
	//q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
	q3map_clipModel
	q3map_forceMeta
	q3map_nonplanar 
	q3map_shadeAngle 120
	q3map_lightmapmergable
	surfaceparm landmine
	surfaceparm gravelsteps
	{ 
		map textures/mission_critical_zone/jec_grass_test_3.tga
		//tcGen vector ( 0 0.0009765625 0 ) ( 0 0 0.0009765625 )
		rgbGen identity 
	} 
	{ 
		map textures/mission_critical_zone/jec_sand_7_alpha.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE256
		rgbGen identity 
		alphaGen vertex
	} 
	{ 
		map $lightmap 
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	} 	
}

////////////////////

textures/mission_critical_zone/grass_to_sand
{
	qer_editorimage textures/mission_critical_zone/grass_to_sand.tga
	//q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
	q3map_clipModel
	q3map_forceMeta
	q3map_nonplanar 
	q3map_shadeAngle 120
	q3map_lightmapmergable
	surfaceparm landmine
	surfaceparm gravelsteps
	{ 
		map textures/mission_critical_zone/jec_sand_4.tga
		//tcGen vector ( 0 0.0009765625 0 ) ( 0 0 0.0009765625 )
		rgbGen identity 
	} 
	{ 
		map textures/mission_critical_zone/jec_grass_to_sand_alpha.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE256
		rgbGen identity 
		alphaGen vertex
	} 
	{ 
		map $lightmap 
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	} 	
}

//sand to rock
textures/mission_critical_zone/sand_to_rock
{
	qer_editorimage textures/mission_critical_zone/sand_to_rock.tga
	//q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
	q3map_clipModel
	q3map_forceMeta
	q3map_nonplanar 
	q3map_shadeAngle 120
	q3map_lightmapmergable
	surfaceparm landmine
	surfaceparm gravelsteps
	{ 
		map textures/mission_critical_zone/jec_sand_4.tga
		//tcGen vector ( 0 0.0009765625 0 ) ( 0 0 0.0009765625 )
		rgbGen identity 
	} 
	{ 
		map textures/mission_critical_zone/jec_sand_to_rock.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE256
		rgbGen identity 
		alphaGen vertex
	} 
	{ 
		map $lightmap 
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	} 	
}

//sand to rock
textures/jec_ground/sand_to_drksand
{
	qer_editorimage textures/jec_ground/sand_to_drksand.tga
	//q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
	q3map_clipModel
	q3map_forceMeta
	q3map_nonplanar 
	q3map_shadeAngle 120
	q3map_lightmapmergable
	surfaceparm landmine
	surfaceparm gravelsteps
	{ 
		map textures/mission_critical_zone/jec_sand_4.tga
		//tcGen vector ( 0 0.0009765625 0 ) ( 0 0 0.0009765625 )
		rgbGen identity 
	} 
	{ 
		map textures/jec_ground/jec_sand_wave_desert.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE256
		rgbGen identity 
		alphaGen vertex
	} 
	{ 
		map $lightmap 
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	} 	
}
// ======================================================================
// alpha fade shaders
// (c) 2004 randy reddig
// http://www.shaderlab.com
// distribution, in part or in whole, in any medium, permitted
// ======================================================================
//
// These shaders are not fixed to this directory location, they can
// be moved around. They exist here for convenience only.
//
textures/mission_critical_zone/alpha_000	// Primary texture ONLY
{
	q3map_alphaMod volume
	q3map_alphaMod set 0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/mission_critical_zone/alpha_025
{
	q3map_alphaMod volume
	q3map_alphaMod set 0.25
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/mission_critical_zone/alpha_035
{
	q3map_alphaMod volume
	q3map_alphaMod set 0.35
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/mission_critical_zone/alpha_050	// Perfect mix of both Primary + Secondary
{
	q3map_alphaMod volume
	q3map_alphaMod set 0.50
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/mission_critical_zone/alpha_075
{
	q3map_alphaMod volume
	q3map_alphaMod set 0.75
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/mission_critical_zone/alpha_085
{
	q3map_alphaMod volume
	q3map_alphaMod set 0.85
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/mission_critical_zone/alpha_100	// Secondary texture ONLY
{
	q3map_alphaMod volume
	q3map_alphaMod set 1.0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

// Jec Texture Shaders

//--------------------------
// PHONG Shaders
//--------------------------
textures/mission_critical_zone/A_rock
{
 	q3map_nonplanar
 	q3map_shadeangle 60
 	qer_editorimage textures/mission_critical_zone/A_rock.tga
 	{
 		map $lightmap
 		rgbGen identity
 	}
 	{
 		map textures/mission_critical_zone/A_rock.tga
 		blendFunc filter
 	}
 }

textures/mission_critical_zone/rock_to_dirt
{
 	q3map_nonplanar
 	q3map_shadeangle 60
 	qer_editorimage textures/mission_critical_zone/rock_to_dirt.tga
 	{
 		map $lightmap
 		rgbGen identity
 	}
 	{
 		map textures/mission_critical_zone/rock_to_dirt.tga
 		blendFunc filter
 	}
 }

textures/mission_critical_zone/jec_sand_7_alpha
{
	surfaceparm gravelsteps
 	q3map_nonplanar
 	q3map_shadeangle 60
 	qer_editorimage textures/mission_critical_zone/jec_sand_7_alpha.tga
 	{
 		map $lightmap
 		rgbGen identity
 	}
 	{
 		map textures/mission_critical_zone/jec_sand_7_alpha.tga
 		blendFunc filter
 	}
 }

textures/mission_critical_zone/jec_sand_7
{
	surfaceparm gravelsteps
 	q3map_nonplanar
 	q3map_shadeangle 60
 	qer_editorimage textures/mission_critical_zone/jec_sand_7.tga
 	{
 		map $lightmap
 		rgbGen identity
 	}
 	{
 		map textures/mission_critical_zone/jec_sand_7.tga
 		blendFunc filter
 	}
 }

textures/mission_critical_zone/jec_grass_test_3
{
 	q3map_nonplanar
 	q3map_shadeangle 60
 	qer_editorimage textures/mission_critical_zone/jec_grass_test_3.tga
 	{
 		map $lightmap
 		rgbGen identity
 	}
 	{
 		map textures/mission_critical_zone/jec_grass_test_3.tga
 		blendFunc filter
 	}
 }

textures/mission_critical_zone/jec_grass_test_9
{
 	q3map_nonplanar
 	q3map_shadeangle 60
 	qer_editorimage textures/mission_critical_zone/jec_grass_test_9.jpg
 	{
 		map $lightmap
 		rgbGen identity
 	}
 	{
 		map textures/mission_critical_zone/jec_grass_test_9.jpg
 		blendFunc filter
 	}
 }

textures/mission_critical_zone/rock_grayvar
{
 	q3map_nonplanar
 	q3map_shadeangle 60
 	qer_editorimage textures/mission_critical_zone/rock_grayvar.tga
 	{
 		map $lightmap
 		rgbGen identity
 	}
 	{
 		map textures/mission_critical_zone/rock_grayvar.tga
 		blendFunc filter
 	}
 }

//textures/mission_critical_zone/floor_c04c
//{
// 	q3map_nonplanar
// 	q3map_shadeangle 60
// 	qer_editorimage textures/mission_critical_zone/floor_c04c.tga
// 	{
// 		map $lightmap
// 		rgbGen identity
// 	}
// 	{
// 		map textures/mission_critical_zone/floor_c04c.tga
// 		blendFunc filter
// 	}
// }

// END

//Set surfaceparms
textures/mission_critical_zone/rock_to_dirt
{
	qer_editorimage textures/mission_critical_zone/rock_to_dirt.jpg
	surfaceparm gravelsteps
	implicitmap textures/mission_critical_zone/rock_to_dirt.jpg
}

textures/mission_critical_zone/jec_sand_7_alpha
{
	qer_editorimage textures/mission_critical_zone/jec_sand_7_alpha.tga
	surfaceparm gravelsteps
	implicitmap textures/mission_critical_zone/jec_sand_7_alpha.tga
}

textures/mission_critical_zone/jec_sand_4
{
	qer_editorimage textures/mission_critical_zone/jec_sand_4.tga
	surfaceparm gravelsteps
	implicitmap textures/mission_critical_zone/jec_sand_4.tga
}

textures/mission_critical_zone/jec_grass_test_3
{
	qer_editorimage textures/mission_critical_zone/jec_grass_test_3.tga
	surfaceparm gravelsteps
	implicitmap textures/mission_critical_zone/jec_grass_test_3.tga
}

textures/mission_critical_zone/jec_sand_7
{
	qer_editorimage textures/mission_critical_zone/jec_sand_7.tga
	surfaceparm gravelsteps
	implicitmap textures/mission_critical_zone/jec_sand_7.tga
}

textures/mission_critical_zone/jec_grass_test_5
{
	qer_editorimage textures/mission_critical_zone/jec_grass_test_5.jpg
	surfaceparm grasssteps
	implicitmap textures/mission_critical_zone/jec_grass_test_5.jpg
}
textures/mission_critical_zone/bridgewood_01
{
	qer_editorimage textures/mission_critical_zone/bridgewood_01.jpg
	surfaceparm woodsteps
	implicitmap textures/mission_critical_zone/bridgewood_01.jpg
}
textures/mission_critical_zone/logs1
{
	qer_editorimage textures/mission_critical_zone/logs1.jpg
	surfaceparm woodsteps
	implicitmap textures/mission_critical_zone/logs1.jpg
}

//END

//Castle Floor

textures/mission_critical_zone/jecSP_floormarble
{
	qer_editorimage textures/mission_critical_zone/jecSP_floormarble.jpg
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jecSP_floormarble.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/envmap_gold_c1.tga
		blendFunc GL_ONE GL_ONE
		tcMod Scale 1.2 1.2  
		tcGen environment
	}
}

textures/mission_critical_zone/jec_brwn6_marble
{
	qer_editorimage textures/mission_critical_zone/jec_brwn6_marble.jpg
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_brwn6_marble.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/envmap_gold_c1.tga
		blendFunc GL_ONE GL_ONE
		tcMod Scale 1.2 1.2  
		tcGen environment
	}
}

textures/mission_critical_zone/jec_brwht_marble
{
	qer_editorimage textures/mission_critical_zone/jec_brwht_marble.jpg
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_brwht_marble.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/envmap_gold_c1.tga
		blendFunc GL_ONE GL_ONE
		tcMod Scale 1.2 1.2  
		tcGen environment
	}
}

textures/mission_critical_zone/jec_brwn10_marble
{
	qer_editorimage textures/mission_critical_zone/jec_brwn10_marble.jpg
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_brwn10_marble.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/envmap_gold_c1.tga
		blendFunc GL_ONE GL_ONE
		tcMod Scale 1.2 1.2  
		tcGen environment
	}
}

textures/mission_critical_zone/jec_white_toilet
{
	qer_editorimage textures/mission_critical_zone/jec_white_toilet.jpg
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_white_toilet.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/envmap_gold_c1.tga
		blendFunc GL_ONE GL_ONE
		tcMod Scale 1.2 1.2  
		tcGen environment
	}
}

//Metal Shaders

//Brass
textures/mission_critical_zone/boreal_poli_pti1
	{
	surfaceparm metalsteps
	{
		map textures/mission_critical_zone/jectinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/mission_critical_zone/boreal_poli_pti1.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

//Brass with hex
textures/mission_critical_zone/boreal_poli_pti1hex
	{
	surfaceparm metalsteps
	{
		map textures/mission_critical_zone/jectinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/mission_critical_zone/boreal_poli_pti1hex.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

//Brass 2
textures/mission_critical_zone/jec_brass
	{
	surfaceparm metalsteps
	{
		map textures/mission_critical_zone/jectinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/mission_critical_zone/jec_brass.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

//Bronze
textures/mission_critical_zone/jec_bronze_pti1
	{
	surfaceparm metalsteps
	{
		map textures/mission_critical_zone/jectinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/mission_critical_zone/jec_bronze_pti1.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

//Aluminum
textures/mission_critical_zone/jec_alu_pti1
	{
	surfaceparm metalsteps
	{
		map textures/mission_critical_zone/jectinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/mission_critical_zone/jec_alu_pti1.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

//Aluminum Hanger
textures/mission_critical_zone/metal_c06_lt
	{
	surfaceparm metalsteps
	{
		map textures/mission_critical_zone/tinfx5.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/mission_critical_zone/metal_c06_lt.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

//Gold_Diamond
textures/mission_critical_zone/gold_Diamond4
	{
	surfaceparm metalsteps
	{
		map textures/mission_critical_zone/jectinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/mission_critical_zone/gold_Diamond4.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

//end texture shaders

//search light shader

textures/mission_critical_zone/rad
{
     	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}




textures/mission_critical_zone/tarn2
{
        
        cull none
        {
        map textures/mission_critical_zone/tarn2.tga
        }
 
}


textures/mission_critical_zone/werfer2
{
        
        cull none
        {
        map textures/mission_critical_zone/werfer2.tga
        }
 
}

textures/mission_critical_zone/wurf

{
       qer_editorimage textures/mission_critical_zone/wurf.tga
       surfaceparm nodamage
       surfaceparm nomarks
       qer_trans	0.5
       surfaceparm nonsolid
       surfaceparm trans
 
       cull none
    {
       map textures/mission_critical_zone/wurf.tga
       blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
       tcMod scroll  0.1 0
    } 
    {
       map textures/mission_critical_zone/wurf.tga
       blendFunc GL_ONE GL_ONE 
       tcMod scroll  -0.05 0
    } 
}


textures/mission_critical_zone/werfer
{
 qer_trans 0.50
 surfaceparm clipmissile
 surfaceparm nomarks
 surfaceparm alphashadow
 surfaceparm playerclip
 surfaceparm metalsteps
 surfaceparm pointlight
 surfaceparm trans


    {
        map textures/mission_critical_zone/werfer.tga   
        blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
    }
    {
        map textures/mission_critical_zone/wersch.tga
        blendFunc GL_ONE GL_ONE
        tcGen environment
    }
}

textures/mission_critical_zone/chrom
{
 
    {
        map textures/mission_critical_zone/chrom.tga      
    }
    {
        map textures/mission_critical_zone/truelight.tga
        blendFunc GL_ONE GL_ONE
        tcGen environment
    }
}

// RED LIGHT

textures/mission_critical_zone/jec_red
{
	qer_editorimage textures/mission_critical_zone/jec_red.tga
	q3map_lightimage textures/mission_critical_zone/jec_red.tga
	q3map_lightsubdivide 128
	q3map_surfacelight 1000
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_red.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen wave sin 1 .1 0 7
	}
}

textures/mission_critical_zone/red_werfer
{
 qer_trans 0.50
 surfaceparm clipmissile
 surfaceparm nomarks
 surfaceparm alphashadow
 surfaceparm playerclip
 surfaceparm metalsteps
 surfaceparm pointlight
 surfaceparm trans


    {
        map textures/mission_critical_zone/red_werfer.tga   
        blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
    }
    {
        map textures/mission_critical_zone/red_wersch.tga
        blendFunc GL_ONE GL_ONE
        tcGen environment
    }
}

textures/mission_critical_zone/red_chrom
{
 
    {
        map textures/mission_critical_zone/red_chrom.tga      
    }
    {
        map textures/mission_critical_zone/truelight.tga
        blendFunc GL_ONE GL_ONE
        tcGen environment
    }
}

textures/mission_critical_zone/red_wurf

{
	qer_editorimage textures/mission_critical_zone/red_wurf.tga
	surfaceparm nodamage
	surfaceparm nomarks
	qer_trans	0.5
	surfaceparm nonsolid
	surfaceparm trans
 
       cull none
    {
       map textures/mission_critical_zone/red_wurf.tga
       blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
       tcMod scroll  0.1 0
    } 
    {
       map textures/mission_critical_zone/red_wurf.tga
       blendFunc GL_ONE GL_ONE 
       tcMod scroll  -0.05 0
    } 
}

//jec modified light texture red

textures/mission_critical_zone/jec_light_m25r
{
	qer_editorimage textures/mission_critical_zone/jec_light_m25r.tga
	q3map_lightimage textures/mission_critical_zone/jec_light_m25r.tga
	q3map_surfacelight 8000
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_light_m25r.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_light_m25r.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/mission_critical_zone/jec_light_m6_bwhite
{
	qer_editorimage textures/mission_critical_zone/jec_light_m6.tga
	q3map_lightimage textures/mission_critical_zone/jec_light_m6.blend.tga
	q3map_surfacelight 5000
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_light_m6.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/mission_critical_zone/jec_light_m6.blend.tga
		blendFunc GL_ONE GL_ONE
	}
}

//eriks portal

textures/mission_critical_zone/eriks_portal
{
	qer_editorimage textures/mission_critical_zone/eriks_portal.jpg
	surfaceparm playerclip
	surfaceparm nolightmap
	portal
	{
		map textures/mission_critical_zone/eriks_portal.jpg
 		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
		alphaGen portal 1024
        }
}

//eriks portal jec

textures/mission_critical_zone/eriks_portal_jec
{
	qer_editorimage textures/mission_critical_zone/eriks_portal_jec.jpg
	qer_trans .5
	q3map_globaltexture
	deformVertexes wave 160 sin 0 3 0 .2
	//surfaceparm playerclip
//	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nolightmap
//	surfaceparm nomarks
	surfaceparm water
	portal
	{
		map textures/mission_critical_zone/eriks_portal_jec.jpg
 		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
//		rgbgen wave sin .1 0 0 .2
//		tcmod scale .1 .1
//		tcmod scroll .01 .01
		depthWrite
		alphaGen portal 1024
        }
}

textures/mission_critical_zone/jec_watercalm_portal

//Clear Water		
		{
		qer_editorimage textures/mission_critical_zone/pool3d_3c.tga
		qer_trans .5
		q3map_globaltexture
		deformVertexes wave 160 sin 0 .3 0 .2 //test
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm water
		nofog
//		cull disable

	portal
	{
		map textures/mission_critical_zone/eriks_portal_jec.jpg
 		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
//			rgbgen identity
//			tcmod scale .5 .5
//			tcmod transform 1.5 0 1.5 1 1 2
//			tcmod scroll -.05 .001
		depthWrite
		alphaGen portal 1024
        }

		
		{ 
		fog on
			map textures/mission_critical_zone/pool3d_5c.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
		}
	
		{ 
		fog on
			map textures/mission_critical_zone/pool3d_6c.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/mission_critical_zone/pool3d_3c.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

//////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
//Detoenis Models Shader
////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////

models/mapobjects/dt_aa_mm/dt_aatool
{
	qer_editorimage models/mapobjects/dt_aa_mm/dt_aatool.tga
	surfaceparm nomarks
	{
			map textures/effects/envmap_slate_90.tga
	         	rgbGen vertex
	         	tcGen environment
	}
	{
	         	map models/mapobjects/dt_aa_mm/dt_aatool.tga
	         	blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         	rgbGen vertex
	}
}

models/mapobjects/dt_aa_mm/dt_aatool_alpha
{
	qer_editorimage models/mapobjects/dt_aa_mm/dt_aatool.tga
	nopicmip
	nomipmap
	surfaceparm nomarks
	cull twosided
	implicitMask models/mapobjects/dt_aa_mm/dt_aatool.tga
}
models/mapobjects/dt_aa_mm/dt_whl_alp
{
	qer_editorimage models/mapobjects/dt_aa_mm/dt_whl.tga
	nopicmip
	nomipmap
	surfaceparm nomarks
	implicitMask models/mapobjects/dt_aa_mm/dt_whl.tga
}
models/mapobjects/dt_aa_mm/dt_whl
{
	qer_editorimage models/mapobjects/dt_aa_mm/dt_whl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_aa_mm/dt_whl.tga
}

models/mapobjects/dt_aa_mm/dt_shell
{
	qer_editorimage models/mapobjects/dt_aa_mm/dt_shell.tga
	surfaceparm nomarks
	{
			map textures/effects/envmap_slate_90.tga
	         	rgbGen vertex
	         	tcGen environment
	}
	{
	         	map models/mapobjects/dt_aa_mm/dt_shell.tga
	         	blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         	rgbGen vertex

	}
}
models/mapobjects/dt_aa_mm/dt_safe
{
	qer_editorimage models/mapobjects/dt_aa_mm/dt_safe.tga
	surfaceparm nomarks
	{
			map textures/effects/tinfx.tga
	         	rgbGen lightingdiffuse
	         	tcGen environment
	}
	{
	         	map models/mapobjects/dt_aa_mm/dt_safe.tga
	         	blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         	rgbGen lightingdiffuse
	}
}
models/mapobjects/dt_aa_mm/dt_objectives
{
	qer_editorimage models/mapobjects/dt_aa_mm/dt_objectives.tga
	surfaceparm nomarks
	{
			map textures/effects/tinfx.tga
	         	rgbGen lightingdiffuse
	         	tcGen environment
	}
	{
	         	map models/mapobjects/dt_aa_mm/dt_objectives.tga
	         	blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         	rgbGen lightingdiffuse
	}
}
models/mapobjects/dt_aa_mm/aa_blotter_gloss
{
	qer_editorimage models/mapobjects/dt_aa_mm/aa_blotter.tga
	surfaceparm nomarks
	{
			map textures/effects/tinfx.tga
	         	rgbGen vertex
	         	tcGen environment
	}
	{
	         	map models/mapobjects/dt_aa_mm/aa_blotter.tga
	         	blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         	rgbGen vertex
	}
}
models/mapobjects/dt_aa_mm/aa_blotter_alpha
{
	qer_editorimage models/mapobjects/dt_aa_mm/aa_blotter.tga
	qer_alphafunc greater 0.5
	nopicmip
	nomipmap
	surfaceparm nomarks
	implicitMask models/mapobjects/dt_aa_mm/aa_blotter.tga
}
models/mapobjects/dt_aa_mm/aa_blotter
{
	qer_editorimage models/mapobjects/dt_aa_mm/aa_blotter.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_aa_mm/aa_blotter.tga
}
models/mapobjects/dt_aa_mm/light_grill
{
	qer_editorimage models/mapobjects/dt_aa_mm/light_grill.tga
	qer_alphafunc greater 0.5
	nomipmaps
	nopicmip
	surfaceparm nomarks
	implicitMask models/mapobjects/dt_aa_mm/light_grill.tga
}
models/mapobjects/dt_aa_mm/bulkhead
{
	qer_editorimage models/mapobjects/dt_aa_mm/bulkhead.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_aa_mm/bulkhead.tga
}
models/mapobjects/dt_aa_mm/light_nl
{
	qer_editorimage models/mapobjects/dt_aa_mm/light_nl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_aa_mm/light_nl.tga
}
models/mapobjects/dt_aa_mm/swing_light_nl
{
	qer_editorimage models/mapobjects/dt_aa_mm/light_nl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_aa_mm/light_nl.tga
}

models/mapobjects/dt_aa_mm/light_l
{
	q3map_editorimage models/mapobjects/dt_aa_mm/light_l.tga
	q3map_lightimage models/mapobjects/dt_aa_mm/light_l_blend.tga
	q3map_backSplash 2 23
	q3map_surfacelight  80000
	surfaceparm nomarks
	{
		map models/mapobjects/dt_aa_mm/light_l.tga
		rgbGen vertex
	}
	{
		map models/mapobjects/dt_aa_mm/light_l_blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}
models/mapobjects/dt_aa_mm/swing_light
{
	q3map_editorimage models/mapobjects/dt_aa_mm/light_l.tga
	q3map_lightimage models/mapobjects/dt_aa_mm/light_l_blend.tga
	q3map_backSplash 2 12
	q3map_surfacelight  20000
	surfaceparm nomarks
	{
		map models/mapobjects/dt_aa_mm/light_l.tga
		rgbGen vertex
	}
	{
		map models/mapobjects/dt_aa_mm/light_l_blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}

models/mapobjects/dt_aa_mm/search_light
{
	q3map_editorimage models/mapobjects/dt_aa_mm/search_light.tga
	q3map_lightimage models/mapobjects/dt_aa_mm/search_light_blend.tga
	q3map_surfacelight  5000
	surfaceparm nomarks
	{
		map models/mapobjects/dt_aa_mm/search_light.tga
		rgbGen vertex
	}
	{
		map models/mapobjects/dt_aa_mm/search_light_blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}
models/mapobjects/dt_aa_mm/spot_light
{
	q3map_editorimage models/mapobjects/dt_aa_mm/spot_light.tga
	q3map_lightimage models/mapobjects/dt_aa_mm/spot_light_blend.tga
	q3map_surfacelight  5000
	surfaceparm nomarks
	{
		map models/mapobjects/dt_aa_mm/spot_light.tga
		rgbGen vertex
	}
	{
		map models/mapobjects/dt_aa_mm/spot_light_blend.tga
		blendfunc GL_ONE GL_ONE
		rgbGen identity
	}
}
//END Shader

//Halftrack

models/mapobjects/dt_m3_halftrack/dt_aaht
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_d_rim
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_d_rim.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_d_rim.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_d_whl
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_d_whl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_d_whl.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_r_rim
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_r_rim.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_r_rim.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_r_whl
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_r_whl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_r_whl.tga
}
models/mapobjects/dt_m3_halftrack/ht_tread
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/ht_tread.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/ht_tread.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_tread
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_tread.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_tread.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_whl
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_whl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_whl.tga
}
////
models/mapobjects/dt_m3_halftrack/dt_aaht_sn
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_sn.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_sn.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_sn_d_rim
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_sn_d_rim.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_sn_d_rim.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_sn_d_whl
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_sn_d_whl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_sn_d_whl.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_sn_r_rim
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_sn_r_rim.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_sn_r_rim.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_sn_r_whl
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_sn_r_whl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_sn_r_whl.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_sn_track
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_sn_track.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_sn_track.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_sn_tread
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_sn_tread.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_sn_tread.tga
}
models/mapobjects/dt_m3_halftrack/dt_aaht_sn_whl
{
	qer_editorimage models/mapobjects/dt_m3_halftrack/dt_aaht_sn_whl.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m3_halftrack/dt_aaht_sn_whl.tga
}

//Sherman


models/mapobjects/dt_m4_sherman/dt_aam4
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_nc
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4.tga
	surfaceparm nomarks
	cull disable
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_dr
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_dr.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_dr.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_drw
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_drw.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_drw.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_dw
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_dw.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_dw.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_rr
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_rr.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_rr.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_rw
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_rw.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_rw.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_trk
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_trk.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_trk.tga
}
///
models/mapobjects/dt_m4_sherman/dt_aam4_sn
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_sn.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_sn.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_sn_nc
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_sn.tga
	surfaceparm nomarks
	cull disable
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_sn.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_sn_dr
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_sn_dr.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_sn_dr.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_sn_drw
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_sn_drw.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_sn_drw.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_sn_dw
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_sn_dw.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_sn_dw.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_sn_rr
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_sn_rr.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_sn_rr.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_sn_rw
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_sn_rw.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_sn_rw.tga
}
models/mapobjects/dt_m4_sherman/dt_aam4_sn_trk
{
	qer_editorimage models/mapobjects/dt_m4_sherman/dt_aam4_sn_trk.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_m4_sherman/dt_aam4_sn_trk.tga
}

//dt_jeep shader
//last edited by Detoeni 10.10.2004
//*****IMPORTANT***********
//MAKE NO CHANGES TO THIS FILE!!!!!!!!!
//NOT EVEN ONE!!!!!!!!!!!!!!

models/mapobjects/dt_jeep/dt_jeep_body
{
	qer_editorimage models/mapobjects/dt_jeep/dt_jeep_body.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_jeep/dt_jeep_body.tga
}
models/mapobjects/dt_jeep/dt_jeep_body_alpha
{
	qer_editorimage models/mapobjects/dt_jeep/dt_jeep_body.tga
	surfaceparm nomarks
	implicitMask models/mapobjects/dt_jeep/dt_jeep_body.tga
}
models/mapobjects/dt_jeep/dt_jeep_top
{
	qer_editorimage models/mapobjects/dt_jeep/dt_jeep_top.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_jeep/dt_jeep_top.tga
}
models/mapobjects/dt_jeep/dt_jeep_glass
{
	qer_editorimage models/mapobjects/dt_jeep/dt_jeep_glass.tga
	surfaceparm trans
	cull disable
	{
		map models/mapobjects/dt_jeep/dt_jeep_glass.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}

//WP_222
models/mapobjects/wp_222/wp_222body
{
	qer_editorimage models/mapobjects/wp_222/wp_222body.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/wp_222/wp_222body.tga
}

models/mapobjects/wp_222/wp_222turret
{
	qer_editorimage models/mapobjects/wp_222/wp_222turret.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/wp_222/wp_222turret.tga
}

models/mapobjects/wp_222/wp_222turret_alpha
{
	qer_editorimage models/mapobjects/wp_222/wp_222turret.tga
	nopicmip
	nomipmap
	surfaceparm nomarks
	cull twosided
	implicitMask models/mapobjects/wp_222/wp_222turret.tga
}

//still
models/mapobjects/wp_222/wp_222t_l_still
{
	qer_editorimage models/mapobjects/wp_222/wp_222t_l.tga
	surfaceparm nomarks
	{
		map models/mapobjects/wp_222/wp_222t_l.tga
		rgbGen lightingDiffuse
	}

}

models/mapobjects/wp_222/wp_222w_l_still
{
	qer_editorimage models/mapobjects/wp_222/wp_222w_l.tga
	surfaceparm nomarks
	{
		map models/mapobjects/wp_222/wp_222w_l.tga
		rgbGen lightingDiffuse
	}

}

models/mapobjects/wp_222/wp_222t_r_still
{
	qer_editorimage models/mapobjects/wp_222/wp_222t_l.tga
	surfaceparm nomarks
	{
		map models/mapobjects/wp_222/wp_222t_l.tga
		rgbGen lightingDiffuse
	}

}

models/mapobjects/wp_222/wp_222w_r_still
{
	qer_editorimage models/mapobjects/wp_222/wp_222w_l.tga
	surfaceparm nomarks
	{
		map models/mapobjects/wp_222/wp_222w_l.tga
		rgbGen lightingDiffuse
	}


}

//dt_oblitz shader
//last edited by Detoeni 15.8.2004
//*****IMPORTANT***********
//MAKE NO CHANGES TO THIS FILE!!!!!!!!!
//NOT EVEN ONE!!!!!!!!!!!!!!

models/mapobjects/dt_oblitz/dt_oblitz_body
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_body.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_body.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_body_g
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_body_g.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_body_g.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_body_gr
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_body_gr.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_body_gr.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_body_c
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_body_c.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_body_c.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_body_r
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_body_r.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_body_r.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_box
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_box.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_box.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_box_c
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_box_c.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_box_c.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_box_g
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_box_g.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_box_g.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_box_gr
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_box_gr.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_box_gr.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_cover
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_cover.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_cover.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_glass
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_glass.tga
	surfaceparm nomarks
	{
			map textures/effects/envmap_slate_90.tga
	         	//map textures/effects/tinfx.tga
	         	rgbGen lightingdiffuse
	         	tcGen environment
	}
	{
	         	map models/mapobjects/dt_oblitz/dt_oblitz_glass.tga
	         	blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         	rgbGen lightingdiffuse
	}
}
models/mapobjects/dt_oblitz/dt_oblitz_glass2
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_glass.tga
	surfaceparm nomarks
	{
			map textures/effects/envmap_slate_90.tga
	         	//map textures/effects/tinfx.tga
	         	rgbGen vertex
	         	tcGen environment
	}
	{
	         	map models/mapobjects/dt_oblitz/dt_oblitz_glass.tga
	         	blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	         	rgbGen vertex

	}
}

models/mapobjects/dt_oblitz/dt_oblitz_tank
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_tank.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_tank.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_tank_g
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_tank_g.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_tank_g.tga
}
models/mapobjects/dt_oblitz/dt_oblitz_tank_r
{
	qer_editorimage models/mapobjects/dt_oblitz/dt_oblitz_tank_r.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/dt_oblitz_tank_r.tga
}
models/mapobjects/dt_oblitz/wheel_b_rim
{
	qer_editorimage models/mapobjects/dt_oblitz/wheel_b_rim.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/wheel_b_rim.tga
}
models/mapobjects/dt_oblitz/wheel_b_rim_g
{
	qer_editorimage models/mapobjects/dt_oblitz/wheel_b_rim_g.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/wheel_b_rim_g.tga
}
models/mapobjects/dt_oblitz/wheel_b_rim_gr
{
	qer_editorimage models/mapobjects/dt_oblitz/wheel_b_rim_gr.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/wheel_b_rim_gr.tga
}
models/mapobjects/dt_oblitz/wheel_b_rim_r
{
	qer_editorimage models/mapobjects/dt_oblitz/wheel_b_rim_r.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/wheel_b_rim_r.tga
}
models/mapobjects/dt_oblitz/wheel_f
{
	qer_editorimage models/mapobjects/dt_oblitz/wheel_f.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/wheel_f.tga
}
models/mapobjects/dt_oblitz/wheel_f_g
{
	qer_editorimage models/mapobjects/dt_oblitz/wheel_f_g.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/wheel_f_g.tga
}
models/mapobjects/dt_oblitz/wheel_f_gr
{
	qer_editorimage models/mapobjects/dt_oblitz/wheel_f_gr.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/wheel_f_gr.tga
}
models/mapobjects/dt_oblitz/wheel_f_r
{
	qer_editorimage models/mapobjects/dt_oblitz/wheel_f_r.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/wheel_f_r.tga
}
models/mapobjects/dt_oblitz/pole
{
	qer_editorimage models/mapobjects/dt_oblitz/pole.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/pole.tga
}
models/mapobjects/dt_oblitz/tread
{
	qer_editorimage models/mapobjects/dt_oblitz/tread.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/dt_oblitz/tread.tga
}

//Fire Stuff

models/mapobjects/wp_prop/wp_fire_ex
{
	qer_editorimage models/mapobjects/wp_prop/wp_fire_ex.tga
	surfaceparm nomarks
	implicitMap models/mapobjects/wp_prop/wp_fire_ex.tga
}

models/mapobjects/wp_prop/wp_fire_ex_alpha
{
	qer_editorimage models/mapobjects/wp_prop/wp_fire_ex.tga
	surfaceparm nomarks
	cull twosided
	implicitMask models/mapobjects/wp_prop/wp_fire_ex.tga
}

//Torpedo

models/mapobjects/wp_torpedo/wp_fish3
{ 
   qer_editorimage models/mapobjects/wp_torpedo/wp_fish3.tga 
   q3map_forceMeta 
   q3map_nonplanar 
   q3map_shadeAngle 180  
   q3map_lightmapSampleOffset 8.0
   implicitMap models/mapobjects/wp_torpedo/wp_fish3.tga 
} 
