kyranzor wrote:Please lower DEFAULT_SQUAD_RADIUS to 10 and increase the distance for joining nearby squads SQUAD_CHECK_RANGE to 20 and it will work better. I actually just did that myself when i had the same issue.johnnyBgoode wrote:Tried using this today using the 0.1.4 version in the OP. I'm building the bots and they seem to be not grouping up with each other or hunting for really far away hives. They just sit near the droid assembler. there was one squad that formed up and hunted biters but after that squad died the rest just didnt move from the droid assembler. Config.lua doesnt seem to have information on how big the tilesize they search for so im stumped.
What happens is the droids are spawning and the first one makes a squad and then starts "wandering" but the droid doesn't actually have to move for the underlying factorio representation of a "unitgroup" to change position. The squad default radius is tied in with how far the squad wanders while idle. The problem stems from the representation of the squads position wandering away after the first droid spawns and creates the squad and because of the staggered spawning behaviour droids may or may not actually be close enough to join a squad each time, or when they do it might not be the first squad anymore because another smaller one was closer. So the result is a bunch of small under-sized squads standing around because none of them are large enough to start hunting. If you press F6 while looking at the clump you will see many circles (representing unitgroup "squad" positions) slowly moving around the droids. If you want, compare the movement of the circles before and after the fix (after making some new squads).
To fix the ones you have deployed now, either pick them all up and deploy them by hand (can do this before config fix, just spawn them close together and quickly) or let them be deployed by assembler again (after the config fix).
An alternative fix which avoids having to pick up the ones already spawned is to get some more droids and hand spawn them one or two at a time in the blob and you will see them join the undersized squads and trigger the hunting behaviour. It will help if you have already increased the squad check radius when doing this.
Thanks just tested it again and I think I have it down.
Just some notes:
- They still refuse to squad up and hunt when the player character is away from the droid assembler.
I usually find a singe droid wandering when I'm away from the droid assembler.
When Im right beside the assembler they squad up and hunt real good but (maybe due to the games limitation, idk) the biters dont seem to be active when the player character is far from the biter nest.
Whenever I start running towards the battles is when my squads suddenly keep dying (hypothetically because the biters are spawning and killing them).