Page 1 of 1

Depressed AI?

Posted: 19 Jun 2007, 04:46
by Nod51
OS: Linux Kubuntu 6.10
Spring: built from source 0.74b3

I found a bash script on the forums that generate a script and use it to run a single player game. I don't get any errors when I run the game, but the AI doesn't build on any maps including the default mods and maps in the Linux install guide. When I go near it, it shoots me with the laser, but no building or moving. I tried:
/usr/local/lib/spring/AI/Bot-libs/AAI.so
and
/usr/local/lib/spring/AI/Bot-libs/KAI-0.12.so

an example configuration the bash script makes:
###############
[GAME] {
Mapname=Mars.smf;
StartMetal=10000;
StartEnergy=10000;
MaxUnits=500;
GameType=XTAPE.sd7;
GameMode=0;
StartPosType=0;
MyPlayerNum=0;
NumPlayers=1;
NumTeams=2;
NumAllyTeams=2;
HostIP=127.0.0.1;
HostPort=8452;

[PLAYER0] {
name=Ahri;
Spectator=0;
team=;
}

[TEAM0] {
TeamLeader=0;
RgbColor=0 0 0;
Handicap=0;
AllyTeam=0;
}

[TEAM1] {
TeamLeader=0;
RgbColor=0 0 0;
Handicap=0;
AllyTeam=1;
}

[ALLYTEAM0] {
NumAllies=0;
}
[ALLYTEAM1] {
NumAllies=0;
}
}
##################

I remember in the original TA if you do something crazy and fly a transport over one AI ant kill its whole base before it gets one defense up it would get depressed, and until I changed some settings it would refuse to build anything but 1 laser gun. :lol:

Anyhow, any idea what is being set up wrong?

Posted: 19 Jun 2007, 05:05
by AF
aidll=KAI-0.12.so;
aidll=AAI.so;

Also XTAPE.sd7 is the name used by XTA 7 and below. XTA 8/9 use a different filename.

in the TEAM1 section put aidll=etc.

Leave TEAM0 alone, thats your team, you dont want an AI controlling your commander for you deleting all your roders replacing them with its own.

Posted: 19 Jun 2007, 09:16
by Tobi
AF wrote:Also XTAPE.sd7 is the name used by XTA 7 and below. XTA 8/9 use a different filename.
No it's still XTAPE.sd7 (8 at least, dunno what 9 will be)