Difference between revisions of "Rank.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m (updated version info)
m (Revision fix)
Line 1: Line 1:
{{TableVersion|5211|5237}}
+
{{TableVersion|5237}}
  
  

Revision as of 17:17, 13 December 2011

Revision information.....

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



This table 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.


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. Its important to notice that in different parts of the campaing different voice are used.
  • Syntax: String


$Promotion Text:

  • Defines the text displayed at the debriefing when the rank is achieved. Value is a refenrence for the translations found from tstrings.tbl. Is always followed by $end_multi_text.
  • Syntax: XSTR( "String", 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