Depressed AI?

Depressed 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
Nod51
Posts: 1
Joined: 19 Jun 2007, 04:35

Depressed AI?

Post 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?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post 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)
Post Reply

Return to “Help & Bugs”