Starting Skirmish with kind of "spring < script.txt&
Posted: 12 Mar 2007, 23:04
I read several informations about starting spring only with a prepared script.txt where Player and Teams and CPU with AI can be inserted to start spring in Skirmish Mode, so that one Player can fight against multiple AIs.
I tried some scripts but none of them worked. Unfortunately i don't get Feedback, what is wrong.
I found this script for example but it doesn't work:
Can perhaps somebody give me a site with References about the Structure or post an example that works.
I tried several Variants of Scripts and tried to start it with
and also
None of the Lobby Clients works for me now so perhaps this methods works somehow.
Thanks in advance,
Kaot
I tried some scripts but none of them worked. Unfortunately i don't get Feedback, what is wrong.
I found this script for example but it doesn't work:
Code: Select all
[GAME]
{
Mapname=SmallDivide.smf;
scriptname=3 Teams;
StartMetall=0;
StartEnergy=0;
MaxUnits=500;
StartPosType=1;
GameMode=0;
GameType=AASBase23.sdz;
LimitDGun=0;
DiminishingMMs=0;
GhostedBuilding=1;
HostIP=localhost;
HostPort=8452;
MyPlayerNum=0;
NumPlayers=1;
NumTeams=2;
NumAllyTeams=2;
[PLAYER0]
{
name=Kaot;
Spectator=0;
team=0;
}
[TEAM0]
{
TeamLeader=0;
AllyTeam=0;
RGB=0.0 1.0 0.0;
Side=Arm;
Handicap=0;
}
[TEAM1]
{
TeamLeader=0;
AllyTeam=1;
RGB=0.0 0.0 1.0;
Side=Core;
Handicap=0;
AIDLL=AI/Bot-libs/KAI-0.22.so;
}
[ALLYTEAM0]
{
NumAllies=0;
}
[ALLYTEAM1]
{
NumAllies=0;
}
NumRestrictions=0;
[RESTRICT]
{
}
}
I tried several Variants of Scripts and tried to start it with
Code: Select all
spring script.txt
Code: Select all
spring < script.txt
Thanks in advance,
Kaot