Difference between revisions of "Credits.tbl"
From FreeSpace Wiki
(initial page commit) |
Goober5000 (talk | contribs) ($Substitute Music:) |
||
| (16 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{TableVersion|9770}} | |
| + | {{Tables}} | ||
| + | The '''credits.tbl''' is a table for defining the text displayed in the credits screen. | ||
| + | |||
| + | This table is one of the [[Modular Tables]] and can be extended with xxx-crd.tbm | ||
| + | |||
| + | ==Flags== | ||
| + | *These go before the rest of the credits. They are applied in the order the tables are parsed so previous entries are overwritten by new entries. | ||
| + | |||
| + | ===$Music:=== | ||
| + | {{Table3615| | ||
| + | *Sets the music to be played during the credits. | ||
| + | *String value is from [[music.tbl]]. | ||
| + | *Defaults to 'Cinema' | ||
| + | *Syntax: '''''String'''''}} | ||
| + | |||
| + | ===$Substitute Music:=== | ||
| + | {{Table244| | ||
| + | *Sets the music to be played during the credits if an optional music pack is present. | ||
| + | *String value is from [[music.tbl]]. | ||
| + | *If this specifies a valid music entry, it overrides $Music. | ||
| + | *Syntax: '''''String'''''}} | ||
| + | |||
| + | ===$Number of Images:=== | ||
| + | {{Table371| | ||
| + | *Sets the number of images that are cycled during the credits. | ||
| + | *Defaults to the retail value of 46 (0-45). | ||
| + | *Syntax: '''''Integer'''''}} | ||
| + | |||
| + | ===$Start Image Index:=== | ||
| + | {{Table3613| | ||
| + | *Sets the image index that the credits image scroll will start with. | ||
| + | *Defaults to random number. | ||
| + | *Syntax: '''''Integer'''''}} | ||
| + | |||
| + | ===$Text scroll rate:=== | ||
| + | {{Table3615| | ||
| + | *Sets the scroll rate of the text in pixels per second | ||
| + | *Defaults to 15 | ||
| + | *Syntax: '''''Float'''''}} | ||
| + | |||
| + | ===$Artworks display time:=== | ||
| + | {{Table3615| | ||
| + | *Sets the time a single image is displayed without fadein and -out times. | ||
| + | *Specified in seconds | ||
| + | *Defaults to 9 | ||
| + | *Syntax: '''''Float'''''}} | ||
| + | |||
| + | ===$Artworks fade time:=== | ||
| + | {{Table3615| | ||
| + | *Sets the time spent for fading an image. | ||
| + | *Specified in seconds | ||
| + | *Defaults to 1 | ||
| + | *Syntax: '''''Float'''''}} | ||
| + | |||
| + | ===$SCP Credits position:=== | ||
| + | {{Table3615| | ||
| + | *Specifies the position where the default SCP credits appear | ||
| + | *Defaults to ''''''Start'''''' | ||
| + | *Syntax: '''''String''''', one of: | ||
| + | **''Start'' | ||
| + | **''End''}} | ||
==Format== | ==Format== | ||
*Table consists of header entries followed by the list of people under that header. | *Table consists of header entries followed by the list of people under that header. | ||
*'''Header:''' | *'''Header:''' | ||
| − | **Syntax: XSTR("''''' | + | **Syntax: XSTR("'''''String'''''", -1), Header |
**Example: XSTR("Lead Programmer:", -1) | **Example: XSTR("Lead Programmer:", -1) | ||
*List of names can be added under each header (not required). | *List of names can be added under each header (not required). | ||
==Sample== | ==Sample== | ||
| − | <pre>XSTR("Lead Programmer:", -1) | + | <pre> |
| + | $Start Image Index: 00 | ||
| + | $Text scroll rate: 17.0 | ||
| + | $Artworks display time: 6.5 | ||
| + | $Artworks fade time: 1.5 | ||
| + | $SCP Credits position: end | ||
| + | |||
| + | XSTR("Lead Programmer:", -1) | ||
Dave Baranec | Dave Baranec | ||
| Line 18: | Line 86: | ||
Dave Andsager | Dave Andsager | ||
Jeff Farris | Jeff Farris | ||
| − | Neil Kumar</pre> | + | Neil Kumar |
| + | |||
| + | #end | ||
| + | </pre> | ||
[[Category:Tables]] | [[Category:Tables]] | ||
Latest revision as of 00:51, 15 November 2024
Revision information.....
- FSO Revision: 9770
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
| 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 credits.tbl is a table for defining the text displayed in the credits screen.
This table is one of the Modular Tables and can be extended with xxx-crd.tbm
Contents
Flags
- These go before the rest of the credits. They are applied in the order the tables are parsed so previous entries are overwritten by new entries.
$Music:
FS2 Open, 3.6.16:
- Sets the music to be played during the credits.
- String value is from music.tbl.
- Defaults to 'Cinema'
- Syntax: String
$Substitute Music:
FS2 Open, 25.0:
- Sets the music to be played during the credits if an optional music pack is present.
- String value is from music.tbl.
- If this specifies a valid music entry, it overrides $Music.
- Syntax: String
$Number of Images:
FS2 Open, 3.7.2:
- Sets the number of images that are cycled during the credits.
- Defaults to the retail value of 46 (0-45).
- Syntax: Integer
$Start Image Index:
FS2 Open, 3.6.14:
- Sets the image index that the credits image scroll will start with.
- Defaults to random number.
- Syntax: Integer
$Text scroll rate:
FS2 Open, 3.6.16:
- Sets the scroll rate of the text in pixels per second
- Defaults to 15
- Syntax: Float
$Artworks display time:
FS2 Open, 3.6.16:
- Sets the time a single image is displayed without fadein and -out times.
- Specified in seconds
- Defaults to 9
- Syntax: Float
$Artworks fade time:
FS2 Open, 3.6.16:
- Sets the time spent for fading an image.
- Specified in seconds
- Defaults to 1
- Syntax: Float
$SCP Credits position:
FS2 Open, 3.6.16:
- Specifies the position where the default SCP credits appear
- Defaults to 'Start'
- Syntax: String, one of:
- Start
- End
Format
- Table consists of header entries followed by the list of people under that header.
- Header:
- Syntax: XSTR("String", -1), Header
- Example: XSTR("Lead Programmer:", -1)
- List of names can be added under each header (not required).
Sample
$Start Image Index: 00
$Text scroll rate: 17.0
$Artworks display time: 6.5
$Artworks fade time: 1.5
$SCP Credits position: end
XSTR("Lead Programmer:", -1)
Dave Baranec
XSTR("Programming:", -1)
Dave Andsager
Jeff Farris
Neil Kumar
#end