Contents |
About
SideData.tdf is a replacement for the Download.tdf method.
How it works
SideData.tdf file is placed in the gamedata folder of your mod and is divided into two parts.
Part One : Side definitions
In the first part you define the sides that will be in your mod with the format...
[SIDEX] {
name=FACTIONNAME; commander=COMMANDERNAME;
}
X being the number of the side starting at 0, FACTIONNAME being the name you would like displayed for the faction in the battleroom and COMMANDERNAME is the name of the unit you will spawn with at the start of the game.
Part Two : Builder definitions
In this part you tell spring what units you want to be able to build what, and it has the format...
[CANBUILD]
{
[UNITNAME]
{
canbuild1=CONSTRUCTION1;
canbuild2=CONSTRUCTION2;
}
[UNITNAME2]
{
canbuild1=CONSTRUCTION1;
canbuild2=CONSTRUCTION2;
}
}
UNITNAME being the unit that will have these things it is able to build, its probably a good idea to start with your commander, CONSTRUCTION1 is the name of the first thing on the page for stuff it can build, CONSTRUCTION2 is the name of the second and so on.
