PDA

View Full Version : Is there a way to change the Category flags on the list windows?



ianmward
May 27th, 2015, 06:56
In the updated Shadowrun ruleset (which is layered on CoreRPG), I am changing all of the graphics and have had no problems until I tried to change the Category flags on the list windows.

I have added new png files for the flags and have added entries in my graphics_icons.xml but they did not change. I then spotted that there are entries in the gameelements.xml so I tried adding my own version but to no avail.

Is it supposed to be possible? Can anyone suggest what I am missing?

Thanks

ian

Moon Wizard
May 27th, 2015, 07:38
That's exactly where you should be looking.

Here's the relevant code from CoreRPG:



<categoryselectionsettings>
<iconposition normal="6,6" selected="6,4" />
<baseicon normal="tab_base1" selected="tab_base1s" />
<baseicon normal="tab_base2" selected="tab_base2s" />
<baseicon normal="tab_base3" selected="tab_base3s" />
<baseicon normal="tab_base4" selected="tab_base4s" />
<baseicon normal="tab_base5" selected="tab_base5s" />
<baseicon normal="tab_base6" selected="tab_base6s" />
<baseicon normal="tab_base7" selected="tab_base7s" />
<baseicon normal="tab_base8" selected="tab_base8s" />
<baseicon normal="tab_base9" selected="tab_base9s" />
<baseicon normal="tab_base10" selected="tab_base10s" />
<baseicon normal="tab_base11" selected="tab_base11s" />
<baseicon normal="tab_base12" selected="tab_base12s" />
<decalicon name="tab_icon1" />
<decalicon name="tab_icon2" />
<decalicon name="tab_icon3" />
<decalicon name="tab_icon4" />
<decalicon name="tab_icon5" />
<decalicon name="tab_icon6" />
<decalicon name="tab_icon7" />
<decalicon name="tab_icon8" />
<decalicon name="tab_icon9" />
<decalicon name="tab_icon10" />
<decalicon name="tab_icon11" />
<decalicon name="tab_icon12" />
<decalicon name="tab_icon13" />
<decalicon name="tab_icon14" />
<decalicon name="tab_icon15" />
</categoryselectionsettings>


You will need to make sure that all the base tab graphics, selected tab graphics and tab icon graphics are defined as "icon" assets. See the CoreRPG graphics/graphics_icons.xml file for the definitions used in the CoreRPG ruleset.

Regards,
JPG

ianmward
May 27th, 2015, 10:37
That's exactly where you should be looking.

Thanks, I did have that code but now I've found and fixed the real problem... my graphics_icons.xml had no <root> tag around the icon definitions so it was being completely ignored... doh!