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
296 stars 286 forks source link

Movement issues including charges #1572

Open MarcJC opened 4 years ago

MarcJC commented 4 years ago

Playing in MegaMek 47.2 I noticed the occasional issue with movement in the last game I was playing.

Most were minor and could be worked around (could not climb up on a bridge (hexes 3252, 3352) or could not move through the building in hex 1048 and continue on to hex 1047)

However I was trying to charge a Lancelot (Hex 1327) with my Blitzkrieg (Hex 1133) and I was informed that I could not reach the target.
Chargeb

For some reason the pathfinder wants to run past the target and then gets confused as how to reach the target.

When I click directly on the target it shows that I can clearly reach the hex with my movement, although it unnecessarily abuses the maneuvering ace SPA

Chargea

Attached is the save game, logs, and pictures. Let me know if you need any other information.

saver.zip

wildj79 commented 4 years ago

The trick here is to not use the side step movements. When plotting out the movement, when you get to a point where you need to turn, SHIFT + click on the hex side you want to move into instead of accepting the path that MM plots out for you. I think it's gonna take manually plotting out the movement in this case.

MarcJC commented 4 years ago

That may be so, but there is no sane reason for the charge pathfinder to run past a mech you want to charge