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
298 stars 287 forks source link

49.6 Level changes in hexes adjacent to runway preventing takeoff #3360

Open gsparks3 opened 2 years ago

gsparks3 commented 2 years ago

Description

Aerospace units (conventional fighters, aerospace fighters, and aerodyne DropShips) seem to be having issues where level changes adjacent to the path of their takeoff runway are preventing them from taking off (example below). This does not seem to match the rules for a horizontal takeoff in Total Warfare (page 88 in the 7th printing), where it is specified that there must be no level changes in the takeoff path, but the conditions of the hexes around it are not mentioned. image

While this issue was tested in 0.49.6, it is also present in version 0.48. Aerodyne DS require a three-hex-wide level path but have similar issues if any hexes adjacent to this wider path contain level changes.

Initial reproduction: load the attached savegame and attempt to take off with the Sparrowhawk shown in the image above. A second Sparrowhawk is also present without a level change adjacent to the hex to demonstrate normal takeoff.

Files

runwaytest.sav.gz

SimonLandmine commented 2 years ago

(And there also appears to be a typo in the warning message, too, as it refers to landing when you're trying to take off, but that should be a separate bug.)