Difference between revisions of "Credits.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
{{TableVersion|9028}}
 
{{TableVersion|9028}}
  
The '''Credits.tbl''' is a table for defining the text displayed in the credits screen.
+
The '''credits.tbl''' is a table for defining the text displayed in the credits screen.
  
  

Revision as of 04:54, 19 July 2012

Revision information.....

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

List of Tables

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

$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: Interger

$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