„Age of Total Heroes” - Custom RTS System

Very Nice Work!!!

I have some group movement problems when developing my own RTS-like game. Please give me some hints:)

  1. How do you handle group pathfinding? Chose one unit in group and find a path and make others following the path or do pathfinding each unit individually?

  2. If you chose one unit for pathfinding, how do you decide to chose which one, and how to do the path following for others

  3. If you do pathfinding individually for each unit, the path they find may be similar, if each unit follows their own waypoints, they will be move like a snake, how to fix that?

  4. How do you process collision? Do separations for each collision unit? Do you have some priority decisions in collision solvement?

  5. How to keep formation movement or how to recover formation when meet obstacles?

Thanks in advance.