auto_ai

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

auto_ai

Post by Eric Walch »

auto_ai is not working when default is set to NO.

The whole purpose of auto_ai is to be able to add traders and other system ships by script without getting wrong AI behavior. A lot of the existing ships have no auto_ai set. Oolite 1.96 defaults to auto_ai = NO. That means their behavior stays the same as before. In most cases the creators of the ship would have liked that their AI file would switch with the role.

When I now add several hunters at the witchspacepoint, I am still being attacked by them as a lot have pirate.AI. With this frequent wrong behavior of oxp ships it is still impossible to add pirates, traders or the like with a script, even if the systemships have well-defined auto_ai.

I vote for changing the default to YES, as this is the situation that in most cases was intended by the designers. When a shipdesigner does not want this he should is explicitly set to NO.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

This has already been changed for the next release.
Post Reply