Frictional Games Forum (read-only)
How to create a working icon for the inventory - 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: How to create a working icon for the inventory (/thread-18094.html)



How to create a working icon for the inventory - grasmann - 09-01-2012

Hi

It's me again Big Grin.

I had a fun time figuring out that entities aren't allowed to have the same file names for the last few hours.
What FUN I had Big Grin.

Another problem:
I managed to get everything with the flashlight working now. I also created a custom inventory icon for the lantern.

The Icon is in tga format in 32bit, with an alpha transparency layer, the transparency works fine as long as I don't mouse-over it. On mouse-over the alpha transparent areas get white, which looks really ugly.

Does somebody know how to fix it? Is there a second layer needed maybe?

Normal:
[Image: gICV7.jpg]

Mouse-over:
[Image: uIKt5.jpg]

The white areas are even faded in and out ... so I guess there is really another layer needed. XD
But I'm not to experienced when it comes to layers and stuff in images.

Attached file:
- Inventory Icon


RE: How to create a working icon for the inventory - Your Computer - 09-01-2012

I don't bother with TGA. For inventory images i stick with PNG.


RE: How to create a working icon for the inventory - grasmann - 09-01-2012

(09-01-2012, 07:11 PM)Your Computer Wrote: I don't bother with TGA. For inventory images i stick with PNG.
Mh ... I didn't even realize png was usable here. Gonna test this really quick.

EDIT:
Nope ... my png file has similar issues.
With only one difference: It doesn't only have the white area, but also pulsating graphical artefacts in this white area XD.

Attached files:
- png icon

EDIT2:
I just had the idea to open an actual tga image of the original game .... and obvisouly the transparent areas aren't really transparent, but black XD. lol
Gonna try this now.

EDIT3:
LOL ... it's working ... should've done this right away XD.