This is possibly one of the most needed improvements to the game. I have been playing ark recently and I was like "Hey I havent made a giant army in Terratech in a while" so I got on and did it. And then I remembered just how bad it was. Enemy AI is pretty good but friendly is terrible. Could you perhaps duplicate the enemies code and copy it into the friendly AI's code but change it to where it has a set distance it keeps from the tech it is following and attacks enemies instead of friendly techs.