• 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.

K@ziel

Second Lieutenant
11 Badges
Apr 5, 2020
108
31
  • Cities: Skylines
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
Short summary of your issue
Clothing for Kings defaults to Low Nobility

Game Version
1.5.1

What OS are you playing on?
Windows

What platform are you using?
Steam

What DLC do you have installed?
Royal Court,

Do you have mods enabled?
No

Have you tried verifying your game files (Steam only)?
Yes

How much "pain" is this causing you?
5

Please explain the issue you experienced in the most condensed way possible
My character a Duke of Anjou claimed the throne of France and I noticed his clothing downgraded from High to Low Nobility.

Please explain how to reproduce the issue
Easy, just start a new game as Charles the Bald of West Francia and you will see him wearing Low Nobility clothing.

Is there anything else you think could help us identify/replicate the issue?


I have attached a save game
Yes

Upload Attachment
File(s) attached
 

Attachments

  • robertine.ck3
    18,4 MB · Views: 0

Mcgan

Colonel
18 Badges
Mar 19, 2020
1.191
1.728
  • Crusader Kings III: Royal Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
Let me guess: your court amenities are set to either "Stylish Fashion" or "Haute Couture Fashion", right? (Level 4 or 5 "Clothing" Amenities)

They messed up the code around that. I'm surprised I haven't seen anybody talk about it until now to be honest.
 
Last edited:
  • 4
Reactions:

K@ziel

Second Lieutenant
11 Badges
Apr 5, 2020
108
31
  • Cities: Skylines
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
Let me guess: your court amenities are set to either "Stylish Fashion" or "Haute Couture Fashion", right?

They messed up the code around that. I'm surprised I haven't seen anybody talk about it until now to be honest.
Not sure which, but all court amenities are maxed.

I haven't gotten very far in this playthrough, on 3rd generation Robertine, but it seems it only affects the French throne. I have a look around with the neighbouring kings (East Francia, Lotharingia & Italy) and they are all dressed appropriately. I'm guessing their court amenity must be at a lower level then.

Also, a new bug popped up on the 3rd gen Robertine's marriage; my character's wife (Queen of France) defaults to NO CROWN!

Any ideas on what would cause that new bug?

There's always something small like this that makes me quit playing, no matter how many patches and DLCs that excite me to play again.
Really frustrating :mad:
 

Mcgan

Colonel
18 Badges
Mar 19, 2020
1.191
1.728
  • Crusader Kings III: Royal Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
a new bug popped up on the 3rd gen Robertine's marriage; my character's wife (Queen of France) defaults to NO CROWN!
That's a bit harder to figure out, but is she by any chance of a different culture? And by that, I really mean a culture which uses different clothes.
 

K@ziel

Second Lieutenant
11 Badges
Apr 5, 2020
108
31
  • Cities: Skylines
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
That's a bit harder to figure out, but is she by any chance of a different culture? And by that, I really mean a culture which uses different clothes.
She's Catholic Catalan so I believe they have the same dress code as the French.

If I'm not mistaken, I attached an Ironman save which should contain the current Queen we are discussing, in case you want to see for yourself :)
 
  • 1Like
Reactions:

Mcgan

Colonel
18 Badges
Mar 19, 2020
1.191
1.728
  • Crusader Kings III: Royal Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
She's Catholic Catalan so I believe they have the same dress code as the French.
That's right.

If I'm not mistaken, I attached an Ironman save which should contain the current Queen we are discussing, in case you want to see for yourself
Good point, I'm more distracted than I thought :oops:
I'll take a look and see if I can figure that out.

Edit: Ok, I think I've found it. It's because she's less than 18 years old.
The crown in this situation is "ep1_western_royalty" which is defined like this:
Code:
        ep1_western_royalty = {
            index = 78
            male = {
                1 = male_headgear_secular_ep1_western_royalty_01
            }
            female = {
                1 = female_headgear_secular_ep1_western_royalty_01
            }
        }
Boy and Girl aren't defined, which would be what is used for male/female characters that are less than 18 years old.

Like this:
Code:
        western_royalty = {
            index = 4
            male = {
                1 = male_headgear_secular_western_royalty_01
                1 = male_headgear_secular_western_royalty_02
            }
            female = {
                1 = female_headgear_secular_western_royalty_01
                1 = female_headgear_secular_western_royalty_02
            }
            boy = male
            girl = female
        }

Edit 2: Yup, that was it.
Looks this when it's fixed:
1649779823601.png
 
Last edited:
  • 1
Reactions:

K@ziel

Second Lieutenant
11 Badges
Apr 5, 2020
108
31
  • Cities: Skylines
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
That's right.


Good point, I'm more distracted than I thought :oops:
I'll take a look and see if I can figure that out.

Edit: Ok, I think I've found it. It's because she's less than 18 years old.
The crown in this situation is "ep1_western_royalty" which is defined like this:
Code:
        ep1_western_royalty = {
            index = 78
            male = {
                1 = male_headgear_secular_ep1_western_royalty_01
            }
            female = {
                1 = female_headgear_secular_ep1_western_royalty_01
            }
        }
Boy and Girl aren't defined, which would be what is used for male/female characters that are less than 18 years old.

Like this:
Code:
        western_royalty = {
            index = 4
            male = {
                1 = male_headgear_secular_western_royalty_01
                1 = male_headgear_secular_western_royalty_02
            }
            female = {
                1 = female_headgear_secular_western_royalty_01
                1 = female_headgear_secular_western_royalty_02
            }
            boy = male
            girl = female
        }

Edit 2: Yup, that was it.
Looks this when it's fixed:

Ah, that's great info, much appreciated! But, forgive my ignorance when it comes to code, I'm still a little confused;

Does that mean it's not bugged and it's just the fact that she's under 18 is why she isn't wearing a crown yet?
 

Mcgan

Colonel
18 Badges
Mar 19, 2020
1.191
1.728
  • Crusader Kings III: Royal Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
Does that mean it's not bugged and it's just the fact that she's under 18 is why she isn't wearing a crown yet?
It's a fact that the reason she isn't wearing a crown is because she is under 18.

Is it a bug? I believe so.
Why? Because if you don't have the Royal Court dlc, another crown would be used. And that other crown does work for characters below 18 years old.
 
  • 1
Reactions:

K@ziel

Second Lieutenant
11 Badges
Apr 5, 2020
108
31
  • Cities: Skylines
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
It's a fact that the reason she isn't wearing a crown is because she is under 18.

Is it a bug? I believe so.
Why? Because if you don't have the Royal Court dlc, another crown would be used. And that other crown does work for characters below 18 years old.
Ah great, I thought I was going nuts because I'm sure I've had characters that were under 18 wearing crowns before.

I get it now, the game set her to wear a specific crown and the bug is that they forgot to write in the code to make it available as soon as he/she turns 16 like all the other crowns. I guess, a little like how they screwed up the code for the high/low nobility clothing for the king if court fashion is set too high.

Mcgan, really appreciate you taking the time to look into this. This playthrough is salvageable :)
 
  • 1Like
Reactions:

Mcgan

Colonel
18 Badges
Mar 19, 2020
1.191
1.728
  • Crusader Kings III: Royal Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
Well, the bug with Court Fashion being set too high was the hardest to fix.

Because you know, it's not supposed to affect the owner of the Royal Court, it's supposed to affect everyone else in the court.

Court Fashion level 4 = everyone wears low nobility clothing, and at max level they wear high nobility clothing instead.
But nobody wears high nobility clothing ever, and some even keep their commoner clothes for some reason. So annoying.

I remember spending a few hours on fixing it back then. And since it's only a visual bug, I bet this won't be fixed officially any time soon...
 
  • 2
Reactions:

Toybasher

Captain
51 Badges
Jun 21, 2020
463
1.499
  • Crusader Kings II: Legacy of Rome
  • Hearts of Iron IV: No Step Back
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Stellaris: Federations
  • Stellaris: Ancient Relics
  • Prison Architect
  • Stellaris: Megacorp
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Crusader Kings II: Horse Lords
Well, the bug with Court Fashion being set too high was the hardest to fix.

Because you know, it's not supposed to affect the owner of the Royal Court, it's supposed to affect everyone else in the court.

Court Fashion level 4 = everyone wears low nobility clothing, and at max level they wear high nobility clothing instead.
But nobody wears high nobility clothing ever, and some even keep their commoner clothes for some reason. So annoying.

I remember spending a few hours on fixing it back then. And since it's only a visual bug, I bet this won't be fixed officially any time soon...
You should post the fix for the nobility clothing on here as well as show where in the code it's broken and why it happens. Makes it much easier for Paradox to work on fixing it usually if it's pointed out.
 

Mcgan

Colonel
18 Badges
Mar 19, 2020
1.191
1.728
  • Crusader Kings III: Royal Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
You should post the fix for the nobility clothing on here as well as show where in the code it's broken and why it happens. Makes it much easier for Paradox to work on fixing it usually if it's pointed out.
Good point. I was reluctant because my fix is... well, I'm not sure it's the most adapted to the situation. But at least it would point in the right direction, true enough.
This will be a pain to explain though...


So the Court Fashion Amenities bugs all happen in the same file:
\gfx\portraits\portrait_modifiers\01_clothes.txt

New weights were added to "force" characters to change the clothes they wear depending on amenities level:
Code:
            modifier = {
                add = 50
                exists = court_owner
                court_owner = {
                    has_royal_court = yes
                    amenity_level = { type = court_fashion value >= 4 }
                }
                portrait_dde_hre_clothing_trigger = yes
            }
This code is for Low Nobility Clothing.
As we can see, this one is for the 4th level of amenities ( amenity_level = { type = court_fashion value >= 4 } ), but for whatever (bad) reason, it also applies for levels higher than that.
In case that's not obvious, it really shouldn't, there is simply not a single good reason for that.

That code should be like this:
Code:
            modifier = {
                add = 50
                exists = this
                exists = court_owner
                court_owner = {
                    has_royal_court = yes
                    amenity_level = { type = court_fashion value = 4 }
                }
                NOT = { this = court_owner }      <----  The ruler doesn't need it
                trigger_if = {
                    limit = { exists = court_owner.primary_spouse }    <-- If the ruler has a primary spouse
                    NOT = { this = court_owner.primary_spouse }       <-- Primary spouse of ruler doesn't need it either
                }
                portrait_dde_hre_clothing_trigger = yes
            }


Code:
            modifier = {
                add = 50
                exists = court_owner
                court_owner = {
                    has_royal_court = yes
                    amenity_level = { type = court_fashion value = 5 }
                }
                portrait_dde_hre_clothing_trigger = yes
            }
This code is for High Nobility Clothing.
As we can see, this one is for the 5th (highest) level of amenities only ( amenity_level = { type = court_fashion value = 5 } ).
So if you were to use a mod that adds more amenity levels, this would not work. Well, it doesn't work anyway so let's ignore that for now.

This one should be like this (pretty much the same as before):
Code:
            modifier = {
                add = 50
                exists = this
                exists = court_owner
                court_owner = {
                    has_royal_court = yes
                    amenity_level = { type = court_fashion value >= 5 }
                }
                NOT = { this = court_owner }
                trigger_if = {
                    limit = { exists = court_owner.primary_spouse }
                    NOT = { this = court_owner.primary_spouse }
                }
                portrait_dde_hre_clothing_trigger = yes
            }

All of the examples/fixes before are for the Holy Roman Empire Clothing only ( that's what portrait_dde_hre_clothing_trigger = yes means )
Meaning it needs to be done to every kind of clothing.


That is just the 1st fix though, I found that doing this fixed the issue only partially, not exactly sure why.
I'm already tired, I'll post the rest later :(
 
  • 2
Reactions:

Mcgan

Colonel
18 Badges
Mar 19, 2020
1.191
1.728
  • Crusader Kings III: Royal Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
Yeah so I dived back into it and found other bugs, so rather than trying to explain it all, I'll just share an archive with the (hopefully) fixed files.
Anyone can just compare the files to the originals and see what's changed.

Edit: Re-re-uploaded the file, forgot to adjust some things.
 

Attachments

  • fixed_clothing.7z
    14 KB · Views: 0
Last edited:
  • 2
Reactions:

K@ziel

Second Lieutenant
11 Badges
Apr 5, 2020
108
31
  • Cities: Skylines
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
Yeah so I dived back into it and found other bugs, so rather than trying to explain it all, I'll just share an archive with the (hopefully) fixed files.
Anyone can just compare the files to the originals and see what's changed.

Edit: Re-re-uploaded the file, forgot to adjust some things.
Thanks again for looking into it Mcgan, really appreciate it.

Hopefully the devs have fixed this issue by now.