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.
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[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
Please log in to shout.


Members Online: Zycorax