Lots of AI allyteam problems

Lots of AI allyteam problems

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
zenzike
Posts: 77
Joined: 12 Apr 2008, 13:19

Lots of AI allyteam problems

Post by zenzike »

There seem to be a whole bunch of problems in the latest svn version of the game at the moment, all related to AIs and teams.

I've been playing around with watching AIs by setting myself as a spectator manually (using the /specator command), after loading a couple AI teams in using script.txt. (there is plenty of odd behaviour here too; even if I set myself as a spectator in script.txt, it doesn't work).

The trouble is that AIs (actually, I've only tried RAI, I'm not sure if it's specific to that AI) aren't getting the right information back -- calls to GetUnitHealth always return 0, and this is probably related to problems in allyTeams.

One thing I don't quite understand is why an AI is classified as a Team -- surely it should be a Player?

Nevertheless, I'm pretty certain these problems aren't in previous versions of spring. Does anybody know if the startscripts / ai allyteam calculations have been modified recently?

I've placed a bug report in mantis, but I'm hoping that saying something on forums too might mean people will notice ;)

edit: see viewtopic.php?f=11&t=15194 for more details.
Post Reply

Return to “Engine”