textures/moonstone/alpha_000
{
	q3map_alphaMod volume
	q3map_alphaMod set 0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

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

textures/moonstone/alpha_050
{
	q3map_alphaMod volume
	q3map_alphaMod set 0.50
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

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

textures/moonstone/alpha_100
{
	q3map_alphaMod volume
	q3map_alphaMod set 1.0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/moonstone/aseleaf
{
	qer_editorimage textures/moonstone/leave02d.tga
	qer_alphafunc greater 0.5
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02d.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/blue_banner02
{
	nopicmip
	surfaceparm alphashadow
	cull none
	{
		map textures/moonstone/blue_banner02.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/moonstone/bubbles2_1
{
	nopicmip
	qer_editorimage textures/moonstone/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.093287 -41.198784 241.500214 sawtooth 0 1 1.000725 0.195925
	{
		clampmap textures/moonstone/bubbles2.tga
		tcMod rotate 20.229958
		AlphaGen wave sawtooth 1.000000 0.000000 1.000725 0.195925
		rgbGen wave sawtooth 1.000000 0.000000 1.000725 0.195925
		tcMod stretch sawtooth 0.000000 1.138240 1.000725 0.195925
		blendfunc add
	}
}

textures/moonstone/bubbles2_3
{
	nopicmip
	qer_editorimage textures/moonstone/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 1.625161 -6.980746 107.586830 sawtooth 0 1 1.213530 0.445164
	{
		clampmap textures/moonstone/bubbles2.tga
		tcMod rotate 19.405041
		AlphaGen wave sawtooth 1.000000 0.000000 1.213530 0.445164
		rgbGen wave sawtooth 1.000000 0.000000 1.213530 0.445164
		tcMod stretch sawtooth 0.000000 2.052110 1.213530 0.445164
		blendfunc add
	}
}

textures/moonstone/bubbles2_11
{
	nopicmip
	qer_editorimage textures/moonstone/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 25.100649 4.780672 186.159500 sawtooth 0 1 0.907308 0.255448
	{
		clampmap textures/moonstone/bubbles2.tga
		tcMod rotate 16.214331
		AlphaGen wave sawtooth 1.000000 0.000000 0.907308 0.255448
		rgbGen wave sawtooth 1.000000 0.000000 0.907308 0.255448
		tcMod stretch sawtooth 0.000000 2.025596 0.907308 0.255448
		blendfunc add
	}
}

textures/moonstone/bubbles2_12
{
	nopicmip
	qer_editorimage textures/moonstone/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 12.983425 -1.691125 95.949432 sawtooth 0 1 0.845538 0.495670
	{
		clampmap textures/moonstone/bubbles2.tga
		tcMod rotate -2.724845
		AlphaGen wave sawtooth 1.000000 0.000000 0.845538 0.495670
		rgbGen wave sawtooth 1.000000 0.000000 0.845538 0.495670
		tcMod stretch sawtooth 0.000000 0.903418 0.845538 0.495670
		blendfunc add
	}
}

textures/moonstone/chain
{
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	nopicmip
	cull disable
	qer_editorimage textures/moonstone/chain.tga
	deformvertexes autosprite2
	{
		map textures/moonstone/chain.tga
		alphafunc GE128
		rgbgen exactVertex
		depthwrite
	}
}

textures/moonstone/decal-blood2
{
	nopicmip
	qer_editorimage textures/moonstone/blood2.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/blood2.tga
		blendfunc filter
	}
}

textures/moonstone/decal-blood3
{
	nopicmip
	qer_editorimage textures/moonstone/blood3.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/blood3.tga
		blendfunc filter
	}
}

textures/moonstone/decal-blood4
{
	nopicmip
	qer_editorimage textures/moonstone/blood4.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/blood4.tga
		blendfunc filter
	}
}

textures/moonstone/decal-blood5
{
	nopicmip
	qer_editorimage textures/moonstone/blood5.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/blood5.tga
		blendfunc filter
	}
}

textures/moonstone/decal-blood6
{
	nopicmip
	qer_editorimage textures/moonstone/blood6.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/blood6.tga
		blendfunc filter
	}
}

textures/moonstone/decal-blood7
{
	nopicmip
	qer_editorimage textures/moonstone/blood7.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/blood7.tga
		blendfunc filter
	}
}

textures/moonstone/decal-damage1
{
	nopicmip
	qer_editorimage textures/moonstone/damage1.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/damage1.tga
		blendfunc filter
	}
}

textures/moonstone/decal-dirt2
{
	nopicmip
	qer_editorimage textures/moonstone/dirt2.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/dirt2.tga
		blendfunc filter
	}
}

textures/moonstone/decal-stain1
{
	nopicmip
	qer_editorimage textures/moonstone/stain1.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/stain1.tga
		blendfunc filter
	}
}

textures/moonstone/decal-stainwallfade
{
	nopicmip
	qer_editorimage textures/moonstone/stainwallfade.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.5
	{
		map textures/moonstone/stainwallfade.tga
		blendfunc filter
	}
}

textures/moonstone/feuer_blau1
{
	nopicmip
	qer_editorimage textures/moonstone/flame_blue1.tga
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	deformVertexes wave 194 sin 0 1 0 .6
	q3map_lightimage textures/moonstone/licht-blau.tga
	q3map_surfacelight 400
	{
		animMap 10 textures/moonstone/flame_blue1.tga textures/moonstone/flame_blue2.tga textures/moonstone/flame_blue3.tga textures/moonstone/flame_blue4.tga textures/moonstone/flame_blue5.tga textures/moonstone/flame_blue6.tga textures/moonstone/flame_blue7.tga textures/moonstone/flame_blue8.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}	
	{
		animMap 10 textures/moonstone/flame_blue2.tga textures/moonstone/flame_blue3.tga textures/moonstone/flame_blue4.tga textures/moonstone/flame_blue5.tga textures/moonstone/flame_blue6.tga textures/moonstone/flame_blue7.tga textures/moonstone/flame_blue8.tga textures/moonstone/flame_blue1.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/moonstone/flameball_blue.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6	
	}

}

textures/moonstone/feuer_blau2
{
	nopicmip
	qer_editorimage textures/moonstone/flame_blue2.tga
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	deformVertexes wave 194 sin 0 1 0 .6
	q3map_lightimage textures/moonstone/licht-blau.tga
	q3map_surfacelight 400
	{
		animMap 10 textures/moonstone/flame_blue2.tga textures/moonstone/flame_blue3.tga textures/moonstone/flame_blue4.tga textures/moonstone/flame_blue5.tga textures/moonstone/flame_blue6.tga textures/moonstone/flame_blue7.tga textures/moonstone/flame_blue8.tga textures/moonstone/flame_blue1.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}	
	{
		animMap 10 textures/moonstone/flame_blue3.tga textures/moonstone/flame_blue4.tga textures/moonstone/flame_blue5.tga textures/moonstone/flame_blue6.tga textures/moonstone/flame_blue7.tga textures/moonstone/flame_blue8.tga textures/moonstone/flame_blue1.tga textures/moonstone/flame_blue2.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/moonstone/flameball_blue.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6	
	}

}

textures/moonstone/feuer_blau3
{
	nopicmip
	qer_editorimage textures/moonstone/flame_blue3.tga
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	deformVertexes wave 194 sin 0 1 0 .6
	q3map_lightimage textures/moonstone/licht-blau.tga
	q3map_surfacelight 400
	{
		animMap 10 textures/moonstone/flame_blue3.tga textures/moonstone/flame_blue4.tga textures/moonstone/flame_blue5.tga textures/moonstone/flame_blue6.tga textures/moonstone/flame_blue7.tga textures/moonstone/flame_blue8.tga textures/moonstone/flame_blue1.tga textures/moonstone/flame_blue2.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}	
	{
		animMap 10 textures/moonstone/flame_blue4.tga textures/moonstone/flame_blue5.tga textures/moonstone/flame_blue6.tga textures/moonstone/flame_blue7.tga textures/moonstone/flame_blue8.tga textures/moonstone/flame_blue1.tga textures/moonstone/flame_blue2.tga textures/moonstone/flame_blue3.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/moonstone/flameball_blue.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6	
	}

}

textures/moonstone/feuer_blau4
{
	nopicmip
	qer_editorimage textures/moonstone/flame_blue4.tga
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	deformVertexes wave 194 sin 0 1 0 .6
	q3map_lightimage textures/moonstone/licht-blau.tga
	q3map_surfacelight 400
	{
		animMap 10 textures/moonstone/flame_blue4.tga textures/moonstone/flame_blue5.tga textures/moonstone/flame_blue6.tga textures/moonstone/flame_blue7.tga textures/moonstone/flame_blue8.tga textures/moonstone/flame_blue1.tga textures/moonstone/flame_blue2.tga textures/moonstone/flame_blue3.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}	
	{
		animMap 10 textures/moonstone/flame_blue5.tga textures/moonstone/flame_blue6.tga textures/moonstone/flame_blue7.tga textures/moonstone/flame_blue8.tga textures/moonstone/flame_blue1.tga textures/moonstone/flame_blue2.tga textures/moonstone/flame_blue3.tga textures/moonstone/flame_blue4.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/moonstone/flameball_blue.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6	
	}

}

textures/moonstone/feuer_rot1
{
	nopicmip
	qer_editorimage textures/moonstone/flame_red1.tga
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	deformVertexes wave 194 sin 0 1 0 .6
	q3map_lightimage textures/moonstone/licht-rot.tga
	q3map_surfacelight 400
	{
		animMap 10 textures/moonstone/flame_red1.tga textures/moonstone/flame_red2.tga textures/moonstone/flame_red3.tga textures/moonstone/flame_red4.tga textures/moonstone/flame_red5.tga textures/moonstone/flame_red6.tga textures/moonstone/flame_red7.tga textures/moonstone/flame_red8.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}	
	{
		animMap 10 textures/moonstone/flame_red2.tga textures/moonstone/flame_red3.tga textures/moonstone/flame_red4.tga textures/moonstone/flame_red5.tga textures/moonstone/flame_red6.tga textures/moonstone/flame_red7.tga textures/moonstone/flame_red8.tga textures/moonstone/flame_red1.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/moonstone/flameball_red.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6	
	}

}

textures/moonstone/feuer_rot2
{
	nopicmip
	qer_editorimage textures/moonstone/flame_red2.tga
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	deformVertexes wave 194 sin 0 1 0 .6
	q3map_lightimage textures/moonstone/licht-rot.tga
	q3map_surfacelight 400
	{
		animMap 10 textures/moonstone/flame_red2.tga textures/moonstone/flame_red3.tga textures/moonstone/flame_red4.tga textures/moonstone/flame_red5.tga textures/moonstone/flame_red6.tga textures/moonstone/flame_red7.tga textures/moonstone/flame_red8.tga textures/moonstone/flame_red1.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}	
	{
		animMap 10 textures/moonstone/flame_red3.tga textures/moonstone/flame_red4.tga textures/moonstone/flame_red5.tga textures/moonstone/flame_red6.tga textures/moonstone/flame_red7.tga textures/moonstone/flame_red8.tga textures/moonstone/flame_red1.tga textures/moonstone/flame_red2.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/moonstone/flameball_red.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6	
	}

}

textures/moonstone/feuer_rot3
{
	nopicmip
	qer_editorimage textures/moonstone/flame_red3.tga
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	deformVertexes wave 194 sin 0 1 0 .6
	q3map_lightimage textures/moonstone/licht-rot.tga
	q3map_surfacelight 400
	{
		animMap 10 textures/moonstone/flame_red3.tga textures/moonstone/flame_red4.tga textures/moonstone/flame_red5.tga textures/moonstone/flame_red6.tga textures/moonstone/flame_red7.tga textures/moonstone/flame_red8.tga textures/moonstone/flame_red1.tga textures/moonstone/flame_red2.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}	
	{
		animMap 10 textures/moonstone/flame_red4.tga textures/moonstone/flame_red5.tga textures/moonstone/flame_red6.tga textures/moonstone/flame_red7.tga textures/moonstone/flame_red8.tga textures/moonstone/flame_red1.tga textures/moonstone/flame_red2.tga textures/moonstone/flame_red3.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/moonstone/flameball_red.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6	
	}

}

textures/moonstone/feuer_rot4
{
	nopicmip
	qer_editorimage textures/moonstone/flame_red4.tga
	surfaceparm nomarks
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	deformVertexes wave 194 sin 0 1 0 .6
	q3map_lightimage textures/moonstone/licht-rot.tga
	q3map_surfacelight 400
	{
		animMap 10 textures/moonstone/flame_red4.tga textures/moonstone/flame_red5.tga textures/moonstone/flame_red6.tga textures/moonstone/flame_red7.tga textures/moonstone/flame_red8.tga textures/moonstone/flame_red1.tga textures/moonstone/flame_red2.tga textures/moonstone/flame_red3.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave inverseSawtooth 0 1 0 10
	}	
	{
		animMap 10 textures/moonstone/flame_red5.tga textures/moonstone/flame_red6.tga textures/moonstone/flame_red7.tga textures/moonstone/flame_red8.tga textures/moonstone/flame_red1.tga textures/moonstone/flame_red2.tga textures/moonstone/flame_red3.tga textures/moonstone/flame_red4.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sawtooth 0 1 0 10
	}
	{
		map textures/moonstone/flameball_red.tga
		blendFunc GL_ONE GL_ONE
		rgbGen wave sin .6 .2 0 .6	
	}

}

textures/moonstone/grass01
{
	qer_editorimage textures/moonstone/grass01.tga
	q3map_backShader textures/moonstone/grass01_back
	q3map_vertexScale 2
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	{
		map textures/moonstone/grass01.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/grass01_back
{
	qer_editorimage textures/moonstone/grass01.tga
	q3map_vertexScale 2
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/grass01.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/jumppad1-blue
{
	surfaceparm nodamage
	qer_editorimage textures/moonstone/jumppad1.tga
	q3map_lightimage textures/moonstone/licht-blau.tga
	q3map_surfacelight 300
	{
		clampmap textures/moonstone/jumppad1_blue1.tga
		tcmod rotate -420
		rgbgen identity
	}
	{
		clampmap textures/moonstone/jumppad1_blue2.tga
		tcmod rotate 200
		rgbgen identity
		blendFunc add
	}
	{
		map textures/moonstone/jumppad1.tga
		blendfunc blend	
		rgbgen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/moonstone/jumppad1-red
{
	surfaceparm nodamage
	qer_editorimage textures/moonstone/jumppad1.tga
	q3map_lightimage textures/moonstone/licht-rot.tga
	q3map_surfacelight 300
	{
		clampmap textures/moonstone/jumppad1_red1.tga
		tcmod rotate -420
		rgbgen identity
	}
	{
		clampmap textures/moonstone/jumppad1_red2.tga
		tcmod rotate 200
		rgbgen identity
		blendFunc add
	}
	{
		map textures/moonstone/jumppad1.tga
		blendfunc blend	
		rgbgen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/moonstone/jumppad2-blue
{
	surfaceparm nodamage
	qer_editorimage textures/moonstone/jumppad2.tga
	q3map_lightimage textures/moonstone/licht-blau.tga
	q3map_surfacelight 300
	{
		clampmap textures/moonstone/jumppad1_blue1.tga
		tcmod rotate -420
		rgbgen identity
	}
	{
		clampmap textures/moonstone/jumppad1_blue2.tga
		tcmod rotate 200
		rgbgen identity
		blendFunc add
	}
	{
		map textures/moonstone/jumppad2.tga
		blendfunc blend	
		rgbgen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/moonstone/jumppad2-red
{
	surfaceparm nodamage
	qer_editorimage textures/moonstone/jumppad2.tga
	q3map_lightimage textures/moonstone/licht-rot.tga
	q3map_surfacelight 300
	{
		clampmap textures/moonstone/jumppad1_red1.tga
		tcmod rotate -420
		rgbgen identity
	}
	{
		clampmap textures/moonstone/jumppad1_red2.tga
		tcmod rotate 200
		rgbgen identity
		blendFunc add
	}
	{
		map textures/moonstone/jumppad2.tga
		blendfunc blend	
		rgbgen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/moonstone/km_arena1tower-blue
{
	{
		map textures/moonstone/tinfx_scr.tga       
		tcGen environment
		rgbGen identity
	}
	{
		map textures/moonstone/km_arena1tower-blue.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
		rgbGen identity
	}
}

textures/moonstone/km_arena1tower-red
{
	{
		map textures/moonstone/tinfx_scr.tga       
		tcGen environment
		rgbGen identity
	}
	{
		map textures/moonstone/km_arena1tower-red.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
		rgbGen identity
	}
}

textures/moonstone/leave02a
{
	nopicmip
	qer_editorimage textures/moonstone/leave02a.tga
	q3map_backShader textures/moonstone/leave02a_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02a.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave02a_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02a.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave02b
{
	nopicmip
	qer_editorimage textures/moonstone/leave02b.tga
	q3map_backShader textures/moonstone/leave02b_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02b.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave02b_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02b.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave02c
{
	nopicmip
	qer_editorimage textures/moonstone/leave02c.tga
	q3map_backShader textures/moonstone/leave02c_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02c.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave02c_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02c.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave02d
{
	nopicmip
	qer_editorimage textures/moonstone/leave02d.tga
	q3map_backShader textures/moonstone/leave02d_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02d.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave02d_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave02d.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave03a
{
	nopicmip
	qer_editorimage textures/moonstone/leave03a.tga
	q3map_backShader textures/moonstone/leave03a_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave03a.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave03a_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave03a.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave03b
{
	nopicmip
	qer_editorimage textures/moonstone/leave03b.tga
	q3map_backShader textures/moonstone/leave03b_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave03b.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave03b_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave03b.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave03c
{
	nopicmip
	qer_editorimage textures/moonstone/leave03c.tga
	q3map_backShader textures/moonstone/leave03c_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave03c.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave03c_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave03c.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave04a
{
	nopicmip
	qer_editorimage textures/moonstone/leave04a.tga
	q3map_backShader textures/moonstone/leave04a_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave04a.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}
}

textures/moonstone/leave04a_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave04a.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}
}

textures/moonstone/leave04b
{
	nopicmip
	qer_editorimage textures/moonstone/leave04b.tga
	q3map_backShader textures/moonstone/leave04b_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave04b.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}
}

textures/moonstone/leave04b_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave04b.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}
}

textures/moonstone/leave04c
{
	nopicmip
	qer_editorimage textures/moonstone/leave04c.tga
	q3map_backShader textures/moonstone/leave04c_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave04c.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave04c_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave04c.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/leave05a
{
	nopicmip
	qer_editorimage textures/moonstone/leave05a.tga
	q3map_backShader textures/moonstone/leave05a_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave05a.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}
}

textures/moonstone/leave05a_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/leave05a.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}
}

textures/moonstone/licht-blau1
{      
	qer_trans 0.5
	qer_editorimage textures/moonstone/licht-blau.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nomarks
	q3map_lightimage textures/moonstone/licht-blau.tga
	q3map_surfacelight 400
	cull none
	{
		map textures/moonstone/licht-blau.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
}

textures/moonstone/licht-rot1
{      
	qer_trans 0.5
	qer_editorimage textures/moonstone/licht-rot.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nomarks
	q3map_lightimage textures/moonstone/licht-rot.tga
	q3map_surfacelight 400
	cull none
	{
		map textures/moonstone/licht-rot.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
}

textures/moonstone/marmor-1
{
	qer_editorimage textures/moonstone/marmor-boden1.tga
	surfaceparm metalsteps
	{
		map textures/moonstone/tinfx_scr.tga
		tcGen environment
		blendFunc GL_ONE GL_ZERO
		rgbGen identity
	}
	{
		map textures/moonstone/marmor-boden1.tga
		blendFunc blend
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/mush_top01
{
	qer_editorimage textures/moonstone/mush_top01.tga
	q3map_backShader textures/moonstone/mush_backface01
	q3map_vertexScale 2
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	q3map_nonplanar
	q3map_shadeAngle 179
	{
		map textures/moonstone/mush_top01.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/mush_backface01
{
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/mush_back01.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/mush_stem01
{
	qer_editorimage textures/moonstone/mush_stem01.tga
	{
		map textures/moonstone/mush_stem01.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128	
	}	
}

textures/moonstone/oddrwoddr_64
{
	nopicmip
	qer_editorimage textures/moonstone/oddrwoddr.tga
	qer_trans .75
	qer_trans .75
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	cull disable
	tessSize 64
	deformVertexes normal .5 .5
	deformVertexes wave 128 sin .5 .5 0 .5	
	{
		map textures/moonstone/oddrwoddr.tga
		blendfunc add
		tcgen environment
		rgbgen wave sin .5 0 0 0
		tcmod scale 1 1
		tcMod scroll .01 .01
	}
	{ 
		map textures/moonstone/oddrwoddr.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
		tcmod scale 1 1
		tcmod scroll -.05 .001
	}
	{
		map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}
}

textures/moonstone/oddrwoddr_128
{
	nopicmip
	qer_editorimage textures/moonstone/oddrwoddr.tga
	qer_trans .75
	qer_trans .75
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	cull disable
	tessSize 128
	deformVertexes normal .5 .5
	deformVertexes wave 128 sin .5 .5 0 .5	
	{
		map textures/moonstone/oddrwoddr.tga
		blendfunc add
		tcgen environment
		rgbgen wave sin .5 0 0 0
		tcmod scale 1 1
		tcMod scroll .01 .01
	}
	{ 
		map textures/moonstone/oddrwoddr.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
		tcmod scale 1 1
		tcmod scroll -.05 .001
	}
	{
		map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}
}

textures/moonstone/plain_black
{
	surfaceparm nolightmap
	surfaceparm noimpact
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/plain_black.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/red_banner02
{
	nopicmip
	surfaceparm alphashadow
	cull none
	{
		map textures/moonstone/red_banner02.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/moonstone/respawn_effect1_blue
{
	nopicmip
    	cull disable
    	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nomarks
	qer_editorimage textures/moonstone/bluejet_1_kc.tga
	q3map_lightimage textures/moonstone/licht-blau.tga
	q3map_surfacelight 60
 	{
		map textures/moonstone/bluejet_1_kc.tga
                blendFunc add
		tcmod scale 1 -1
		rgbgen wave sin .25 .25 0 .25
                tcmod scroll .5 0
	}
	{
		map textures/moonstone/bluejet_2_kc.tga
                blendFunc add
		rgbgen wave sin .25 .25 .25 .25
		tcmod scale 1 -1
                tcmod scroll -.5 0
	}
	{
		map textures/moonstone/bluejet_3_kc.tga
                blendFunc add
		tcmod scale 1 -1
                rgbGen wave inversesawtooth -.3 1.3 0 .25
	}	
}

textures/moonstone/respawn_effect1_red
{
	nopicmip
    	cull disable
    	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nomarks
	qer_editorimage textures/moonstone/redjet_1_kc.tga
	q3map_lightimage textures/moonstone/licht-rot.tga
	q3map_surfacelight 60
 	{
		map textures/moonstone/redjet_1_kc.tga
                blendFunc add
		tcmod scale 1 -1
		rgbgen wave sin .25 .25 0 .25
                tcmod scroll .5 0
	}
	{
		map textures/moonstone/redjet_2_kc.tga
                blendFunc add
		rgbgen wave sin .25 .25 .25 .25
		tcmod scale 1 -1
                tcmod scroll -.5 0
	}
	{
		map textures/moonstone/redjet_3_kc.tga
                blendFunc add
		tcmod scale 1 -1
                rgbGen wave inversesawtooth -.3 1.3 0 .25
	}
}

textures/moonstone/sky
{
	qer_editorimage textures/moonstone/sky_clouds.tga
	q3map_lightImage textures/moonstone/sky_clouds.tga
	q3map_sunExt 0.65 0.8 0.9 100 -30 45 2 12
	q3map_skyLight 40 3
	q3map_lightimage textures/moonstone/sky_light.tga
	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	skyparms env/moonstone/sky 1337 -
	nopicmip
	{
		map textures/moonstone/sky_clouds.tga
		tcMod scroll 0.0025 -0.0075
		rgbGen identityLighting
	}
	{
		map textures/moonstone/sky_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/moonstone/spawn_blue
{
	qer_editorimage textures/moonstone/spawn.tga
	nopicmip
	cull disable
	{
		clampmap textures/moonstone/spawn_blue.tga
		tcmod rotate 222
		rgbGen identity
	}
	{
		clampmap textures/moonstone/spawn.tga
		blendfunc Blend
		rgbGen vertex
	}
}

textures/moonstone/spawn_red
{
	qer_editorimage textures/moonstone/spawn.tga
	nopicmip
	cull disable
        {
		clampmap textures/moonstone/spawn_red.tga
		tcmod rotate 222
		rgbGen identity
	}
	{
		clampmap textures/moonstone/spawn.tga
		blendfunc Blend
		rgbGen vertex
	}
}

textures/moonstone/stein1_nonsolid
{
	qer_editorimage textures/moonstone/stein1_img.tga
	surfaceparm nonsolid
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/stein1.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/stein2_nonsolid
{
	qer_editorimage textures/moonstone/stein2_img.tga
	surfaceparm nonsolid
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/stein2.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/techfloor_kc_blue
{
	nopicmip
	qer_editorimage textures/moonstone/zzztblue_kc.tga.tga
     	surfaceparm nonsolid
	surfaceparm alphashadow
	surfaceparm nomarks	   
        {
		clampmap textures/moonstone/zzztblue_kc.tga
               	alphaFunc GE128
		tcmod rotate 360
		rgbgen wave sin .8 .2 0 2
		depthWrite
	}
        {
                clampmap textures/moonstone/techfloor2_kc.tga
		blendFunc blend
                tcmod rotate 180
		depthFunc equal
                tcMod stretch sin .8 0.1 0 .4
	        rgbGen identity
	}
	{
		map textures/moonstone/techfloor_kc.tga
                blendFunc blend
		depthFunc equal
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc filter
		depthFunc equal
		rgbgen identity
	}
	{
	        map textures/moonstone/techfloor_kc_shadow.tga
                blendfunc filter
	        rgbGen identity
	}
}

textures/moonstone/techfloor_kc_red
{
	nopicmip
	qer_editorimage textures/moonstone/zzztred_kc.tga.tga
     	surfaceparm nonsolid
	surfaceparm alphashadow
	surfaceparm nomarks
        {
		clampmap textures/moonstone/zzztred_kc.tga
               	alphaFunc GE128
		tcmod rotate 360
		rgbgen wave sin .8 .2 0 2
		depthWrite
	}
        {
                clampmap textures/moonstone/techfloor2_kc.tga
		blendFunc blend
                tcmod rotate 180
		depthFunc equal
                tcMod stretch sin .8 0.1 0 .4
	        rgbGen identity
	}
	{
		map textures/moonstone/techfloor_kc.tga
                blendFunc blend
		depthFunc equal
		rgbGen identity
	}
	{
		map $lightmap
		blendfunc filter
		depthFunc equal
		rgbgen identity
	}
	{
	        map textures/moonstone/techfloor_kc_shadow.tga
                blendfunc filter
	        rgbGen identity
	}
}

textures/moonstone/ter_dirt1
{
	q3map_nonplanar
	q3map_shadeangle 120
        qer_editorimage textures/moonstone/ter_dirt1.tga
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/ter_dirt1.tga
		blendFunc filter
	}
}

textures/moonstone/ter_dirt1vec
{
	q3map_nonplanar
	q3map_shadeangle 120
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
        qer_editorimage textures/moonstone/ter_dirt1vec.tga
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/ter_dirt1.tga
		blendFunc filter
	}
}

textures/moonstone/ter_dirtmoss
{
        qer_editorimage textures/moonstone/ter_dirtmoss.tga
	q3map_nonplanar
	q3map_shadeangle 120
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	q3map_alphaMod dotproduct2 ( 0.0 0.0 0.75 )
	{
		map textures/moonstone/ter_dirt1.tga
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/ter_gravelmoss
{
        qer_editorimage textures/moonstone/ter_gravelmoss.tga
	q3map_nonplanar
	q3map_shadeangle 120
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	q3map_alphaMod dotproduct2 ( 0.0 0.0 0.75 )
	{
		map textures/moonstone/ter_gravel1.tga
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/ter_moss1
{
	q3map_nonplanar
	q3map_shadeangle 120
        qer_editorimage textures/moonstone/ter_moss1.tga
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc filter
	}
}

textures/moonstone/ter_mudmoss
{
        qer_editorimage textures/moonstone/ter_mudmoss.tga
	
	q3map_nonplanar
	q3map_shadeangle 120
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	q3map_alphaMod dotproduct2 ( 0.0 0.0 0.75 )
	{
		map textures/moonstone/ter_mud1.tga
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/ter_rock2
{
	q3map_nonplanar
	q3map_shadeangle 120
        qer_editorimage textures/moonstone/ter_rock2.tga
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/ter_rock2.tga
		blendFunc filter
	}
}

textures/moonstone/ter_rock2moss1
{
	q3map_nonplanar
	q3map_shadeangle 120
        qer_editorimage textures/moonstone/ter_rock2moss1.tga
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/ter_rock2moss1.tga
		alphaFunc GT0
		blendFunc filter
	}
}

textures/moonstone/ter_rock2moss2
{
        qer_editorimage textures/moonstone/ter_rock2moss1.tga
	q3map_nonplanar
	q3map_shadeAngle 120
	{
		map textures/moonstone/ter_rock2.tga
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/ter_rock3
{
	q3map_nonplanar
	q3map_shadeangle 120
        qer_editorimage textures/moonstone/ter_rock3.tga
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/ter_rock3.tga
		blendFunc filter
	}
}

textures/moonstone/ter_rock3moss1
{
        qer_editorimage textures/moonstone/ter_rock3moss1.tga
	q3map_nonplanar
	q3map_shadeAngle 120
	{
		map textures/moonstone/ter_rock3.tga
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/ter_rock3moss2
{
        qer_editorimage textures/moonstone/ter_rock3moss2.tga
	q3map_nonplanar
	q3map_shadeangle 120
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	q3map_alphaMod dotproduct2 ( 0.0 0.0 0.75 )
	{
		map textures/moonstone/ter_rock3.tga
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/ter_rock3vec
{
	q3map_nonplanar
	q3map_shadeangle 120
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
        qer_editorimage textures/moonstone/ter_rock3vec.tga
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/ter_rock3.tga
		blendFunc filter
	}
}

textures/moonstone/ter_sandmoss
{
        qer_editorimage textures/moonstone/ter_sand1.tga
	q3map_nonplanar
	q3map_shadeangle 120
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	q3map_alphaMod dotproduct2 ( 0.0 0.0 0.75 )
	{
		map textures/moonstone/ter_sand1.tga
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/ter_stonemoss
{
        qer_editorimage textures/moonstone/ter_stone1.tga
	q3map_nonplanar
	q3map_shadeangle 120
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	q3map_alphaMod dotproduct2 ( 0.0 0.0 0.75 )
	{
		map textures/moonstone/ter_stone1.tga
		rgbGen identity
	}
	{
		map textures/moonstone/ter_moss1.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/moonstone/tree01_leaves
{
	nopicmip
	qer_editorimage textures/moonstone/tree01_leaves.tga
	q3map_backShader textures/moonstone/tree01_leaves_back
	q3map_vertexScale 1.5
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nomarks
	{
		map textures/moonstone/tree01_leaves.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/tree01_leaves_back
{
	nopicmip
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map textures/moonstone/tree01_leaves.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/vine01
{
	nopicmip
	qer_editorimage textures/moonstone/vine01.tga
	q3map_vertexScale 2
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	cull none
	{
		map textures/moonstone/vine01.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/vine02
{
	nopicmip
	qer_editorimage textures/moonstone/vine02.tga
	q3map_vertexScale 2
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	cull none
	{
		map textures/moonstone/vine02.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/vine03
{
	nopicmip
	qer_editorimage textures/moonstone/vine03.tga
	q3map_vertexScale 2
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	cull none
	{
		map textures/moonstone/vine03.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/vine04
{
	nopicmip
	qer_editorimage textures/moonstone/vine04.tga
	q3map_vertexScale 2
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	cull none
	{
		map textures/moonstone/vine04.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/vine05
{
	nopicmip
	qer_editorimage textures/moonstone/vine05.tga
	q3map_vertexScale 2
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	cull none
	{
		map textures/moonstone/vine05.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/vine06
{
	nopicmip
	qer_editorimage textures/moonstone/vine06.tga
	q3map_vertexScale 2
	qer_alphafunc greater 0.5
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nomarks
	qer_trans 0.99
	cull none
	{
		map textures/moonstone/vine06.tga
		rgbGen vertex
		depthWrite
		alphaFunc GE128		
	}	
}

textures/moonstone/water_nodraw
{
	qer_trans .75
	surfaceparm nodraw
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm water
}

textures/moonstone/wood-1
{
	q3map_nonplanar
	q3map_shadeangle 45
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/moonstone/wood-1.tga
		blendFunc filter
	}
}

textures/moonstone/wood1toplit_blue
{
	nopicmip
	qer_editorimage	textures/moonstone/wood1toplit_blue.tga
	q3map_nonplanar
	q3map_shadeAngle 179
	{
		map textures/moonstone/wood1toplit_blue.tga
		rgbGen vertex
	}
	{
		map textures/moonstone/wood1glow_blue.tga
		blendFunc add
		tcMod rotate -6
		rgbGen wave sin .8 .1 0 .6	
	}
	{
		map textures/moonstone/wood1glow_blue.tga
		blendFunc add
		tcMod rotate 8
	}
}

textures/moonstone/wood1toplit_red
{
	nopicmip
	qer_editorimage	textures/moonstone/wood1toplit_red.tga
	q3map_nonplanar
	q3map_shadeAngle 179
	{
		map textures/moonstone/wood1toplit_red.tga
		rgbGen vertex
	}
	{
		map textures/moonstone/wood1glow_red.tga
		blendFunc add
		tcMod rotate -6
		rgbGen wave sin .8 .1 0 .6	
	}
	{
		map textures/moonstone/wood1glow_red.tga
		blendFunc add
		tcMod rotate 8
	}
}

textures/ctf2/blueteam01
{
	cull none
        surfaceparm nolightmap
        surfaceparm trans
        surfaceparm nomarks
	{
		map textures/ctf2/blueteam01.tga
		blendFunc Add
                rgbGen wave sin 1 .8 0 .2
	}
}

textures/ctf2/redteam01
{
	cull none
        surfaceparm nolightmap
        surfaceparm trans
        surfaceparm nomarks
	{
		map textures/ctf2/redteam01.tga
		blendFunc Add
                rgbGen wave sin 1 .5 0 .2
	}
}
