
// Terrain build with EasyGen
textures/SecRadar/terrain_0
{
  q3map_nonplanar 
  q3map_shadeangle 30
	// q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 1050 0 0 ) ( 0 1050 0 )
	surfaceparm snowsteps
  surfaceparm landmine
  
	{
		map textures/SecRadar/s_dirt_m03i_2_big.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/SecRadar/terrain_1
{
  q3map_nonplanar 
  q3map_shadeangle 30
	//q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 1050 0 0 ) ( 0 1050 0 )
	surfaceparm snowsteps
  surfaceparm landmine
  
	{
		map textures/SecRadar/mxsnow3.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}


textures/SecRadar/terrain_2
{
  q3map_nonplanar 
  q3map_shadeangle 30
	//q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 1050 0 0 ) ( 0 1050 0 )
	surfaceparm snowsteps
  surfaceparm landmine
  
	{
		map textures/SecRadar/snow_var01_big.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}


textures/SecRadar/terrain_0to1
{
  q3map_nonplanar 
  q3map_shadeangle 30
	//q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 1050 0 0 ) ( 0 1050 0 )
  surfaceparm snowsteps
  surfaceparm landmine	
	{
		map textures/SecRadar/s_dirt_m03i_2_big.tga
	}
	{
		map textures/SecRadar/mxsnow3.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/SecRadar/terrain_0to2
{
  q3map_nonplanar 
  q3map_shadeangle 30
	// q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 1050 0 0 ) ( 0 1050 0 )
	surfaceparm snowsteps
  surfaceparm landmine	
	{
		map textures/SecRadar/s_dirt_m03i_2_big.tga
	}
	{
		map textures/SecRadar/snow_var01_big.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/SecRadar/terrain_1to2
{
  q3map_nonplanar 
  q3map_shadeangle 30
	// q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 1050 0 0 ) ( 0 1050 0 )
	surfaceparm snowsteps
  surfaceparm landmine	
	{
		map textures/SecRadar/mxsnow3.tga
	}
	{
		map textures/SecRadar/snow_var01_big.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/SecRadar/terrain.vertex
{
	{
		map textures/SecRadar/s_dirt_m03i_2_big.tga
		rgbGen vertex
	}
}


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

// move the Axis flag
textures/SecRadar/flag_l_m01
{
  surfaceparm alphashadow
  surfaceparm trans
  surfaceparm pointlight
  cull disable
  deformVertexes wave 10 sin 0 2 0 0.2 
  deformVertexes normal .5 .1
  implicitMask -
}

// Ice crystals
textures/snow/alpha_ice2s
{		
	surfaceparm alphashadow
	cull none
  surfaceparm nonsolid
	{
		map textures/snow/alpha_ice2s.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}  

// light barrier
textures/SecRadar/laser 
{ 
     cull none 
     deformVertexes wave 1 sin -0.5 0 0 1
     noPicmip 
     surfaceparm trans 
     surfaceparm nonsolid
     { 
          map textures/SecRadar/laser.tga 
          blendFunc GL_SRC_ALPHA GL_ONE 
          rgbGen const ( 0.22 0.12 0.12 )
          tcGen environment 
          tcMod scroll 0.025 -0.07625 
     } 
}

// wine liquids
textures/SecRadar/wine
{
	nocompress
	qer_editorimage textures/SecRadar/wine.tga
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	surfaceparm nomarks
	cull disable
	nopicmip
	nofog

	waterfogvars ( 0.18 0.13 0.15 ) 0.2
	{ 
		fog on
		map textures/SecRadar/wine.tga
		blendFunc blend
		alphaFunc GE128
		depthWrite
		rgbgen identity
		tcmod scale 0.3 0.3
		tcmod scroll -.011 .0012
 	}
} 

// Schalter für Schiebetür (grün)
textures/lights/light_tp_m06off
{
	qer_editorimage textures/lights/light_tp_m06off.tga
	{
		map textures/lights/light_tp_m06off.tga
	}
}

// Schalter für Schiebetür (rot)
textures/lights/light_tp_m07off
{
	qer_editorimage textures/lights/light_tp_m07off.tga
	{
		map textures/lights/light_tp_m07off.tga
	}
}



