Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Arrew

Avatar / Picture

Registered:
Posts: 2,750
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. Blob Temp.jpg  Any idea why this is?
Captain

Registered:
Posts: 1,026
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:
Posts: 3,214
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

Avatar / Picture

Administrator
Registered:
Posts: 2,990
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:
Posts: 1,026
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:
Posts: 3,214
Reply with quote  #6 
Neither did I. [biggrin]
Captain

Registered:
Posts: 1,026
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

Avatar / Picture

Registered:
Posts: 2,750
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.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.