Difference between revisions of "Game settings.tbl"

From FreeSpace Wiki
Jump to: navigation, search
(Remove flag that's not even parsed)
(formatting)
Line 4: Line 4:
  
 
Also known as Mod.tbl, the Game_settings.tbl defines options that can be changed globally.
 
Also known as Mod.tbl, the Game_settings.tbl defines options that can be changed globally.
 +
  
 
This table is one of the [[Modular Tables]] and can be extended with xxx-mod.tbm
 
This table is one of the [[Modular Tables]] and can be extended with xxx-mod.tbm
 +
 +
[[Tables|List of Tables]]
  
 
==#CAMPAIGN SETTINGS==
 
==#CAMPAIGN SETTINGS==

Revision as of 04:02, 19 July 2012

This feature requires FreeSpace Open

Revision information.....

FSO Revision: 8920
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


Also known as Mod.tbl, the Game_settings.tbl defines options that can be changed globally.


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

List of Tables

#CAMPAIGN SETTINGS

Optional. This group contains various Campaign related settings and overrides.


$Default Campaign File Name:

Defines which campaign will be selected by default for new pilots. A file extension is not needed and, if present, is removed by the code.

  • Syntax: String


#HUD Settings

Optional. This group contains various HUD behavior settings and overrides


$Directive Wait Time:

  • Defines how long the game will wait before displaying a directive.
  • Syntax: Integer
  • Values: Greater than or equal to 0 ms


$Cutscene Camera Disables HUD:

Switches off the HUD when the cutscene camera is enabled. This option is on by default.

  • Syntax: Boolean
  • Default Value: YES


#SEXP SETTINGS

Optional. This group contains SEXP settings and overrides.


$Loop SEXPs Then Arguments:

Flips how when-argument settings loop. See: SEXP Argument changes via mod.tbl

  • Syntax: Boolean
  • Default Value: NO


$Use Alternate Chaining Behavior:

When set, this makes the event chaining behavior act as people expected it to be in Mantis #82.

  • Syntax: Boolean
  • Default Value: NO


#OTHER SETTINGS

Optional. This group contains miscellaneous settings.


$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
  • Default Value: NO


$Damage Impacted Subsystem First:

If set, a hit to 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
  • Default Value: NO


#END

Required. The last line of the table must be #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