You need to use a 32-bit TGA
24bit color and 8bit alpha

HL will change the color to 16bit and use the alpha for transparanticy(sp?)
-Ms

>From: Commando <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [hlcoders] TGA Files in Menus
>Date: Fri, 12 Apr 2002 11:54:59 -0400
>
>Hey guys, this isn't really a coding question, but problems like this
>usually fall upon the coders shoulders like it has in my mod, so I thought
>I would put it out to you guys anyways ;)
>
>We are using TFC style menus for our player class selection.  We
>have  24-bit colour TGA files for each of our classes that are displayed in
>the menus.  The files look fine in an editor, but when they are displayed
>in-game, the colour palette is reduced which causes banding in large areas
>of similar colours.  My guess is that the colours are being reduced to 256
>colours, but poorly.  Is there any way to improve the appearance of these
>graphics?
>
>I have tried reducing the graphics to 256 colours, but then they don't
>appear in the menus.  I have also tried reducing them to 256 colours then
>back up to 24-bit, but that doesn't work either.  I think I have to reduce
>them to a specific 256 colour palette, then up them back to 24-bit, but I
>don't know which palette to use.
>
>Anyone have experience or a pointer to info on this?
>
>Thanks
>
>Rob Prouse
>http://www.tourofdutymod.com
>
>_______________________________________________
>To unsubscribe, edit your list preferences, or view the list archives,
>please visit:
>http://list.valvesoftware.com/mailman/listinfo/hlcoders
>




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to