About config file in AAI.

About config file in AAI.

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
rush_irina
Posts: 2
Joined: 30 Nov 2010, 06:53

About config file in AAI.

Post by rush_irina »

I try to create config file for AAI to play with mod Balanced Annihilation V7.19.
So I try to create BA719.cfg in AAI/0.9/cfg/mod and test to config someting like this in cfg file

...

DONT_BUILD 1 armlab

...

but when i test and run, AAI's still build armlab. so how can i do to manage AAI about do not build something?

Thanks.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: About config file in AAI.

Post by hoijui »

look at AAIs log files, for example here: AI/Skirmish/AAI/0.9/log/AAI_log_team_0.txt
it will tell you if it is using your mod config file.

if it does use the file you created, then you might want to look for this string in the log file:
ERROR: loading dont_build units - could not find unit
maybe that will tell you something.
rush_irina
Posts: 2
Joined: 30 Nov 2010, 06:53

Re: About config file in AAI.

Post by rush_irina »

I try to use the same cfg file to my friend's pc and it work! (So, why it doesn't work with mine?)

And if I make .cfg file that don't bulid that unit. But I give that unit to AAI by cheating. Then AAI still don't handle them. Is there a way that make AAI handle unit that .cfg file told don't bulid?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: About config file in AAI.

Post by hoijui »

hoijui wrote:look at AAIs log files, for example here: AI/Skirmish/AAI/0.9/log/AAI_log_team_0.txt
it will tell you if it is using your mod config file.
i don't know the internal logic of AAI. does it handle other units when you give them to AAI?
Post Reply

Return to “AI”