Define Team Names via script.txt
Posted: 23 Jul 2006, 17:59
Not sure if its possible already (if it is plz give an example)
But anyways would be nice to define team names via script.txt
Atm the teams are named after the teamleader(player) name.
But when u are playing 1 player against AI.
And when u defeat a team it says i.e
i.e all the teams are named after the human player
Would be nice to be able to override the default naming scheme for teams by assigning a name for the team in [TEAMX} section of script.
Example of script.txt using atm is
(script.txt generated is using pygtk app (indents added to make more user readable)
edited:-
Asking for this since, playin agiainst multiple AI & and seeing Team(insert your player name is dead). Just seems wrong.
Shouldnt take much to add ability to override the default naming scheme if the option to define name for a team in [TEAMX] is present.
Basicly abit of polish to game, that shouldnt take much coding.
But anyways would be nice to define team names via script.txt
Atm the teams are named after the teamleader(player) name.
But when u are playing 1 player against AI.
And when u defeat a team it says i.e
Code: Select all
Team2(Hollowsoul) has been defeated.
Would be nice to be able to override the default naming scheme for teams by assigning a name for the team in [TEAMX} section of script.
Example of script.txt using atm is
(script.txt generated is using pygtk app (indents added to make more user readable)
Code: Select all
[GAME]
{
Mapname=SplinteredTropicsV2.smf;
StartMetal=2000;
StartEnergy=2000;
GameType=AASS211.sdz;
GameMode=0;
MyPlayerNum=0;
NumPlayers=1;
NumTeams=6;
NumAllyTeams=6;
[PLAYER0]
{
name=Hollowsoul;
Spectator=0/1;
team=0;
}
[TEAM0]
{
TeamLeader=0;
Color=0;
Handicap=0;
AllyTeam=0;
Side=CORE;
}
[TEAM1]
{
TeamLeader=0;
Color=1;
Handicap=0;
AllyTeam=1;
Side=ARM;
AiDLL=aidll/globalai/aai.so;
}
[TEAM2]
{
TeamLeader=0;
Color=2;
Handicap=0;
AllyTeam=2;
Side=CORE;
AiDLL=aidll/globalai/aai.so;
}
[TEAM3]
{
TeamLeader=0;
Color=3;
Handicap=0;
AllyTeam=3;
Side=ARM;
AiDLL=aidll/globalai/aai.so;
}
[TEAM4]
{
TeamLeader=0;
Color=4;
Handicap=0;
AllyTeam=4;
Side=CORE;
AiDLL=aidll/globalai/aai.so;
}
[TEAM5]
{
TeamLeader=0;
Color=5;
Handicap=0;
AllyTeam=5;
Side=ARM;
AiDLL=aidll/globalai/aai.so;
}
[ALLYTEAM0]
{
NumAllies=0;
}
[ALLYTEAM1]
{
NumAllies=0;
}
[ALLYTEAM2]
{
NumAllies=0;
}
[ALLYTEAM3]
{
NumAllies=0;
}
[ALLYTEAM4]
{
NumAllies=0;
}
[ALLYTEAM5]
{
NumAllies=0;
}
}
Asking for this since, playin agiainst multiple AI & and seeing Team(insert your player name is dead). Just seems wrong.
Shouldnt take much to add ability to override the default naming scheme if the option to define name for a team in [TEAMX] is present.
Basicly abit of polish to game, that shouldnt take much coding.