Repository navigation
cutscenes.tbl
Revision information OFP Revision: #115 Set the revision to your PR when your PR changes what this page documents. Leave it alone for edits that only fix or improve the documentation.
The cutscenes.tbl defines the video clips shown in the tech room's cutscenes section, with their names and descriptions.
This table is one of the Modular Tables and can be extended with xxx-csn.tbm.
Code: /cutscene/cutscenes.cpp. See Tables for every table.
Badges show the version a field or behavior was added in. Fields without a badge are from the original game.
Field index (every field, one per line in table order; click one to jump to it)
- Indicates the beginning of the main cutscenes section. Anything before it in the file is ignored.
- Each cutscene starts with
$Filename:, and its fields must be in the order listed here; one out of order is not read.
- Used to define the actual name of the video shown in the particular slot.
- Syntax: String.mp4, String.ogg, or String.mve, filename.extension
- Example: intro.mve
- The file name identifies the cutscene. A name used twice in cutscenes.tbl is an error. In a modular table, a name that already exists edits that cutscene.
- Optional. Goes directly after
$Filename:. - In a modular table, edits the cutscene only if it already exists, instead of creating a new one.
- Using it in cutscenes.tbl itself logs a warning.
-
Known issue: once one entry in a file uses
+nocreate, every later entry in that file is treated as if it had it too, so a new cutscene after it in the same file is skipped. Put new cutscenes before any+nocreateentry, or in a separate file.
- Defines the name of the cutscene
- Syntax: String, name
- This field is now optional, defaults to $Filename
- Used to define the description of the particular table entry
- Value is used for defining the translations via the tstrings.tbl
- Is always followed immediately with $end_multi_text
- Syntax: XSTR("String", Integer), descriptive text, integer refers to translations
- Example: XSTR("Admiral Petrarch addresses the crew of the Aquitaine, relating news of the GTVA's success.", 2611)
- This field is now optional
- Defined the CD the cutscene was on. Still read for compatibility, but ignored.
- Syntax: Integer
- This field is now optional
- Sets the cutscene to always be available in the cutscene room without needing to be viewed during the campaign.
- Only YES has an effect: a modular table can't turn it back off with NO.
- Syntax: Boolean
- Sets the cutscene to never be available in the cutscene room, even if it is viewed during the campaign.
- Only YES has an effect: a modular table can't turn it back off with NO.
- Syntax: Boolean
Defines a set of custom data that for this cutscene, which can then be accessed through Lua scripts. There can be any amount of +Val: entries. It requires a $end_custom_data entry at the end.
Check the scripting documentation of Cutscenes to find the CustomData Lua Table.
Specifies a custom data value and its name, in the format
+Val: Name Value
These values will always be strings of text. If you use them in Lua as other types of value, you might need to convert them in the script.
Mandatory entry to indicate that the Custom Data list has ended.
- Here are instructions how to configure the mission to make the pre-rendered cutscene play at the correct point in the campaign.
- Full retail table:
; Cutscene.tbl
; Will contain data for :
; 1.) cutscene names
; 2.) cutscene descriptions
; 3.) cutscene location on CD
;
; Do not change the ordering of the sections in this table. Also do not add items to the list
#Cutscenes
;;
;; INTRO
;;
$Filename: intro.mve
$Name: Introduction
$Description:
XSTR(
"Thirty-two years have passed since the Great War, and a new generation has come of age.", 2603)
$end_multi_text
$cd: 2
;;
;; COLOSSUS
;;
$Filename: Colossus.mve
$Name: GTVA Colossus
$Description:
XSTR(
"Introducing the GTVA Colossus, the largest space-faring warship ever constructed.", 2604)
$end_multi_text
$cd: 2
;;
;; MONOLOGUE 1
;;
$Filename: mono1.mve
$Name: Bosch Monologue 1
$Description:
XSTR(
"Admiral Bosch, the NTF Supreme Commander, reflects upon the legacy of the Ancients.", 2605)
$end_multi_text
$cd: 2
;;
;; MONOLOGUE 2
;;
$Filename: mono2.mve
$Name: Bosch Monologue 2
$Description:
XSTR(
"Following NTF defeats in Epsilon Pegasi and Sirius, Bosch reconsiders his strategy.", 2606)
$end_multi_text
$cd: 3
;;
;; MONOLOGUE 3
;;
$Filename: mono3.mve
$Name: Bosch Monologue 3
$Description:
XSTR(
"Lost in the nebula beyond the Knossos portal, Bosch questions the wisdom of his actions.", 2607)
$end_multi_text
$cd: 3
;;
;; MONOLOGUE 4
;;
$Filename: mono4.mve
$Name: Bosch Monologue 4
$Description:
XSTR(
"His crusade vindicated, Bosch prepares for his second rendezvous with the Shivans.", 2608)
$end_multi_text
$cd: 3
;;
;; BASTION
;;
$Filename: bastion.mve
$Name: Bastion dies
$Description:
XSTR(
"Packed with meson warheads, the GTD Bastion self-destructs and seals off the Epsilon Pegasi jump node.", 2609)
$end_multi_text
$cd: 3
;;
;; END GAME
;;
$Filename: endpart1.mve
$Name: End Game
$Description:
XSTR(
"Generating a powerful subspace disturbance, the Shivan juggernauts trigger a supernova.", 2610)
$end_multi_text
$cd: 3
;;
;; END GAME A
;;
$Filename: endprt2a.mve
$Name: End Game Part 2A
$Description:
XSTR(
"Admiral Petrarch addresses the crew of the Aquitaine, relating news of the GTVA's success.", 2611)
$end_multi_text
$cd: 3
;;
;; END GAME B
;;
$Filename: endprt2b.mve
$Name: End Game Part 2B
$Description:
XSTR(
"Admiral Petrarch addresses the 70th Blue Lions, relating news of Alpha 1's demise.", 2612)
$end_multi_text
$cd: 3
#End
Getting Started
Features
SEXPs
Lua Scripting
Tables
-
Tables
- ai.tbl
- Animation (-anim.tbm)
- armor.tbl
- asteroid.tbl
- autopilot.tbl
- cheats.tbl
- colors.tbl
- controlconfigdefaults.tbl
- coordinate_points.tbl
- credits.tbl
- curves.tbl
- cutscenes.tbl
- Decals (-dcl.tbm)
- default_settings.tbl
- Dynamic SEXPs (-sexp.tbm)
- editor.tbl
- fireball.tbl
- fonts.tbl
- game_settings.tbl
- generated_nebula.tbl
- glowpoints.tbl
- help.tbl
- hud_gauges.tbl
- icons.tbl
- iff_defs.tbl
- intel.tbl
- lighting_profiles.tbl
- lightning.tbl
- mainhall.tbl
- medals.tbl
- messages.tbl
- mflash.tbl
- mission_profiles.tbl
- music.tbl
- nebula.tbl
- objecttypes.tbl
- Particle Effects (-part.tbm)
- post_processing.tbl
- props.tbl
- rank.tbl
- scripting.tbl
- ships.tbl
- sounds.tbl
- species_defs.tbl
- ssm.tbl
- stars.tbl
- strings.tbl
- tips.tbl
- traitor.tbl
- tstrings.tbl
- virtual_pofs.tbl
- weapons.tbl