I've been working on my mod Evolution https://forums.factorio.com/forum/vie ... 93&t=10256
And lately ive been running into trouble with my AI not being able to reach the opponent base and my biters just clump up and stay there until they get attacked. What I would like for them to do is actually move out and seek out the enemy AI however.. How would i go about doing this into the coding? I have a slight idea but since my lua isn't to great I am not sure how to implement this..
Basically what I would like to happen is > I put down a hive > Aliens (friendly) start spawning > Aliens group up > Aliens attack the enemy no matter the distance solong it is in range of ofcourse the map.
Without creating a massive lagspike / lag overall. Since changing the aggro_rad was a very bad idea. it created a huge amount of lag
https://forums.factorio.com/wiki/inde ... ua/Surface Ive found something here
More specific this section: http://prntscr.com/8343mp But still I've no clue how to implement it into the biter control so it only affects my biters and not that of the enemy AI.
If someone could help i'd be very happy

The control.lua here > http://pastebin.com/v08pCwJx
Has all definitions of the friendly AI.
My question is if someone could come up with some code or Idea to how this might be able to be implemented and hopefully that my biters do attack the actual opponents? instead of clumping up and standing there until the enemy comes close because of their aggro_rad
Thanks in advance!