Can't See my custom textures in radiant

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Shifty
Map Reviewer
Posts: 717
Joined: Sun Dec 15, 2002 11:53 pm
Location: UK
Contact:

Can't See my custom textures in radiant

Post 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
	}
}
.MDT Webmaster, Mapper, Moddeler & Concept Artist
.Map Reviewer
Image
http://www.shiftys-bunker.tk Under Construction
Shifty
Map Reviewer
Posts: 717
Joined: Sun Dec 15, 2002 11:53 pm
Location: UK
Contact:

Post by Shifty »

Any Ideas??
.MDT Webmaster, Mapper, Moddeler & Concept Artist
.Map Reviewer
Image
http://www.shiftys-bunker.tk Under Construction
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

they look ok, but do u name the shader the same name as the folder? just to make sure?
Live to map, not map to live.
-mohaa_rox, .map
moderator
Shifty
Map Reviewer
Posts: 717
Joined: Sun Dec 15, 2002 11:53 pm
Location: UK
Contact:

Post 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:
.MDT Webmaster, Mapper, Moddeler & Concept Artist
.Map Reviewer
Image
http://www.shiftys-bunker.tk Under Construction
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

lol :lol:
Live to map, not map to live.
-mohaa_rox, .map
moderator
Post Reply