Repository navigation
ssm.tbl
github-actions[bot] edited this page Oct 28, 2026
·
3 revisions
Revision information OFP Revision: #145 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 ssm.tbl defines subspace missile (SSM) strikes: the weapons that warp in around a target, how many, and in what formation.
This table is one of the Modular Tables and can be extended with xxx-ssm.tbm.
Code: /hud/hudartillery.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)
- Table consists of independent $SSM: entries
- Table ends with #end
- The fields of a strike must be in the order listed here. Every field is optional unless noted.
- Strikes are used by the
call-ssm-strikeSEXP and by weapons with$SSM:in weapons.tbl.
- Names the SSM strike.
The name itself is optional; if not present, it gets defaulted to "SSM ", allowing easy selection in FRED.
- A name already used is not checked: the strike is added again, and the first one is found by name. Use
+nocreateto edit a strike. - Syntax: String, name of the strike (as used by SEXPs and weapons)
- Optional, directly after the name. Edits the existing strike of that name instead of adding a new one; only the fields given are changed. If no strike has that name, the entry is ignored.
- Required in practice: a strike without a valid weapon is discarded after all tables are read. An unknown weapon logs a warning.
- Defines the weapon used in the strike.
- Syntax: String, name of the weapon
- (Optional) Defines number of the weapons fired by the strike.
- Syntax: Integer, defaults to 1
- (Optional) Can be used instead of "+Count:", and in combination with "+Max Count:", to allow for a random number of weapons to be in the strike.
- Syntax: Integer
- (Required if "+Min Count:" is used) Specifies the maximum number of weapons that can be fired by the strike.
- Syntax: Integer
- (Optional) Defines which fireball to use for the warp effect. An index out of range, or an unknown ID, logs a warning and the default is kept. Can be either the fireball index or its unique ID.
- Syntax: Integer or String, defaults to "Warp Effect" (index 1)
- (Optional) Defines the radius of the warp effect.
- Syntax: Float, defaults to 50
- (Optional) Defines the lifetime of the warp effect in seconds. Non-beam weapons fire halfway through this lifetime; beam weapons either fire at the start of the effect or at the appropriate time so that the midpoint of the beam is the same as the midpoint of the warp effect, whichever is later.
- Must be at least 4.0; a smaller value logs a warning and 4.0 is used.
- Syntax: Float, defaults to 4.0
- (Optional) Defines the radius of the formation used by the weapons in the strike.
- Syntax: Float, defaults to 500
- (Optional) Can be used instead of "+Radius", and in combination with "+Max Radius:", to allow for a random radius to be used by the strike.
- Syntax: Float
- (Required if "+Min Radius:" is used) Specifies the maximum radius of the strike formation.
- Syntax: Float
- (Optional) Defines the offset of the formation used by the weapons in the strike; generally works best with circular strikes.
- Syntax: Float, defaults to 0
- (Optional) Can be used instead of "+Offset", and in combination with "+Max Offset:", to allow for a random offset to be used by the strike.
- Syntax: Float
- (Required if "+Min Offset:" is used) Specifies the maximum offset of the strike formation.
- Syntax: Float
- (Optional) The shape used for the formation of weapons.
- Syntax: Point, Circle, or Sphere; defaults to Circle. Anything else is an error.
- (Optional) Whether or not firing this SSM triggers a HUD message.
- Syntax: Boolean, defaults to true
- (Optional) A custom HUD message shown instead of the default one when the SSM is fired.
- Syntax: String, the message text
- Note: By default, the message played is the one defined in strings.tbl index 1570, which is set to the generic "Firing Artillery"
- (Optional) Can be used to define a custom alarm sound to be played when the SSM is fired.
- Syntax: Integer or String, the number or name of a sound in sounds.tbl
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