[skip all navigation]

[SOLVED] Transparent icons?

Creator: payne
Time: Dec 28 2010, 6:14 am
Topic Locked
Topic Locked
This topic has been locked!
Reason: Topic served its purpose.
Closed by: DevliN

Post #1     payne Dec 28 2010, 6:14 am

[Avatar]
Addicted to SEN Games -Add more!-
offlinecontact
Rank: Veteran
I'm currently trying to use the "Move" button (76x76) to represent Left/Up/Right arrows. I took a screenshot from the previewer, opened PhotoShop, pasted the screenshot, rotated it, removed all the black with the Magic Wand Tool, saved and imported in my map.
Then, I set this new icon as the Hero Icon of a unit, launch a map-test, but see that what was transparent now became black.

How am I supposed to proceed? :(

EDIT: Extension used: .tga
This post was edited 1 time, last edit by payne: Dec 28 2010, 10:30 pm.

Top

Post #2     poison_us Dec 28 2010, 6:21 am

[Avatar]
‎(•‿•)
offlinecontact
Rank: Regular
.TGA supports transparency?

Top

Post #3     DevliN Dec 28 2010, 7:34 am

[Avatar]
SOMETHING STATUS GO
offlinecontact
Rank: Administrator
It does on World of Warcraft through alpha channels.

:devlin: CURRENTLY WORKING ON :devlin:
Invasion: Ares | OMG TEH ZOMBIES!!!
Summoner | Infection
Top

Post #4     poison_us Dec 28 2010, 8:18 am

[Avatar]
‎(•‿•)
offlinecontact
Rank: Regular
You need to make sure that your Photoshop is saving the .TGA with transparency, apparently it needs a plugin or something. I was trying to say that in less words.

Top

Post #5     payne Dec 28 2010, 7:35 pm

[Avatar]
Addicted to SEN Games -Add more!-
offlinecontact
Rank: Veteran
Quote from poison_us
You need to make sure that your Photoshop is saving the .TGA with transparency, apparently it needs a plugin or something. I was trying to say that in less words.
No idea how to make sure about that. :/

@Devlin: so I am supposed to put a full background layer with an alpha of 0 instead of nothing?

Top

Post #6     DevliN Dec 28 2010, 8:00 pm

[Avatar]
SOMETHING STATUS GO
offlinecontact
Rank: Administrator
No, you mess with the alpha channels. What you would need to do is select everything that you want to remain visible, go into the Channels tab, add a new channel (Alpha), and fill the selected area with white. If you can save the tga with transparency, all the black part of that Channel should become invisible. That's how it works when adding images to WoW, at least.

:devlin: CURRENTLY WORKING ON :devlin:
Invasion: Ares | OMG TEH ZOMBIES!!!
Summoner | Infection
Top

Post #7     Jack[RCDF Dec 28 2010, 9:23 pm

[Avatar]
Skin to bone, steel to rust, ash to ashes, dust to dust.
offlinecontact
Rank: Regular
Why not use .dds?

Anyway, in GIMP you go to Colour->Colour to Alpha and it will convert the chosen colour to alpha. There should be something similar in photoshop. The colour you should use would be the black that you deleted.

Red classic.

I have mostly left SEN except for the Temple Siege 2 forum (hidden to most of you). I am available via PM still, and Skype as JackRCDF.

If it is important to you, you will find a way. Otherwise, you will find an excuse. -Unknown
Magnificent!
Perhaps you shouldn't be on SEN as much, too...
Better than the iPad!
Top

Post #8     Alzarath Dec 28 2010, 9:43 pm

[Avatar]
offlinecontact
Rank: Regular
I prefer dds, much easier to use by the sounds of it.

Top

Post #9     payne Dec 28 2010, 9:45 pm

[Avatar]
Addicted to SEN Games -Add more!-
offlinecontact
Rank: Veteran
I can't use .dd: somehow, my PhotoShop doesn't allow me to Save As a DDS. :/

Top

Post #10     Jack[RCDF Dec 28 2010, 9:47 pm

[Avatar]
Skin to bone, steel to rust, ash to ashes, dust to dust.
offlinecontact
Rank: Regular
Quote from payne
I can't use .dd: somehow, my PhotoShop doesn't allow me to Save As a DDS. :/
Textures, Icons, and GUI Resources
Photoshop dds plugin broski :P

Red classic.

I have mostly left SEN except for the Temple Siege 2 forum (hidden to most of you). I am available via PM still, and Skype as JackRCDF.

If it is important to you, you will find a way. Otherwise, you will find an excuse. -Unknown
Magnificent!
Perhaps you shouldn't be on SEN as much, too...
Better than the iPad!
Top

Post #11     payne Dec 28 2010, 9:59 pm

[Avatar]
Addicted to SEN Games -Add more!-
offlinecontact
Rank: Veteran
(user posted image)

:hurr:

Top

Post #12     Jack[RCDF Dec 28 2010, 10:02 pm

[Avatar]
Skin to bone, steel to rust, ash to ashes, dust to dust.
offlinecontact
Rank: Regular
Quote from payne
(user posted image)

:hurr:
Choose DXT5 for the top dropdown box, turn off mip maps until you save (when you save your file, you want mipmaps, when you load them you don't) and leave the 2D texture as 2D texture. Nothing else should need changing, just hit save after that.

Red classic.

I have mostly left SEN except for the Temple Siege 2 forum (hidden to most of you). I am available via PM still, and Skype as JackRCDF.

If it is important to you, you will find a way. Otherwise, you will find an excuse. -Unknown
Magnificent!
Perhaps you shouldn't be on SEN as much, too...
Better than the iPad!
Top

Post #13     payne Dec 28 2010, 10:10 pm

[Avatar]
Addicted to SEN Games -Add more!-
offlinecontact
Rank: Veteran
Quote from Jack[RCDF
Quote from payne
(user posted image)

:hurr:
Choose DXT5 for the top dropdown box, turn off mip maps until you save (when you save your file, you want mipmaps, when you load them you don't) and leave the 2D texture as 2D texture. Nothing else should need changing, just hit save after that.
1) How to tell him not to load with mipmaps? And seeing this window is for Saving, I just leave it as "Generate MIP maps" right?
2) So now I can remove the black background and leave the transparent region?

Top

Post #14     Jack[RCDF Dec 28 2010, 10:14 pm

[Avatar]
Skin to bone, steel to rust, ash to ashes, dust to dust.
offlinecontact
Rank: Regular
Quote from payne
Quote from Jack[RCDF
Quote from payne
(user posted image)

:hurr:
Choose DXT5 for the top dropdown box, turn off mip maps until you save (when you save your file, you want mipmaps, when you load them you don't) and leave the 2D texture as 2D texture. Nothing else should need changing, just hit save after that.
1) How to tell him not to load with mipmaps? And seeing this window is for Saving, I just leave it as "Generate MIP maps" right?
2) So now I can remove the black background and leave the transparent region?
1) Hit the button for No MipMaps. And yep.
2) Should be able to, but if not there should be a way to turn a colour into an alpha map. Google it.

Red classic.

I have mostly left SEN except for the Temple Siege 2 forum (hidden to most of you). I am available via PM still, and Skype as JackRCDF.

If it is important to you, you will find a way. Otherwise, you will find an excuse. -Unknown
Magnificent!
Perhaps you shouldn't be on SEN as much, too...
Better than the iPad!
Top

Post #15     payne Dec 28 2010, 10:30 pm

[Avatar]
Addicted to SEN Games -Add more!-
offlinecontact
Rank: Veteran
It worked.
Thank you. :)

Top
Topic Locked
Topic Locked
This topic has been locked!
Reason: Topic served its purpose.
Closed by: DevliN
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[08:36 am]
TF- -- ḓ̭̙͉̱̮̜͗͋ͮͤ̔̽͆e̠̓ͮ͌̋̚͠s̳̱͉̽ͦ̾̃̈́̀t̠̘͎̜̺̞̮̗́͊̋ͫ̌͂̂ͮ̚r̯̪͉ͧ̾͟͢ͅo̱̻͚͎̠̰͓͌ͬ͟͠͡y̵̗̖͕͉̪͕̖̮̅͊̊ͩ̀͘ ̤̱̜̖͖́̽͂ͥ͗ͫ̿̚
[06:47 am]
Pr0nogo -- I SELL YOU MY GOAT CHEESE
[06:47 am]
Pr0nogo -- LEGITIMATE BUSINESSMAN FROM EEEEEEENDIA
[06:47 am]
Pr0nogo -- I AM ALIBABA
[04:16 am]
Pr0nogo -- wut
[04:16 am]
Pr0nogo -- wait
[11:05 pm]
jjf28 -- haha
Please log in to shout.