| View previous topic :: View next topic |
| Author |
Message |
panthercules
Joined: 30 Apr 2005 Posts: 444
|
Posted: Sat May 21, 2005 11:05 pm Post subject: How do you make sub emblem background transparent? |
|
|
Help (please) - I've tried several approaches but still can't get the background for my sub emblem to be transparent so that only the emblem image shows, without looking like a square - I've seen plenty of folks' screenshots with it done right, so I know it's possible, but I haven't been able to figure out how to do it yet.
Using Paintshop Pro, I tried making one layer (background) transparent and then pasting down my image as layer 2, then saving as a 64x64 .tga file - no joy - the program says something about due to limitations/type of image file it has to save as a merged image or something, and I got a square background in game.
My latest attempt was to paste down the image as a new layer 2 on top of an underlying square layer 1 - I then flood-filled the layer 1 with what looked like pure white (255,255,255) - I then saved the image down as a .tga file - same message about saving as a merged image or something, and in game the emblem still shows up as my picture on a square white background.
Also tried black (0,0,0) but that didn't work either
What am I doing wrong, and how do I get a transparent background?
Any ideas/solutions? |
|
| Back to top |
|
 |
August
Joined: 16 Apr 2005 Posts: 1296 Location: Rhode Island
|
Posted: Sat May 21, 2005 11:22 pm Post subject: |
|
|
Try setting the backround layer color to:
R: 9
G: 13
B: 31 |
|
| Back to top |
|
 |
August
Joined: 16 Apr 2005 Posts: 1296 Location: Rhode Island
|
Posted: Sat May 21, 2005 11:37 pm Post subject: |
|
|
BTW i use PSP as well and that merged image message you get is normal.
If you want to keep your layers separate first save it as a .psp or .psd then use that to generate a .tga using the save as command. |
|
| Back to top |
|
 |
panthercules
Joined: 30 Apr 2005 Posts: 444
|
Posted: Sat May 21, 2005 11:54 pm Post subject: |
|
|
| August wrote: | Try setting the backround layer color to:
R: 9
G: 13
B: 31 |
Hmmm - thanks for the suggestion - but I tried that and no luck
It must be something that Paint Shop Pro is doing though - the background looks transparent enough and reads 9,13,31 in PSP before I save it down, but then when I save it as a .tga file (or a .bmp file, just as a test) and then open it back up again the background is white and reads 252,252,252 for some reason - I can't find any settings anywhere in PSP that would seem to be causing this
Is there some other freebie imaging program that can do this that I should maybe try instead of Paint Shop Pro? I've had real good luck with PSP before now, but this is getting frustrating to be sure |
|
| Back to top |
|
 |
August
Joined: 16 Apr 2005 Posts: 1296 Location: Rhode Island
|
Posted: Sun May 22, 2005 12:37 am Post subject: |
|
|
| panthercules wrote: | | August wrote: | Try setting the backround layer color to:
R: 9
G: 13
B: 31 |
Hmmm - thanks for the suggestion - but I tried that and no luck
It must be something that Paint Shop Pro is doing though - the background looks transparent enough and reads 9,13,31 in PSP before I save it down, but then when I save it as a .tga file (or a .bmp file, just as a test) and then open it back up again the background is white and reads 252,252,252 for some reason - I can't find any settings anywhere in PSP that would seem to be causing this
Is there some other freebie imaging program that can do this that I should maybe try instead of Paint Shop Pro? I've had real good luck with PSP before now, but this is getting frustrating to be sure |
I haven't messed around with the sub emblems yet but i'm sure you can do it with PSP. Try this. Promote your backround to a layer. Do a merge of the two layers and save. Does it still turn white?
Also, take a look at the stock emblems in the SH3 folder. I saw some other backround colors which also may work. |
|
| Back to top |
|
 |
panthercules
Joined: 30 Apr 2005 Posts: 444
|
Posted: Sun May 22, 2005 12:44 am Post subject: |
|
|
I haven't messed around with the sub emblems yet but i'm sure you can do it with PSP. Try this. Promote your backround to a layer. Do a merge of the two layers and save. Does it still turn white?
Also, take a look at the stock emblems in the SH3 folder. I saw some other backround colors which also may work.[/quote]
I tried doing a merge of the layers inside PSP before saving, and it looks like it works inside PSP but it still gave me that message upon saving and still turned it white during the save somehow. I saved it as a .psp first (so it would preserve the layers and make it easier to keep playing with it), and again that looks like it's going to work while inside PSP but still turns white every time I save it as something besides a .psp file
Good thought about looking at the other emblem files from the game - gonna go do that and see if that helps
Thanks, and keep the suggestions coming, cause it's likely I'm just missing something simple here somehow |
|
| Back to top |
|
 |
Jace11
Joined: 16 Mar 2005 Posts: 1091
|
Posted: Sun May 22, 2005 12:45 am Post subject: |
|
|
Take one of the original emblems.....
Use its background as your own. The color I think is important. Think something similar was used in IL2. Just use a background from one of the ones you know works. |
|
| Back to top |
|
 |
August
Joined: 16 Apr 2005 Posts: 1296 Location: Rhode Island
|
Posted: Sun May 22, 2005 12:54 am Post subject: |
|
|
Checking out the stock emblems again i just noticed that they are only a backround layer.
After you create the TGA and merge the layers exit and go back in and demote the layer down to a backround. That might do it. |
|
| Back to top |
|
 |
panthercules
Joined: 30 Apr 2005 Posts: 444
|
Posted: Sun May 22, 2005 1:23 am Post subject: |
|
|
LOL - well, apparently it's not my emblem images or PSP - it seems to be my copy of SH3 :huh:
I looked at the game emblems - I'm pretty sure the red devil one is not supposed to have any square background on the sub, so I loaded it into PSP and compared it to my image and sure enough, the background colors were the same and the layer properties and all were the same - so out of curiosity/desperation I renamed the red devil file to the one I was using in game and fired it up, and lo and behold there was the red devil on my conning tower, in a black square background - WTH is that all about?
Anybody ever seen this in the game? (I'm running 1.2/Real 1.22 on a 6800GT with 71.89 drivers) |
|
| Back to top |
|
 |
DeepSix
Joined: 27 Mar 2005 Posts: 802 Location: DB22
|
Posted: Sun May 22, 2005 2:05 am Post subject: |
|
|
| Hmmm.... Not sure what's going on. Are you saving it as a 24-bit, uncompressed targa? |
|
| Back to top |
|
 |
Cdre Gibs
Joined: 27 Apr 2005 Posts: 742
|
Posted: Sun May 22, 2005 2:13 am Post subject: |
|
|
**
Last edited by Cdre Gibs on Fri May 27, 2005 10:37 am; edited 2 times in total |
|
| Back to top |
|
 |
DeepSix
Joined: 27 Mar 2005 Posts: 802 Location: DB22
|
Posted: Sun May 22, 2005 2:15 am Post subject: |
|
|
| Yeah, I wondered about that, too, but mine has no alpha channel (neither do the originals) and it's fine. |
|
| Back to top |
|
 |
panthercules
Joined: 30 Apr 2005 Posts: 444
|
Posted: Sun May 22, 2005 9:57 am Post subject: |
|
|
| DeepSix wrote: | | Hmmm.... Not sure what's going on. Are you saving it as a 24-bit, uncompressed targa? |
Yep - sure am.
| Cdr Gibs wrote: | | The reason its not working is because it has no alpha channel. Its that simple. In most games the transperant layer usually is an alpha channel. |
Ok - so do I need to give mine an alpha channel or something? if so, how do I do that? And why don't the game's stock emblems have one in my version (i.e., why does my stock red devil guy show up with a black background on my sub - I didn't mess with/alter that file in PSP - I just renamed it with Windows Explorer)? |
|
| Back to top |
|
 |
snake1969
Joined: 20 Apr 2005 Posts: 4
|
Posted: Sun May 22, 2005 1:25 pm Post subject: |
|
|
Understand your frustration, went thru same problem a few years ago.
1) Create a new image 64x64 pixels @ 72 resolution using RGB format with background color R=9, G=13, B=31 (this is the one color that SHIII recognizes as transparent).
2) Paste your image on the background and merge the two layers so there is only one layer.
3) Save as a 24 bit TGA file and place in the SubEmblems folder.
This has worked for me and hope it helps you. |
|
| Back to top |
|
 |
Beery
Joined: 09 Nov 2004 Posts: 2817 Location: Boston, MA, USA
|
Posted: Sun May 22, 2005 4:13 pm Post subject: |
|
|
| I have this problem too. I know it can be done in Paint Shop Pro, but I only have Photoshop. Why not just use an alternative strategy - just make the background the same as the conning tower colour? |
|
| Back to top |
|
 |
|