I’m having a problem with a modded civ I’m making where only one age-up politician appears.
I added this to my age0 tech:
<effect type="TechStatus" status="obtainable">JacPol1a</effect>
<effect type="TechStatus" status="obtainable">JacPol1b</effect>
<effect type="TechStatus" status="obtainable">JacPol1c</effect>
<effect type="TechStatus" status="obtainable">JacPol1d</effect>
<effect type="TechStatus" status="obtainable">JacPol1e</effect>
and I added this to my protomods file:
<unit name="TownCenter">
<tech mergeMode="add" row="0" page="1" column="1">JacPol1a</tech>
<tech mergeMode="add" row="0" page="1" column="1">JacPol1b</tech>
<tech mergeMode="add" row="0" page="1" column="1">JacPol1c</tech>
<tech mergeMode="add" row="0" page="1" column="1">JacPol1d</tech>
<tech mergeMode="add" row="0" page="1" column="1">JacPol1e</tech>
</unit>
only the politician with the tech “JacPol1a” is appearing. I validated my techtree, politician, and protoy folders and they have no errors.
How’s your Politicianmods file looking?
<politicianmods>
<JacPol1a portraitfilename="" portraitfilenamewpf="resources/images/icons/politicians/politician_medici.png">
</JacPol1a>
<JacPol1b portraitfilename="ui\ingame\politicians\politician_governor" portraitfilenamewpf="resources/images/icons/politicians/politician_governor.png">
</JacPol1b>
<JacPol1c portraitfilename="" portraitfilenamewpf="resources/images/icons/politicians/politician_pope.png">
</JacPol1c>
<JacPol1d portraitfilename="ui\ingame\politicians\politician_quarter_master" portraitfilenamewpf="resources/images/icons/politicians/politician_quarter_master.png">
</JacPol1d>
<JacPol1e portraitfilename="ui\ingame\politicians\politician_mohawk_statesmen" portraitfilenamewpf="resources/images/icons/politicians/politician_mohawk_statesmen.png">
</JacPol1e>
</politicianmods>
The options I see here is that you might have misspelled the name of the techs themselves or you broke something somewhere else in the file and that’s causing a chain reaction of weird bugs.
Which was doable in legacy but I haven’t seen happen yet in DE.
1 Like
Which file or files would most likely be causing this?
I just found a fix, for some reason setting the portraitfilenamewpf to the same image as the first one fixed it.