Tips.tbl: Difference between revisions

Wanderer (talk | contribs)
initial page commit
 
Axem (talk | contribs)
mNo edit summary
Line 1: Line 1:
Tips.tbl is used for defining the tips that pop-up in tha main hall when a new pilot is created.
Tips.tbl is used for defining the tips that pop-up in the main hall when a new pilot is created.


==Format==
==Format==
*Table file consists of tips, each on a single line starting '''+Tip:''', and an ending '''#end'''
*Table file consists of tips, each on a single line starting with '''+Tip:''' and ending with '''#end'''





Revision as of 20:12, 12 October 2006

Tips.tbl is used for defining the tips that pop-up in the main hall when a new pilot is created.

Format

  • Table file consists of tips, each on a single line starting with +Tip: and ending with #end


+Tip:

  • Entry consists of an string and a value that refers to the translation found from tstrings.tbl
  • Syntax: XSTR("string", integer)

Sample

  • Part of retail FreeSpace 2 table
+Tip: XSTR("When your shields...", 3204)
+Tip: XSTR("Press [R] to target...", 3205)
+Tip: XSTR("Press [Alt-H] to enable...", 3206)
+Tip: XSTR("Attacking the Weapons subsystem...", 3207)