Difference between revisions of "Tips.tbl"

From FreeSpace Wiki
Jump to: navigation, search
(General Info: Added note about maximum number of tips)
m (add starting index)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TableVersion|5147}}
+
{{SCP_table}}
 
+
{{TableVersionGit|2025-02-10|642111676012bc6696f4024c40296a6c20b3b958}}
 +
{{Tables}}
 
The '''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==
 
==General Info==
Line 10: Line 8:
 
*Can designate key pressed with [] brackets.
 
*Can designate key pressed with [] brackets.
 
*There is a maximum of 40 tips that you can define
 
*There is a maximum of 40 tips that you can define
 +
{{Table224|
 +
*Limit of 40 removed}}
  
 
==Format==
 
==Format==
 
*Table file consists of tips, each on a single line starting with '''+Tip:'''
 
*Table file consists of tips, each on a single line starting with '''+Tip:'''
 
*Table ends with '''#End'''
 
*Table ends with '''#End'''
 +
 +
===$Start Tips at Index:===
 +
{{Table250|
 +
*Sets which tip is shown first when tips are displayed to the player. 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 of that last tip in the list was shown. 
 +
*Syntax: '''''Integer'''''
 +
*Default Value: '''''-1'''''}}
  
 
===+Tip:===
 
===+Tip:===

Latest revision as of 20:18, 9 February 2025

This feature requires FreeSpace Open

Revision information.....

FSO Git Commit: Date: 2025-02-10 SHA: 642111676012bc6696f4024c40296a6c20b3b958
Note: Please update the revision information when the page is updated. If your edit had nothing to do with new code entries then please do not edit the revision information


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
Keywords.tbl* Not In Codebase
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 tips.tbl is used for defining the tips that pop-up in the main hall when a new pilot is created.

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
FS2 Open, 23.0:
  • Limit of 40 removed

Format

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

$Start Tips at Index:

FS2 Open, 25.0:
  • Sets which tip is shown first when tips are displayed to the player. 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 of that last tip in the list was shown.
  • Syntax: Integer
  • Default Value: -1

+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)