Frictional Games Forum (read-only)
[ART] Custom Item Icon Trolling me - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [ART] Custom Item Icon Trolling me (/thread-19655.html)



Custom Item Icon Trolling me - Daemian - 12-24-2012

hi modelers, i have this icon i made and it's not working good. look this img

This is the custom item, it works properly
[Image: 1747c4.jpg]

This is the icon for interaction
[Image: 6nt2tl.jpg]

And this is the TGA channels (photoshop)
[Image: 29b249f.jpg]

So, i added the alpha channel, why it's not working ? it's back is still black (image2)


RE: Custom Item Icon Trolling me - NaxEla - 12-24-2012

When I use a custom icon, I make the image file a png. It works fine for me and the background is transparent. Try that and see if it works.


RE: Custom Item Icon Trolling me - Daemian - 12-24-2012

(12-24-2012, 07:23 AM)NaxEla Wrote: When I use a custom icon, I make the image file a png. It works fine for me and the background is transparent. Try that and see if it works.

oh i can use another file type ? great


it worked

[Image: vyoztz.jpg]

ty man


RE: Custom Item Icon Trolling me - xxxxxxxxxxxxxxxx - 12-24-2012

When saving a targa with alpha from photoshop, I believe you need to make sure you're exporting as 32 bit, not 24 bit. Otherwise it will only export the three rgb channels (24 = 3x 8 bit channel, 32= 4x 8bit channel), not the fourth alpha channel.
Not that it matters, now that the problem is fixed Big Grin


RE: Custom Item Icon Trolling me - NaxEla - 12-25-2012

(12-24-2012, 08:26 AM)Amn Wrote:
(12-24-2012, 07:23 AM)NaxEla Wrote: When I use a custom icon, I make the image file a png. It works fine for me and the background is transparent. Try that and see if it works.

oh i can use another file type ? great


it worked

[Image: vyoztz.jpg]

ty man

No probs, I'm glad that I could help.