Aller au contenu

Photo

how to modify...


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Cursed Eclipse

Cursed Eclipse
  • Members
  • 70 messages
I would like to modify the icon of the effect so that the background becomes transparent,but keeping the orange frame around the icon



Image IPB


how should I do?
which file should I change?

Modifié par Cursed Eclipse, 16 octobre 2013 - 08:37 .


#2
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 880 messages
For modifying those icons, you're going to want to extract all of the textures that start with "ief_".  The one you show in your screenshot happens to be ief_haste.tga.

Once you have those icons extracted, you'll pull each one into a program such as Photoshop or GIMP.  If the image does not already have an alpha channel (which is what NWN uses to control GUI transparency), you'll want to add one.

The alpha channel is a greyscale image the same size as your full incon (32x32 pixels).  Any pixels you want fully visible/solid will match up with white pixels in your alpha channel.  Any pixels you want fully transparent should be black in the alpha channel.  Shades of grey in the alpha channel will result in various levels of transparency in the icon.

Save your updated images as 32-bit .tga (Targa) files.  Drop them into your NWN/override folder and enjoy.

I'm not sure which image controls the gold border around the effects icons.  I know I made it tranparent in my GUI years ago, I just don't recall which file it is.

Modifié par The Amethyst Dragon, 17 octobre 2013 - 12:05 .


#3
Cursed Eclipse

Cursed Eclipse
  • Members
  • 70 messages
Hi Amethyst,i forgot to say that you had already done this work in your transparent GUI (of which i use a large part of the file into my custom GUI!! - ty a lot for this great work)
http://nwvault.ign.c....Detail&id=1236

I found the file that makes the icons of effects,transparents
is: ctl_btn_dm.tga

OK
I put
ctl_btn_dm.tga ,
in my override and ...the icon is transparent,but lost the orange frame!!

Anyway there is another version of ctl_btn_dm.tga that come from another of your creation,your RED GUI ...and the ORANGE FRAME around the icon ,comes from this other yours own creation!!

At this point all i have to do is mix this 2 files ,
I have not yet figured out how to do it but I'll try!

#4
Cursed Eclipse

Cursed Eclipse
  • Members
  • 70 messages
done

Image IPB