Jump to content


Photo

Tutorial: Creating a transparent TGA from a Photoshop image with transparency


  • Please log in to reply
4 replies to this topic

#1 Bart

Bart

  • Network Admins
  • 8,524 posts
  • Location:The Netherlands
  • Division:Revora
  • Job:Network Leader

Posted 11 March 2006 - 11:29 PM

Hi all, this is my first tutorial. I'm going to explain how save an image like this...

Posted Image

...as a TGA file with a proper alpha channel, so it appears right in BFME (II).

This tutorial is for Photoshop CS 2 (9.0)

1. Download these files:

Filter to remove transparency - save in %Photoshop%\Plug-Ins\Filters\
Dll to make it work - save in %Photoshop%\

2. Open your image. Merge the layers if you have more than one.

3. Select -> All. Now pick the move tool and press the Left and Right keys both once. This will select your image, like this:

Posted Image

4. Go the the channels and create a new channel. Select the new channel and fill it with white:

Posted Image

5. Select the RGB channel again. Now go to Filters -> Transparency -> Edit Transparency. Push the slider to 255 and click OK. Your image should look like this:

Posted Image

6. Save it as 32-bit TGA and it should appear right in-game

That's it. Please give comments :)

Thanks to this site for giving me the basis:
http://www.ypoart.co...Alpha-about.htm

Edited by 2playgames, 11 March 2006 - 11:30 PM.

bartvh | Join me, make your signature small!
Einstein: "We can’t solve problems by using the same kind of thinking we used when we created them."

#2 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 12 April 2006 - 12:45 AM

http://forums.revora...showtopic=21389 whopper wrote a tutorial on this some time back. Between the two it should help alot.

#3 Bart

Bart

  • Network Admins
  • 8,524 posts
  • Location:The Netherlands
  • Division:Revora
  • Job:Network Leader

Posted 12 April 2006 - 12:46 PM

yes i saw it, but it requires you to manually paint your alpha channel
bartvh | Join me, make your signature small!
Einstein: "We can’t solve problems by using the same kind of thinking we used when we created them."

#4 Guest_Robb_*

Guest_Robb_*
  • Guests

Posted 20 June 2008 - 06:33 AM

First of all, the second download that you posted didn't work, it pulled me to a page that said ERROR 404!
Secondly, I couldn't find this "Filters -> Transparency" to set to 255.. I haven't played with Photoshop in awhile, especially CS2

Anyways I tried to save it anyways and it didn't work.

Any suggestions? :p

#5 Guest_Charlie_*

Guest_Charlie_*
  • Guests

Posted 23 December 2008 - 07:10 PM

First of all, the second download that you posted didn't work, it pulled me to a page that said ERROR 404!
Secondly, I couldn't find this "Filters -> Transparency" to set to 255.. I haven't played with Photoshop in awhile, especially CS2

Anyways I tried to save it anyways and it didn't work.

Any suggestions? ;)

Same problem... but I'm with CS4.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users