Credits.tbl: Difference between revisions

MjnMixael (talk | contribs)
No edit summary
M!m (talk | contribs)
Updates to include the changes made in revision 8666
Line 1: Line 1:
{{TableVersion|7240}}
{{TableVersion|8666}}


'''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.
This table is one of the [[Modular Tables]] and can be extended with xxx-crd.tbm


==Flags==
==Flags==
*These go before the rest of the credits.
*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.  


===$Start Image Index===
===$Start Image Index===
Line 11: Line 13:
*Defaults to random number.
*Defaults to random number.
*Syntax: '''''Interger'''''}}
*Syntax: '''''Interger'''''}}
===$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==

Revision as of 13:06, 12 April 2012

Revision information.....

FSO Revision: 8666
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.

$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