Author Topic: Adding icons  (Read 1436 times)

Legacy_Nebril2

  • Full Member
  • ***
  • Posts: 104
  • Karma: +0/-0
Adding icons
« on: January 01, 2016, 11:56:47 pm »


               

Hi all!


 


I read an online guide to add icons to the game. I need to add an item icon wich represents the torch post placeable. 


 


I followed these steps:


 


Print screen on the placeable image, used photoshop to cut just the torch image. Created a tga x32 bits file with a size of 32x128 pixels and saved as "iit_talmisc_026". (there are 025 by default)


 


Then i created a hak wich adds that resource in a hakless module just to test it. But when i go to mis large item, it appears a new icon, but its just a copy of the 026 icon... 


 


And when i tryied to replace 001 to test that way... it appear a black icon with glitches and sparks. 


 


 


What im doing wrong?



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Adding icons
« Reply #1 on: January 02, 2016, 02:10:04 pm »


               

OK, it's possible that you saved the tga with rle compression enabled. Even if that is not the case, running it through TGA_Flipper twice (the first time it will invert your image) will strip any compression and generally make your tga more NwN friendly.


 


On a more general note I always do my texture work in png and only convert to tga just before including it in a hak file. This has a few advantages. Amongst which is the fact that windows can display them in windows explorer. Another advantage is that you can use the Greenfish Icon Editor Pro (current version 3.31) for small images. It is both free and open source. BTW It is halfway down the page I linked to. It is basically a stripped down pixel graphics editor and has such things as layers and a magic wand tool. Speaking of the magic wand tool, it is great for finding almost transparent pixels. They are the cause of a number of graphical glitches in item icons.


 


Hope this helps.


 


TR



               
               

               
            

Legacy_Nebril2

  • Full Member
  • ***
  • Posts: 104
  • Karma: +0/-0
Adding icons
« Reply #2 on: January 03, 2016, 04:24:52 am »


               

Thans man, will try those programs!


 


(:



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Adding icons
« Reply #3 on: January 03, 2016, 02:17:56 pm »


               

If you have any more probs, pm me and we'll arrange for you to send me your icon and I'll take a look.


 


TR