MegaMek / megameklab

MegaMekLab is a BattleTech unit modification program. It allows creating and modifying all unit types available in MegaMek from Support Vehicles up to WarShips. It also allows printing record sheets for single or multiple units.
http://www.megamek.org
86 stars 133 forks source link

Fixed-wing support vehicles get a Structural Integrity of 0 #1320

Closed pavelbraginskiy closed 10 months ago

pavelbraginskiy commented 1 year ago

Environment

Observed on MegaMek 49.14 and 48.0 from MekHQ, on Windows, Java 17.05.

Description

Per TechManual p140, Fixed-Wing Support Vehicles recieve a Structural Integrity value equal to the unit's safe thrust. Instead, fixed-wing support vehicles I create receive a Structural Integrity (and Engine Rating) of 0: image

Files

blk file for the above unit: Test Fixed Wing.zip

gsparks3 commented 1 year ago

Support Vehicles of all types have had a slightly weird behavior for a while, where if you look at the summary view during construction, it leaves the engine rating at 0 instead of calculating it (and, it seems, derived values) properly. However, on save and reload, everything is fine.

By downloading the provided test file and viewing it in MML with no changes, I get this: image