Difference between revisions of "SEC File Format"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 1: Line 1:
 
+
[[File:Comp-Prog-Dav-R-Deitrick-Starter-Trav-Page-16 16-July-2018a.jpg|right]]
 
== SEC File Format==
 
== SEC File Format==
 
This [[Sector File Formats|file format]] for a single Sector is a fixed field layout, typically described in the file header.
 
This [[Sector File Formats|file format]] for a single Sector is a fixed field layout, typically described in the file header.

Revision as of 15:51, 24 January 2019

Comp-Prog-Dav-R-Deitrick-Starter-Trav-Page-16 16-July-2018a.jpg

SEC File Format

This file format for a single Sector is a fixed field layout, typically described in the file header.

The data includes the Primary World Name, Location within the sector as a grid reference, UWP, Bases present, Trade codes, Travel Zones, Population Multiplier, Asteroid Belt count, Gas Giant count, allegiance code, and data about the types and sizes of stars present.

All known SEC Sector files are in the wiki, attached to each sector article under the data file link in the Infobox.

Example

An example for the Spinward Marches sector is provided below. Note that the actual system data does not start until line 18 within the file.

SPINWARD MARCHES SECTOR

The data in the sector text files is laid out in column format:

1-14: Name
15-18: HexNbr
20-28: UWP
31: Bases
33-47: Trade Codes & Comments
49: Zone
52-54: PBG
56-57: Allegiance
59-74: Stellar Data
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
Zeycude       0101 C330698-9    Na Ni Po De        613 Zh M9 V
Reno          0102 C1207B9-A    Na Po De           603 Zh G8 V M1 D