Units:SideData TDF


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.

Retrieved from "http://spring.clan-sy.com/wiki/Units:SideData_TDF"

This page has been accessed 627 times. This page was last modified 13:30, 15 March 2006.


 
 


Page editing toolbox

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
View source
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in
Special pages
New pages
File list
Statistics
Bug reports
More...

Site layout created by Roflcopter.