Victoria 3

Victoria 3

评价数不足
Heir Hair Fix
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
113.154 KB
2022 年 12 月 21 日 上午 11:00
1 项改动说明 ( 查看 )

订阅以下载
Heir Hair Fix

描述
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.
热门讨论 查看全部(1)
1
2023 年 2 月 23 日 上午 9:07
Possible fix for beards
Gantolandon
13 条留言
Gantolandon 2023 年 2 月 23 日 上午 8:50 
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 2023 年 2 月 23 日 上午 8:50 
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 2023 年 2 月 17 日 下午 11:47 
For anyone using the Western Clothes mod, I made a similar mod that should work specifically for Western Clothes

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2935047403
Guest In Disguise 2023 年 2 月 15 日 上午 9:09 
Doesn't work for me. Sad lyfe
Mr. Ozelot 2023 年 2 月 11 日 下午 10:37 
The Taiping still seem to lack hair. Europeans work for me.
Zszywka 2023 年 1 月 26 日 上午 5:56 
Doesn't work for me...
Lupus Il Burlesco 2022 年 12 月 28 日 上午 10:19 
Thank you
keep sneed illegal  [作者] 2022 年 12 月 27 日 下午 8:27 
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 2022 年 12 月 26 日 上午 4:23 
Using this mod cause significant framerate drop when open character interface.
keep sneed illegal  [作者] 2022 年 12 月 21 日 下午 4:06 
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.