Author Topic: How to disable portraits in character creation?  (Read 459 times)

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
How to disable portraits in character creation?
« on: July 19, 2014, 04:01:06 pm »


               

I don't like some of the CEP portraits available at character creation (some are downright ugly, while some don't work at all), so I thought that maybe I could disable them. How do I do this, though? I know there is a "plot" flag you can set in portraits.2da, but it doesn't seem to work. I flagged like this portraits I did not want, but they still show at character creation.



               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #1 on: July 19, 2014, 06:15:01 pm »


               THIS POST HAS BEEN CORRECTED

Character creation uses the portraits in your local vault portraits folder, so you can remove those you don't want.

It also uses those portraits which are not flagged as "plot" in portraits.2da.
               
               

               


                     Modifié par Proleric, 20 juillet 2014 - 08:03 .
                     
                  


            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #2 on: July 19, 2014, 06:35:57 pm »


               

I've just emptied my local vault folder and all of these CEP portraits I don't like are still there at character creation (of course only when I start a CEP module).



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #3 on: July 19, 2014, 06:42:18 pm »


               


I've just emptied my local vault folder and all of these CEP portraits I don't like are still there at character creation (of course only when I start a CEP module).




that because a cep hak is loaded and the version of portraits.2da is used from CEP hak


 


to avoid that you must upload your portraits.2da into cep haks and overwrite it (or delete the 2da from cep haks)


               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #4 on: July 19, 2014, 07:08:35 pm »


               

Still nothing. I even deleted whole portraits.2da from CEP top hakpak and these CEP portraits are still there at character creation.



               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #5 on: July 19, 2014, 11:16:26 pm »


               My bad, I meant the portraits folder, not local vault... sorry!
               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #6 on: July 20, 2014, 12:27:56 am »


               


My bad, I meant the portraits folder, not local vault... sorry!




 


No difference, don't worry. '<img'>

These portraits still show, even when I have both portraits and localvault folders empty, and portraits.2da deleted from CEP top hak pak.


               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #7 on: July 20, 2014, 09:08:29 am »


               Sorry for all the confusion. The plot flag in portraits.2da does stop portraits appearing in character generation; I just tested this in my module.

I can only think that perhaps you have something in the override folder, or that the module has a version of portraits.2da in a hak with higher priority than CEP?
               
               

               
            

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #8 on: July 20, 2014, 03:22:36 pm »


               

CEP is notorious for duplicating content in multiple hak files. One of the first things I'd consider is whether there's another version of CEP's portraits.2da somewhere else in their hak structure than just in the top hak. Which version of the CEP haks are you trying to use?



               
               

               
            

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #9 on: July 20, 2014, 03:30:58 pm »


               


I can only think that perhaps you have something in the override folder, or that the module has a version of portraits.2da in a hak with higher priority than CEP?




 


This sounds like the most plausible explanation to me. What module are you trying to play?


 


If you're dealing with a module, then the problem is bigger than just not liking the default player portraits list. The module may be intentionally using portraits in the list for some of its characters. Just deleting or changing them might break it.


 


Have you tried looking through your portraits folder, and removing anything from there that you don't want? As I remember it (corrections welcome), the portraits list available at character creation time is a combination of the non-plot images specified in portraits.2da, and whatever you've put in your portraits folder.



               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #10 on: July 20, 2014, 06:37:36 pm »


               


Sorry for all the confusion. The plot flag in portraits.2da does stop portraits appearing in character generation; I just tested this in my module.


I can only think that perhaps you have something in the override folder, or that the module has a version of portraits.2da in a hak with higher priority than CEP?




I double-checked to make sure, and it's as you said, I had portraits.2da in a hak above CEP. Embarassing. '<img'>

Still, I thought I disabled all of the non-working (white blank background) portraits, but there are still some. The problem is, I have no idea what these portraits are. Is there any way to determine it, so that I can disable them, too?


 


 




This sounds like the most plausible explanation to me. What module are you trying to play?


 


If you're dealing with a module, then the problem is bigger than just not liking the default player portraits list. The module may be intentionally using portraits in the list for some of its characters. Just deleting or changing them might break it.


 


Have you tried looking through your portraits folder, and removing anything from there that you don't want? As I remember it (corrections welcome), the portraits list available at character creation time is a combination of the non-plot images specified in portraits.2da, and whatever you've put in your portraits folder.




 


I'm not deleting anything, only changing the plot flag from 0 to 1, which causes these portraits to be unavailable at character creation.


As far as I know, modules relate portraits by their names and I neither delete these portraits nor change their names, so it should be fine. Correct me if I'm wrong, though.



               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #11 on: July 21, 2014, 07:58:16 am »


               

...I thought I disabled all of the non-working (white blank background) portraits, but there are still some. The problem is, I have no idea what these portraits are. Is there any way to determine it, so that I can disable them, too?...

One rather tedious way is to create a character with the blank portrait, then open its .bic file with GFF Editor to examine the portrait name.

Using the CEP 2.4 starter module, I see that there are actually two different problems; portraits whose icons are whitespace, and portraits with valid icons which appear as whitespace when selected.

An example of the former is po_dwghost_. This portrait doesn't exist, period.

The latter is far more common. It happens when a portrait exists, but the _h size variant is missing (a common shortcut when making portraits for NPCs).

In both cases, this can be corrected by flagging the portraits as "plot". (Alternatively, purists might want to correct the race in portraits.2da where this is clearly wrong, with the caveat that, for some reason, character creation seems to show portraits for more races than the one selected).

Since this is a CEP bug, you could report it on the CEP wiki. I'm not sure whether the CEP team will have time to fix it before 2.6 is released, but it's worth a try.

Maybe a moneo script could be written to find the portraits that qualify for character generation that have no _h sized tga?
               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
How to disable portraits in character creation?
« Reply #12 on: July 22, 2014, 09:27:18 am »


               I'll do just that, thank you. '<img'>