Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a working icon for the inventory
grasmann Offline
Junior Member

Posts: 5
Threads: 2
Joined: Sep 2012
Reputation: 0
#1
How to create a working icon for the inventory

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


Attached Files
.zip   flashlight_icon.zip (Size: 3.87 KB / Downloads: 74)
09-01-2012, 07:05 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: How to create a working icon for the inventory

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

Tutorials: From Noob to Pro
09-01-2012, 07:11 PM
Website Find
grasmann Offline
Junior Member

Posts: 5
Threads: 2
Joined: Sep 2012
Reputation: 0
#3
RE: How to create a working icon for the inventory

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


Attached Files
.zip   flashlight_icon_png.zip (Size: 4.66 KB / Downloads: 77)
(This post was last modified: 09-02-2012, 12:17 PM by grasmann.)
09-01-2012, 07:12 PM
Find




Users browsing this thread: 1 Guest(s)