
07-21-2004, 11:25 PM
i just remembered i had pulled Hobbs's new hud apart. here's the .tik for the compass:just copy and paste Hobbs's text to notepad and make the font bigger to read better
//-------------------------------------------
// These are the shaders for the hud compass
//-------------------------------------------
// this is the main backdrop for the section of the hud
// that contains the health meter, stealth meter, and the compass
textures/hud/healthstealthback
{
surfaceparm nolightmap
nomipmaps
nopicmip
{
clampmap textures/hud/healthstealthback.tga
blendFunc blend
alphaGen oneMinusVertex
}
}
//this is the little directional arrow between the spheres
textures/hud/directional_arrow
{
surfaceparm nolightmap
nomipmaps
nopicmip
{
clampmap textures/hud/directional_arrow.tga
blendFunc blend
alphaGen oneMinusVertex
}
}
// the main body of the compass
textures/hud/compassback
{
surfaceparm nolightmap
nomipmaps
nopicmip
{
clampmap textures/hud/compassback.tga
blendFunc blend
alphaGen oneMinusVertex
}
}
textures/hud/compasspain
{
surfaceparm nolightmap
nomipmaps
nopicmip
{
clampmap textures/hud/compasspain.tga
blendFunc blend
alphaGen oneMinusVertex
}
}
textures/hud/compasspainblank
{
surfaceparm nolightmap
{
map $whiteimage
blendFunc blend
alphaGen const 0
}
}
// The compass needle
textures/hud/compassneedle
{
surfaceparm nolightmap
nomipmaps
nopicmip
{
clampmap textures/hud/compassneedle.tga
blendFunc blend
alphaGen oneMinusVertex
}
}
// the little thinggys that go around the compass for the objectives
textures/hud/compassobjball
{
surfaceparm nolightmap
nomipmaps
nopicmip
{
clampmap textures/hud/compassobjball.tga
blendFunc blend
alphaGen oneMinusVertex
}
}
|