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 170 forks source link

[48.0] Special Missions Cannot Handle Super Heavies and Glitches with a Super Heavy Assigned #3467

Open Wpmz opened 2 years ago

Wpmz commented 2 years ago

Environment

MekHQ 0.48.0 Win10 21H2 Java Version: 8 Update 341 (build 1.8.0_341-b10)

Description

During the course of an against the bot campaign you sometimes get these special missions where it tells you to deploy a single mech to face the enemy. One is Special Mission: Commander Duel and another is Special Mission: Ambush. It tells you to deploy a single mech to do this mission from your TO&E and it mentions no limitations on that mech. You can assign a super heavy mech to the mission from your TO&E, but when you do and you go back to the briefing room, the mission cannot be selected. When you try to click on the mission in your briefing room, nothing happens. You can't select the mission and read about it, etc. If you unassign the super heavy mech the mission goes back to normal and you can select it and read it, etc.

I've been told this is because the enemy mechs in the Special missions are procedurally generated based on what mech you select and it doesn't have a list of enemies for super heavies so selecting a super heavy will break it. However in that case there should be an error message or something rather than the mission being unselectable which leaves you to wonder if the program broke or what exactly is going wrong.

Campaign 1-301430150624.cpnx.gz

Custom Units.zip

Windchild292 commented 2 years ago

This should probably block Super Heavy Assignments, as the AtB rules only do Light to Assault. Further, this break may also be the case with Ultralight 'Mechs.