Creating your own Sector Files


Sector files are simple text files formatted much like a Windows INI file and can be created/edited with any text editor (such as notepad or DOS's edit).  They consist of eleven sections that describe all the objects within a geographic area.

Spacing within a sector file is very critical and should be followed.   A good technique to start is to create a ruler for each section so you don't get out of line.  Tabs and embedded special characters will cause serious problems so do not use them.

Here is the definition of each section:

To add comments to your sector file just place a semi-colon in front of a any line and Pro Controller will ignore it.

You may also add constants to use in your sector file.  These are handy for defining colors or commonly used values.  Here is an example of how to define a constant:

#define BLUE 12345

Defines can be placed anywhere in your section file but a value may only be used below where it is defined so it is advised to place all defines at the beginning of your sector.

 


Return to the Table of Contents
Next Topic