Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: nubbles526 on June 16, 2008, 02:15:55 pm

Title: Transperancy in PCX
Post by: nubbles526 on June 16, 2008, 02:15:55 pm
So, I am making some .anis lately for TAP. I've noticed that all the .anis made by other modders are transperant.

This is my problem: How do you add transperancy to PCX?

AFAIK, .pcx does not support transperancy or alpha channels. So what are your secrets? Could you give a left out modder a chance to learn?

Thanks

P.S. I use Photoshop CS3 and GIMP. For ani making, use ANIBLD by HH.
Title: Re: Transperancy in PCX
Post by: blowfish on June 16, 2008, 02:23:10 pm
Pure green (0, 255, 0) is transparent in PCX IIRC
Title: Re: Transperancy in PCX
Post by: Topgun on June 16, 2008, 02:24:20 pm
don't use ani, use eff (http://www.hard-light.net/wiki/index.php/ANI#EFF).
Title: Re: Transperancy in PCX
Post by: nubbles526 on June 16, 2008, 02:28:26 pm
don't use ani, use eff (http://www.hard-light.net/wiki/index.php/ANI#EFF).

Ahh...eff. Nice stuff. One question (Never used EFF)  Do I write the code into a notepad? You know, where do I place frame pictures and the code itself? And how do I use the code?

EDIT:
Pure green (0, 255, 0) is transparent in PCX IIRC

I'll try that, thanks.
Title: Re: Transperancy in PCX
Post by: Topgun on June 16, 2008, 02:30:09 pm
do it in notepad, but give it the .eff ext.
Title: Re: Transperancy in PCX
Post by: blowfish on June 16, 2008, 02:30:59 pm
What are these ANIs for?  For textures and effects always use EFF.  But ANI is the only choice for interface art.
Title: Re: Transperancy in PCX
Post by: Topgun on June 16, 2008, 02:33:19 pm
black is transparency in interface stuff.
Title: Re: Transperancy in PCX
Post by: nubbles526 on June 16, 2008, 02:35:51 pm
do it in notepad, but give it the .eff ext.

Right, then. Then I just put it in 'effects' and I am done, I suppose.

What are these ANIs for?  For textures and effects always use EFF.  But ANI is the only choice for interface art.

Yep, I am talking about HUD icons.

black is transparency in interface stuff.

Let me see if this works (Got my fingers crossed)
Title: Re: Transperancy in PCX
Post by: Galemp on June 16, 2008, 08:13:40 pm
Your best bet is to open an existing ANI of the type you want and check it out. Some like background bitmaps use 0,255,0 as a 1-bit alpha channel, and some like briefing icons use additive blending (0% Black = transparent, 100% white = opaque.)