

// These were all made by Ralle321 (http://forums.thedarkmod.com/topic/17286-ralle321s-stuff/) added by bikerdude //

textures/darkmod/decals/metal/drain_cover
 {
	noshadows
	metal

	qer_editorimage  textures/darkmod/decals/metal/drain_cover_ed
	bumpmap          textures/darkmod/decals/metal/drain_cover_local
	specularmap      textures/darkmod/decals/metal/drain_cover_s
	
	{
		blend		diffuseMap
		map			textures/darkmod/decals/metal/drain_cover
		alphatest 	0.2
	}
    {
        if ( parm11 > 0 )
        blend       gl_dst_color, gl_one
        map         _white
        rgb         0.40 * parm11
    }
    {
        if ( parm11 > 0 )
        blend       add
        map         textures/darkmod/decals/metal/drain_cover
        rgb         0.15 * parm11
    }



}