Difference between revisions of "Journal.tbl"
From FreeSpace Wiki
(Created page with "{{SCPUI_table}} {{Tables}} Journal.tbl is used by the SCPUI script system to define the journal options and entries for a specific campaign. Journal.tbl, by design, is NO...") |
(No difference)
|
Latest revision as of 18:24, 23 April 2025
| This feature requires SCPUI |
| 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 |
Journal.tbl is used by the SCPUI script system to define the journal options and entries for a specific campaign.
Journal.tbl, by design, is NOT modular and cannot be extended.
Contents
Journal.tbl
- Defines the journal options, configuration, and available entries
- Begins with one of the configuration sections and ends with #End
#Journal Options
- The base configuration options
- Must end with #End
$Title:
- The title of the UI shown to the player.
- Optional. Defaults to "Journal".
- Syntax: string
#Journal Sections
- Defines what sections or entry categories are available.
- Can define up to 3 sections.
- Must end with #End
$Name:
- The name of the section.
- Does NOT support XSTR("", ##) parsing!
- Syntax: string
$XSTR:
- The XSTR ID for the section name
- Syntax: integer
#Journal Entries
- Defines all available journal entries
- Must end with #End
$Name:
- The name of the entry.
- Does NOT support XSTR("", ##) parsing!
- Syntax: string
$XSTR:
- The XSTR ID for the section name
- Syntax: integer
$Group:
- The Section or Category that this entry belongs to
- Syntax: string
$Visible by Default:
- Sets whether this entry is always visible or must be unlocked
- Optional, defaults to false.
- Syntax: boolean
$Short Title:
- A short title string for the entry
- Optional, defaults to an empty string
- Syntax: string
$File:
- The base name of the text file to use for the journal entry.
- Language support is handled by appending FSO's language shorthand to the filename before the extension
BASENAME-lang.txt - Must be a .txt file and the extension should be included here.
- Syntax: string
$Image:
- The image file to display (without extension)
- Optional, if not provided no image will be displayed.
- Syntax: string
$Caption:
- The caption for the image. Ignored if there is no image to display.
- Optional, if not provided no caption will be displayed.
- Syntax: string
$Caption XSTR:
- The XSTR id for the caption.
- Required if Caption is provided.
- Syntax: integer
Example
#Journal Options
$Title: XSTR("Newsroom", 9284)
#End
#Journal Sections
$Name: Headlines
$XSTR: 193
$Name: Editorials
$XSTR: 194
#End
#Journal Entries ;;Languages can be done by creating files with the language shorthand appended. bta1_h01-gr.txt
$Name: Living In Antares
$XSTR: 195
$Group: Headlines
$Visible by Default: true
$Short Title: bta1_head01
$File: bta1_h01.txt
$Name: The Stinging of a Wasp
$XSTR: 196
$Group: Headlines
$Visible by Default: false
$Short Title: bta1_head02
$File: bta1_h02.txt
$Name: The Stinging of a Wasp Pt.2
$XSTR: 197
$Group: Headlines
$Visible by Default: false
$Short Title: bta1_head03
$File: bta1_h03.txt
$Name: Hammer of Light Activity Increases
$XSTR: 198
$Group: Headlines
$Visible by Default: false
$Short Title: bta1_head04
$File: bta1_h04.txt
$Name: Piracy and Smuggling on the Increase
$XSTR: 199
$Group: Headlines
$Visible by Default: false
$Short Title: bta1_head05
$File: bta1_h05.txt
$Name: Living in a Box
$XSTR: 200
$Group: Headlines
$Visible by Default: false
$Short Title: bta1_head06
$File: bta1_h06.txt
$Name: Criminal Activity Continues
$XSTR: 201
$Group: Headlines
$Visible by Default: false
$Short Title: bta1_head07
$File: bta1_h07.txt
$Name: Carnage at Detiula Station
$XSTR: 202
$Group: Headlines
$Visible by Default: false
$Short Title: bta1_head08
$File: bta1_h08.txt
$Name: Messenger of Death
$XSTR: 203
$Group: Headlines
$Visible by Default: false
$Short Title: bta1_head09
$File: bta1_h09.txt
$Name: War-Torn and Without Choice
$XSTR: 204
$Group: Editorials
$Visible by Default: true
$Short Title: bta1_edit01
$File: bta1_e01.txt
$Image: deadcity
$Caption: Volsinii city after PVN bombardment - year 2330
$Caption XSTR: 218
$Name: More Casualties, More Tragedies
$XSTR: 205
$Group: Editorials
$Visible by Default: true
$Short Title: bta1_edit02
$File: bta1_e02.txt
$Image: deathinspace
$Caption: Debris after GTA attack on civilian transport Retin - 2335/04/25
$Caption XSTR: 219
$Name: Antares, Or What's Left Of It
$XSTR: 206
$Group: Editorials
$Visible by Default: true
$Short Title: bta1_edit03
$File: bta1_e03.txt
$Image: gulnarasun
$Caption: Gulnara Research Station is often a target of local raiding parties.
$Caption XSTR: 220
$Name: The Hand Grasping The Suns
$XSTR: 207
$Group: Editorials
$Visible by Default: true
$Short Title: bta1_edit04
$File: bta1_e04.txt
$Image: militarysun
$Caption: Some GTA warships are already in Antares preceding the Intrepid's arrival.
$Caption XSTR: 221
$Name: Antares' Judgment Begins
$XSTR: 208
$Group: Editorials
$Visible by Default: false
$Short Title:bta1_edit05
$File: bta1_e05.txt
$Image: cargoplatform
$Caption: One of many cargo depots littered around Antares.
$Caption XSTR: 227
$Name: Blind Spot
$XSTR: 209
$Group: Editorials
$Visible by Default: false
$Short Title: bta1_edit06
$File: bta1_e06.txt
$Image: krakenstation
$Caption: Kraken Station, the site of the attack on the Regulus Senators.
$Caption XSTR: 228
$Name: Facade of the Starscape
$XSTR: 210
$Group: Editorials
$Visible by Default: false
$Short Title: bta1_edit07
$File: bta1_e07.txt
$Image: hillross
$Caption: Hillross Station is owned by Exxon-Beckham.
$Caption XSTR: 232
$Name: Abeyance
$XSTR: 211
$Group: Editorials
$Visible by Default: false
$Short Title: bta1_edit08
$File: bta1_e08.txt
$Image: afvalk
$Caption: Antarian security forces have begun painting the emblem of the Antares Federation political party on their hulls.
$Caption XSTR: 233
$Name: Breadcrumbs and Superposition
$XSTR: 212
$Group: Editorials
$Visible by Default: false
$Short Title: bta1_edit09
$File: bta1_e09.txt
$Image: afemblem
$Caption: The official emblem of the Antares Federation political party.
$Caption XSTR: 234
$Name: The Sleeping Dragon
$XSTR: 213
$Group: Editorials
$Visible by Default: false
$Short Title: bta1_edit10
$File: bta1_e10.txt
$Image: cardinalpropo
$Caption: The HLD Cardinal as shown in an HoL propaganda release.
$Caption XSTR: 235
$Name: The Dragon Awakens
$XSTR: 214
$Group: Editorials
$Visible by Default: false
$Short Title: bta1_edit11
$File: bta1_e11.txt
$Image: megalith
$Caption: Security firm Megalith is now operating directly out of Antares Station.
$Caption XSTR: 236
$Name: Phagocytosis
$XSTR: 215
$Group: Editorials
$Visible by Default: false
$Short Title: bta1_edit12
$File: bta1_e12.txt
$Image: apoapsis
$Caption: The AFC Apoapsis is now standing by near Antares Station.
$Caption XSTR: 237
$Name: The Suns Are Released
$XSTR: 216
$Group: Editorials
$Visible by Default: false
$Short Title: bta1_edit13
$File: bta1_e13.txt
$Image: antsuns
$Caption: Antares Major and Minor are our symbols for hope and unity in the future.
$Caption XSTR: 238
#End