MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
297 stars 287 forks source link

[49.15] Can't bomb with capital fighters + marked as heavily damaged #4969

Open theXDkidoflol opened 10 months ago

theXDkidoflol commented 10 months ago

Environment

Windows standalone Megamek for x64 bit computers. Version 49.15.

Description

A capital fighter simply cannot use its bombs, whether alone or in a squadron; and conventional fighters that are marked as capital fighters are also marked as heavily damaged, though I can't see any actual effects from this. image https://cdn.discordapp.com/attachments/458706493659807801/1186707594828591175/unknown_2023.12.19-11.30.mp4?ex=65943a92&is=6581c592&hm=2e1e79284f40c95c809022ed6 223325a5c73ddbcd0405eed9340e93b989ba220&

Files

megamek.log

Sleet01 commented 10 months ago

I'm currently massaging the bomb code, so I can take a look at that side, but I don't really know anything about the Capital Fighter code itself. Are conventional fighters actually valid Capital Fighter components?

I'd guess that the "heavily damaged" issue is related to fighter <-> Cap Fighter code that is expecting ASFs instead.

neoancient commented 10 months ago

Capital fighters are only valid on space maps. They should not be able to deploy on ground maps nor carry bombs.

gsparks3 commented 10 months ago

SO has rules for fighter squadrons conducting air-to-ground attacks, which implies that they are in fact usable in atmosphere? And even if they were only valid in space, they could still carry bombs for the SO Space Bombing rules or bomb-type direct fire ordnance for use on the space map.

Sleet01 commented 9 months ago

One of the forum posts covering this question, currently still in research: https://bg.battletech.com/forums/index.php/topic,83500.0.html