Custom HUD Texture Error.

http://img73.imageshack.us/img73/9279/hudcrap.png

It spazzes out and flashes black/the texture.

[lua] local QuadTable = {}
QuadTable.texture = surface.GetTextureID(“TheArcade/HUD1”)
QuadTable.color = Color( 255, 255, 255, 100 )
QuadTable.x = 0
QuadTable.y = ScrH() - 350
QuadTable.w = 350
QuadTable.h = 350
draw.TexturedQuad( QuadTable )[/lua]

Does it have something to do with the vtf and its crappy transparency or the vmt being:


"LightmappedGeneric"
{
	"$basetexture" "TheArcade/HUD1"
	"$translucent" 1
}


?

EDIT:
Thanks :smiley:
Solved.

I’m pretty sure it has to do with your vmt, try this:


"UnlitGeneric"
{
	"$basetexture"		"TheArcade/HUD1"
	"$ignorez"		1
	"$vertexcolor" 		1
	"$vertexalpha" 		1
	"$nolod" 			1
	"$nomip" 			1
}