Difference between revisions of "Credits.tbl"

From FreeSpace Wiki
Jump to: navigation, search
(Updates to include the changes made in revision 8666)
(Add $Music entry)
Line 1: Line 1:
{{TableVersion|8666}}
+
{{TableVersion|9027}}
  
 
'''Credits.tbl''' is a table for defining the text displayed in the credits screen.
 
'''Credits.tbl''' is a table for defining the text displayed in the credits screen.
Line 7: Line 7:
 
==Flags==
 
==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.  
 
*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'''''}}
  
 
===$Start Image Index===
 
===$Start Image Index===

Revision as of 02:40, 19 July 2012

Revision information.....

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


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

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

XSTR("Lead Programmer:", -1)

Dave Baranec


XSTR("Programming:", -1)

Dave Andsager
Jeff Farris
Neil Kumar