Repository navigation
tips.tbl
github-actions[bot] edited this page Oct 28, 2026
·
3 revisions
Revision information OFP Revision: #148 Set the revision to your PR when your PR changes what this page documents. Leave it alone for edits that only fix or improve the documentation.
The tips.tbl defines the tips that pop up in the main hall (shown to new pilots, until the player turns them off).
This table is one of the Modular Tables and can be extended with xxx-tip.tbm. Tips from modular tables are added after the ones before them.
Code: /menuui/playermenu.cpp. See Tables for every table.
Badges show the version a field or behavior was added in. Fields without a badge are from the original game.
Field index (every field, one per line in table order; click one to jump to it)
- These are the tips that will be displayed in a pop up menu in the mainhall.
- Key names can be written in [] brackets, as in the original tips.
- Tips can use the same tokens as training messages: a control name between
$signs is replaced by the key bound to it. -
There is no limit on the number of tips (it was 40).
- Table file consists of tips, each on a single line starting with +Tip:
- Table ends with #End
- Optional, and must come before the first tip. Sets which tip is shown first when tips are displayed to the player, counting from 0 across all tip tables. To always display the first tip first, set this to 0. By default, this value is -1, which means the game picks a random tip to show to the player. In either case, when the player clicks 'Next Tip' the game moves onto the next tip in the list sequentially, or back to the beginning of the list if the last tip in the list was shown.
- An index past the last tip logs a warning and the default (random) is used.
- The last table that sets it wins.
- Syntax: Integer
- Default Value: -1
- Entry consists of a string and a value that refers to the translation found from tstrings.tbl
- Syntax: XSTR("string", integer)
- 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)
Getting Started
Features
SEXPs
Lua Scripting
Tables
-
Tables
- ai.tbl
- Animation (-anim.tbm)
- armor.tbl
- asteroid.tbl
- autopilot.tbl
- cheats.tbl
- colors.tbl
- controlconfigdefaults.tbl
- coordinate_points.tbl
- credits.tbl
- curves.tbl
- cutscenes.tbl
- Decals (-dcl.tbm)
- default_settings.tbl
- Dynamic SEXPs (-sexp.tbm)
- editor.tbl
- fireball.tbl
- fonts.tbl
- game_settings.tbl
- generated_nebula.tbl
- glowpoints.tbl
- help.tbl
- hud_gauges.tbl
- icons.tbl
- iff_defs.tbl
- intel.tbl
- lighting_profiles.tbl
- lightning.tbl
- mainhall.tbl
- medals.tbl
- messages.tbl
- mflash.tbl
- mission_profiles.tbl
- music.tbl
- nebula.tbl
- objecttypes.tbl
- Particle Effects (-part.tbm)
- post_processing.tbl
- props.tbl
- rank.tbl
- scripting.tbl
- ships.tbl
- sounds.tbl
- species_defs.tbl
- ssm.tbl
- stars.tbl
- strings.tbl
- tips.tbl
- traitor.tbl
- tstrings.tbl
- virtual_pofs.tbl
- weapons.tbl