From FreeSpace Wiki
Jump to: navigation, search
This feature requires FreeSpace Open

Revision information.....

FSO Revision: 20221122
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
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 cheats.tbl is used to define the in-mission cheats for a mod. This table is not found in the retail game.

This table is one of the Modular Tables and can be extended with xxx-cht.tbm

General Structure

  • Table consists of cheats section
  • Starts with #CUSTOM CHEATS
  • Ends with #END


FS2 Open, 23.0:
  • Begin a cheat definition


FS2 Open, 23.0:
  • Defines the text that must be typed to activate the cheat.
  • Limited to 17 characters
  • Syntax: String


FS2 Open, 23.0:
  • Defines the message that will be sent when the cheat is activated.
  • Only works if the player is currently in a mission.
  • Syntax: String


FS2 Open, 23.0:
  • Defines whether or not cheats must be activated with WWW.FREESPACE2.COM first in order to use this cheat.
  • Syntax: Boolean


FS2 Open, 23.0:
  • Specifies if this cheat spawns a ship.
  • If specified, then the following two fields are required.


FS2 Open, 23.0:
  • The name the spawned ship will be given.
  • Syntax: String


FS2 Open, 23.0:
  • The class of ship to spawn. Must match a ship from ships.tbl.
  • Syntax: String


This is the built-in table that can be overridden with cheats.tbl or added to with -cht.tbm


   +Code: arrrrwalktheplank
   +Message: Walk the plank
      +Name: Volition Bravos
      +Class: Volition Bravos