what is the best AI out now?

what is the best AI out now?

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

Moderators: hoijui, Moderators

Post Reply
User avatar
Zoy64
Posts: 454
Joined: 12 Nov 2006, 00:30

what is the best AI out now?

Post by Zoy64 »

i want to replace my old AIs, so i want to know, what are the best AIs out now?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: what is the best AI out now?

Post by hoijui »

If you are too lazy to use config files, use RAI and KAIK. As AIs still have no way to use LUA stuff in Mods, all mods that use lots of it are not fun to play with AIs. The most agressive play i saw so far is KAIK in BA.
I suggest to get KAIK, RAI, AAI and probably NTai. Is NTai now working better again, with the new spring, AF?
There are not realy any more then these four that would work at the moment plus be worthwile.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: what is the best AI out now?

Post by AF »

No NTai changes have occurred in recent time. I dont run it either. It could have been horribly broken by the latest version and I would not know because I dont have the time to test it. Nobody has submitted new configs.

Basically you know more than I do. If there are bugs found Ill fix them if made aware of them. But unless I get the urge to splurge out on AI code or people need ti for academic purposes, I don't look at it anymore.
User avatar
DJ
Posts: 355
Joined: 17 Jan 2007, 13:26

Re: what is the best AI out now?

Post by DJ »

how can we release configs without a binary to run them with? + i tried the academic version in your portfolio and it crashed within 5 minutes with an assertion error -something to do with a hasTasks() method.

I would also recommend that if you are going to include the BA config I did in your work portfolio you change the task list names. It was only a test config and one of them having the title "build_shit_and_reclaim" probably isn't the sort of image of professionalism you want to give out in your portfolio....
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: what is the best AI out now?

Post by AF »

tbh that portfolio needs rebuilding anyway. I don't have the build environment set up at home to compile and release current builds of NTai, which was the main reasoning behind re-enabling the buildbot compilation of NTai.

Heck I doubt I even have the necessary stuff to build spring using Visual studio right now and I don't have the time to exert the effort in AI development like I used to. The new AI interface would help enormously by allowing me to build and debug using just the AI project with no compiler specifics or need for building spring and its dependencies at all.
User avatar
DJ
Posts: 355
Joined: 17 Jan 2007, 13:26

Re: what is the best AI out now?

Post by DJ »

Yeah i'm really looking forward to this new interface being ready. I think ntai had loads of good ideas that can be built on and there's alot to come from AI's in spring.

I'd have considered building an AI before now but I just don't know enough C++ to make it a viable option, learning a new language to build something for a hobby just isn't possible for me time wise.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: what is the best AI out now?

Post by AF »

Once the new API is up and running itll be really easy to just hop into visual studio make a few tweaks and push out a new build in a matter of minutes.

Under the current system it takes hours to set up a build environment that will work, and then debugging with it is problematic. Usually it ends up in setting it up in visual studio and testing then starting the whole process over again in codeblocks and mingw32 to get a compatible binary.

Heck no reason we cant write something for buildbot to provide visual studio builds of AIs.
merijn
Posts: 59
Joined: 17 Feb 2007, 18:43

Re: what is the best AI out now?

Post by merijn »

I think KAIK is the most challenging AI atm (it cheats because it can see everything).
User avatar
Zoy64
Posts: 454
Joined: 12 Nov 2006, 00:30

Re: what is the best AI out now?

Post by Zoy64 »

i see, what is the latest version of Kaik?
merijn
Posts: 59
Joined: 17 Feb 2007, 18:43

Re: what is the best AI out now?

Post by merijn »

Its bundled with the latest spring version.
RavUn
Posts: 1
Joined: 18 Oct 2008, 01:11

Re: what is the best AI out now?

Post by RavUn »

Do any AIs work with kernel panic, or is there a way to get KAIK or AAI (or another) to work? I know some basic C++ but don't know where to start as far as creating my own AI. I'd like to play around with KP a bit.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: what is the best AI out now?

Post by lurker »

KP comes with an AI.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: what is the best AI out now?

Post by hoijui »

I think AAI works for Kernel Panic, though you would need a config file for it. i dont remember which other AIs might work with it.. KAIK definatly not, as you saw. RAI, i dont remember.
If you really want to write your own AI, you could try to use the caiinterface branch of spring (available through SVN). there, writing an AI involves less work. for you AI to load in spring, you would only need a single source file contianing one method (called handleEvent), plus an info file. there is a template for this that you could use. but writing an AI involves quite osme work! of course it would be simpler if you want your AI to work with Kernel Panic only.

Anyway, you should try AAI first, and .. maybe even NTai.
Post Reply

Return to “AI”