Difference between revisions of "Tips.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m
(General Info: Added note about maximum number of tips)
Line 9: Line 9:
 
*These are the tips that will be displayed in a pop up menu in the mainhall.
 
*These are the tips that will be displayed in a pop up menu in the mainhall.
 
*Can designate key pressed with [] brackets.
 
*Can designate key pressed with [] brackets.
 +
*There is a maximum of 40 tips that you can define
  
 
==Format==
 
==Format==

Revision as of 05:25, 14 November 2016

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.
  • There is a maximum of 40 tips that you can define

Format

  • Table file consists of tips, each on a single line starting with +Tip:
  • Table ends with #End

+Tip:

  • Entry consists of a 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)