Rank.tbl

From FreeSpace Wiki
Jump to: navigation, search

Revision information.....

FSO Revision: 10125
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 rank.tbl is used to define different ranks that can be obtained during the game. It is not recommended to remove or add entries to this table.


List of Tables

Notes

  • Points gained in the game depend heavily on the difficulty level
Very Easy x 0.2
Easy x 0.4
Medium x 0.7
Hard x 1.0
Insane x 1.2


Format

  • Table begins with [RANK NAMES]
  • Invidual ranks, each starting with $Name:
  • Table ends with #End


Ranks

$Name:

  • Defines the name of the rank
  • Syntax: String


$Points:

  • Defines the number of points required to achieve the particular rank
  • Syntax: Integer


$Bitmap:

  • Defines the name of the bitmap used for the rank insignia
  • Syntax: String


$Promotion Voice Base:

  • Defines the base name of the voice file used for the promotion. In different parts of the campaign different voices are used; these are controlled by the debriefing persona. This is hard-coded for the main FreeSpace2 campaign but can be specified for user-made campaigns.
  • Syntax: String


$Promotion Text:

  • Defines the text displayed at the debriefing when the rank is achieved. Value is a reference for the translations found from tstrings.tbl. Is always followed by $end_multi_text.
  • Syntax: XSTR( "String", Integer )
FS2 Open, 3.7.2: Starting with 3.7.1, multiple Promotion Text fields may exist, each (except for the default) followed by its own Persona. The mission's Debriefing Persona Index controls which one is used.


+Persona:

FS2 Open, 3.7.2:
  • Optional. Defines the persona associated with this text. If specified, this particular text will be chosen when the Debriefing Persona Index matches.
  • Syntax: Integer


Sample

  • Retail FreeSpace 2 table
[RANK NAMES]
$Name:	Ensign
$Points:	0
$Bitmap:	medal12.pcx
$Promotion Voice Base: rank_0.wav
$Promotion Text:

XSTR("You have received your commission in the GTVA. Congratulations, Ensign.", 2929)

$end_multi_text

$Name: Lieutenant Junior Grade
$Points:	4000
$Bitmap:	medal12a.pcx
$Promotion Voice Base: rank_a.wav
$Promotion Text:

XSTR("Because of your achievements, character, and potential, you are duly awarded the rank of Lieutenant Junior Grade.", 2930)

$end_multi_text

$Name:	Lieutenant
$Points:	10000
$Bitmap:	medal12b.pcx
$Promotion Voice Base: rank_b.wav
$Promotion Text:

XSTR("After reviewing your service record and the recommendations of your superior officers, Allied Command has authorized your promotion. Congratulations, Lieutenant.", 2931)

$end_multi_text

$Name:	Lieutenant Commander
$Points:	22000
$Bitmap:	medal12c.pcx
$Promotion Voice Base: rank_c.wav
$Promotion Text:

XSTR("For your excellent record of service, leadership, and conduct under fire, you have attained the rank of Lieutenant Commander.", 2932)

$end_multi_text

$Name:	Commander
$Points:	50000
$Bitmap:	medal12d.pcx
$Promotion Voice Base: rank_d.wav
$Promotion Text:

XSTR("Because your achievements distinguish you as an officer of the highest caliber, you have been promoted to the rank of Commander.", 2933)

$end_multi_text

$Name:	Captain
$Points:	150000
$Bitmap:	medal12e.pcx
$Promotion Voice Base: rank_e.wav
$Promotion Text:

XSTR("For your brilliance as a pilot, tactician, and leader, Allied Command confers upon you the rank of Captain.", 2934)

$end_multi_text

;; the Brass
$Name:	Commodore
$Points:	400000
$Bitmap:	medal12f.pcx
$Promotion Voice Base: rank_f.wav
$Promotion Text:

XSTR("Captain, your long and illustrious record distinguishes you as a leader of integrity, courage, and wisdom. You are duly promoted to the rank of Commodore.", 2935)
$end_multi_text

$Name:	Rear Admiral
$Points:	2000000
$Bitmap:	medal12g.pcx
$Promotion Voice Base: rank_g.wav
$Promotion Text:

XSTR("On behalf of the GTVA Security Council and General Assembly, it is my honor to confer upon you the prestigious rank of Rear Admiral. Congratulations. ", 2936)

$end_multi_text

$Name:	Vice Admiral
$Points:	5000000
$Bitmap:	medal12h.pcx
$Promotion Voice Base: rank_h.wav
$Promotion Text:

XSTR("Your career stands as a shining example of our ideals and values, and few officers have rendered greater service to the Alliance. On behalf of the GTVA Security Council and General Assembly, I hereby confer upon you the prestigious rank of Vice Admiral.", 2937)

$end_multi_text

$Name:	Admiral
$Points:	9000000
$Bitmap:	medal12i.pcx
$Promotion Voice Base: rank_i.wav
$Promotion Text:

XSTR("Congratulations. You have earned your place in the highest echelon of allied leadership. Your character, courage, and genius are an inspiration to us all. On behalf of the GTVA Security Council and General Assembly, I hereby confer upon you the prestigious rank of Admiral. Now go read a book.", 2938)

$end_multi_text

#End