Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Tempest on May 26, 2007, 07:23:33 pm

Title: Weird HUD ani problem
Post by: Tempest on May 26, 2007, 07:23:33 pm
I replaced some of the HUD anis to look more like what I wanted- my first attempt was the reticle. It went well, and the ani went onto my HUD perfectly. Next, I tried the energy gauge, and for some reason it's showing up transparent is places where it isn't supposed to be transparent. I DID change the palette around, but it's still 256 color and the ani got no conversion errors, or warnings. What's going wrong? How does ANI transparency work? Thanks!
Title: Re: Weird HUD ani problem
Post by: Devrous on May 28, 2007, 04:00:41 am
Check the existing energy bar. It has several, well, "shades of white." Make sure you use the same shades, as well as the progression from light to dark.

First time I changed mine around I got it to work using MS Paint and just dropping the original colors onto mine; crude, but it worked!
Title: Re: Weird HUD ani problem
Post by: Tempest on May 28, 2007, 09:03:59 am
I fixed the problem by using the palettes from the original files.

However, this was slightly upsetting because I lost a lot of detail, and they're still 256 color. In the original HUD ani palettes, about 230 of the colors are all identical green, a massive waste of space. Oh well...it still looks fine now, anyways.

I think what FS does is considers every color in the palette after 14 to be invisible, making higher detail hud anis impossible.