PDA

View Full Version : Limiting Group Icons/Tabs



damned
February 7th, 2016, 23:55
I would like to reduce the number of Group Icons and Group Tabs from the current 15/12 to maybe 6.
As these come from CoreRPG I can overwrite them but can I remove the ones I dont need as well?

gameelements.xml


<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>


Ive tried adding the merge="delete" but it didnt seem to work.

Moon Wizard
February 9th, 2016, 01:20
The merge delete option isn't available for this setting. You just have to redefine the tag in a higher layer. (i.e. Extension or Ruleset importing CoreRPG)

I'm assuming this should work and replace the current settings, but I haven't tried it. I'm in meetings all this week, so let me know if you try.

Cheers,
JPG

damned
February 9th, 2016, 02:12
Hi JPG - I can change them but I cant seem to be able to reduce the number of them unless Im misunderstanding you.

What I will do is make 4 Tabs and define them 3x (to use up all 12 spots, 123412341234) and 5 Icons and define them 3x (ABCDEABCDEABCDE to use up all 15 slots).

Moon Wizard
February 9th, 2016, 02:45
It probably doesn't clear the list when it sees a new category settings tag. Your workaround solution is perfect.

JPG

Trenloe
February 9th, 2016, 04:13
In some testing I did this morning I could reduce the decal icon to just the first two by just recreating the whole section in an extension and commenting out the ones I didn't want. This was in a CoreRPG campaign.