RE: [hlcoders] beam fade notes @ handy vandal's almanac

2005-06-22 Thread Ian Warwick
Cheers Karl, Great to see the hl2 version! Your site has proved to be a most useful resource over the years :) Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karl Jones Sent: 22 June 2005 00:19 To: hlcoders@list.valvesoftware.com Subject: [hlcoders]

[hlcoders] Selected a frame to show in an animated material

2005-06-22 Thread Ian Warwick
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] IMaterial has a method to get the total number of frames, however, I can not see any methods to select a particular frame to show. I am trying to find a good solution for more funky HUD bars, this is p

Re: [hlcoders] Selected a frame to show in an animated material

2005-06-22 Thread Andrew (British_Bomber)
I've seen that somewhere... I can't think of it ATM though. in on of my mods I have a gradiant to show the players health instead of numerics, and I just used an array of 10 hud textures and painted the appropriate one depending on the players health, fx. material[0] would be 100 to 91, material[