Page 1 of 1

Can't See my custom textures in radiant

Posted: Sun Jun 08, 2003 5:01 pm
by Shifty
Hi for some reason radiant wont recognise my custom textures, i've done these before for another map and they still work fine but these new ones should appear as hospital in the texture list but its not there. si it must be something in the shader but i can't spot it can any1 take a look?????

Thx

Code: Select all

textures/hospital/walltile
{
	qer_keyword brick
	qer_keyword wall
	surfaceparm stone
	{
		map textures/hospital/walltile.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/coffeemc
{
	qer_keyword window
	qer_keyword wood
	qer_keyword door
	surfaceparm wood
	{
		map textures/hospital/coffeemc.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/sodamc
{
	qer_keyword window
	qer_keyword wood
	qer_keyword door
	surfaceparm wood
	{
		map textures/hospital/sodamc.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/snackmc
{
	qer_keyword window
	qer_keyword wood
	qer_keyword door
	surfaceparm wood
	{
		map textures/hospital/snackmc.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/fltilewood
{
	qer_keyword signs
	qer_keyword wood
	surfaceparm wood
	{
		map textures/hospital/fltilewood.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/mile_poster
{
	qer_editorimage textures/hospital/mile_poster.tga
	qer_keyword signs
	surfaceparm trans
	surfaceparm paper
	PolygonOffset
	nopicmip
	{
		clampmap textures/hospital/mile_poster.tga
		blendFunc blend
	nextbundle
		map $lightmap
	}
}

textures/hospital/hiv_poster
{
	qer_editorimage textures/hospital/hiv_poster.tga
	qer_keyword signs
	surfaceparm trans
	surfaceparm paper
	PolygonOffset
	nopicmip
	{
		clampmap textures/hospital/hiv_poster.tga
		blendFunc blend
	nextbundle
		map $lightmap
	}
}

textures/hospital/cpr_poster
{
	qer_editorimage textures/hospital/cpr_poster.tga
	qer_keyword signs
	surfaceparm trans
	surfaceparm paper
	PolygonOffset
	nopicmip
	{
		clampmap textures/hospital/cpr_poster.tga
		blendFunc blend
	nextbundle
		map $lightmap
	}
}

textures/hospital/hosdoor
{
	qer_keyword window
	qer_keyword wood
	qer_keyword door
	surfaceparm wood
	{
		map textures/hospital/hosdoor.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/wglass
{
	qer_editorimage textures/hospital/wglass_rad.tga
	qer_keyword window
	qer_keyword glass
	qer_trans .4
	surfaceparm glass
	{
		map textures/mohcommon/envnormndy_day.tga
		tcgen environment
		alphagen const .2
		blendFunc blend
	}
	{
		map textures/hospital/wglass.tga
		depthWrite
		alphaFunc GE128
	nextbundle
		map $lightmap
	}
}

textures/hospital/hoswallplaster
{
	qer_keyword m3
	qer_keyword wood
	qer_keyword wall
	qer_keyword plaster
	surfaceparm wood
	{
		map textures/hospital/hoswallplaster.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/bddoor
{
	qer_keyword signs
	qer_keyword metal
	surfaceparm metal
	{
		map textures/hospital/bddoor.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/morguesign
{
	qer_keyword signs
	qer_keyword metal
	surfaceparm metal
	{
		map textures/hospital/morguesign.tga
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/hospital/exit
{
	{
		map textures/mohcommon/environ_puddle.tga
		tcGen environment
	}
	{
		map textures/hospital/exit.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		rgbGen Identity
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

Posted: Sun Jun 08, 2003 11:32 pm
by Shifty
Any Ideas??

Posted: Mon Jun 09, 2003 4:28 am
by mohaa_rox
they look ok, but do u name the shader the same name as the folder? just to make sure?

Posted: Mon Jun 09, 2003 7:59 am
by Shifty
It's Fixed now but you'll never believe what i did.........

I only put the textures straight in the textures folder and not in a hospital folder i put it down to being drunk when i made it

Thx Rox I wouldnt have noticed otherwise...

:oops: :oops: :oops: :oops: :oops:

Posted: Mon Jun 09, 2003 9:03 am
by mohaa_rox
lol :lol: