Author Topic: Importing custom NPC portraits ??  (Read 1849 times)

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #15 on: April 18, 2013, 08:10:06 pm »


               I got the portraits to work (albiet upside down - that's easy to fix) for player characters by putting them in portraits, so I know the tgas I have are okay. But they still don't appear on the list in the toolset. I changed line 572 in the portraits file in 2daSource and also copied portraits into override and put the five tgas in override.
Here's my new line:
572        hu_m_insaneclown_       0      6      ****            0      ****
               
               

               
            

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #16 on: April 18, 2013, 08:13:30 pm »


               The spaces in line 572 didn't come through on the above post. I did put spaces between the elements.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #17 on: April 18, 2013, 08:31:40 pm »


               

Groove Widdit wrote...
hu_m_insaneclown_



That there is already 17 characters long.   A ResRef has a max length of 16 characters.   SO you will need to shorten that to at least 15 characters assuming the game is adding only a single digit to the resref base
               
               

               
            

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #18 on: April 19, 2013, 12:16:43 am »


               It still isn't showing up on the list. I changed the two portraits files to this:
572        hu_m_inscln_   0      6      ****            0      ****
               
               

               
            

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #19 on: April 19, 2013, 12:17:53 am »


               Except with the appropriate spaces.
               
               

               
            

Legacy_Fester Pot

  • Hero Member
  • *****
  • Posts: 1698
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #20 on: April 19, 2013, 03:44:51 am »


               Are you using haks with this module? If so, make sure they don't have a portraits.2da file within, or it will be used instead of the one in your override folder.

FP!
               
               

               
            

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #21 on: April 19, 2013, 06:19:22 am »


               No haks with this mod, just the game folders.
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #22 on: April 19, 2013, 12:44:10 pm »


               @Groove Widdit As there is a whole chapter on making and adding portraits in the Custom Content Guide it might be an idea to check in there for your problem, if you have not done so already. If the problem persists, by all means ask again in here (although this problem is actually more suited to the custom content threads). In any case let us know your progress.

TR
               
               

               
            

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #23 on: April 19, 2013, 10:51:12 pm »


               Thanks, Tarot, that's a great resource. Xnview is awesome too. Thanks everyone for helping me. I guess this isn't going to happen without a hakpak. I just can't make it work with the regular game files.
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #24 on: April 20, 2013, 11:11:52 am »


               You're welcome and drop in on the custom content threads, there are other tools that you might find useful listed and linked to on there, you just got to look ('^_^').

TR
               
               

               
            

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Importing custom NPC portraits ??
« Reply #25 on: April 20, 2013, 09:18:18 pm »


               Okay.