HDIAndrew / EFS

12 stars 0 forks source link

Can't move units with 4F and 8T move points together on rough terrain #160

Open ezolenko opened 1 year ago

ezolenko commented 1 year ago

Description:

Expected behavior: If individual units can make a move/attack on a hex, stack of those units should be able to move to the same hex together

Actual behavior: When moving to a rough terrain (jungle/mountain/etc), units with 4 move points and units with 8 can't move together (if they are of different types). Separating stacks into fast and slow (foot / track?) can make the same move though.

Game version:

EFS 1.51 (2023-03-15) Nova mod 2.4 (https://github.com/floralpond/EFS-Nova/)

Steps to reproduce:

Additional information:

Moving Infantry with other foot or wheel units works, so the problem likely in counting move points when moving track and foot together?

Moving 8 points foot and 8 point track also works.

This might be considered a feature if it only applied to attack moves (a defense property of some tiles that limit joins ops), but for plain moves it is just annoying :)

Matt-Caspermeyer commented 1 year ago

This is an issue with the way units move.

Currently, the system uses the highest movement cost and if a unit doesn't have enough movement for the higher cost, then it cannot be moved with the current group of units.

The fix for this is to move units in groups as if they are moving independently. I think there is still some debate here on whether or not players think this is how it should be done, but that's what I'm leaning towards, but I imagine it requires more discussion...