• Custom HUD Texture Error.
    1 replies, posted
[IMG]http://img73.imageshack.us/img73/9279/hudcrap.png[/IMG] 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: [code]"LightmappedGeneric" { "$basetexture" "TheArcade/HUD1" "$translucent" 1 } [/code] ? [b]EDIT:[/b] Thanks :D Solved.
I'm pretty sure it has to do with your vmt, try this: [code]"UnlitGeneric" { "$basetexture" "TheArcade/HUD1" "$ignorez" 1 "$vertexcolor" 1 "$vertexalpha" 1 "$nolod" 1 "$nomip" 1 }[/code]
Sorry, you need to Log In to post a reply to this thread.