MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
133 stars 171 forks source link

[RFE] Add an Override folder to the gender folders for Portraits #4815

Open SVNaas opened 1 month ago

SVNaas commented 1 month ago

Prerequisites and Pre-Issue Checklist

RFE Details *

This is an improvement to an existing feature

Brief Description *

Add an Override folder to portraits/Male and portraits/Female. The purpose of this folder would be to allow players to put images/folders there that the clients would pull from alongside the profession portraits. It would need the addition of an override toggle on the portrait options page, but would allow users to opt for a more generalised approach to portraits without needing to gut the existing portrait folders or remove them.

This would pair well with #4364 and #2392

MekHQ Suite Version *

v 0.50.00

Attach Files

No response

Final Checklist

Thom293 commented 1 month ago

Not exactly sure if this is what you mean but if you look in windchild guide folder in docs it explains an override system.

SVNaas commented 1 month ago

It does not, you presently have to remove all primary role folders to get it to fallback to the Grouping folders. You'd then have to remove all Grouping folders to get it to even look at the general files if it hasn't run out of portraits yet.

An override folder would be active from the primary role folder level, so for example with a MechWarrior and the Override toggle active it'd check the MechWarrior and Override folders for a portrait to use. This implementation over just a general override means that you could still have the role-specific portraits show up for their roles, without having to wonder why your MechWarrior is dressed like a Doctor for example.