Okay, so, this isn't working. Specifically I'm trying to customize the coat of arms that b_hagiasophia uses. In landed_titles.txt, it normally reads like this.
Code:
b_hagiasophia = {
pentarchy = yes
turkish = "Ayasofya"
}
I made a new game and customized a dynasty CoA with Ruler Designer, while my ruler was set to GM_mymod_religion as his religion. I saved, then opened the save file. Finding the proper dynasty in the save file has this.
Code:
1000102599=
{
name="GMtestCOAdynasty"
culture="GM_mymod_culture"
religion="GM_mymod_religion"
is_modified=yes
coat_of_arms=
{
data=
{
0 2 25 5 6 2 9 2 0 8 2 0 0 2 0 8 2 0 0 2 0 8 2 0 0
}
religion="GM_mymod_religion"
}
}
I copied that coat of arms code into b_hagiasophia in landed_titles.txt so it looks like this now.
Code:
b_hagiasophia = {
pentarchy = yes
turkish = "Ayasofya"
coat_of_arms=
{
data=
{
0 2 25 5 6 2 9 2 0 8 2 0 0 2 0 8 2 0 0 2 0 8 2 0 0
}
religion="GM_mymod_religion"
}
}
I loaded up the game, made sure the barony is held by someone of my culture and religion (GM_mymod_culture and GM_mymod_religion), but the barony's CoA is still a random creation. (I started other new games, made sure the barony was held by the proper culture and religion again, and the barony's CoA was different once again, hence I assume it's random.)
Then I tried making a decision to force the issue with the
set_coa
command. In my decisions file, under
title_decisions = {}
, I added this.
Code:
GM_set_hagiasophia_coa = {
potential = {
FROM = {
ai = no
religion = GM_mymod_religion
}
}
allow = {
}
effect = {
set_coa = b_zzz_hagiasophia_dummy_coa
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 0
}
}
Meanwhile I made a "dummy" title, like the
set_coa
command's entry suggests, at the end of landed_titles.txt, so the command can draw the CoA from that.
Code:
b_zzz_hagiasophia_dummy_coa = {
coat_of_arms=
{
data=
{
0 2 25 5 6 2 9 2 0 8 2 0 0 2 0 8 2 0 0 2 0 8 2 0 0
}
religion="GM_mymod_religion"
}
}
I loaded up the game and used the decision on the barony title. The CoA does not change. Experimentally, I used the decision on the county and duchy titles for Constantinople as well. Their CoAs were changed, but instead of being changed to what is specified in the b_zzz_hagiasophia_dummy_coa title, they changed to the custom CoA being used for my
empire (of which the Constantinople county is my capital).
I tested another angle by changing
b_zzz_hagiasophia_dummy_coa to
d_zzz_hagiasophia_dummy_coa. Once again, using it on a barony title does not change its CoA, but this time using it on a county or duchy title changes their CoA to blank black (possibly because county-tier and higher titles tend to draw from gfx/flags and there is no flag graphic file for the dummy title).
I'm flummoxed. Help please?