When you only look at your ship, you need no pauses, however, scans are commands that are relative time consuming. And when there are to many ships all busy scanning your fps rate will strongly drop, so adding a 5 to 10 second pause will improve total game performance.Smivs wrote:I had a quick look at the wiki section you referenced. Should I be adding pauses between the scans, or are multiple updates the best way to go?
I remember random-hits that was also doing an extreme amount scans per second with the result of a strong fps drop on entering such a system. After removing 99% of the scans, the fps problems were gone without any noticeable bad effect of ships not being found. Galactic navy has a similar problem when entering a setcom system. I once reduced all those scans in my private version with a strong performance boots in such systems.
The quickest way to understand things is to enable AI logging for a certain ship. In order to do so, you must use the console, target a ship and type: player.ship.target.reportAIMessages = true (or short: PS.target.reportAIMessages = true). From than on all AI activity for that ship is logged, allowing you to see the command flow. It often flows different than one would expect.I've obviously still got a lot to learn!
Or alternatively you can switch the reportAIMessages on in the spawn actions of a ship script you are experimenting with.