Single player problem with AI

Single player problem with AI

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
randomjuser
Posts: 2
Joined: 26 Dec 2009, 05:17

Single player problem with AI

Post by randomjuser »

Hello. I wanted to practice first playin with some bots before i will play online. But when I launch SP game with for ex some AII 0.9 (or any other) bots the game tells me that I won.. :? Just after few sec from launch.. :( Whats wrong? Everything is configured as it should be.. opponents are in different allay and placed on map. Need help because I'm not good enought to play with real opponents yet..
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Single player problem with AI

Post by hoijui »

we would have to know which mod you want ot learn, but i will just assume it is BA for now...
AAI, KAIK and RAI should work out of the box with latest BA if you used the engine installer.
AAI may not work withotu manual copying of config files for other mods nad versions of BA. KAIK and RAI should work wihtout any manual work wiht all versions of BA.
if oyu have a problem, please send us your infolog.txt file from a game where you had the problem. if oyu do this, please attach it as a file to your forum post, or use pastebin(.com).
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: Single player problem with AI

Post by slogic »

I think we should update AIs which use config files so they use two files: <modname>.cfg + <modname>-<modversion>.cfg. Second file will just overwrite values of the first one. So we never get problems like this. <modname>.cfg should be updated on major mod updates which occur seldom for mature mods (imho).
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Single player problem with AI

Post by hoijui »

this would be valid and usefull mainly(or nearly only) for BA.. though it is the most important of course (in practise). i am ok wiht that change, if you do it. but well.. i would rather see you fixing other stuff ;-) less waste of time, as AAI is not among the stronger AIs anyway, and will probably get replaced during the next one or two years, wiht newer AIs (eg Java AIs or E323AI, ...). There are some in the line.
User avatar
prankster
Posts: 62
Joined: 31 Oct 2009, 12:35

Re: Single player problem with AI

Post by prankster »

randomjuser wrote:Hello. I wanted to practice first playin with some bots before i will play online. But when I launch SP game with for ex some AII 0.9 (or any other) bots the game tells me that I won.. :? Just after few sec from launch.. :( Whats wrong? Everything is configured as it should be.. opponents are in different allay and placed on map. Need help because I'm not good enought to play with real opponents yet..
You made up two different allies?
So you're not in the same as the bot?

best regards.
User avatar
randomjuser
Posts: 2
Joined: 26 Dec 2009, 05:17

Re: Single player problem with AI

Post by randomjuser »

Ok.. i've already figured out XTA with AAI 0.9 issiue...As I said befor - game ended few sec after launch... i made a print-screen of that:

Image

so as it says i've checked log ant found out that:

"cant load C:\Program Files\Spring\AI\Skirmish\AAI\0.9\cfg\mod\XTM.cfg file"

File in this directory had different name (dont remember cuz i've renemed it already) so i've just renemed it to "XTM.cfg" and it worked... But seriously... WHAT THE HELL??? :shock: Is this some kind of IQ tes for new players to figure it out ?? :-) Is everyone must pass this "quiz" to play ? :roll:

Now BA and XTM bots is working for me by renaming cfg. files. But i still have some problems with Complete Annihilation.. i assume this is some kind of problem connected with this magical lua (or luna?) widgets (whatever it is :lol: )... but maybe i will try some other AIs.

And another question.. you guys say that AAI 0.9 is not the best AI. I find it quite nice.. maybe it needs more that standard 500 unit limit to fully show it's true colours... but maybe i'm wrong and some othet AI is better to learn how to play Spring... (I was playing TA some time ago so I'm quite familiar with units and so on but still, all this new mods is making me.. oh I've lost the english word :) So... what is the best AI if not AAI 0.9 ?)

Thanks all for help.. regards.

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

Re: Single player problem with AI

Post by hoijui »

as BA is by far the most played mod, the best AIs we have work best there, and it is also the mod supported by the most AIs (if oyu do not count Lua AIs, as then, KP would probably win). In BA, wou want to try these:
KAIK, RAI, AAI, E323AI
RAI and AAI are comparable, and relatively easy.
KAIK is thoughter/aggressive, and attacks in mid to large groups
E323AI (i recommend v.3.13.1, you can find it in the Development -AI forum) uses guerilla tactics, as it navigates single units aroudn your defenses, and kills your eco.. quite nasty. if you attack it's base, it wont stand long, but if not, it is the hardest of the current AIs (beware, it also uses way the most CPU power).
Post Reply

Return to “Help & Bugs”