While was thinking to make a patch to the cross platform lobby to be able to host games, I tried to make a config file by hand (looking in tasclient sources).
Code: Select all
[GAME]
{
Mapname=SmallDivide.smf;
StartMetal=10000;
StartEnergy=10000;
MaxUnits=100;
StartPosType=0;
GameMode=0;
GameType=xta_se_v066.sdz;
LimitDGun=false;
DiminishingMMs=false;
GhostedBuildings=true;
HostIP=localhost;
HostPort=9000;
MyPlayerNum=0;
NumPlayers=2;
NumTeams=2;
NumAllyTeams=2;
[PLAYER0]
{
name=Malric;
team=0;
}
[PLAYER1]
{
name=AI1;
team=1;
}
[TEAM0]
{
TeamLeader=0;
AllyTeam=0;
Color=3;
Side=ARM;
Handicap=0;
}
[TEAM1]
{
TeamLeader=1;
AllyTeam=1;
Color=3;
Side=CORE;
Handicap=0;
AIDLL=aidll/globalai/libNTAI.so;
}
[ALLYTEAM0]
{
NumAllies=0;
StartRectLeft=10;
StartRectRight=30;
StartRectTop=10;
StartRectBottom=30;
}
[ALLYTEAM1]
{
NumAllies=0;
StartRectLeft=30;
StartRectRight=40;
StartRectTop=30;
StartRectBottom=40;
}
}
Is the config file correct ?
Are any AI-s working on linux ? (how/what do I need etc.)
Thanks.