• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

9Kbits

Major
43 Badges
Sep 8, 2016
632
561
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Jade Dragon
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Magicka
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings III
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Europa Universalis IV
  • Rome Gold
Hello, everyone!

I'll get right to the point. I am the lead developer for the After the End Fan Fork mod, and I am trying to completely redo the portrait system of the mod for our next version. Unfortunately, portrait modding is very much not my forte, and I have no idea what I am supposed to do in order to achieve the effect I want in-game.

I will try to explain what is going on as briefly as possible. My mod has two sets of custom headgear and one set of custom clothing that is exclusively applied to characters who follow particular religions, regardless of their graphical culture. If a character is Americanist, for example, they will exclusively use a custom set of Americanist clothing and Americanist headgear, regardless of what graphical culture they would normally use. Similarly, all Rust Cultist characters use a specific set of custom crowns, which replace the crowns that would ordinarily be assigned to them based on their graphical culture.

Right now, my mod accomplishes this by simply adding the custom headgear and clothing to the end of our clothing .dds files. This custom clothing is then assigned to characters of the appropriate religions using the portrait properties file. This works well enough in most cases, but it leads to an issue with DLC portraits. See, the addition of additional clothing and headgear to my mod's clothing files means that my mod's clothing files contain a different number of frames than most DLC clothing files, which in turn means that no DLC portraits function properly unless I create a custom submod for them.

The problems with this are twofold. First, it means that I am forced create an inordinately large number of portrait submods for my mod in order to ensure that clothing works correctly for DLC portraits. Second, it leaves me unable to use any DLC assets without breaking Paradox's DLC policy, meaning that I am, more often than not, forced to make DLC portraits use vanilla western clothing. This results in characters looking bland in some cases and completely ridiculous in others, which is something I would like to address going forward.

In short, my question is this: Is there any way to dynamically assign different clothing sets to characters based solely on their religion in a way that completely overrides any and all other factors or variables without changing the number of frames used for my mod's clothing files?

The only method I can think of for doing this is by adapting the system used in vanilla for society clothing, which takes a completely separate set of clothing and headgear .dds files and applies it to characters based on society membership and rank. I could theoretically copy this system and try to make it operate using religion instead, although I am still unclear on whether or not this would work.

Please let me know if there is any way for me to accomplish what I have laid out above. If you have any further questions, please ask me. A download link for my mod is contained in my sig, in case you want to take a look at the code for yourself.

Thank you in advance for your time.
 
While I still don't know how to 'dynamically assign different clothing sets to characters based solely on their religion', I have been working on a custom portrait set for primarily-americanist cultures (specifically Delawarean and Beltway). The male portraits are finished; I'd have to work on the female portraits next. They're also 12 sets long, like most dlc portraits.
 
While I still don't know how to 'dynamically assign different clothing sets to characters based solely on their religion', I have been working on a custom portrait set for primarily-americanist cultures (specifically Delawarean and Beltway). The male portraits are finished; I'd have to work on the female portraits next. They're also 12 sets long, like most dlc portraits.
I can see what you're trying to go for here, but I am not sure if I like this solution. Not only will this lead to Americanists from different cultures just straight up not using Americanist clothing, it will cause non-Americanist Delawareans and Beltwayers to use Americanist clothing even if it is inappropriate (ex: if they are Atomicist, like the Delawareans in Three Mile Island). This "solves" the issue of some DLC portraits not functioning correctly, but it won't retain the functionality currently present in the mod, which is something I would like to keep.

Also, this reply is superfluous and unhelpful. I asked a very specific question and you replied with something completely unrelated to that question. This is a waste of both your time and my time.
 
Don't chew me out for trying to help you. I already apologized for pestering you about it.

What's more important is that we find someone who can fix this
 
Last edited: