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
131 stars 168 forks source link

RFE: mass unload bombs #2604

Open SuperStucco opened 3 years ago

SuperStucco commented 3 years ago

Currently, the right-click context menu for fighters has an option for "Select bombs" which brings up a dialog allowing selection of bomb/bomb-like objects. In order to unload, each type must be individually set to zero. I find myself frequently needing to unload fighters after each scenario to ensure they are properly loaded in the next scenario i.e. 'clean' or not carrying extraneous bomb types, plus ensuring other fighters have access if the Warehouse is already empty.

To speed things up I would like to see this context menu item turned into a fly-out with several items:

"Unload bombs" returns all external ordnance to the Warehouse without going through the dialog. It should allow selecting multiple fighters so entire formations can be reset to 'clean' at once.

Tecmes commented 3 years ago

Maybe use a similar structure as the Swap Ammo menu: could be a "Fully load with>" menu leading to the various choices for fast, simple loading of the maximum loadout of a single bomb type. For more elaborate load-outs, then use "Select bomb".

Windchild292 commented 3 years ago

I'd say a GUI standardization between the two, hopefully using a standardized panel, would be the preferred end state if possible.

Duuvian commented 3 years ago

It would be great if you could reload them like ammo in the repair tab/auto repair. My aerospace fighters more often run into the problem of not keeping them loaded after they've dropped what I put on them in a scenario. However I'm not sure if this is because I ran out of bombs or if it doesn't reload them automatically. I did have to re-order more HE bombs multiple times, so it may simply be they can't reload if you've run out. However a reload in the repair tab would both be a helpful reminder, a link to the order parts menu, and could use the auto repair function.