Difference between revisions of "Tips.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m (Revision fix)
(formatting)
Line 1: Line 1:
 
{{TableVersion|5147}}
 
{{TableVersion|5147}}
  
Tips.tbl is used for defining the tips that pop-up in the main hall when a new pilot is created.
+
The '''Tips.tbl''' is used for defining the tips that pop-up in the main hall when a new pilot is created.
 +
 
 +
 
 +
[[Tables|List of Tables]]
 +
 
 +
==General Info==
 +
*These are the tips that will be displayed in a pop up menu in the mainhall.
 +
*Can designate key pressed with [] brackets.
  
 
==Format==
 
==Format==
*Table file consists of tips, each on a single line starting with '''+Tip:''' and ending with '''#end'''
+
*Table file consists of tips, each on a single line starting with '''+Tip:'''
 
+
*Table ends with '''#End'''
  
==+Tip:==
+
===+Tip:===
 
*Entry consists of an string and a value that refers to the translation found from [[tstrings.tbl]]
 
*Entry consists of an string and a value that refers to the translation found from [[tstrings.tbl]]
 
*Syntax: XSTR("''string''", ''integer'')
 
*Syntax: XSTR("''string''", ''integer'')

Revision as of 04:42, 19 July 2012

Revision information.....

FSO Revision: 5147
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 Tips.tbl is used for defining the tips that pop-up in the main hall when a new pilot is created.


List of Tables

General Info

  • These are the tips that will be displayed in a pop up menu in the mainhall.
  • Can designate key pressed with [] brackets.

Format

  • Table file consists of tips, each on a single line starting with +Tip:
  • Table ends 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)