textures/flakstuff_final/terrain_base
{
  nopicmips
  q3map_lightmapaxis z
  q3map_lightmapmergable
  q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 ) 
}

textures/flakstuff_final/terrain_0
{
  q3map_nonplanar // unebene Oberfläche
  q3map_shadeangle 120 // Unser Glättungswinkel
	q3map_baseshader textures/flakstuff_final/terrain_base
	qer_editorimage textures/temperate_sd/grass_path1.tga
	surfaceparm landmine
	surfaceparm snowsteps
	{
		map textures/temperate_sd/grass_path1.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/flakstuff_final/terrain_1
{
  q3map_nonplanar // unebene Oberfläche
  q3map_shadeangle 120 // Unser Glättungswinkel
	q3map_baseshader textures/flakstuff_final/terrain_base
	qer_editorimage textures/temperate_sd/rock_ugly_brown.tga
	surfaceparm landmine
	surfaceparm snowsteps	
	{
		map textures/temperate_sd/rock_ugly_brown.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/flakstuff_final/terrain_0to1
{
  q3map_nonplanar // unebene Oberfläche
  q3map_shadeangle 120 // Unser Glättungswinkel
	q3map_baseshader textures/flakstuff_final/terrain_base
	qer_editorimage textures/temperate_sd/grass_path1.tga
	{
		map textures/temperate_sd/grass_path1.tga
	}
	{
		map textures/temperate_sd/rock_ugly_brown.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

// skybox: Vorlage: mp_assault
textures/skies/flakstuff
{
	nocompress
	qer_editorimage textures/skies/sky_8.tga
	q3map_lightimage textures/skies/n_blue2.tga
	q3map_nofog
	q3map_globaltexture
	q3map_sunExt 1 .95 0.8 80 320 20 2 16
	q3map_lightmapFilterRadius 0 160
	q3map_skylight 60 3

	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm sky

	skyparms - 512 -
	sunshader textures/skies_sd/batterysunfog

	{
		map textures/skies_sd/wurzburg_clouds.tga
		tcMod scale 2.5 2.5
		// tcMod scroll 0.003 -0.0015
		tcMod scroll 0.0025 -0.0075 
		rgbGen identityLighting
	}
	{
		clampmap textures/skies_sd/wurzburg_fogmask.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		tcMod scale 0.956 0.956
		tcMod transform 1 0 0 1 -1 -1
		rgbGen identitylighting
	}
}



// wine liquids
textures/flakstuff_final/wine
{
	nocompress
	qer_editorimage textures/flakstuff_final/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/flakstuff_final/wine.tga
		blendFunc blend
		alphaFunc GE128
		depthWrite
		rgbgen identity
		tcmod scale 0.3 0.3
		tcmod scroll -.011 .0012
 	}
}

// move the Axis flag
textures/flakstuff_final/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 -
}

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

// move etfun-logo
textures/flakstuff_final/etfun-logo
{
  surfaceparm alphashadow
  surfaceparm trans
  surfaceparm pointlight
  cull disable
  deformVertexes wave 10 sin 0 2 0 0.2 
  deformVertexes normal .5 .1
  implicitMask -
}

