Tstrings.tbl

From FreeSpace Wiki
Revision as of 18:06, 7 July 2014 by Yarn (talk | contribs) (Tstrings.tbl is modular now, so a note about that has been added.)
Jump to: navigation, search

Revision information.....

FSO Revision: 10895
Note: Please update the version when the page is updated. If your edit had nothing to do with new code entries then please do not edit the version


The tstrings.tbl is used for translations quite like the strings.tbl except that it is used for table strings.


This table is one of the Modular Tables and can be extended with xxx-tlc.tbm

List of Tables

General Info

  • Other files use the index values for finding translations located in the tstrings.tbl

Format

  • Table consists of two sections named #default (English), and #German
  • Each section ends with $end
  • Each section consists of many indexed text entries.

Individual Lines

  • Each line starts with the number or index that it will be linked to from other tables.
  • Each line also contains the full text to use for that index throughout FSO.
  • There is a hard-coded limit of 4,500 strings per section. Do not reach or exceed this index number.
  • Syntax: Integer, String

Sample

  • Part of retail FreeSpace 2 table
#default
0, "The main FreeSpace 2 campaign."

1, "Special Operations Command has selected you for a dangerous covert assignment. Will you accept?"

2, "Special Operations Command requests your participation in a high-risk rescue mission. Will you volunteer?"

3, "Act 3"

4, "Shivan Gauntlet"

5, "A gauntlet module in which you face waves of Shivan fighters and warships.
"

6, "Blah"
...
...
3413, "*Aeolus Duel"

3414, "*Deimos Duel"

3415, "*Close Quarters"

3416, "*Ganymede Redux"

3417, "*Team Chaos"

3418, "*Ganymede Showdown"

3419, "So where's the Iceni, Command? Let’s end this now."

3420, "Protect Tatenen"

#end