Difference between revisions of "Ssm.tbl"
From FreeSpace Wiki
(initial page commit) |
(Replaced link to list of tables with actual list on the right.) |
||
(14 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{TableVersionGit|2019-04-15|4824428}} | |
+ | {{Tables}} | ||
+ | The '''ssm.tbl''' was originally meant for defining the flight behavior of subspace missiles (SSM). | ||
+ | |||
+ | This table is one of the [[Modular Tables]] and can be extended with xxx-ssm.tbm | ||
+ | |||
+ | ==Format== | ||
+ | *Table consists of independent '''$SSM:''' entries | ||
+ | *Table ends with '''#end''' | ||
+ | |||
+ | |||
+ | ==Table Entries== | ||
+ | |||
+ | |||
+ | ==$SSM:== | ||
+ | *Names the SSM strike. | ||
+ | {{Table374|The name itself is optional; if not present, it gets defaulted to "SSM <index>", allowing easy selection in FRED.}} | ||
+ | *Syntax: '''String''', name of the strike (as used by SEXPs and weapons) | ||
+ | |||
+ | |||
+ | ===+Weapon:=== | ||
+ | *Defines the weapon used in the strike. | ||
+ | *Syntax: '''String''', name of the weapon | ||
+ | |||
+ | |||
+ | ===+Count:=== | ||
+ | * (Optional) Defines number of the weapons fired by the strike. | ||
+ | *Syntax: '''Integer''', defaults to 1 | ||
+ | {{Table374| | ||
+ | ===+Min Count:=== | ||
+ | * (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''' | ||
+ | ===+Max Count:=== | ||
+ | * (Required if "+Min Count:" is used) Specifies the maximum number of weapons that can be fired by the strike. | ||
+ | *Syntax: '''Integer'''}} | ||
+ | |||
+ | |||
+ | ===+WarpEffect:=== | ||
+ | {{Table382| | ||
+ | * (Optional) Defines which fireball to use for the warp effect. Can be either the fireball index or its [[Fireball.tbl#$Unique_ID:|unique ID]]. | ||
+ | *Syntax: '''Integer''' or '''String''', defaults to "Warp Effect" (index 1)}} | ||
+ | |||
+ | |||
+ | ===+WarpRadius:=== | ||
+ | *Defines the radius of the warp effect. | ||
+ | *Syntax: '''Float''' | ||
+ | |||
+ | |||
+ | ===+WarpTime:=== | ||
+ | * (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. | ||
+ | *Syntax: '''Float''', defaults to 4.0 | ||
+ | |||
+ | |||
+ | ===+Radius:=== | ||
+ | *Defines the radius of the formation used by the weapons in the strike. | ||
+ | *Syntax: '''Float''' | ||
+ | {{Table374| | ||
+ | ===+Min Radius:=== | ||
+ | * (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''' | ||
+ | ===+Max Radius:=== | ||
+ | * (Required if "+Min Radius:" is used) Specifies the maximum radius of the strike formation. | ||
+ | *Syntax: '''Float'''}} | ||
+ | |||
+ | |||
+ | ===+Offset:=== | ||
+ | * (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 | ||
+ | {{Table374| | ||
+ | ===+Min Offset:=== | ||
+ | * (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''' | ||
+ | ===+Max Offset:=== | ||
+ | * (Required if "+Min Offset:" is used) Specifies the maximum offset of the strike formation. | ||
+ | *Syntax: '''Float'''}} | ||
+ | |||
+ | |||
+ | ===+Shape:=== | ||
+ | {{Table373| | ||
+ | * (Optional) The shape used for the formation of weapons. | ||
+ | *Syntax: '''Point''', '''Circle''', or '''Sphere'''; defaults to Circle}} | ||
+ | |||
+ | |||
+ | ===+HUD Message:=== | ||
+ | * (Optional) Whether or not firing this SSM triggers a HUD message. | ||
+ | *Syntax: '''Boolean''', defaults to true | ||
+ | |||
+ | |||
+ | ===+Custom Message:=== | ||
+ | * (Optional) Can be used to define a custom message to be triggered when the SSM is fired. | ||
+ | *Syntax: '''String''' | ||
+ | *Note: By default, the message played is the one defined in strings.tbl index 1570, which is set to the generic "Firing Artillery" | ||
+ | |||
+ | |||
+ | ===+Alarm Sound:=== | ||
+ | {{Table371| | ||
+ | * (Optional) Can be used to define a custom alarm sound to be played when the SSM is fired. | ||
+ | *Syntax: '''Integer'''}} | ||
[[Category:Tables]] | [[Category:Tables]] |
Latest revision as of 04:39, 13 October 2020
Revision information.....
- FSO Git Commit: Date: 2019-04-15 SHA: 4824428
Note: Please update the revision information when the page is updated. If your edit had nothing to do with new code entries then please do not edit the revision information
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 ssm.tbl was originally meant for defining the flight behavior of subspace missiles (SSM).
This table is one of the Modular Tables and can be extended with xxx-ssm.tbm
Contents
Format
- Table consists of independent $SSM: entries
- Table ends with #end
Table Entries
$SSM:
- Names the SSM strike.
FS2 Open, 3.7.4: The name itself is optional; if not present, it gets defaulted to "SSM <index>", allowing easy selection in FRED.
- Syntax: String, name of the strike (as used by SEXPs and weapons)
+Weapon:
- Defines the weapon used in the strike.
- Syntax: String, name of the weapon
+Count:
- (Optional) Defines number of the weapons fired by the strike.
- Syntax: Integer, defaults to 1
FS2 Open, 3.7.4:
+Min Count:
- (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
+Max Count:
- (Required if "+Min Count:" is used) Specifies the maximum number of weapons that can be fired by the strike.
- Syntax: Integer
+WarpEffect:
FS2 Open, 19.0:
- (Optional) Defines which fireball to use for the warp effect. Can be either the fireball index or its unique ID.
- Syntax: Integer or String, defaults to "Warp Effect" (index 1)
+WarpRadius:
- Defines the radius of the warp effect.
- Syntax: Float
+WarpTime:
- (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.
- Syntax: Float, defaults to 4.0
+Radius:
- Defines the radius of the formation used by the weapons in the strike.
- Syntax: Float
FS2 Open, 3.7.4:
+Min Radius:
- (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
+Max Radius:
- (Required if "+Min Radius:" is used) Specifies the maximum radius of the strike formation.
- Syntax: Float
+Offset:
- (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
FS2 Open, 3.7.4:
+Min Offset:
- (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
+Max Offset:
- (Required if "+Min Offset:" is used) Specifies the maximum offset of the strike formation.
- Syntax: Float
+Shape:
FS2 Open, 3.7.4:
- (Optional) The shape used for the formation of weapons.
- Syntax: Point, Circle, or Sphere; defaults to Circle
+HUD Message:
- (Optional) Whether or not firing this SSM triggers a HUD message.
- Syntax: Boolean, defaults to true
+Custom Message:
- (Optional) Can be used to define a custom message to be triggered when the SSM is fired.
- Syntax: String
- Note: By default, the message played is the one defined in strings.tbl index 1570, which is set to the generic "Firing Artillery"
+Alarm Sound:
FS2 Open, 3.7.2:
- (Optional) Can be used to define a custom alarm sound to be played when the SSM is fired.
- Syntax: Integer