I nearly hijacked your "Skirmish AI default conventions" thread to ask this, but then felt that that would be hijacking your thread

Moderators: hoijui, Moderators
Code: Select all
Documentation/SpringStartScript.txt
Code: Select all
// A skirmish AI (controlls a team)
[AI0]
{
Name=name; // [optional] pure info, eg. the name set in the lobby
// the name actually used in game will be:
// "${Name} (owner: ${player.Name})"
ShortName=RAI; // shortName of the Skirmish AI library or name of the
// LUA AI that controlls this team.
// see spring.exe --list-skirmish-ais for possible values
Team=number; // the team this AI controlls
Host=number; // the player whichs computer this AI runs on
// eg. for [PLAYER0] above, this would be 0
Version=0.1; // [optional] version of this Skirmish AI
[OPTIONS] // [optional] contains AI specific options
{
difficultyLevel=1;
}
}
Wow! Documentation :-O I was so impressed, I went and opened up gitk SpringStartScript.txt to find out who made it, figuring maybe it was you, and either it was, or you moved it from somewhere else, but either way, sweet!the start script format is described in the spring repo under:Code: Select all
Documentation/SpringStartScript.txt
Code: Select all
// this call is blocking
Code: Select all
/** Return account object */
public Account getAccount() {
...