Tuesday, May 22, 2012
AAgggh Movement is complicated
(I think I wrote this a night or two before the LAN at 4:30 and forgot to publish. Given how the LAN combat went, it may be amusing)
Moving in formation is complicated!
Turns out we have 4 conflicting criteria we need to reconcile in order to determine where a unit is moving. The user's specified target location, the current formation estimate location, the class-specific ideal distance (from their target, for attacking), and the class-and-mode-specific leeway, which gives units a range to roam in around their formation centerpoint.
The latest bug was that leeway was never usable, because the importance of following the user target location was guaranteed to be greater in all cases. There's more, but now I sleep.............