DrawSetColor should work. Does your vmt contain this line? "$vertexalpha" "1"
Garion Hystek schrieb: > Basicly im using a .VTF that is basicly like the health system in cod4, when > you get really hurt the redness appears around your screen. Basicly i have > the image linked to the players health, and the HUD item sets the alpha > according to the players health so the image is less visible when you are > slightly hurt and more visible when you are badly injured, and thats the > problem, no matter what i try i cant get the images alpha to change; here are > some of the ways I've tried to change the alpha:"surface()->DrawSetColor( > 255,255,255,120 );" - the 120 being the alpha"this->SetAlpha(120);"It seems i > can't get this to work, any help would be appreciated. > _________________________________________________________________ > Looking for a fresh way to share photos? Get the new Windows Live Messenger. > http://download.live.com/ > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders