//Castlemap  Models


models/castlemap/castlemap_bottle
{ 
qer_editorimage models/castlemap/bottle_castlemap.tga
cull twosided 
q3map_forceMeta 
q3map_nonplanar 
q3map_shadeAngle 179
q3map_lightmapSampleOffset 8.0
implicitMap models/castlemap/bottle_castlemap.tga 
}

models/castlemap/castlemap_crate
{
	qer_editorimage models/castlemap/castlemap_crate.tga
	surfaceparm wood
	implicitMap models/castlemap/castlemap_crate.tga
}

models/castlemap/castlemap_crate_cull
{
	qer_editorimage models/castlemap/castlemap_crate.tga
	cull twosided 
	surfaceparm wood
	implicitMap models/castlemap/castlemap_crate.tga
}

models/castlemap/castlemap_light
{
	qer_editorimage models/castlemap/castlemap_light.tga
	//q3map_lightimage models/castlemap/castlemap_light.tga
	//q3map_surfacelight 5000
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map models/castlemap/castlemap_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map models/castlemap/castlemap_light_blend.tga
		blendFunc GL_ONE GL_ONE
	}
}

models/castlemap/castlemap_light_blue
{
	qer_editorimage models/castlemap/castlemap_light_bblend.tga
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map models/castlemap/castlemap_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map models/castlemap/castlemap_light_bblend.tga
		blendFunc GL_ONE GL_ONE
	}
}

models/castlemap/megaphone
{ 
qer_editorimage models/castlemap/mega1.tga
q3map_forceMeta 
q3map_nonplanar 
q3map_shadeAngle 180
q3map_lightmapSampleOffset 8.0
implicitMap models/castlemap/mega1.tga
}

models/castlemap/wolfstatue
{ 
qer_editorimage models/castlemap/wolfstatue.tga
q3map_forceMeta 
q3map_nonplanar 
q3map_shadeAngle 180 
q3map_lightmapSampleOffset 8.0
implicitMap models/castlemap/wolfstatue.tga 
}

models/castlemap/skull4
{
	qer_editorimage models/castlemap/skull_text.tga

	{
		map textures/effects/envmap_slate.tga
		tcGen environment
	}
	{
		map models/castlemap/skull_text2.tga 
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
	{
		map models/castlemap/skull_blend.tga 
		blendfunc add
		rgbGen wave triangle .5 .2 .5 3.5
	}
}

textures/sfx/roq_candle_flame
{
	cull none
	q3map_surfacelight 1000
	//nofog
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	
	qer_editorimage textures/sfx/roq_candle_flame.tga
	{
		videomap video/roq_candle_flame.roq
		blendfunc add
		rgbGen identity
	}
}

//********************************************
//***************ZEPPELIN*********************
//********************************************

models/castlemap/balloon
{
	qer_editorimage models/castlemap/balloon.tga
	q3map_nonplanar
	q3map_forceMeta
	q3map_shadeangle 45
	{
		map $lightmap
		rgbGen identity
	}
	{
		map models/castlemap/balloon.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

models/castlemap/cabine
{
	qer_editorimage models/castlemap/cabine.tga
	q3map_forcemeta
	q3map_lightmapSampleOffset 8.0
	q3map_nonplanar
	implicitMap models/castlemap/cabine.tga
	surfaceparm pointlight
	q3map_shadeangle 90
 
}

models/castlemap/banner1
{
	qer_editorimage models/castlemap/banner1.tga
	q3map_nonplanar
	q3map_forceMeta
	q3map_shadeangle 45
	{
		map $lightmap
		rgbGen identity
	}
	{
		map models/castlemap/banner1.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

models/castlemap/inside
{
	qer_editorimage models/castlemap/inside.tga
	q3map_forcemeta
	q3map_lightmapSampleOffset 8.0
	q3map_nonplanar
	implicitMap models/castlemap/inside.tga
	surfaceparm pointlight
	q3map_shadeangle 90
 
}



models/castlemap/prop
{
	qer_editorimage models/castlemap/propz.tga
	cull none
	nopicmip
	surfaceparm nomarks
	surfaceparm trans
	

{
		
		clampMap models/castlemap/propz.tga
		blendFunc blend
		rgbGen identity
		tcMod rotate 512
	}
{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
		rgbGen identity
	}
}



models/castlemap/roof
{
	qer_editorimage textures/xlab_floor/xfloor_c01.tga
	q3map_nonplanar
	q3map_forceMeta
	q3map_shadeangle 45
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/xlab_floor/xfloor_c01.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

models/castlemap/floor
{
	qer_editorimage textures/metal_misc/diamond_c_01b.tga
	q3map_nonplanar
	q3map_forceMeta
	q3map_shadeangle 45
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/metal_misc/diamond_c_01b.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

//********************************************
//***************END_____ZEPPELIN*************
//********************************************

