AAI config for BA 4.41

AAI config for BA 4.41

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

Moderators: hoijui, Moderators

Post Reply
CaptainMaim
Posts: 265
Joined: 04 Sep 2005, 01:25

AAI config for BA 4.41

Post by CaptainMaim »

Does anyone have an AAI config for Balanced Annihilation 4.41?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Go build an NTai config
CaptainMaim
Posts: 265
Joined: 04 Sep 2005, 01:25

Post by CaptainMaim »

I don't have the tools or needed NTAI files to do such a thing. Are the AAI and NTAI config files the same?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

No

AAI configs ae textfiles you hand edit.

NTai configs are more complex but they're much easier to edit because you have a nice GUI tool to edit them with.

Try out NTai Toolkit and read the Quick Help page to get the gist of howto start. A very simple config can go a long way and you dont need to understand everything to make it work.

In the end NTai configs give you more power, and let you go much further than the AAI configs could ever go in improving the AI.
CaptainMaim
Posts: 265
Joined: 04 Sep 2005, 01:25

Post by CaptainMaim »

I've been looking and I can't find an up to date NTAI Tool Kit download. All the ones I've seen say the file's out of date and it doesn't have any download links.

I also don't have a copy of NTAI that works on the new version of Spring. Can't find a download for that either. I tried looking at your thread about NTAI but it's so long I'm not sure what page it would be on, I tried the last two first but didn't get much luck there.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Try the NTai Toolkit 0.2 thread.

And if you notice, the notices saying that they're out of date include links to the latest versions.
CaptainMaim
Posts: 265
Joined: 04 Sep 2005, 01:25

Post by CaptainMaim »

Okay I've got that. Does this include everything I'll need to play with NTai?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

yes, extract to springinstall/AI/ and run NTaiToolkit.exe.
User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Re: AAI config for BA 4.41

Post by hrmph »

CaptainMaim wrote:Does anyone have an AAI config for Balanced Annihilation 4.41?
It is really easy: all you have to do is copy the AA configuration file and rename it.

IE:
C:\Program Files\TASpring\AI\aai\cfg\mod\AASS223.cfg
to
C:\Program Files\TASpring\AI\aai\cfg\mod\BA441.cfg
CaptainMaim
Posts: 265
Joined: 04 Sep 2005, 01:25

Re: AAI config for BA 4.41

Post by CaptainMaim »

hrmph wrote:
CaptainMaim wrote:Does anyone have an AAI config for Balanced Annihilation 4.41?
It is really easy: all you have to do is copy the AA configuration file and rename it.

IE:
C:\Program Files\TASpring\AI\aai\cfg\mod\AASS223.cfg
to
C:\Program Files\TASpring\AI\aai\cfg\mod\BA441.cfg
I did that it works great, even better than the XTA one I might add.
PaladinZ06
Posts: 3
Joined: 23 Dec 2006, 03:15

Post by PaladinZ06 »

I looked, and I don't have the config file for that version of AA. I tried copying the config file from a diff version of AA and had no luck whatsoever.

Are there other files that have to exist for my renamed config file to work?
Where should I look to debug this on my own? Just start a game and catch/log exceptions and go from there?
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

The config is the only file you have to provide. There are other files, but they are generated by AAI in the process of learning and should not be touched by humans. Which one have you tried to copy?
Any AA config should work if commanders and scout units are the same (that is, every one of them that was in old version is also present in the new one).
As for debugging: if AAI has troubles finding the correct config for a mod, it will say so at the beginning of a game (right after the commanders are spawned). Look in the chat log for that.
Also, AAI won't play well on some maps. Mars, for example, or most any very bumpy map. Try starting a game on Comet Catcher (or Green Comet) - that map is AAI-friendly.
Post Reply

Return to “AI”