Difference between revisions of "Game settings.tbl"

From FreeSpace Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
*The game_settings.tbl file defines options that can be changed globally.
 
*The game_settings.tbl file defines options that can be changed globally.
 +
 +
This table is one of the [[Modular Tables]] and can be extended with xxx-mod.tbm
  
 
==Campaign Settings==
 
==Campaign Settings==

Revision as of 17:47, 24 March 2012

Revision information.....

FSO Revision: 8624
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 game_settings.tbl file defines options that can be changed globally.

This table is one of the Modular Tables and can be extended with xxx-mod.tbm

Campaign Settings

Begins with #CAMPAIGN SETTINGS

$Default Campaign File Name:

  • Defines which campaign will be selected by default for new pilots.
  • Do not include the file extension.
  • Syntax: String

HUD Settings

Begins with #HUD SETTINGS

$Directive Wait Time:

  • Defines how long the game will wait before displaying a directive.
  • In milliseconds.
  • Syntax: Integer

SEXP Settings

Begins with #SEXP SETTINGS

$Loop SEXPs Then Arguments:

Other Settings

Begins with #OTHER SETTINGS

$Self Praise Percentage:

  • Sets the percent chance a message will play where a pilot praises his own kills.
  • Number between 0 - 100.
  • Syntax: Integer

$Fixed Turret Collisions:

  • Makes all hits to a turret's barrels count as hits to the turret subsystem. By default this does not happen, unless the point of impact falls inside the model radius of the turret's base.
  • Syntax: Boolean

$Damage Impacted Subsystem First:

  • If set, a hit which impacts a physical subsystem will always deal damage to that subsystem first, even if another subsystem is closer to the point of impact. By default, the closest subsystem will always receive damage first.
  • Syntax: Boolean

END

Table must end with #END

Sample Entry

   #CAMPAIGN SETTINGS
   $Default Campaign File Name: NewCampaignFile
   
   #HUD SETTINGS
   $Directive Wait Time: 5000
   
   #SEXP SETTINGS
   $Loop SEXPs Then Arguments: True
   
   #OTHER SETTINGS
   $Self Praise Percentage: 75
   
   #END