I’m having problems to show a new portrait for the ashigaru
File path of the png…: mods\local\Unique portraits\Data\wpfg\resources\art\units\asians\japanese\ashigaru
Name of the png: deIconMeijiAshigaru
techtreemods.XML file
<techtreemods>
<tech name="ypConsulateJapaneseMeijiRestoration" type="Normal">
<effects>
<Effect mergeMode='add' type="Data" amount="0.00" subtype="CopyUnitPortraitAndIcon" unittype="ypAshigaru" relativity="Absolute">
<target type="ProtoUnit">deIconMeijiAshigaru</target>
</effect>
<techtreemods>
protomods.XML
<protomods>
<unit id="3001" name="deIconMeijiAshigaru">
<dbid>3525</dbid>
<icon>resources\\art\\units\\asians\\japanese\\ashigaru\\deIconMeijiAshigaru.png</icon>
<portraiticon>resources\\art\\units\\asians\\japanese\\ashigaru\\deIconMeijiAshigaru.png</portraiticon>
</unit>
<protomods>
Any help?