Comment 5 for bug 1801722

Revision history for this message
hessenfarmer (stephan-lutz) wrote :

Hi Nordfriese,

great idea to have more options in lua. I could use some of this stuff for empire 05 as well.

But implementing AI in lua isn't a very good idea I think cause in my experience lua is consuming a lot of performance especially if you wan't to check a lot of nodes in loops. I had this issue already in empire 04 by just checking the map for enemies presence. So as long as we still support low res to be able to run on netbooks we should be very careful about performance.

Just out of curiosity what is the desired behaviour that isn't delivered by AI currently. Perhaps we could tune the AI in the direction you need and help it from time to time in special occasions by using lua commands. Perhaps we could even improve the AI Algorithms with your Micro AI inventions