Difference between revisions of "Rank.tbl"
From FreeSpace Wiki
Goober5000 (talk | contribs) (clarification) |
(Replaced link to list of tables with actual list on the right.) |
||
Line 1: | Line 1: | ||
{{TableVersion|10125}} | {{TableVersion|10125}} | ||
− | + | {{Tables}} | |
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. | 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. | ||
− | |||
− | |||
− | |||
==Notes== | ==Notes== |
Revision as of 04:35, 13 October 2020
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
List of Tables and related code files | |
---|---|
* Notes Modular Tables | |
** Notes tables which only use modular tables | |
Ai.tbl* | /ai/aicode.cpp |
Ai_profiles.tbl* | /ai/ai_profiles.cpp |
Animation.tbl** | /model/modelanimation.cpp |
Armor.tbl* | /ship/ship.cpp |
Asteroid.tbl* | /asteroid/asteroid.cpp |
Autopilot.tbl* | /autopilot/autopilot.cpp |
Cheats.tbl* | /cheats_table/cheats_table.cpp |
Colors.tbl* | /globalincs/alphacolors.cpp |
Curves.tbl* | /math/curves.cpp |
Controlconfigdefaults.tbl | /controlconfig/controlsconfigcommon.cpp |
Credits.tbl* | /menuui/credits.cpp |
Cutscenes.tbl* | /cutscene/cutscenes.cpp |
Decals.tbl** | /decals/decals.cpp |
Fireball.tbl* | /fireball/fireballs.cpp |
Fonts.tbl* | /graphics/font.cpp |
Game_settings.tbl* | /mod_table/mod_table.cpp |
Glowpoints.tbl* | /model/modelread.cpp |
Help.tbl* | /gamehelp/contexthelp.cpp |
Hud_gauges.tbl* | /hud/hudparse.cpp |
Icons.tbl* | /mission/missionbriefcommon.cpp |
Iff_defs.tbl* | /iff_defs/iff_defs.cpp |
Keywords.tbl* | Not In Codebase |
Lighting_Profiles.tbl* | /lighting/lighting_profiles.cpp |
Lightning.tbl* | /nebula/neblightning.cpp |
Mainhall.tbl* | /menuui/mainhallmenu.cpp |
Medals.tbl* | /stats/medals.cpp |
Messages.tbl* | /mission/missionmessage.cpp |
Mflash.tbl* | /weapon/muzzleflash.cpp |
Music.tbl* | /gamesnd/eventmusic.cpp |
Nebula.tbl* | /nebula/neb.cpp |
Objecttypes.tbl* | /ship/ship.cpp |
Options.tbl* | Not In Codebase |
Particle effects(-part.tbm)** | /particle/effects... |
Post_processing.tbl | /graphics/gropenglpostprocessing.cpp |
Rank.tbl* | /stats/scoring.cpp |
Scpui.tbl* | Not In Codebase |
Scripting.tbl* | /parse/scripting.cpp |
Ships.tbl* | /ship/ship.cpp |
Sexps.tbl** | /parse/sexp/sexp_lookup.cpp |
Sounds.tbl* | /gamesnd/gamesnd.cpp |
Species_defs.tbl* | /species_defs/species_defs.cpp |
Species.tbl* | /menuui/techmenu.cpp |
Ssm.tbl* | /hud/hudartillery.cpp |
Stars.tbl* | /starfield/starfield.cpp |
Strings.tbl* | /localization/localize.cpp |
Tips.tbl* | /menuui/playermenu.cpp |
Traitor.tbl* | /stats/scoring.cpp |
Tstrings.tbl* | /localization/localize.cpp |
Virtual_pofs.tbl* | /model/modelreplace.cpp |
Weapon_expl.tbl* | /weapon/weapons.cpp |
Weapons.tbl* | /weapon/weapons.cpp |
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.
Contents
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