Tstrings.tbl

From FreeSpace Wiki
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


List of Tables and related code files
* Notes Modular Tables
** Notes tables which only use modular tables
Ai.tbl* /ai/aicode.cpp
Ai_profiles.tbl* /ai/ai_profiles.cpp
Animation.tbl** /model/modelanimation.cpp
Armor.tbl* /ship/ship.cpp
Asteroid.tbl* /asteroid/asteroid.cpp
Autopilot.tbl* /autopilot/autopilot.cpp
Cheats.tbl* /cheats_table/cheats_table.cpp
Colors.tbl* /globalincs/alphacolors.cpp
Curves.tbl* /math/curves.cpp
Controlconfigdefaults.tbl /controlconfig/controlsconfigcommon.cpp
Credits.tbl* /menuui/credits.cpp
Cutscenes.tbl* /cutscene/cutscenes.cpp
Decals.tbl** /decals/decals.cpp
Fireball.tbl* /fireball/fireballs.cpp
Fonts.tbl* /graphics/font.cpp
Game_settings.tbl* /mod_table/mod_table.cpp
Glowpoints.tbl* /model/modelread.cpp
Help.tbl* /gamehelp/contexthelp.cpp
Hud_gauges.tbl* /hud/hudparse.cpp
Icons.tbl* /mission/missionbriefcommon.cpp
Iff_defs.tbl* /iff_defs/iff_defs.cpp
Lighting_Profiles.tbl* /lighting/lighting_profiles.cpp
Lightning.tbl* /nebula/neblightning.cpp
Mainhall.tbl* /menuui/mainhallmenu.cpp
Medals.tbl* /stats/medals.cpp
Messages.tbl* /mission/missionmessage.cpp
Mflash.tbl* /weapon/muzzleflash.cpp
Music.tbl* /gamesnd/eventmusic.cpp
Nebula.tbl* /nebula/neb.cpp
Objecttypes.tbl* /ship/ship.cpp
Options.tbl* Not In Codebase
Particle effects(-part.tbm)** /particle/effects...
Post_processing.tbl /graphics/gropenglpostprocessing.cpp
Rank.tbl* /stats/scoring.cpp
Scpui.tbl* Not In Codebase
Scripting.tbl* /parse/scripting.cpp
Ships.tbl* /ship/ship.cpp
Sexps.tbl** /parse/sexp/sexp_lookup.cpp
Sounds.tbl* /gamesnd/gamesnd.cpp
Species_defs.tbl* /species_defs/species_defs.cpp
Species.tbl* /menuui/techmenu.cpp
Ssm.tbl* /hud/hudartillery.cpp
Stars.tbl* /starfield/starfield.cpp
Strings.tbl* /localization/localize.cpp
Tips.tbl* /menuui/playermenu.cpp
Traitor.tbl* /stats/scoring.cpp
Tstrings.tbl* /localization/localize.cpp
Virtual_pofs.tbl* /model/modelreplace.cpp
Weapon_expl.tbl* /weapon/weapons.cpp
Weapons.tbl* /weapon/weapons.cpp

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

General Info

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

Format

  • Table consists of one or more sections, each beginning with a number sign followed by the name of the language (e.g., #German). The exception is the English section, which must begin with #default.
  • 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