Arrew
Registered:1393602597 Posts: 2,750
Posted 1411551957
Reply with quote
#1
When I spawn medium to large fleets of default enemies, with default AI stacks and random names they have often just run into each other and get stuck. Ignoring the stations and just sit there, waving out the windows to each other. Any idea why this is?
Captain
Registered:1375484560 Posts: 1,026
Posted 1411560113
Reply with quote
#2
Depending upon these numbers the fleet may be trying to form into a close enough group. If they get to spread out they have to reform before going anywhere This prevents groups being to large.
__________________ Captain USN Liberator "When I lost my rifle, the Army charged me 85 dollars. That is why in the Navy the Captain goes down with the ship."
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1411586855
Reply with quote
#3
Have you tried varying the fleet number? It seems that the game is trying to prevent you from making a huge fleet of all the enemy ships in the sector.
Mike Substelny
Administrator
Registered:1375273622 Posts: 2,990
Posted 1411589875
Reply with quote
#4
You need to set the fleetSpacing and fleetMaxRadius properties to accommodate the size of the fleet that you are creating. If fleetMaxRadius is too small then they will spend all of their time maneuvering to get closer to each other. If fleetSpacing is too big then they will spend all of their time maneuvering to get out of each other's way. With a large fleet it is easy to get these properties to conflict with each other. If you are using a fleet larger than 8 or so ships then you need to adjust these variables carefully.
__________________"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight." - Winston Churchill
Captain
Registered:1375484560 Posts: 1,026
Posted 1411590218
Reply with quote
#5
Hmm didn't know that.
__________________ Captain USN Liberator "When I lost my rifle, the Army charged me 85 dollars. That is why in the Navy the Captain goes down with the ship."
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1411590474
Reply with quote
#6
Neither did I.
Captain
Registered:1375484560 Posts: 1,026
Posted 1411598777
Reply with quote
#7
Learn something new each day.
__________________ Captain USN Liberator "When I lost my rifle, the Army charged me 85 dollars. That is why in the Navy the Captain goes down with the ship."
Arrew
Registered:1393602597 Posts: 2,750
Posted 1411603198
Reply with quote
#8
I usually do set huge fleet radius's but they tend to spread out too much. But on occasion they still seem to clump up, despite the huge radius. The only solution I have so far is to give one ship a name make it the fleet leader and program spacific AI instructions into the brain stack to give them something to do.