← Back to context

Comment by qup

2 hours ago

A realistic version would have unit commanders pathfinding over long distance, and the plebs following them unless they got merc'ed

I think this actually can be used to optimize the pathfinding. Basically create a fake unit that is used for the real/complex path, then have the other units follow it with basic collision or a very tuned down pathfinding algorithm similar to the hack I did where I just counted loop iterations and bailed after some threshold.