Victoria 3

Victoria 3

Not enough ratings
Heir Hair Fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
113.154 KB
21 Dec, 2022 @ 11:00am
1 Change Note ( view )

Subscribe to download
Heir Hair Fix

Description
This mod fixes the bug which causes monarch's heirs and their descendants to appear bald


In Victoria 3, the appearance of heirs is derived from the "DNA" of their predessor. However, since release, the scripting which determines the hairstyle of DNA-derived characters has been commented out. This forces heirs to default to no_hair, rendering both Princes and Princesses completely, embarassingly bald.

By removing the hashes, the script in question is restored, and heirs now have the correct hair.

It appears that heirs still lack the possibility of facial hair. I have figured out the issue: 01_beards.txt defines european_beards to only display african_beards, and to only trigger if the monarch is wearing arabic_clothes. However, fixing this issue causes ALL existing European leaders to get beards, even the ones who aren't supposed to, and sometimes to overwrite existing facial hair. I haven't figured out this issue yet. If you have a fix, please let me know.

This mod should work with any other mod which does not modify 01_hairstyles.txt. I am unsure why paradox has not fixed this relatively simple issue - unless there is a reason the script was commented out, and it is causing issues elsewhere. In my experience it is not, but if you find a problem let me know.
Hopefully Paradox will patch this issue themselves soon.
Popular Discussions View All (1)
1
23 Feb, 2023 @ 9:07am
Possible fix for beards
Gantolandon
13 Comments
Gantolandon 23 Feb, 2023 @ 8:50am 
However, I think I found the problem. For example, let's check Ferdinand II genes in steamapps\common\Victoria 3\game\common\dna_data

beards={ "all_beards" 0 "all_beards" 0 }
mustaches={ "all_mustaches" 0 "all_mustaches" 0 }

Apparently, he's set to have any beard, which means a random one. If you want him to not have one, you have to set it yourself. Fortunately, there aren't that many predefined characters and some of them have hardcoded beards.
Gantolandon 23 Feb, 2023 @ 8:50am 
I took a look at the files. First, I changed the beard definition to something like this:

european_beards = {
dna_modifiers = {
accessory = {
mode = add
gene = beards
template = european_beards
range = { 0 1 } # For the randomness to work correctly
}
}
weight = {
base = 0
modifier = {
exists = scope:character
scope:character = { age > 16 }
add = 100
OR = {
european_clothes_trigger = yes
european_clothes_pop_trigger = yes
}
}
}
}

The result was as you described.
1230james 17 Feb, 2023 @ 11:47pm 
For anyone using the Western Clothes mod, I made a similar mod that should work specifically for Western Clothes

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2935047403
Guest In Disguise 15 Feb, 2023 @ 9:09am 
Doesn't work for me. Sad lyfe
Mr. Ozelot 11 Feb, 2023 @ 10:37pm 
The Taiping still seem to lack hair. Europeans work for me.
Zszywka 26 Jan, 2023 @ 5:56am 
Doesn't work for me...
Lupus Il Burlesco 28 Dec, 2022 @ 10:19am 
Thank you
keep weed illegal  [author] 27 Dec, 2022 @ 8:27pm 
In testing, I experienced an equivalent framerate drop when opening the character interface without the mod installed. I did not experience a greater framerate drop after the mod was installed. I am not able to replicate this but will investigate further.
Zwei833 the Buggy Modder 26 Dec, 2022 @ 4:23am 
Using this mod cause significant framerate drop when open character interface.
keep weed illegal  [author] 21 Dec, 2022 @ 4:06pm 
I have now confirmed this is savegame compatible - it will work with your existing save and give your bald characters hair. If it's not working for you, you probably have a mod that modifies the portrait files. The "Western Clothes" mod was giving me problems, for example.