• 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.
Status
Not open for further replies.

miakodakot

Recruit
4 Badges
May 15, 2023
1
3
  • Crusader Kings II
  • Stellaris
  • Crusader Kings III
  • Crusader Kings III: Royal Edition

Information​

I have verifed my game files (Steam only)​

Yes

I have disabled all mods​

Yes

I am running the latest game update​

Yes

Required​

Summary​

Nude characters started to appear

Description​

Playing Vanilla, no mods, recent version of the game 1.9.0.3, all DLCs are on, I have "Show nudity" setting turned off, they're not Adamites. They're not lunatics and no one stole their clothes, I have no nudity law from lunatic event.
But they are in my game. Some dukes and some of my family members are nude for no reason.
There are some screenshots from the save:
Nude characters in my save are Dukes of Angria, Lausitz, Julich and one of my character's daughter as I can see. Also it seems like only characters in HRE are affected.

Steps to reproduce​

Started a game in 1066 as an Austria, made Archduchy of Austria. Nothing important happened after. At least didn't notice anything.

Game Version​

1.9.0.3

Platform​

Windows

Additional Information​

Affected Feature​

  • Gameplay
  • Interface

Save Game​

View attachment Эрцгерцогиня_Винфрида_(Австрия)_1148_03_13.ck3

Other Attachments​

View attachment error.log

 
  • 3Like
Reactions:
I wonder if it is the same bug I got. My characters that wear HRE Fashion are also nude or have a visual bug in which the torso fully dissappears. Seems to be from the DLC
 
  • 1
Reactions:
It happened to me after the saved game got updated from 1.9.0 to the lastest patch. It went away after a generation of characters or so. I just dressed them up properly (instead of "default" options).
 
  • 1
Reactions:
It's happening to me with Pomeranian cultured characters while at war. Seems that if a character is forced to wear "war" clothing, they default switch to Teutonic armor, and some cultures might not have it? idk
 
Noticed this too.
Possibly (probably ?) related : characters seem to be wearing crusader armors instead of regular armors when fighting in non-crusade wars.

I dont have the latest DLCs, no mods.
 

Attachments

  • 20230515193911_1.jpg
    20230515193911_1.jpg
    875,8 KB · Views: 0
The naked characters in the HRE and the knights wearing crusader armors outside of crusades are two unrelated bugs with clothing weights/their triggers which I studied quite a bit today.

For the crusader armor, in patch 1.9 they added additional weights to armors to have priests that are allowed to be knights to wear armor into battle rather than just their religious clothing like they did before. This was likely done because Warrior Priests and perhaps Recruitment Religious doctrines (I have tested the first, not the second) now work properly and you do not need both to allow clergy to be knights. For crusader armor they messed this up. They used a different trigger which is always True for catholics therefore giving a small chance any catholic can wear crusader armor. I think they meant this to be a trigger to make catholic clergy always wear crusader armor but that doesn't quite work.

To fix this you can modify (not maybe doing intended behavior but at least removing occasional crusaders) `game/gfx/portraits/portrait_modifiers/04_clothes_armor.txt` change "western_crusades" from
Code:
    western_crusades = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = western_crusades
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        outfit_tags = { military_outfit }
        weight = {
            base = 0
            modifier = {
                add = 110
                portrait_western_crusades_trigger = yes
            }
            modifier = {
                add = 21        # So priests who are actively serving in a raised army as a commander or knight wear armor instead of priest robes
                portrait_armored_priest_trigger = {
                    RELIGION = christianity_religion
                }
            }
        }
    }
to
Code:
western_crusades = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = western_crusades
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        outfit_tags = { military_outfit }
        weight = {
            base = 0
            modifier = {
                add = 110
                portrait_western_crusades_trigger = yes
            }
            modifier = {
                add = 21        # So priests who are actively serving in a raised army as a commander or knight wear armor instead of priest robes
                portrait_western_crusades_trigger = yes
            }
        }
    }
This is changing the second modifier to remove the trivial true statement and replace it with the same as above which is consistent with other armors (why they didn't change the initial 50 to 71 I do not pretend to understand).

For the naked HRE people, I haven't traced this down exactly but it seems to have to do with the transition to "era 3" clothing which happens gradually, completing shortly after 1150AD. I thought it might be related to the garments of the HRE DLC but I see you have that in your save as well. I ran a spectator game and it seems people regained their clothes by 1155 except child rulers (even outside the HRE) which continue to wear nightgowns. Puzzling.
 
  • 2Like
  • 1
Reactions:
I think I may understand the nude characters now, take a look at these lines in game/common/scripted_triggers/00_clothing triggers.txt

Code:
portrait_era2_trigger = {
    current_year > 1000
    current_year < 1250
    OR = {
        AND = { # People from 16 to 25 will be the first to adopt new fashion
            scope:year_of_birth >= 975
            scope:year_of_birth < 1000
            scope:age >= 16
        }
        AND = {
            scope:year_of_birth >= 1000
            scope:year_of_birth < 1125

        } 
    }
}

portrait_era3_trigger = {
    current_year > 1150
    current_year < 1400
    OR = {
        AND = { # People from 16 to 25 will be the first to adopt new fashion
            scope:year_of_birth >= 1125
            scope:year_of_birth < 1150
            scope:age >= 16
        }
        AND = {
            scope:year_of_birth >= 1150
            scope:year_of_birth < 1275
        } 
    }
}

If I'm reading this correctly, the intend for a gradual transition in clothing eras by having young people adopt them first. However this is the bug, they have to satisfy all three conditions (current year greater, current year less than AND one of the OR conditions). The issue is when you transition eras, the 16-25 year olds are born too late for era 2 clothing (>1125) but too early for era 3 clothing (1150) and are naked until it reaches the year 1150. The other era transitions will have the same issue. Characters will be clothed again if you extend the era 2 cutoff in the second or statement to be 1150 as well (similarly for the other eras) and lower the min year in the first statement of era3 like so:
Code:
portrait_era2_trigger = {
    current_year > 1000
    current_year < 1250
    OR = {
        AND = { # People from 16 to 25 will be the first to adopt new fashion
            scope:year_of_birth >= 975
            scope:year_of_birth < 1000
            scope:age >= 16
        }
        AND = {
            scope:year_of_birth >= 1000
            scope:year_of_birth < 1150

        } 
    }
}

portrait_era3_trigger = {
    current_year > 1125
    current_year < 1400
    OR = {
        AND = { # People from 16 to 25 will be the first to adopt new fashion
            scope:year_of_birth >= 1125
            scope:year_of_birth < 1150
            scope:age >= 16
        }
        AND = {
            scope:year_of_birth >= 1150
            scope:year_of_birth < 1275
        } 
    }
}

With this modification children born between 1125 and 1141 will wear ear 2 clothing until they turn 16 which they will be the first to wear era 3 clothing until all new children start wearing era 3 clothing at birth in 1150. Adults born before 1125 will retain era 2 clothing until death (unless they live past 1250/125++ years, in which case I guess they'll be nude again?).
 
Last edited:
  • 4Like
  • 1
Reactions:
Status
Not open for further replies.