Difference between revisions of "Game settings.tbl"
(Adding a new setting introduced in revision 9293) |
(Documented $Default Detail Level) |
||
Line 59: | Line 59: | ||
*Syntax: '''''Boolean''''' | *Syntax: '''''Boolean''''' | ||
*Default Value: '''''NO'''''<br> | *Default Value: '''''NO'''''<br> | ||
+ | |||
+ | |||
+ | ===$Default Detail Level:=== | ||
+ | {{Table3615| | ||
+ | Determines which graphics detail level preset (low, medium, high, very high) acts as the default for new pilots. | ||
+ | *Syntax: '''''Integer''''' (0-3) | ||
+ | *Default Value: '''''3''''' (very high)<br>}} | ||
+ | |||
==#OTHER SETTINGS== | ==#OTHER SETTINGS== |
Revision as of 13:46, 14 November 2012
This feature requires FreeSpace Open |
Revision information.....
- FSO Revision: 9089
The game_settings.tbl, also known as mod.tbl, defines options that can be changed globally.
This table is one of the Modular Tables and can be extended with xxx-mod.tbm
Contents
#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
#GRAPHICS SETTINGS
Optional. This group contains settings related to graphics.
$Enable External Shaders:
Enables the use of external shader files. By default, the engine will use the built-in shaders.
- Syntax: Boolean
- Default Value: NO
$Default Detail Level:
Determines which graphics detail level preset (low, medium, high, very high) acts as the default for new pilots.
- Syntax: Integer (0-3)
- Default Value: 3 (very high)
#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
$Default ship select effect:
- This specifies which effect to use for ship select animations when no .ani can be found, or the -ship_choice_3d commandline flag is active. This will default to the FS2 effect.
- Possible options are "FS1" and "off"
$Default weapon select effect:
- This specifies which effect to use for weapon select animations when no .ani can be found, or the -weapon_choice_3d commandline flag is active. This will default to the FS2 effect.
- Possible options are "FS1" and "off"
$Weapons inherit parent collision group:
- When set to true, Weapons fired by a ship will inherit their parents' collision group setting. Default is false.
#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