Author Topic: how to modify...  (Read 330 times)

Legacy_Cursed Eclipse

  • Full Member
  • ***
  • Posts: 132
  • Karma: +0/-0
how to modify...
« on: October 16, 2013, 09:24:07 pm »


               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


how should I do?
which file should I change?
               
               

               


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


            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
how to modify...
« Reply #1 on: October 17, 2013, 01:03:47 am »


               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 .
                     
                  


            

Legacy_Cursed Eclipse

  • Full Member
  • ***
  • Posts: 132
  • Karma: +0/-0
how to modify...
« Reply #2 on: October 17, 2013, 03:07:24 am »


               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!
               
               

               
            

Legacy_Cursed Eclipse

  • Full Member
  • ***
  • Posts: 132
  • Karma: +0/-0
how to modify...
« Reply #3 on: October 17, 2013, 09:36:18 am »


               done

'Image