RTS Style Units, Targeting and Movement

Hello,

Recently I’ve been playing with the Idea of an RTS style game. I see myself as a beginner/intermediate programmer so I’ve ran into a few road blocks lol. I was originaly using Unitys built in navigation, but decided to try A* as it seems to be more flexible.

Im finding it a bit difficult to get a grasp on the documentation so thought id ask for some help here.

I have created an image of the problem to better show you what im asking…

I know this is a big question but How would I go about acheiving this behaviour using the A* pathfinding project?

At the minute all agents move to the same point and bunch up instead of surrounding the target. It seems that …

  • I need a way to make units avoid each other ( I cant afford PRO version at the minute).
    -Set a different target for each unit based on the bounds of the target and attack range.

I’m at a complete standstill. Any help, advice, or direction would be very appreciated.

Thanks