Staredit Network > Forums > SC2 Assistance > Topic: [SOLVED] Transparent icons?
[SOLVED] Transparent icons?
This topic is locked. You can no longer write replies here.
Dec 28 2010, 6:14 am
By: payne  

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

:payne:

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

Post has been edited 1 time(s), last time on Dec 28 2010, 10:30 pm by payne.



None.

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

Master has given Dobby a doctorate! Dobby is free!

.TGA supports transparency?




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

Woah

It does on World of Warcraft through alpha channels.



:devlin: Currently Working On: :devlin:
Myself

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

Master has given Dobby a doctorate! Dobby is free!

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.




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

:payne:

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?



None.

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

Woah

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:
Myself

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

>be faceless void >mfw I have no face

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.

"In short, their absurdities are so extreme that it is painful even to quote them."

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

Praetor

I prefer dds, much easier to use by the sounds of it.



None.

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

:payne:

I can't use .dd: somehow, my PhotoShop doesn't allow me to Save As a DDS. :/



None.

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

>be faceless void >mfw I have no face

Quote from payne
I can't use .dd: somehow, my PhotoShop doesn't allow me to Save As a DDS. :/
http://www.staredit.net/topic/11041/#228340
Photoshop dds plugin broski :P



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

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

:payne:



:hurr:



None.

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

>be faceless void >mfw I have no face

Quote from payne


: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.

"In short, their absurdities are so extreme that it is painful even to quote them."

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

:payne:

Quote from Jack
Quote from payne


: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?



None.

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

>be faceless void >mfw I have no face

Quote from payne
Quote from Jack
Quote from payne


: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.

"In short, their absurdities are so extreme that it is painful even to quote them."

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

:payne:

It worked.
Thank you. :)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: RIVE