Difference between revisions of "Weapons.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m ($Spawn Angle:)
 
(362 intermediate revisions by 50 users not shown)
Line 1: Line 1:
 +
{{TableVersionGit|2024-8-26|91a673a}}
 +
{{Tables}}
 +
The '''weapons.tbl''' defines all of the weapon classes used in FSO.
 +
 +
This table is one of the [[Modular Tables]] and can be extended with xxx-wep.tbm
 +
 +
==Introduction==
 +
The weapons.tbl is responsible for defining the behavior of the numerous weapon effects used in FSO, including the amount of damage dealt, the firing rate, and graphical effects.
 +
 +
This wiki page goes over all of the entries used exclusively in the weapons.tbl file. Hyperlinks to individual weapon creation/editing tutorials are provided when appropriate.
 +
 
==Special Case Weapons==
 
==Special Case Weapons==
 
===Beam Cannons===
 
===Beam Cannons===
*'''REQUIRES: "beam" flag'''
+
'''REQUIRES:'''
*'''REQUIRES: [[weapons.tbl#$BeamInfo:|$BeamInfo:]]'''
+
*'''"beam"''' flag
 +
*'''[[weapons.tbl#$BeamInfo:|$BeamInfo:]]'''
 +
 
 +
See also: [http://www.hard-light.net/wiki/index.php/Tutorial_-_Beam_Weapons Tutorial - Beam Weapons]
 +
 
 
===Flak Guns===
 
===Flak Guns===
*'''REQUIRE: "flak" and "particle spew" flags'''
+
'''REQUIRES:'''
 +
*'''"flak"''' flag
 +
*'''"particle spew"''' flag
 
*Must have inner and outer radius defined to have any effect.
 
*Must have inner and outer radius defined to have any effect.
*Does not use any model or weapon effect though model must be defined, usually Hornet.pof. Instead it uses [[Weapons.tbl#$Pspew:|particle spew]]. Trails can also be added.
+
*A '''.pof''' model must be defined ( usually '''Hornet.pof''' )
 +
**Note: the model is not actually used... Instead, it uses [[Weapons.tbl#$Pspew:|particle spew]]. Trails may also be added.
  
==Weapons Table==
 
*Retail options will look like this
 
  
<font color=red>
 
*SCP options are marked with red color
 
**Most of the entries in ships.tbl are optional
 
</font>
 
  
===General Format===
+
==General Format==
 
*The weapons table consist of several sections
 
*The weapons table consist of several sections
 
*All sections beginning with <nowiki>#</nowiki> need <nowiki>#</nowiki>'''End''' before the next section.
 
*All sections beginning with <nowiki>#</nowiki> need <nowiki>#</nowiki>'''End''' before the next section.
Line 30: Line 42:
 
***Player Weapon Precedence is used in weapon selection when a default specified by the mission designer is not available to the player. The next weapon on the list is used in its place (assuming that weapon is allowed for the player).
 
***Player Weapon Precedence is used in weapon selection when a default specified by the mission designer is not available to the player. The next weapon on the list is used in its place (assuming that weapon is allowed for the player).
  
===Core Table===
+
==Core Table==
  
====$Name:====
 
*This is the name of the weapon. If it's going to be used by the player, keep it under 12 characters so it doesn't spill over the HUD box. If the weapon has an @ symbol in front of it, it means it's allowed in the demo. It doesn't really do anything in the retail version.
 
*Syntax: ''Name''
 
  
<font color=red>
+
===$Name:===
====$Subtype:====
+
*This is the name of the weapon. If it's going to be used by the player, keep it under 12 characters so it doesn't spill over the HUD box.<br>Two special characters can be used in the name: '''#''' and '''@'''. Their usage details are the very same than inside the [[Ships.tbl#.24Name:_2|$Name field from Ships.tbl]].
</font >
+
*Syntax: '''''String'''''
  
====+Title:====
 
*This is the title of the weapon in the Weapons loadout screen. Only needed for player allowed weapons. Title may be anything.
 
*Syntax: XSTR(''"Title"'', -1)
 
  
====+Description:====
+
====+nocreate====
*This is the description you see in the weapons loadout screen. Again, these aren't based on any hard numbers, just approximations. Only needed for player allowed weapons.
+
{{Table3610|
 +
*In [[Modular Tables]] a name can be followed by the line '''+nocreate''' to prevent the game from creating an incomplete entry with very few valid fields.  If the entry does not already exist (either in weapons.tbl or in earlier parsed *-wep.tbm files), the modular entry is skipped.}}
  
  XSTR(
+
===+remove===
  "''Standard Issue
+
{{Table210|
  ''Level 3 Hull Damage
+
*In [[Modular Tables]] a name can be followed by the line '''+remove''' to completely remove a previously parsed entry.}}
  ''Level 2 Shield Damage''", -1)
 
  $end_multi_text
 
  
====+Tech Title:====
+
===$Alt Name:===
 +
{{Table3611|
 +
*An alternative name that can be referenced instead of $Name:
 +
*Syntax: '''''String'''''}}
 +
 
 +
 
 +
===$Subtype:===
 +
{{Table3610|
 +
Specifies the weapon 's subtype. Overrides the default subtype as specified by the #-section it is in (#Primary, #Secondary, #Beam Weapon, etc.).
 +
 
 +
 
 +
{{Note|
 +
:Since the weapon subtype is already specified by the #-section it is in, this option is not particularly useful when the weapon is inside a #Primary or #Secondary section. However, it may be used to specify the weapon slot it uses on fighters/bombers for weapons that are normally capship only (such as beam cannons).}}
 +
 
 +
 
 +
*Syntax: '''''String'''''
 +
*Valid Entries:
 +
:Primary
 +
:Secondary}}
 +
 
 +
===+Title:===
 +
*This is the title of the weapon in the Weapons loadout screen. Only needed for player allowed weapons. Title may be anything.  Numerical value is a reference to translations in [[Tstrings.tbl]]
 +
*Syntax: XSTR('''''"String"''''', -1)
 +
 
 +
 
 +
===+Description:===
 +
*This is the description you see in the weapons loadout screen. Again, these aren't based on any hard numbers, just approximations. Only needed for player allowed weapons. Numerical value is a reference to translations in [[Tstrings.tbl]]
 +
*Must be followed by '''$end_multi_text'''
 +
 
 +
'''Example'''
 +
 
 +
<pre>
 +
XSTR(
 +
"''Standard Issue
 +
''Level 3 Hull Damage
 +
''Level 2 Shield Damage''", -1)
 +
$end_multi_text
 +
</pre>
 +
 
 +
===+Tech Title:===
 
*Title of the weapon in the Tech room. Only needed for player allowed weapons.
 
*Title of the weapon in the Tech room. Only needed for player allowed weapons.
*Syntax: XSTR(''"Title"'', -1)
+
*Syntax: XSTR('''''"String"''''', -1)
 +
 
  
====+Tech Anim:====
+
===+Tech Anim:===
 
*Animation used for the weapon in the Tech room. Only needed for player allowed weapons.
 
*Animation used for the weapon in the Tech room. Only needed for player allowed weapons.
*Syntax: ''Filename''
+
*Syntax: '''''String''''', animation filename
 
**Example: ''Tech_Subach_HL-7''
 
**Example: ''Tech_Subach_HL-7''
  
====+Tech Description:====
 
*Descriptive text you see in the tech room. Only needed for player allowed weapons.
 
  
  XSTR(
+
===+Tech Description:===
  "''The Subach-Innes HL-7...''", 3245)
+
*Descriptive text you see in the tech room. Only needed for player allowed weapons. Numerical value is a reference to translations in [[Tstrings.tbl]]
  $end_multi_text
+
*Must be followed by '''$end_multi_text'''
 +
 
 +
'''Example'''
 +
 
 +
<pre>
 +
XSTR(
 +
"''The Subach-Innes HL-7...''", 3245)
 +
$end_multi_text
 +
</pre>
 +
 
 +
===$Turret Name:===
 +
{{Table222|
 +
*Renames a turret to this if this is the first weapon on a turret.
 +
*Syntax: XSTR('''''"String"''''', -1)}}
 +
 
 +
===$Tech Model:===
 +
{{Table3610|
 +
*Defines model used in wing loadout screen for the weapon. 3D weapon models in the tech room have not yet been implemented.
 +
*Syntax: '''''String.pof''''', model filename}}
 +
 
 +
====+Closeup_Pos:====
 +
{{Table3613|
 +
*How the model will show on the Loadout Screen. The position of the camera relative to the model center. Only valid if a tech model is defined
 +
*Syntax: '''''Vector''''', three '''floats''', x, y and z values respectively}}
 +
 
 +
====+Closeup_Zoom:====
 +
{{Table3613|
 +
*How the model will show on the Loadout Screen. How far the camera's zoomed in, defines camera's FOV.
 +
*Syntax: '''''Float''''', radians}}
  
<font color=red>
+
===$Selection Effect:===
====$Tech Model:====
+
{{Table3613|
*Defines model used in wing loadout screen and in Tech Room for the weapon. As of the moment - not totally functional
+
*Defines which selection effect to use when the -weapon_choice_3d commandline flag is enabled or no ani can be found for the selected weapon.
*Syntax: ''Filename.pof''
+
*Syntax: '''''String''''', either "FS1", or "Off". This defaults to the FS2 effect.
 +
}}
  
====$HUD Image:====
+
===$HUD Image:===
 +
{{Table3610|
 
*Defines the picture used to represent the weapon in HUD loadout list
 
*Defines the picture used to represent the weapon in HUD loadout list
*Syntax: ???
+
*Syntax: '''''String''''', filename}}
</font >
+
 
  
====$Model File:====
+
===$Model File:===
 
*Filename of the model file (.pof) at data/models folder. Additional fields beginning from '''''@Laser Bitmap:''''' and ending to '''''@Laser Tail Radius:''''' are not needed if a model has been defined for the weapon.
 
*Filename of the model file (.pof) at data/models folder. Additional fields beginning from '''''@Laser Bitmap:''''' and ending to '''''@Laser Tail Radius:''''' are not needed if a model has been defined for the weapon.
 
*Standard primaries and beam cannons do not use specific models so for those the name is 'none'.
 
*Standard primaries and beam cannons do not use specific models so for those the name is 'none'.
 
*Flak weapons and secondaries use models, though the exact model is not important with the flak weapons.
 
*Flak weapons and secondaries use models, though the exact model is not important with the flak weapons.
*Syntax: ''Filename.pof'' or ''none''
+
*Syntax: '''''String.pof''''' or ''none'', model filename
 
**Example: ''none''
 
**Example: ''none''
  
<font color=red>
 
====$POF target LOD:====
 
*Defines the LOD (Level-Of-Detail) of the model used in HUD targetting view
 
*Syntax: ''Value''
 
  
====$External Model File:====
+
===$POF target LOD:===
 +
{{Table3610|
 +
*Defines the LOD (Level-Of-Detail) of the model used in HUD targeting view
 +
*Syntax: '''''Integer'''''}}
 +
 
 +
===$Detail Distance:===
 +
{{Table3613|
 +
*Defines the distance where the change between different Levels-Of-Details (LODs) occurs
 +
*Take notice that these are base values. Model detail in Detail options, (within game press F2), applies a multiplier to these values. These multipliers are (from left to right): 1/8, 1/4, 1, 4, 8
 +
*Optional.  If not defined the game uses the formula ((radius * 20.0 + 20.0) * LOD)
 +
*Syntax: '''''(Detail Distances)''''' , list of '''integers''' (same amount as LODs), distances from the model in meters
 +
**Example: ''(0, 80, 300, 900)''}}
 +
 
 +
===$External Model File:===
 +
{{Table3610|
 
*Defines the models shown on the gunpoint, used with Bobb's external-visible-weapon code.
 
*Defines the models shown on the gunpoint, used with Bobb's external-visible-weapon code.
*Syntax: ''Filename.pof''
+
*Syntax: '''''String.pof''''', model filename}}
  
====$Submodel Rotation Speed:====
 
  
====$Submodel Rotation Acceleration:====
+
===$Submodel Rotation Speed:===
</font>
+
{{Table3610|
 +
*Defines the rotation speed of the subobject, with the $gun_rotation property defined, in the external weapon model.
 +
*Syntax: '''''Float'''''
 +
*Note: weapon fire will be delayed by the time it takes for the weapon to spin up to this speed (using $Submodel Rotation Acceleration or its default value), regardless of whether an external model is used or not.
 +
}}
 +
{{Table38|
 +
*Note: It's no longer required that the ship actually have external models enabled (whether or not this weapon has one defined) for the spin up delay to occur.
 +
}}
 +
 
 +
===$Submodel Rotation Acceleration:===
 +
{{Table3610|
 +
*Defines the rotation acceleration of the external weapon model.
 +
*Syntax: '''''Float'''''
 +
*Default value: 10}}
 +
 
 +
===@Laser===
 +
In the event a 3D model is not defined for the weapon, FSO creates an object similar to a glowpoint. Essentially, it is a 2D plane that always faces the player's camera with an additive texture applied to it, and may or may not have an omnilight follow it.
 +
 
 +
As suggested by its name, this option group is normally used for lasers and similar primaries, but it may also be used for other weapon types as well.
 +
 
 +
Unless said otherwise, the graphic files used within this group may be of any compatible type (.DDS, .PCX, .TGA, etc.), however a .DDS is recommended.
 +
 
  
 
====@Laser Bitmap:====
 
====@Laser Bitmap:====
**The graphic file to be used as the weapon effect if no model is defined.
+
Defines the graphic file to be used as the weapon effect.
**Syntax: ''Filename''
+
 
 +
Blending type: additive
 +
 
 +
Syntax: '''''String''''', filename
 +
 
 +
 
 +
'''Example:'''
 +
<pre>
 +
@Laser Bitmap: my_laser_bitmap
 +
</pre>
 +
 
 +
====@Laser Head-on Bitmap:====
 +
{{Table220|
 +
Defines another laser graphic file to be used and crossfaded into as the camera angles towards the front or bank of this weapon. See also @Laser Head-on Transition Angle and @Laser Head-on Transition Rate.
 +
 
 +
Syntax: '''''String''''', filename}}
 +
 
  
 
====@Laser Glow:====
 
====@Laser Glow:====
**The graphic file that determines the glow of the weapon effect if no model is defined
+
Defines the graphic file to be used for the glowmap of the weapon effect.
**Syntax: ''Filename''
+
 
 +
Blending type: additive
 +
 
 +
*This file is 'multiplied' by a value between Color and Color2.
 +
*The physical dimensions of the glowmap in-game is 2x the size of the bitmap.
 +
 
 +
Syntax: '''''String''''', filename
 +
 
 +
 
 +
'''Example:'''
 +
<pre>
 +
@Laser Glow: my_laser_glowmap
 +
</pre>
 +
 
 +
 
 +
====@Laser Glow Head-on Bitmap:====
 +
{{Table220|
 +
Defines another graphic file to be used for the laser glow and crossfaded into as the camera angles towards the front or bank of this weapon. See also @Laser Head-on Transition Angle and @Laser Head-on Transition Rate.
 +
 
 +
Syntax: '''''String''''', filename}}
 +
 
 +
 
 +
====@Laser Head-on Transition Angle:====
 +
{{Table220|
 +
Overrides the angle in degrees from the front (or back) that the head-on transition crossfade is at exactly a 50/50 blend.
 +
 
 +
Syntax: '''''Float''''', degrees
 +
Default: Calculated from the ratio of the laser's length to its average radius}}
 +
 
 +
====@Laser Head-on Transition Rate:====
 +
{{Table220|
 +
Defines how quickly the head-on transition fades from one bitmap to the other. Greater than 20 is an instant switch with no blending.
 +
 
 +
Syntax: '''''Float'''''
 +
Default: 2}}
 +
 
  
 
====@Laser Color:====
 
====@Laser Color:====
**The color of the weapon effect when you fire it.
+
The RGB color of the glow effect.
**Syntax: ''Value, Value, Value'' (Red, Green, Blue respectively, value from 0 to 255)
+
 
***Example: ''250, 0, 0''
+
*The color is applied both to the glowmap and the omnilight that follows the effect.
 +
 
 +
Syntax: '''''Color''''', red, green, blue respectively, 8-bit value from 0 to 255
 +
 
 +
 
 +
'''Example:'''
 +
<pre>
 +
@Laser Color: 255, 0, 0   ; Red glow effect at the start of the effect's lifetime
 +
</pre>
 +
 
  
 
====@Laser Color2:====
 
====@Laser Color2:====
**The color of the weapon effect at its maximum range.
+
The RGB color of the glow effect at the end of the effect's lifetime (at its maximum range).
**Syntax: ''Value, Value, Value'' (Red, Green, Blue respectively, value from 0 to 255)
+
 
***Example: ''0, 0, 250''
+
*The color is applied both to the glowmap and the omnilight that follows the effect.
 +
*The actual color of the glow effect is somewhere in between the values defined by Color and Color2. Essentially, the actual color "fades" from Color to Color2 over its lifetime.
 +
**If Color is not defined, then a default value of 255, 255, 255 is assumed for its initial color.
 +
 
 +
Syntax: '''''Color''''', red, green, blue respectively, 8-bit value from 0 to 255
 +
 
 +
 
 +
'''Example:'''
 +
<pre>
 +
@Laser Color2:  0, 0, 255    ; Blue glow effect at the end of the effect's lifetime.
 +
</pre>
 +
 
 +
'''Example:'''
 +
<pre>
 +
@Laser Color: 255, 0,  0    ; Start with a Red glow effect, and fade into...
 +
@Laser Color2:  0, 0, 255    ; a Blue glow effect over the lifetime of the effect.
 +
</pre>
 +
 
  
 
====@Laser Length:====
 
====@Laser Length:====
**Length of the weapon effect.
+
Defines the length of the weapon effect.
**Syntax: ''Value'', (1/10 of a meters)
+
*This option stretches the 2D plane "away" from its origin.
 +
Syntax: '''''Float''''', meters
 +
{{Table240|
 +
===@Laser Length Multiplier over Lifetime Curve:===
 +
*Specifies the curve to use for changing the laser graphic's length over time.
 +
*The life of the weapon (0-1) is X, the length multiplier is Y.
 +
*Syntax: ''String'', the name of the curve from [[Curves.tbl]]
 +
}}
  
 
====@Laser Head Radius:====
 
====@Laser Head Radius:====
**Width of the head of the weapon effect.
+
Defines the radius of the leading edge, or "head," of the weapon effect.
**Syntax: ''Value'', (meters ?)
+
*The edge of the 2D plane farthest away from its origin is the leading edge.
 +
*The specified radius value is multiplied by 0.5 twice before being applied to the laser, so the laser head's radius will be one-quarter of what's tabled. Its ''diameter'' will be half of the tabled radius value.
 +
Syntax: '''''Float''''', meters
  
 
====@Laser Tail Radius:====
 
====@Laser Tail Radius:====
**Width of the tail of the weapon effect.
+
Defines the radius of the trailing edge, or "tail" of the weapon effect.
**Syntax: ''Value'' (meters ?)
+
*The edge of the 2D plane that is closest to its origin is the trailing edge.
 +
*The specified radius value is multiplied by 0.5 twice before being applied to the laser, so the laser tail's radius will be one-quarter of what's tabled. Its ''diameter'' will be half of the tabled radius value.
 +
Syntax: '''''Float''''', meters
 +
{{Table240|
 +
===@Laser Radius Multiplier over Lifetime Curve:===
 +
*Specifies the curve to use for changing the laser graphic's radius values (both head and tail) over time.
 +
*The life of the weapon (0-1) is X, the radius multiplier is Y.
 +
*Syntax: ''String'', the name of the curve from [[Curves.tbl]]
 +
}}
 +
 
 +
====@Laser Glow Length Scale:====
 +
Scaling factor for glow bitmap along the length axis, relative to the length of the main laser bitmap. Default is 2.0.
 +
 
 +
Syntax: '''''Float'''''
 +
 
 +
====@Laser Glow Head Scale:====
 +
Scaling factor for the radius of the glow bitmap at its head, relative to the radius of the main laser bitmap's head. Default is 2.3.
 +
*Note that laser length is calculated in an odd way: the head and tail are treated as ''spheres'', with the length being the distance between the centers of those spheres, so the actual length of a laser (or laser glow) is length + head radius + tail radius.
 +
*This can result in unintuitive behavior if glow length scaling is set differently from head or tail scaling.
 +
*However, as long as length, head, and tail glow scale are all set to the same value, the glow bitmap will be scaled up while maintaining the same aspect ratio as the laser.
 +
Syntax: '''''Float'''''
 +
 
 +
====@Laser Glow Tail Scale:====
 +
Scaling factor for the radius of the glow bitmap at its tail, relative to the radius of the main laser bitmap's tail. Default is 2.3.
 +
*See note in head scale entry regarding unintuitive behavior.
 +
Syntax: '''''Float'''''
 +
 
 +
====@Laser Position Offset:====
 +
Moves the laser relative to its collision point by multiples of the laser length, along any of the three axes. For example, a value of -1.0 along the Z axis will move the laser backward so that the visible laser no longer extends forward from the collision point, but backward, with the collision point at the head rather than the tail. A value of 1.0 along the X axis will move the laser one laser-length to the right.
 +
*Important note: the X and Y axes are relative to the orientation of the weapon, which normally seems to match the orientation of the firing ship, but which is not guaranteed to remain stable. If the weapon rotates, the orientation of the offset will rotate with it.
 +
Syntax: '''''Vector'''''
 +
 
 +
====@Laser Min Pixel Size:====
 +
If this is set to a non-zero value, the laser will always be at least the specified number of pixels wide, no matter how far away it is. Defaults to the $Minimum Pixel Size Lasers: value in Game settings.tbl, or to 0 if that is not set.
 +
 
 +
Syntax: '''''Integer'''''
  
====$Mass:====
+
{{Table240|
*How much of a kinetic effect this weapon has on its target. 3+ gives you the Flail effect. Set it to 10 and you can knock cruisers around.
+
===@Laser Opacity Multiplier over Lifetime Curve:===
*This is somehow multiplied by the speed. ie ''$Mass: 3'' and ''$Velocity: 200'' has much weaker kinetic effect than ''$Mass: 3'' and ''$Velocity: 1000''. Also $Mass is used to calculate intencity of "shudder" effect if flagged.
+
*Specifies the curve to use for changing the laser graphic's opacity over time.
*Syntax: ''Value'', (blast effect)
+
*The life of the weapon (0-1) is X, the opacity is Y, with 0 being invisible and 1 being typical opacity.
 +
*Syntax: ''String'', the name of the curve from [[Curves.tbl]]
 +
}}
  
====$Velocity:====
+
===$Light color:===
 +
{{Table222|
 +
*Sets the color of light cast by the weapon.
 +
*Syntax: '''''Color''''', red, green, blue respectively, from 0 to 255
 +
*Default value: If not set, the color is white for weapons with models, or based on the laser colors otherwise }}
 +
 
 +
===$Light radius:===
 +
{{Table222|
 +
*Sets the maximum distance light cast by the weapon will reach. Increasing this will tend to make it appear brighter near it's center
 +
*Syntax: '''''float''''', any positive value
 +
*Default value: The defaults for different weapon types are set in [[Lighting_Profiles.tbl]]}}
 +
 
 +
===$Light intensity:===
 +
{{Table222|
 +
*Acts as a multiplier to the brightness of the light cast by the weapon. This changes the brightness without affecting the radius.
 +
*Syntax: '''''float''''', any positive value
 +
*Default value: 1}}
 +
 
 +
===$Collision Radius Override:===
 +
{{Table202|
 +
*Weapon - weapon collisions are treated as two spheres, where a laser's sphere's radius is equal to its Head Radius, and a missile's is the radius of its associated model (possibly doubled). Using this will override either of those values.
 +
*If used on a beam it will override its collision radius as well, instead of using the widest section.
 +
*NOTE: If the weapon is interceptable, such as a bomb or has been given hitpoints, this value will ''still'' be doubled, unless the "no radius doubling" flag is used.
 +
*Syntax: '''''Float''''', meters}}
 +
 
 +
 
 +
===$Mass:===
 +
*Scales the kinetic effect this weapon has on its target. With higher mass imparting a stronger effect.
 +
*The eventual kinetic effect is also multiplied by the speed. ie ''$Mass: 3'' and ''$Velocity: 200'' has much weaker kinetic effect than ''$Mass: 3'' and ''$Velocity: 1000''. This is also true for the intesnity of the "shudder" effect, if flagged.
 +
*Syntax: '''''Float''''', blast effect
 +
 
 +
===$Velocity:===
 
*How fast the weapon travels. Is also used to define the weapon range, '''''$Velocity x $Lifetime = range'''''.
 
*How fast the weapon travels. Is also used to define the weapon range, '''''$Velocity x $Lifetime = range'''''.
*Beams travel instantly so this field has effect only on weapon range and AI beam targetting with certain beam types. $Velocity of beam also applies to its kinetic effect along with $Mass.
+
*Beams travel instantly so this field has effect only on weapon range and AI beam targeting with certain beam types. $Velocity of beam also applies to its kinetic effect along with $Mass.
*Syntax: ''Value'', (meters per second)
+
*Syntax: '''''Float''''', meters per second
 +
 
  
====$Fire Wait:====
+
===$Fire Wait:===
 
*Time in seconds between firings
 
*Time in seconds between firings
*Syntax: ''Value'', (seconds)
+
*Note that Fire wait will be reset to 1 if it is set over 5 for non turreted primary weapons (doesn't apply to 3.6.14+)
 +
*Syntax: '''''Float''''', seconds
 +
 
 +
====+Max Delay:====
 +
{{Table373|
 +
*Defines the maximum amount of time it takes to refire a weapon in a random fire delay range.
 +
**This must be used with +Min Delay: to have any effect.
 +
*Syntax: '''''Float''''', seconds}}
 +
 
 +
====+Min Delay:====
 +
{{Table373|
 +
*Defines the minimum amount of time it takes to refire a weapon in a random fire delay range.
 +
**This must be used with +Max Delay: to have any effect.
 +
*Syntax: '''''Float''''', seconds}}
  
====$Damage:====
+
===$Damage:===
 
*Base damage this weapon does. The actual damage is this number multiplied by the factors below.
 
*Base damage this weapon does. The actual damage is this number multiplied by the factors below.
*Base damage this beam does is continous damage, damage is 5.5 times the damage value per second. The actual damage is this number multiplied by one of the factors below.
+
*Base damage this beam does is continuous damage, damage is approximately 5.88 times the damage value per second. The actual damage is this number multiplied by one of the factors below.
*Syntax: ''Value'', (damage value)
+
*The exact factor to multiply by is 100/17, or one 'pulse' of damage every 170 seconds. The generally used wisdom of 5.5 times may have been generally accurate before beam damage was made continuous and frame-rate independent, but is now out of date information.
 +
*Syntax: '''''Float''''', damage
 +
*Note: adding an inner and/or outer radius to a weapon doubles its effective damage to the target (i.e. 1x impact, 1x area effect)
 +
 
 +
===$Damage Time:===
 +
{{Table373|
 +
*This sets a time from the end of the weapons lifetime that damage will start to attenuate at. '''''Example: Weapon lifetime is 2.0 seconds and the desired effect is to attenuate after 0.5 seconds have passed, set this to 1.5 seconds.'''''
 +
*Syntax: '''''Float''''', seconds. Defaults to 0.0.
 +
**Note: If neither +Min Damage: nor +Max Damage: is set, the damage will always attenuate to zero at max range.
 +
***If both +Min Damage: and +Max Damage: are set, both are defaulted to 0.0 and damage will be attenuated to zero.}}
 +
 
 +
====+Attenuation Damage:====
 +
{{Table373|
 +
*This sets the damage a weapon will attenuate to after reaching $Damage Time:.
 +
*Syntax: '''''Float''''', damage.}}
 +
 
 +
====+Min Damage:====
 +
{{Table373|
 +
*This sets the lowest amount of damage possible assuming damage attenuation is taking place. '''''This has been deprecated, please use +Attenuation Damage: instead.'''''
 +
*Syntax: '''''Float''''', damage. Defaults to 0.0.}}
 +
 
 +
====+Max Damage:====
 +
{{Table373|
 +
*This sets the highest amount of damage possible assuming damage attenuation is taking place. '''''This has been deprecated, please use +Attenuation Damage: instead.'''''
 +
*Syntax: '''''Float''''', damage. Defaults to 0.0.}}
 +
 
 +
===$Angle of Incidence Damage Multiplier:===
 +
{{Table212|
 +
*Causes the weapon's damage to be multiplied by these factors depending on the angle of incidence.
 +
*It is ''not'' linear, it is based on the sine of the angle to the surface. If the factors are 1x for minimum, and 2x for maximum, at an angle of 45° the multiplier is 1.707x, for instance.
 +
====+Min:====
 +
*The damage multiplier at a perfectly glancing hit, parallel to the surface (although not technically possible).
 +
*Syntax: '''''Float'''''
 +
====+Max:====
 +
*The damage multiplier when hit straight on, perpendicular to the surface.
 +
*Syntax: '''''Float'''''}}
 +
{{Table240|
 +
===$Damage Multiplier over Lifetime Curve:===
 +
*Specifies the curve to use for changing the weapon's damage over time.
 +
*The life of the weapon (0-1) is X, the damage multiplier is Y.
 +
*Syntax: ''String'', the name of the curve from [[Curves.tbl]]
 +
}}
 +
 
 +
===$Damage Type:===
 +
{{Table3610|
 +
Defines the damage type that this weapon uses. All armor effects are applied after shield and have no function against shockwave or subsystem damage.
 +
 
 +
'''REQUIRES:''' [[armor.tbl]]
  
<font color=red>
+
*Syntax: '''''String''''', name of the damage type ( as defined by [[armor.tbl#$Damage Type:|$Damage Type]] )}}
====$Damage Type:====
 
*Defines the damage type that this weapon uses. All armor effects are applied after shield and have no function against shockwave or subsystem damage. REQUIRES ADDITIONAL TABLE.
 
*Syntax: ''Name'', of the damage type as defined in armor.tbl
 
  
====$Arm time:====
+
===$Arm time:===
 +
{{Table3610|
 
*Defines the time after the launch that is required before the weapon comes hot
 
*Defines the time after the launch that is required before the weapon comes hot
 
*If the time has not been reached when the weapon detonates the Dinky explosion is used
 
*If the time has not been reached when the weapon detonates the Dinky explosion is used
*Syntax: ''Value'', (seconds)
+
*Syntax: '''''Float''''', seconds}}
  
====$Arm distance:====
+
 
 +
===$Arm distance:===
 +
{{Table3610|
 
*Defines the distance from the firing ships that is required before the weapon comes hot
 
*Defines the distance from the firing ships that is required before the weapon comes hot
 
*If the distance has not been reached when the weapon detonates the Dinky explosion is used
 
*If the distance has not been reached when the weapon detonates the Dinky explosion is used
*Syntax: ''Value'', (meters)
+
*Syntax: '''''Float''''', meters}}
 +
{{Table3615|
 +
*This parameter is also applied to flak weapons. Previous behaviour was to arm weapons after 10 meters of travel.}}
  
====$Arm radius:====
+
===$Arm radius:===
 +
{{Table3610|
 
*Defines the distance from the target where the weapon will arm itself
 
*Defines the distance from the target where the weapon will arm itself
*Syntax: ''Value'', (meters)
+
*Syntax: '''''Float''''', meters}}
  
====$Detonation Range:====
+
===$Detonation Range:===
 +
{{Table3610|
 
*Defines the distance from the point in space that the weapon was launched where the weapon will detonate
 
*Defines the distance from the point in space that the weapon was launched where the weapon will detonate
*Syntax: ''Value'', (meters)
+
*Syntax: '''''Float''''', meters}}
 +
 
 +
 
 +
===$Detonation Radius:===
 +
{{Table3610|
 +
*Defines the distance between the target center point point and the weapon which detonates the weapon.
 +
*Syntax: '''''Float''''', meters}}
 +
 
 +
===$Flak Detonation Accuracy:===
 +
{{Table3615|
 +
*Normally, flak weapons detonate at a range of 65 to 99 meters from their intended target, depending on the firing ships' weapon subsystem health. This parameter can be used to adjust this behaviour, as it defines the base range used to determine this detonation range. Standard value is 65.
 +
*Syntax: '''''Float''''', range in meters}}
 +
 
 +
===$Flak Targeting Accuracy:===
 +
{{Table3615|
 +
*Turret-fired flak weapons are normally firing in a cone around the target's predicted position. This parameter can be used to adjust the size of this cones' base radius. Standard is 60 meters.
 +
*Syntax: '''''Float''''', radius in meters}}
 +
 
 +
===$Untargeted Flak Range Penalty:===
 +
{{Table3615|
 +
*If a flak weapon is fired without a target selected, this parameter defines the range penalty applied to that weapon. Standard is 20 meters, meaning an untargeted flak weapon will detonate after traveling its max range - 20 meters.
 +
*Syntax: '''''Float''''', penalty in meters.}}
  
====$Shockwave damage:====
+
===$Shockwave damage:===
*Override for the damage caused by shockwaves
+
{{Table3610|
*Syntax: ''Value'', (damage value)
+
*Override for the damage caused by shockwaves (default is [[#$Damage:]])
 +
*Syntax: '''''Float''''', damage
 +
*Note: adding a shockwave to a weapon doubles its effective damage to the target (i.e. 1x impact, 1x shockwave)
 +
}}
  
====$Shockwave Damage Type:====
+
===$Shockwave Damage Type:===
*REQUIRES ADDITIONAL TABLE. Defines the damage type used for the weapon explosions
+
{{Table3610|
*Syntax: ''Name'', as defined in armor.tbl
+
*'''REQUIRES ADDITIONAL TABLE'''. Defines the damage type used for the weapon explosions
</font>
+
*Syntax: '''''String''''', name as defined in [[armor.tbl]]}}
  
====$Blast Force:====
+
===$Blast Force:===
*The intensity of the blast effect when ship is within the outer radius of the explosion. Comes in effect only if inner and outer radius are defined.
+
*The intensity of the kinetic blast effect when ship is within the outer radius of the explosion. Comes in effect only if inner and outer radius are defined.
*Syntax: ''Value'', (blast effect)
+
*Syntax: '''''Float''''', blast effect
  
====$Inner Radius:====
+
===$Inner Radius:===
*Radius at which the full explosion damage is done. Marks the line where damage attenuation begins.
+
*Radius at which the full explosion damage is done. Marks the line where damage attenuation begins. Damage is reduced by the square of the distance between the inner radius and outer radius.  i.e. half way between inner and outer results in 1/4 damage
*Syntax: ''Value'', (meters)
+
*Note: adding an inner and/or outer radius to a weapon doubles its effective damage to the target (i.e. 1x impact, 1x area effect)
 +
*Syntax: '''''Float''''', meters
  
====$Outer Radius:====
+
===$Outer Radius:===
*Maximum radius at which any damage is done
+
*Maximum radius at which any damage is done.  See $Inner Radius for the attenuation formula.
*Syntax: ''Value'', (meters)
+
*Also defines the size of the shockwave (if shockwave speed is > 0)
 +
*Note: adding an inner and/or outer radius to a weapon doubles its effective damage to the target (i.e. 1x impact, 1x area effect)
 +
*Syntax: '''''Float''''', meters
 +
{{Table240|
 +
===$Shockwave Radius Multiplier over Lifetime Curve:===
 +
*Specifies the curve to use for changing the shockwave's radius over time. This will ''ignore'' $Shockwave Speed for the purposes of determining the size of the shockwave over time, however $Outer radius / $Shockwave Speed will still be the total time that the shockwave lasts. Even if the multiplier goes beyond 1, the shockwave still cannot hit or damage targets beyond its $Outer radius.
 +
*The life of the shockwave (0-1) is X, the outer radius multiplier is Y. This will entirely determine how the shockwave grows and shrinks over time.
 +
*Syntax: ''String'', the name of the curve from [[Curves.tbl]]
 +
}}
  
====$Shockwave Speed:====
+
===$Shockwave Speed:===
*Speed shockwave expands at. Zero means no shockwave and that damage is applied immediately
+
*Speed shockwave expands at. Zero means no shockwave and that any area-effect damage is applied immediately
*Syntax: ''Value'', (meters per second)
+
*Syntax: '''''Float''''', meters per second
  
<font color=red>
+
===$Shockwave rotation:===
====$Shockwave rotation:====
+
{{Table3610|
*Defines how the shockwave is rotated.
+
*Defines how the 3D shockwave is rotated. Random, if left undefined.
*Syntax:
+
*Syntax: '''''Angle''''', three values, pitch, bank, heading respectively, in degrees}}
  
====$Shockwave model:====
+
===$Shockwave model:===
*Defines the model file (.pof) used as a shockwave for 3D shockwaves.
+
{{Table3610|
*Implemented before FS_Open 3.6.5
+
*Defines the model file (.pof) used as a shockwave for the 3D shockwaves.
*Syntax: ''Name.pof''
+
*Syntax: '''''String.pof''''', model filename}}
 +
 
 +
 
 +
===$Shockwave name:===
 +
{{Table3610|
 +
*Defines the name of the animation used for the 2D shockwave
 +
*Syntax: '''''String''''', filename}}
 +
 
 +
 
 +
===$Shockwave Sound:===
 +
{{Table202|
 +
Optional sound to be used for the sound heard when for the shockwave (default is sound 109).
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
 +
}}
  
====$Shockwave name:====
 
*Defines the name of the animation used for the shockwave
 
*Syntax: ''Name''
 
  
====$Dinky shockwave:====
+
===$Dinky shockwave:===
*Dinky shockwave are used if the weapon is shot down or if the conditions marked at Arm time and Arm distance are not reached
+
{{Table3610|
 +
*Dinky shockwave are used if the weapon is shot down before arming or if the conditions marked at '''Arm time''' and '''Arm distance''' are not reached before impact
 
*It uses exactly same entries as the standard shockwaves
 
*It uses exactly same entries as the standard shockwaves
*'''+Shockwave damage:'''
+
*'''''+Shockwave damage:'''''
*'''+Shockwave damage type:'''
+
*'''''+Shockwave damage type:'''''
*'''+Blast Force:'''
+
*'''''+Blast Force:'''''
*'''+Inner Radius:'''
+
*'''''+Inner Radius:'''''
*'''+Outer Radius:'''
+
*'''''+Outer Radius:'''''
*'''+Shockwave Speed:'''
+
*'''''+Shockwave Speed:'''''
*'''+Shockwave Rotation:'''
+
*'''''+Shockwave Rotation:'''''
*'''+Shockwave Model:'''
+
*'''''+Shockwave Model:'''''
*'''+Shockwave Name:'''
+
*'''''+Shockwave Name:'''''}}
</font>
+
{{Table202|
 +
*'''''+Shockwave sound:'''''}}
  
====$Armor Factor:====
+
===$Armor Factor:===
 
*Multiplier for the damage done to armor
 
*Multiplier for the damage done to armor
*Syntax: ''Value'', (damage multiplier)
+
*Syntax: '''''Float''''', damage multiplier
  
====$Shield Factor:====
+
 
 +
===$Shield Factor:===
 
*Multiplier for the damage done to shields
 
*Multiplier for the damage done to shields
*Syntax: ''Value'', (damage multiplier)
+
*Syntax: '''''Float''''', damage multiplier
  
====$Subsystem Factor:====
+
 
 +
===$Subsystem Factor:===
 
*Multiplier for the damage done to subsystems
 
*Multiplier for the damage done to subsystems
*Syntax: ''Value'', (damage multiplier)
+
*Syntax: '''''Float''''', damage multiplier
  
<font color=red>
 
====$Lifetime Min:====
 
*Defines the minimum lifetime of the weapon (countermeasure)
 
*Syntax: ''Value'', (seconds)
 
  
====$Lifetime Max:====
+
===$Lifetime Min:===
*Defines the maximum lifetime of the weapon (countermeasure)
+
{{Table3610|
*Syntax: ''Value'', (seconds)
+
*Defines the minimum lifetime of the weapon
</font>
+
*Syntax: '''''Float''''', seconds}}
  
====$Lifetime:====
+
 
 +
===$Lifetime Max:===
 +
{{Table3610|
 +
*Defines the maximum lifetime of the weapon
 +
*Syntax: '''''Float''''', seconds}}
 +
 
 +
 
 +
===$Lifetime:===
 
*Time before the standard primaries fizzle out and secondaries self destruct. Multiply this by the speed to get the range. If values are too low (below framerate) then the collision detection and graphic effects may suffer.
 
*Time before the standard primaries fizzle out and secondaries self destruct. Multiply this by the speed to get the range. If values are too low (below framerate) then the collision detection and graphic effects may suffer.
*This field has no effect for the beams apart from weapon range and AI beam targetting with certain beam types
+
*This field has no effect for the beams apart from weapon range and AI beam targeting with certain beam types
*Syntax: ''Value'', (seconds)
+
*Syntax: '''''Float''''', seconds
 +
 
 +
 
 +
===$Energy Consumed:===
 +
*The amount of energy each bolt drains firing ship. Has no effect on turreted weapons.
 +
*Syntax: '''''Float'''''
  
====$Energy Consumed:====
 
*The amount of energy each bolt drains firing ship. Has no effect on turretted weapons.
 
*Syntax: ''Value''
 
  
====$Cargo Size:====
+
===$Cargo Size:===
*Cargo size, is not used with primaries.
+
*Cargo size, is not used with non-ballistic primaries.
 
*Amount of missiles available = Bank capacity / Cargo Size.
 
*Amount of missiles available = Bank capacity / Cargo Size.
*Syntax: ''Value''
+
*Syntax: '''''Float'''''
 +
 
 +
===$Autoaim FOV:===
 +
{{Table224|
 +
'''This option is exclusive to primaries.'''
 +
*Defines if the weapon will have auto-aim and what the FOV of the auto-aim is.
 +
*Syntax: '''''Float'''''}}
  
====$Homing:====
+
===$Homing:===
*Only for secondaries. You can't have homing primaries. If this is set to YES with primaries, then the bolts turn to face their target but keep moving in the same direction. If the field is set to NO then following fields are not required in the table.
+
'''This option is exclusive to secondaries.'''
*Defines if the missiles in question is homing
+
{{Table212|'''This option may now be applied to primaries'''. They may only use heat seeking. For optimal results the "no homing speed ramp" flag may be used.}}
*Syntax: ''YES'' or ''NO''
+
 
*'''+Type:'''
+
Defines if the bolts/missiles in question is homing
**Defines the homing method
+
 
**Syntax: ''ASPECT'' or ''HEAT''
+
If set to NO, then following fields are not required in the table.
*'''+Turn Time:'''
+
 
**Defines how well missile manouvers. Number of seconds it takes the missile to do a 360 degree circle
+
*Syntax: '''''Boolean''''', yes or no
**Syntax: ''Value'', (seconds)
+
 
*'''+View Cone:'''
+
===='''+Type:'''====
**'''Heat-seeking missiles only''', this is then number of degrees the missile sees. Value / 2 gives the angle from the missiles centerline. <font color=red>Has been enabled also to aspect seekers. </font>
+
Defines the homing method
**Syntax: ''Value'', (degrees)
+
*Syntax: '''''String''''', ''ASPECT'' or ''HEAT''
*'''+Min Lock Time:'''
+
{{Table3610| An additional option, ''JAVELIN'', has been added.  This behaves like an aspect missile but automatically only locks onto the engines of a target, and only if the engines are in sight.}}
**'''For aspect missiles only''', the minimum number of seconds to gain target lock
+
 
**Syntax: ''Value'', (seconds)
+
 
*'''+Lock Pixels/Sec:'''
+
===='''+Turn Time:'''====
**'''For aspect missiles only''', pixels the aspect triangle moves per second while attempting lock-on
+
Determines how quickly the missile can turn. Ostensibly the number of seconds it takes the missile to do a 360 degree circle at full turn speed, but for complicated reasons this is only true if [[Game_settings.tbl#.2BAI_respect_tabled_turn_time_and_rotdamp|AI respect tabled turn time and rotdamp]] is enabled.
**Syntax: ''Value'', (pixels per second)
+
**Syntax: '''''Float''''', seconds
*'''+Catch-up Pixels/Sec:'''
+
 
**'''For aspect missiles only''', pixels moved per second while attempting to catch up to the target
+
===='''+Turning Acceleration Time:'''====
**Syntax: ''Value'', (pixels per second)
+
{{Table202|
*'''+Catch-up Penalty:'''
+
Determines how quickly the missile reaches its maximum turn speed.
**'''For aspect missiles only''', extra pixels to move after catching up ????
+
*Note: Requires [[Game_settings.tbl#.24AI_use_framerate_independent_turning:|$AI use framerate independent turning]] in game_settings.tbl
**Syntax: ''Value'', (pixels)
+
**Syntax: '''''Float''''', seconds}}
<font color=red>
+
{{Table240|
*'''+Seeker Strenght:'''
+
===+Turn Rate Multiplier over Lifetime Curve:===
**Defines the seeking ability of the homing system. Default of heat seekers is 3 and for aspect seekers 2. Spoofing change is defined as '''cm type effectiveness'''/'''seeker strength'''.
+
*Specifies the curve to use for changing the weapon's turn rate over time.
**Syntax: ''Value'', (seeker strenght)
+
*The life of the weapon (0-1) is X, the turn rate multiplier is Y.
</font>
+
*Syntax: ''String'', the name of the curve from [[Curves.tbl]]
 +
}}
 +
 
 +
===='''+View Cone:'''====
 +
'''Heat-seeking missiles only'''
 +
 
 +
This is the width of the weapon's viewing cone, given in degrees. Objects outside this cone are effectively invisible to the missile. The value / 2 gives the angle from the missile's centerline to the edge of the viewing cone.
 +
*Syntax: '''''Float''''', degrees
 +
{{Table3610| Has been enabled also to aspect seekers as an option. They will continue to home on targets outside their view cone, but will take a continuous lifetime penalty every second their target is outside this cone.}}
 +
 
 +
===='''+Min Lock Time:'''====
 +
'''For aspect/javelin missiles only'''
 +
 
 +
The minimum number of seconds to gain a target lock.
 +
*Syntax: '''''Float''''', seconds
 +
 
 +
===='''+Lock Pixels/Sec:'''====
 +
'''For aspect/javelin missiles only'''
 +
The number of pixels the aspect triangle moves per second while attempting lock-on.
 +
 
 +
*Syntax: '''''Integer''''', pixels per second
 +
 
 +
 
 +
===='''+Catch-up Pixels/Sec:'''====
 +
'''For aspect/javelin missiles only'''
 +
 
 +
The number of pixels moved per second while attempting to catch up to the target.
 +
*Syntax: '''''Integer''''', pixels per second
 +
 
 +
 
 +
===='''+Catch-up Penalty:'''====
 +
'''For aspect/javelin missiles only'''
 +
 
 +
Extra pixels to move after catching up. (Needs verification )
 +
**Syntax: '''''Integer''''', pixels
 +
 
 +
 
 +
===='''+Seeker Strength:'''====
 +
{{Table3610|
 +
Defines the seeking ability of the homing system. Default of heat seekers is 3.0 and for aspect seekers 2.0. Spoofing chance is defined as '''[[#$Countermeasure:|cm type effectiveness]]'''/'''seeker strength''' (missile must be within the countermeasures '''[[#$Countermeasure:|+Effective Radius:]]'''
 +
*Syntax: '''''Float''''', seeker strength}}
 +
 
 +
===='''+Lock FOV:'''====
 +
{{Table234|
 +
Defines the width of the cone within which the missile is capable of achieving a lock, in degrees. Only applies to aspect seekers.
 +
*Syntax: '''''Float''''', default (approximately): 63.57666}}
 +
 
 +
===='''+Target Lead Scaler:'''====
 +
{{Table3611|
 +
Defines the type of pursuit course the missile tries to obtain.
 +
*Values < 0 give lag pursuit, values ~ 0 give pure pursuit, values > 0 give lead pursuit.
 +
*Syntax: '''''Float''''', default for heat seekers: 0, default for aspect or javelin seekers: 1.}}
 +
 
 +
===='''+Target Lock Restriction:'''====
 +
{{Table202|
 +
Defines if the missile can lock onto ships besides the current target
 +
*Syntax: '''''String''''', name of the behavior, default is ''current target only'';.
 +
*''Current target only'' As normal, can only acquire locks on the targeted ship
 +
*''Any target'' Missile will lock on any valid target. Missile locking is still disabled in certain cases, such as when a friendly is the player's target
 +
*''Current target, any subsystem'' Targeting is restricted to the current ship, but will pick turrets and subsystems on that ship. }}
 +
 
 +
===='''+Independent Seekers:'''====
 +
{{Table202|
 +
Defines the ability for a missile to target multiple objects at once.
 +
*Syntax: '''''Boolean''''', yes or no, default is no.}}
 +
 
 +
===='''+Target Lock Objecttypes:'''====
 +
{{Table220|
 +
Defines what type of object can be locked on with this weapon
 +
*Syntax: '''''String''''', name of the object type, default is ''ships''
 +
*''ships'' Will target only ships
 +
*''bombs'' Will target bombs and targetable missiles }}
 +
 
 +
===='''+Trigger Hold:'''====
 +
{{Table202|
 +
Defines the ability to hold the trigger to lock and release to fire.
 +
*Syntax: '''''Boolean''''', yes or no, default is no.}}
 +
 
 +
===='''+Reset On Launch:'''====
 +
{{Table202|
 +
Defines the ability for locks to reset upon missiles being fired.
 +
*Syntax: '''''Boolean''''', yes or no, default is no.}}
 +
 
 +
===='''+Max Seekers Per Target:'''====
 +
{{Table202|
 +
Defines the maximum number of seekers that can target a single object.
 +
*Syntax: '''''Integer''''', number of seekers.}}
 +
 
 +
===='''+Max Active Seekers:'''====
 +
{{Table202|
 +
Defines the maximum number of total seekers for the weapon to have.
 +
*Syntax: '''''Integer''''', number of seekers.}}
 +
 
 +
===='''+Ship Types:'''====
 +
{{Table202|
 +
Defines the ship types that this missile can target. In order for a ship to be targetable it must be able to match one of the listed types, if some of the below lists are also specified, it must match into those as well.
 +
*Syntax: '''("String" "String")''', ship types.}}
 +
 
 +
===='''+Ship Classes:'''====
 +
{{Table202|
 +
Defines the ship classes that this missile can target. In order for a ship to be targetable it must be able to match one of the listed classes, if some of the above/below lists are also specified, it must match into those as well.
 +
*Syntax: '''("String" "String")''', ship classes.}}
 +
 
 +
===='''+Species:'''====
 +
{{Table202|
 +
Defines the species whose ships this missile can target. In order for a ship to be targetable it must be able to match one of the listed Species, if some of the above/below lists are also specified, it must match into those as well.
 +
*Syntax: '''("String" "String")''', species.}}
 +
 
 +
===='''+IFFs:'''====
 +
{{Table202|
 +
Defines the IFF's whose ships this missile can target. In order for a ship to be targetable it must be able to match one of the listed IFFs, if some of the above lists are also specified, it must match into those as well.
 +
*Syntax: '''("String" "String")''', IFFs.}}
 +
 
 +
===$Homing Auto-Target Method:===
 +
{{Table214|
 +
*If this weapon needs to acquire a target on its own, such as a heatseeker losing its target or having the "untargeted heatseeker" flag, this determines how it should do so. Options are:
 +
*'''CLOSEST''', the weapon will acquire the nearest target that it is able.
 +
*'''RANDOM''', the weapon will acquire a random target from those available.
 +
}}
  
====$Swarm:====
+
===$Swarm:===
 
*The number of missiles to fire per volley if it's a swarm missile
 
*The number of missiles to fire per volley if it's a swarm missile
*Can be issued to Standard primaries also. Causes singlepart turrets to malfunction but causes multipart turrets to fire only on their barrel line. Can be used for 'burst fire weapons'.
+
*Can be issued to Standard primaries also. Causes single part turrets to malfunction but causes multi part turrets to fire only on their barrel line. Can be used for 'burst fire weapons'. Does not work with player weapons.
 
*Is incompatible with "Corkscrew" option.
 
*Is incompatible with "Corkscrew" option.
*Syntax: ''Value''
+
*Swarm will negatively affect the missile's ability to hit its target and will not lead its target even with  [[Weapons.tbl#.2BTarget_Lead_Scaler:|Target Lead Scaler]] defined unless [[Game_settings.tbl#.24Swarmers_Lead_Targets:|$Swarmers Lead Targets]] is enabled.
<font color=red>
+
*Syntax: '''''Integer''''', number of shots in a swarm
 +
{{Table3610|
 
*'''+SwarmWait:'''
 
*'''+SwarmWait:'''
**Implemented before FS_Open 3.6.5
 
 
**Defines the time between weapons fired in a swarm
 
**Defines the time between weapons fired in a swarm
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Float''''', seconds
***Default: 150
+
***Default: 0.150)}}
 +
 
 +
===$Acceleration Time:===
 +
{{Table371|
 +
*Defines how long it takes for a secondary weapon to attain full speed. Takes precedence over $Free Flight Time (see below) in terms of the weapon's velocity, and affects both locked-on and dumbfired secondaries.
 +
*Syntax: '''''Float''''', seconds
 +
**Default: 0.0}}
 +
 
 +
===$Velocity Inherit:===
 +
{{Table371|
 +
*Defines how much of the parent ship's velocity to inherit, if [[Ai_profiles.tbl#.24use_additive_weapon_velocity:]] is used.
 +
*Syntax: '''''Float''''', percents
 +
**Default: 100.0}}
  
====$Free Flight Time:====
+
===$Free Flight Time:===
 +
{{Table3610|
 
*Defines the free flight time of homing weapons. During this time weapon flies at 1/4 of its velocity + firing ships velocity in a straight line.
 
*Defines the free flight time of homing weapons. During this time weapon flies at 1/4 of its velocity + firing ships velocity in a straight line.
*Syntax: ''Value'', (seconds)
+
*Syntax: '''''Float''''', seconds
 +
**Default: 0.25}}
 +
 
 +
'''Note:''' due to dumbfires never changing their speed, using this on a dumbfire missile will have it stuck at freeflight speed even after the end of the freeflight time.
 +
 
 +
===$Free Flight Speed:===
 +
{{Table3613|
 +
*Defines the speed that the weapon will be traveling at during the free flight segment (see above).
 +
*Syntax: '''''Float''''', Multiplier for the actual speed, minimum 0.01.
 +
**Default: 0.25
 +
{{Note| This feature was never implemented correctly and was removed in r8867. FSO parses but doesn't use the value, and prints a warning in the log. This feature has subsequently been reimplemented, see $Free Flight Speed Factor: below}}
 +
}}
 +
 
 +
===$Free Flight Speed Factor:===
 +
{{Table202|
 +
*Defines the speed that the weapon will be traveling at during the free flight segment (see above).
 +
*Syntax: '''''Float''''', Multiplier for the actual speed, minimum 0.01.
 
**Default: 0.25
 
**Default: 0.25
</font>
+
}}
  
====$LaunchSnd:====
+
===$Gravity Const:===
 +
{{Table224|
 +
*If the mission has gravity, this is the multiplier applied to acceleration from gravity on the weapon.
 +
*AI will lead for ballistic trajectories, and this may affect their range as they will not fire unless they can successfully make a ballistic path to their target.
 +
*'''Homing weapons are unaffected by gravity no matter what'''.
 +
*Syntax: '''''Float'''''
 +
**Default: 0}}
 +
 
 +
===$PreLaunchSnd:===
 +
{{Table3613|
 +
*Defines the one-shot sound effect to play at the beginning of a firing stream. Currently only has an effect on primary weapons.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
 +
**Default: No Sound}}
 +
 
 +
===+PreLaunchSnd Min Interval:===
 +
{{Table3613|
 +
*Defines  Minimum interval between when the player stops firing and the next time the pre-launch sound can play, as a limiter in case the player is pumping the trigger.
 +
*Syntax: '''''Integer''''', Minimum delay in milliseconds between the end of the previous firing sequence and the next time the pre-launch sound effect will be played.
 +
**Default: 0 (play pre-launch sound at the beginning of every firing sequence, if present)}}
 +
 
 +
===$LaunchSnd:===
 
*Corresponding sound effect when the weapon is launched.
 
*Corresponding sound effect when the weapon is launched.
*Syntax: ''Value'', name or identification number of the sound as defined in sounds.tbl
+
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
 +
 
 +
 
 +
===$CockpitLaunchSnd:===
 +
{{Table232|
 +
*Corresponding sound effect when the weapon is launched from the player's ship, allowing use of 2d stereo sounds.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]}}
 +
 
  
====$ImpactSnd:====
+
===$ImpactSnd:===
 
*Sound the weapon makes when it hits a hull.
 
*Sound the weapon makes when it hits a hull.
*Syntax: ''Value'', name or identification number of the sound as defined in sounds.tbl
+
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
  
<font color=red>
+
 
====$Disarmed ImpactSnd:====
+
===$Disarmed ImpactSnd:===
 +
{{Table3610|
 
*Sound the weapon makes when it hits a hull before being armed.
 
*Sound the weapon makes when it hits a hull before being armed.
*Syntax: ''Value'', identification number of the sound as defined in sounds.tbl
+
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]}}
</font>
 
  
====$FlyBySnd:====
+
 
 +
===$FlyBySnd:===
 
*The sound this weapon makes if it narrowly misses you. -1 is no sound.
 
*The sound this weapon makes if it narrowly misses you. -1 is no sound.
*Syntax: ''Value'', name or identification number of the sound as defined in sounds.tbl, usually -1
+
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]], usually -1
  
<font color=red>
 
====$Model:====
 
*Defines used model file. Included for compatibility with countermeasures as they have been merged with weapons in the code.
 
*Syntax: ''Filename.pof''
 
</font>
 
  
====$Rearm Rate:====
+
{{Table214|
*Defines the rate the weapons are loaded to the ship
+
===$AmbientSnd:===
*Syntax: ''Value'', (missiles per s)
+
*The sound this weapon passively emits in 3d space. The weapon version of [[Ships.tbl#.24EngineSnd:|EngineSnd]] for ships.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]}}
  
====+Weapon Range:====
 
*Defines the range to the target where the weapons under AI will start firing.??
 
*Syntax: ''Value'', (meters)
 
  
<font color=red>
+
{{Table240|
====+Weapon Min Range:====
+
===$StartFiringSnd:===
 +
*The sound that plays when the user presses the trigger down while this weapon is equipped.
 +
*Does not work for turrets.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]}}
 +
 
 +
{{Table240|
 +
===$LoopFiringSnd:===
 +
*The sound that plays while the user is firing the weapon and is holding the trigger down.
 +
*Does not work for turrets.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]}}
 +
 
 +
{{Table240|
 +
===$EndFiringSnd:===
 +
*The sound that plays when the user releases the trigger while this weapon is equipped.
 +
*Does not work for turrets.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]}}
 +
 
 +
 
 +
===$TrackingSnd===
 +
{{Table3615|
 +
*The looping sound played when the player is tracking a target with this weapon.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]}}
 +
 
 +
 
 +
===$LockedSnd===
 +
{{Table3615|
 +
*The sound played when the player has locked onto their target with this weapon.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]}}
 +
 
 +
 
 +
===$InFlightSnd===
 +
{{Table3615|
 +
*The looping sound played while the player has this weapon currently flying.
 +
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
 +
*'''+Inflight sound type'''
 +
**Specifies when the in flight sound is played.
 +
**The value can be one of the following values which are matched case-insensitively:
 +
***''''''TARGETED'''''': The sound is played when the missile tracks a target
 +
***''''''UNTARGETED'''''': The sound is played when the missile is currently not tracking a target
 +
***''''''ALWAYS'''''': The sound is played always}}
 +
 
 +
 
 +
===$Model:===
 +
{{Table3610|
 +
*Defines used model file. Included for compatibility with countermeasures as they have been merged with weapons in the code.
 +
*Syntax: '''''String.pof''''', model filename}}
 +
 
 +
 
 +
===$Rearm Rate:===
 +
*Defines the frequency that weapons are loaded to the ship
 +
*Syntax: '''''Float''''', How many times per second the weapons are loaded.
 +
**Example: 2.0 will reload every half second.  0.1 will load every ten seconds.
 +
 
 +
===$Rearm Ammo Increment:===
 +
{{Table38|
 +
*Defines how many missiles or how much ballistic ammo is loaded per load sound.
 +
*Syntax: '''''Integer''''', how many bullets or missiles are loaded. Default 4 for missiles, 100 for ballistic primaries.}}
 +
 
 +
 
 +
===+Weapon Range:===
 +
*If set, the AI will use this value or the result of weapon lifetime * velocity as the weapon's effective range, whichever is lower. This also affects the [[Hud_gauges.tbl#Lead_Indicator|Lead Indicator]]
 +
*Syntax: '''''Float''''', meters
 +
 
 +
===+Weapon Min Range:===
 +
{{Table3610|
 
*Defines the minimum range to the target where the weapons under AI will still fire.
 
*Defines the minimum range to the target where the weapons under AI will still fire.
 
*Implemented before FS_Open 3.6.5
 
*Implemented before FS_Open 3.6.5
*Syntax: ''Value'', (meters)
+
*Syntax: '''''Float''''', meters}}
</font>
+
 
 +
===+Weapon Optimum Range:===
 +
{{Table214|
 +
*AI fightercraft will attempt to close the distance to their target while they are outside of this range and using this weapon as their currently equipped primary.
 +
*Syntax: '''''Float''''', meters}}
 +
 
 +
===$Pierce Objects:===
 +
{{Table212|
 +
*Causes the weapon to penetrate the objects impacted and not be destroyed.
 +
*Syntax: '''''Boolean'''''
 +
====+Spawn Children On Pierce:====
 +
*Will spawn the weapons children on each hit, not just when it eventually gets destroyed through lifetime
 +
*Syntax: '''''Boolean'''''}}
 +
 
 +
===$Flags:===
 +
*See [[Weapons.tbl#Weapons.tbl_Flags|below]]
 +
*Syntax: '''''( "String" "String" )''''', names of the flags assigned to the weapon
 +
**Example: ( "Player allowed" "in tech database" )
 +
 
 +
{{Table3610|
 +
*Can be followed by '''+override''' option in order to reset the weapon flags before parsing in the new ones
 +
*Using this option will erase all '''homing'''-related flags as well as '''swarm''', '''variable lead''', '''trail''', '''TAG''', and '''transparent''' settings in addition to the listed flags. All these should be set again - if they are required - when this option is used.
 +
 
 +
**Syntax: '''''+override'''''}}
  
====$Flags:====
 
*Flags are detailed below, in [[weapons.tbl#Weapon Flags|weapon flags section]].
 
  
====$Trail:====
+
===$Trail:===
 
*This is used if you want your weapon to have a trail. Trail is often used only with secondaries though it works with standard primaries as well.
 
*This is used if you want your weapon to have a trail. Trail is often used only with secondaries though it works with standard primaries as well.
 
*'''+Start Width:'''
 
*'''+Start Width:'''
 
**How wide the head of the trail is.
 
**How wide the head of the trail is.
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+End Width:'''
 
*'''+End Width:'''
 
**How wide the tail of the trail is.
 
**How wide the tail of the trail is.
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+Start Alpha:'''
 
*'''+Start Alpha:'''
 
**The opacity of the trail head.
 
**The opacity of the trail head.
**Syntax: ''Value'' value between 0 and 1
+
**Syntax: '''''Float''''', value between 0 and 1
 
*'''+End Alpha:'''
 
*'''+End Alpha:'''
 
**The opacity of the trail tail.
 
**The opacity of the trail tail.
**Syntax: ''Value'', value between 0 and 1
+
**Syntax: '''''Float''''', value between 0 and 1
 +
{{Table212|
 +
*'''+Alpha Decay Exponent:'''
 +
**Causes the trail to fade away non-linearly. The 0 -> 1 progress through the trail's life is taken to the power of the provided number when being used for trail alpha purposes
 +
**Larger numbers above 1 cause the trail to fade away very slowly at first, and then suddenly at the end. Smaller numbers below 1 cause it to fade away quickly at first, and then slow down for most of its life.
 +
**Syntax: '''''Float''''', positive}}
 
*'''+Max Life:'''
 
*'''+Max Life:'''
 
**How long the trail lasts.
 
**How long the trail lasts.
**Syntax: ''Value'', (seconds)
+
**Syntax: '''''Float''''', seconds
 +
{{Table202|
 +
*'''+Spread:'''
 +
**Causes the trail points to diffuse and drift apart at this speed over time.
 +
**Syntax: '''''Float''''', meters per second}}
 
*'''+Bitmap:'''
 
*'''+Bitmap:'''
 
**The graphic file to use for the trail.
 
**The graphic file to use for the trail.
**Syntax: ''Filename''
+
**Syntax: '''''String''''', filename
 +
{{Table212|
 +
*'''+Bitmap Stretch:'''
 +
**Multiplies how far the bitmap is stretched over each trail segment.
 +
**Syntax: '''''Float'''''}}
 +
{{Table3611|
 +
*'''+Faded Out Sections:'''
 +
**Defines the number of the trail sections (counting from the leading edge) which are gradually faded out.
 +
**Syntax: '''''Integer''''', number of trail sections}}
  
====$Icon:====
+
===$Icon:===
 
*Loadout icon used in the weapons selection screen.
 
*Loadout icon used in the weapons selection screen.
*Syntax: ''Filename''
+
*Syntax: '''''String''''', filename
  
====$Anim:====
+
 
 +
===$Anim:===
 
*Green grid animation used on the weapons screen.
 
*Green grid animation used on the weapons screen.
*Syntax: ''Filename''
+
*Syntax: '''''String''''', filename
 +
 
 +
 
 +
===$Collide Ship:===
 +
{{Table3610|
 +
*Has been replaced with '''#Conditional Hooks''', see [[Scripting.tbl]]}}
 +
 
 +
 
 +
===$Collide Weapon:===
 +
{{Table3610|
 +
*Has been replaced with '''#Conditional Hooks''', see [[Scripting.tbl]]}}
 +
 
 +
===$Impact Effect:===
 +
{{Table38|
 +
*Specifies the [[Particle Effects|particle effect]] which will be used for impacts of this weapon.
 +
*Syntax: '''String''', the particle effect name
 +
*If this option is specified then ''$Impact Explosion'' and ''$Impact Explosion Radius'' are not valid options!
 +
}}
  
====$Impact Explosion:====
+
===$Impact Explosion:===
 
*Impact explosion used. Must be defined in weapon_expl.tbl,
 
*Impact explosion used. Must be defined in weapon_expl.tbl,
*Syntax: ''Filename'' or ''none''
+
*Syntax: '''''String''''', filename or ''none''
  
====$Impact Explosion Radius:====
+
 
 +
===$Impact Explosion Radius:===
 
*Radius of the defined impact explosion.
 
*Radius of the defined impact explosion.
*Syntax: ''Value''
+
*Syntax: '''''Float''''', meters, default 1.0
 +
 
 +
 
 +
===$Shield Impact Explosion Radius:===
 +
{{Table373|
 +
*Radius of the shield impact explosion, see [[Ships.tbl#.24Shield_Impact_Explosion:]].
 +
*Syntax: '''''Float''''', meters, defaults to value of $Impact Explosion Radius}}
 +
 
 +
===$Dinky Impact Effect:===
 +
{{Table38|
 +
*Specifies the [[Particle Effects|particle effect]] which will be used for Dinky (not armed) explosions of this weapon.
 +
*Syntax: '''String''', the particle effect name
 +
*If this option is specified then ''$Dinky Impact Explosion'' and ''$Dinky Impact Explosion Radius'' are not valid options!
 +
}}
 +
 
 +
 
 +
===$Dinky Impact Explosion:===
 +
{{Table3610|
 +
*Same as Impact Explosion but for Dinky (not armed) explosions
 +
*Syntax: '''''String''''', filename or ''none''}}
  
<font color=red>
 
====$Dinky impact explosion:====
 
*Same as Impact explosion but for Dinky explosions
 
  
====$Dinky impact explosion radius:====
+
===$Dinky Impact Explosion Radius:===
*Same as Impact explosion radius but for Dinky explosions
+
{{Table3610|
</font>
+
*Same as Impact Explosion Radius but for Dinky explosions
 +
*Syntax: '''''Float''''', meters}}
  
====$Muzzleflash:====
+
===$Piercing Impact Effect:===
 +
{{Table38|
 +
*Specifies the [[Particle Effects|particle effect]] which will be used for piercing impacts.
 +
*Syntax: '''String''', the particle effect name
 +
*If this option is specified then piercing impact options below are not valid!
 +
}}
 +
 
 +
===$Piercing Impact Explosion:===
 +
{{Table3611|
 +
*Defines the effect used for events when weapon pierces the target
 +
*Syntax: '''''String''''', filename or ''none''}}
 +
 
 +
 
 +
===$Piercing Impact Radius:===
 +
{{Table3611|
 +
*Defines the base radius of the effect used for piercing weapon impacts
 +
*Syntax: '''''Float'''''}}
 +
 
 +
 
 +
===$Piercing Impact Velocity:===
 +
{{Table3611|
 +
*Defines the base velocity for the particles piercing the target
 +
*Syntax: '''''Float'''''}}
 +
 
 +
 
 +
===$Piercing Impact Splash Velocity:===
 +
{{Table3611|
 +
*Defines the base velocity for the particles splashing from the target (secondary piercing effects
 +
*Negative value causes the second batch or particles to splash to opposite direction
 +
*Syntax: '''''Float'''''}}
 +
 
 +
 
 +
===$Piercing Impact Variance:===
 +
{{Table3611|
 +
*Defines the variance added to the particles
 +
*Values near 0 cause very little variance and values close to 1 cause extreme dispersal.
 +
*Syntax: '''''Float'''''}}
 +
 
 +
 
 +
===$Piercing Impact Life:===
 +
{{Table3611|
 +
*Defines the lifetime of the effect for single frame effects
 +
*For multiple frame effects the lifetime is the lifetime of the animation used
 +
*Syntax: '''''Float'''''}}
 +
 
 +
 
 +
===$Piercing Impact Particles:===
 +
{{Table3611|
 +
*Defines the number of particles released per impact
 +
*Syntax: '''''Integer'''''}}
 +
 
 +
 
 +
===$Piercing Impact Draw Modifier:===
 +
{{Table3611|
 +
*Defines the multiplier applied to the ships piercing effect limit percentage
 +
*Syntax: '''''Float'''''}}
 +
*Option removed in 3.6.12. Use [[armor.tbl]] to finetune piercing effects.
 +
 
 +
===$Conditional Impact:===
 +
{{Table242|
 +
*Defines an impact effect that will play for this weapon only under certain conditions.
 +
*May be defined any number of times.
 +
*Currently only works for targets that are ships or weapons. Impacts against weapons are not considered to have a hit angle.
 +
*All conditional impacts whose requirements are met will play.
 +
*Non-conditional impact effects, the ones defined above, will only play if no conditional impacts' requirements are met.
 +
*'''+Armor Type:'''
 +
**Name of armor type the target must have in order for this impact to play. Shields can have their own armor types. (Subsystems can as well, but at present this system will not detect that.)
 +
**Syntax: ''''''String'''''', name of armor type in [[armor.tbl]]
 +
*'''+Min Health Threshold:'''
 +
**Fraction of target health below which impact will not play. Health is calculated separately for individual shield quadrants and hull.
 +
**Optional; defaults to 0.0.
 +
**Syntax: ''''''Float'''''', fraction of health from 0.0 to 1.0
 +
*'''+Max Health Threshold:'''
 +
**Fraction of target health above which impact will not play. Health is calculated separately for individual shield quadrants and hull.
 +
**Optional; defaults to 1.0.
 +
**Syntax: ''''''Float'''''', fraction of health from 0.0 to 1.0
 +
*'''+Min Angle Threshold:'''
 +
**Hit angle -- that is, the angle measuring how 'straight on' you're hitting the target surface -- below which impact will not play.
 +
**Optional; defaults to 0.0.
 +
**Syntax: ''''''Float'''''', degrees
 +
*'''+Max Angle Threshold:'''
 +
**Hit angle above which impact will not play.
 +
**Optional; defaults to 180.0.
 +
**Syntax: ''''''Float'''''', degrees
 +
*'''+Dinky:'''
 +
**Whether to play if and only if the weapon is not armed. If false, the impact will not play if the weapon is not armed.
 +
**Optional; defaults to false.
 +
**Syntax: ''''''Boolean''''''
 +
*'''+Effect Name:'''
 +
**Name of [[Particle Effects|particle effect]] that will play when conditions are met.
 +
**Syntax: ''''''String'''''', name of effect
 +
}}
 +
 
 +
===$Inflight Effect:===
 +
{{Table38|
 +
*Sets the inflight [[Particle Effects|particle effect]] which is used when the laser is active. This is only used by laser weapons.
 +
*Syntax: '''''String''''', the particle effect name
 +
}}
 +
===$Freeflight Effect:===
 +
{{Table38|
 +
*Sets the [[Particle Effects|particle effect]] which is used when the missile is in the free flight phase. See [[#$Free Flight Time:|$Free Flight Time]] for more information.
 +
*Syntax: '''''String''''', the particle effect name
 +
*This option is only valid for missile weapons
 +
}}
 +
===$Ignition Effect:===
 +
{{Table38|
 +
*Sets the ignition [[Particle Effects|particle effect]] which is used when the missile is transitioning from free flight to homed or unhomed flight.
 +
*Syntax: '''''String''''', the particle effect name
 +
*This option is only valid for missile weapons
 +
}}
 +
===$Homed Flight Effect:===
 +
{{Table38|
 +
*Sets the ignition [[Particle Effects|particle effect]] which is used when the missile is in homed flight mode.
 +
*Syntax: '''''String''''', the particle effect name
 +
*This option is only valid for missile weapons
 +
}}
 +
===$Unhomed Flight Effect:===
 +
{{Table38|
 +
*Sets the ignition [[Particle Effects|particle effect]] which is used when the missile is in unhomed flight mode.
 +
*Syntax: '''''String''''', the particle effect name
 +
*This option is only valid for missile weapons
 +
}}
 +
 
 +
===$Muzzleflash:===
 
*Normally only with flak cannons.
 
*Normally only with flak cannons.
 
*Defines the muzzle flash the weapon uses
 
*Defines the muzzle flash the weapon uses
*Syntax: ''Muzzleflash name'', as defined in mflash.tbl
+
*Syntax: '''''String''''', muzzleflash name, as defined in [[mflash.tbl]]
 +
 
 +
===$Muzzle Effect:===
 +
*Defines the [[Particle Effects|particle effect]] used when the weapon fires. For muzzle effects, +Parent Velocity Factor uses the velocity of the firing ship, not the weapon.
 +
*Syntax: '''''String''''', the particle effect name
 +
 
 +
===$EMP Intensity:===
 +
*How deeply an EMP effect scrambles your electronics
 +
**Needs the [[#EMP|EMP]] flag set to have any effect
 +
*Basically a percentage, a value of 250 results in a 25% chance of something getting scrambled each frame.
 +
*Maximum value of 500.0
 +
**Syntax: '''''Float''''' (defaults to 300.0)
 +
 
 +
===$EMP Time:===
 +
*Duration of the EMP effect
 +
**Needs the [[#EMP|EMP]] flag set to have any effect
 +
**Syntax: '''''Float''''', seconds (defaults to 10.0)
  
====$EMP Intensity:====
+
===$Recoil Modifier:===
**If it has an EMP effect, how deeply it scrambles your electronics
+
{{Table373|
**Syntax: ''Value''
+
*Multiplies the recoil force of a weapon by this value, use a value greater than 1.0 to increase the force, use a value between 1.0 and 0.0 to decrease.
 +
**Syntax: '''''Float''''' (defaults to 1.0)
 +
{{Note| The "apply recoil" weapon flag must be set for this to be valid. If the flag is not set, FSO will throw a warning and automatically set it at runtime.}}
 +
}}
  
====$EMP Time:====
+
===$Leech Weapon:===
**Duration of the EMP effect
+
**The amount of weapon energy to drain with each hit (a flat value, not a percentage)
**Syntax: ''Value'', (seconds)
+
**Needs the [[#Esuck|Esuck]] flag set to have any effect
 +
**Syntax: '''''Float''''' (defaults to 10.0)
  
====$Leech Weapon:====
+
===$Leech Afterburner:===
**The amount of weapon energy to drain with each hit
+
**The amount of afterburner fuel to drain with each hit (a flat value, not a percentage)
**Syntax: ''Value''
+
**Needs the [[#Esuck|Esuck]] flag set to have any effect
 +
**Syntax: '''''Float''''' (defaults to 10.0)
  
====$Leech Afterburner:====
+
===$Vampiric Healing Factor:===
**The amount of afterburner fuel to drain with each hit
+
{{Table224|
**Syntax: ''Value''
+
*Multiplier for how much the shooter is healed after dealing hull damage (1.0 means healing done is equal to damage dealt)
 +
**Needs the [[#Vampiric|Vampiric]] flag set to have any effect
 +
*Must be a positive number higher than 0.0
 +
**Syntax: '''''Float''''' (defaults to 1.0)
 +
}}
  
<font color=red>
+
===$Corkscrew:===
====$Corkscrew:====
+
{{Table3610|
*Implemented before FS_Open 3.6.5
 
 
*Allow corkscrew parameters to be defined
 
*Allow corkscrew parameters to be defined
 
*'''+Num Fired:'''
 
*'''+Num Fired:'''
 
**Defines the number of weapons fired in sequence. Same as the standard swarm entry but for corkscrew missiles
 
**Defines the number of weapons fired in sequence. Same as the standard swarm entry but for corkscrew missiles
**Syntax: ''Value''
+
**Syntax: '''''Integer''''', number of missiles
 
*'''+Radius:'''
 
*'''+Radius:'''
 
**Defines the radius used in the corkscrew motion
 
**Defines the radius used in the corkscrew motion
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+Fire Delay:'''
 
*'''+Fire Delay:'''
 
**Defines the delay between missile firings
 
**Defines the delay between missile firings
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Integer''''', milliseconds
 
*'''+Counter rotate:'''
 
*'''+Counter rotate:'''
 
**Defines if every other missile rotates to a different direction (clockwise / anticlockwise)
 
**Defines if every other missile rotates to a different direction (clockwise / anticlockwise)
**Syntax: ''0'' or ''1'', no or yes
+
**Syntax: '''''Boolean''''', ''0'' or ''1'', no or yes
 
*'''+Twist:'''
 
*'''+Twist:'''
 
**Defines the speed of rotation movement on the radius of corkscrew motion.
 
**Defines the speed of rotation movement on the radius of corkscrew motion.
**Syntax: ''Value'' (radians per second)
+
**Syntax: '''''Float''''', radians per second}}
  
====$Electronics:====
+
 
*Implemented before FS_Open 3.6.5
+
===$Electronics:===
 +
{{Table3610|
 
*Defines the weapons effect against electronics. Requires [[weapons.tbl#"Electronics"|"electronics"]] flag. '''+New Style:''' and '''+Old Style:''' options are mutually exclusive.
 
*Defines the weapons effect against electronics. Requires [[weapons.tbl#"Electronics"|"electronics"]] flag. '''+New Style:''' and '''+Old Style:''' options are mutually exclusive.
 
*'''+New Style:'''
 
*'''+New Style:'''
**Defines that the electronics use the new style which enables more options
+
**Defines that the electronics use the new style which enables more options.
 
*'''+Old Style:'''
 
*'''+Old Style:'''
**Defines that the electronics use the old style
+
**Defines that the electronics use the old style.  The old style was the way the D-Missile worked in Descent: FreeSpace.
 +
}}
 +
{{Table371|
 +
*'''+Area Of Effect'''
 +
**If specified, allows the electronics effect to apply to every ship hit by this weapon's blast or shockwave (the "Electronics" flag isn't necessary with this option).
 +
}}
 +
{{Table3610|
 
*'''+Intensity:'''
 
*'''+Intensity:'''
**May only be used with '''+New Style:''' electronics. Defines how much the electronics hit affects larger ships. An intensity of 1.0 will disrupt a cruiser without trouble.
+
**May only be used with '''+New Style:''' electronics. '''''Has been deprecated'''''.
**Syntax: ''Value''
+
**Syntax: '''''Float'''''
 
*'''+Lifetime:'''
 
*'''+Lifetime:'''
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Integer''''', milliseconds
 
*'''+Engine Multiplier:'''
 
*'''+Engine Multiplier:'''
**May only be used with '''+New Style:''' electronics. Defines how much longer the disruption effect lasts for engine subsytems.
+
**May only be used with '''+New Style:''' electronics. Defines how much longer the disruption effect lasts for engine subsystems.
**Syntax: ''Value''
+
**Syntax: '''''Float'''''
 
*'''+Weapon Multiplier:'''
 
*'''+Weapon Multiplier:'''
 
**May only be used with '''+New Style:''' electronics. Defines how much longer the disruption effect lasts for non-beam turrets.
 
**May only be used with '''+New Style:''' electronics. Defines how much longer the disruption effect lasts for non-beam turrets.
**Syntax: ''Value''
+
**Syntax: '''''Float'''''
 
*'''+Beam Turret Multiplier:'''
 
*'''+Beam Turret Multiplier:'''
 
**May only be used with '''+New Style:''' electronics. Defines how much longer the disruption effect lasts for beam turrets.
 
**May only be used with '''+New Style:''' electronics. Defines how much longer the disruption effect lasts for beam turrets.
**Syntax: ''Value''
+
**Syntax: '''''Float'''''
 
*'''+Sensors Multiplier:'''
 
*'''+Sensors Multiplier:'''
 
**May only be used with '''+New Style:''' electronics. Defines how much longer the disruption effect lasts for sensor subsystems.
 
**May only be used with '''+New Style:''' electronics. Defines how much longer the disruption effect lasts for sensor subsystems.
**Syntax: ''Value''
+
**Syntax: '''''Float'''''
 
*'''+Randomness Time:'''
 
*'''+Randomness Time:'''
**Defines the randomness of duration target suffers from the electronics hit. A random number between 0 and this time will be added or subtracted from the disruption time
+
**Defines the randomness of duration target suffers from the electronics hit. A random number between 0 and this time will be added or subtracted from the disruption time.
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Integer''''', milliseconds
 +
 
 +
* Without any electronics parameters, a weapon with the "electronics" flag will default to the ''Old Style'' mode with a lifetime of 6000 milliseconds and a randomness of 4000 milliseconds.  Thus any ship that gets hit can get disrupted for anywhere between 2 to 10 seconds.
  
====$Spawn Angle:====
+
}}
*Implemented before FS_Open 3.6.5
+
 
*Defines the cone (with an angle) where the spawned weapons appear. ''Value'' gives the angle from the missiles centerline.  The maximum possible angle between any two child weapons would be ''Value*2''.
+
===$Spawn Angle:===
*Syntax: ''Value'', (degrees)
+
{{Table3610|
 +
*Defines the cone (with an angle) where the spawned weapons appear. ''Value'' gives the angle from the missile's centerline.  The maximum possible angle between any two child weapons would be ''Value*2''.
 +
*Like all spawn options, Spawn Angle should be defined as many times as the carrier weapon has child weapons defined for it (up to 5), before moving to the next option.
 +
*Syntax: '''''Float''''', degrees, default is 180}}
 +
 
 +
===$Spawn Minimum Angle:===
 +
{{Table202|
 +
*Defines an inner angle for the cone within which the spawned weapons appear. ''Value'' gives the angle from the missile's centerline.
 +
*Like all spawn options, Spawn Minimum Angle should be defined as many times as the carrier weapon has child weapons defined for it (up to 5), before moving to the next option.
 +
*Syntax: '''''Float''''', degrees, default is 0}}
 +
 
 +
===$Spawn Interval:===
 +
{{Table202|
 +
*Causes the associated spawn event to happen continuously at this time interval. Enabling this will prevent the spawn event from triggering on detonation.
 +
*NOTE: Having very large numbers of total children (low interval and/or high count) can cause issues for multiplayer, and you will be warned in multiplayer if the total count is greater then 300.
 +
*Like all spawn options, Spawn Interval (and its associated Delay) should be defined as many times as the carrier weapon has child weapons defined for it (up to 5), before moving to the next option.
 +
*Syntax: '''''Float''''', seconds, minimum is 0.1, '''You will not be warned for a negative spawn interval. ''' The value will be ignored and the spawn will be treated as a regular detonate spawn if negative. This is on purpose so that continuous/detonate spawns can be set regardless of the order in which they are defined in the flags.}}
 +
 
 +
====+Delay:====
 +
{{Table202|
 +
*Continuous spawn will not begin until this has elapsed.
 +
*Syntax: '''''Float''''', seconds, default is 0}}
 +
 
 +
===$Spawn Effect:===
 +
{{Table202|
 +
*Specifies the [[Particle Effects|particle effect]] which will be used for continuous spawns of this weapon. Will not be used for detonation.
 +
*Like all spawn options, Spawn Effect should be defined as many times as the carrier weapon has child weapons defined for it (up to 5), before moving to the next option.
 +
*Syntax: '''String''', the particle effect name}}
  
====$Local SSM:====
+
===$Local SSM:===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
 
*Defines the local SSM (Subspace Missile). In effect missile moves via subspace to a position close to the target and starts homing.
 
*Defines the local SSM (Subspace Missile). In effect missile moves via subspace to a position close to the target and starts homing.
 
*Weapon must be '''''aspect seeking missile''''' and must have '''''[[Weapons.tbl#"local ssm"|local ssm]]''''' flag.
 
*Weapon must be '''''aspect seeking missile''''' and must have '''''[[Weapons.tbl#"local ssm"|local ssm]]''''' flag.
 
*'''+Warpout Delay:'''
 
*'''+Warpout Delay:'''
 
**Defines the time between the missile launch and the subspace jump.
 
**Defines the time between the missile launch and the subspace jump.
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Integer''''', milliseconds
 
*'''+Warpin Delay:'''
 
*'''+Warpin Delay:'''
 
**Defines the time missile stays in subspace before exiting.
 
**Defines the time missile stays in subspace before exiting.
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Integer''''', milliseconds
 
*'''+Stage 5 Velocity:'''
 
*'''+Stage 5 Velocity:'''
 
**Defines the velocity of the missile after the subspace jump.
 
**Defines the velocity of the missile after the subspace jump.
**Syntax: ''Value'', (meters per second)
+
**Syntax: '''''Float''''', meters per second
 
*'''+Warpin Radius:'''
 
*'''+Warpin Radius:'''
 
**Defines how far from the SSM will appear from the outer radius of the target.
 
**Defines how far from the SSM will appear from the outer radius of the target.
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+Lock Range:'''
 
*'''+Lock Range:'''
 
**Defines the maximum range where SSM can achieve target lock
 
**Defines the maximum range where SSM can achieve target lock
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters}}
 +
 
 +
 
 +
===$Countermeasure:===
 +
 
 +
*Defines the countermeasure effectiveness, radius, etc
 +
{{note|
 +
*Spoofing chance is defined as '''cm type effectiveness'''/'''[[#+Seeker Strength:|seeker strength]]''' (missile must be within the countermeasures '''+Effective Radius:''').
 +
*All countermeasures in the mission perform tests to spoof missiles for two frames after '''any countermeasure''' is created in the mission. No, this doesn't seem to make much sense.
 +
{{Table382|The global frame counter can be bypassed by using '''[[#+Pulse Interval:|pulse interval]]'''.}}
 +
*'''Provisional'''; Countermeasures are only given one chance to spoof any individual missile. This makes tuning seeker strength/effectiveness meaningful.
 +
**Previously some record of which countermeasures had been seen by each missile was kept, but it broke when multiple countermeasures were involved. A good chance of breaking with two countermeasures, and a guaranteed chance of breaking with three or more. This reduced the impact of the seeker strength/effectiveness ratio, but was partly cancelled out by the 2 frames thing.
 +
}}
 +
 
 +
{{Table3610|
 +
===='''+Heat Effectiveness:'''====
 +
*Defines the countermeasures effectiveness against heat seeking missiles
 +
*Syntax: '''''Float''''', cm effectiveness
 +
**Default: 1.0
 +
 
 +
===='''+Aspect Effectiveness:'''====
 +
*Defines the countermeasures effectiveness against aspect seeking missiles
 +
*Syntax: '''''Float''''', cm effectiveness
 +
*Default: 1.0
 +
 
 +
===='''+Effective Radius:'''====
 +
*Defines the countermeasures effective radius
 +
*Syntax: '''''Float''''', meters
 +
**Default: 300.0
 +
}}
 +
 
 +
{{Table373|
 +
====+Missile Detonation Radius:====
 +
*Defines the radius within which a missile homing on this countermeasure will trigger a detonation (see '''+Single Missile Kill:''')
 +
*Syntax: '''''Float''''', meters
 +
**Default: 40.0
 +
{{note| only affects missiles homing on countermeasures, i.e. heat or aspect with "pulls aspect seekers" flag}}
 +
 
 +
====+Single Missile Kill:====
 +
*Defines if countermeasures will detonate only the missile homing on this countermeasure, or every missile within '''+Missile Detonation Radius:'''
 +
*Syntax: '''''Boolean'''''
 +
**Default: false
 +
{{note| only affects missiles homing on countermeasures, i.e. heat or aspect with "pulls aspect seekers" flag}}
 +
}}
 +
 
 +
{{Table382|
 +
====+Pulse Interval:====
 +
*Defines how much time passes between each pulse of this countermeasure.
 +
*Syntax: '''''Float''''', milliseconds
 +
**Default: 0
 +
{{note| any value less than or equal to 0 means the countermeasure doesn't pulse, and uses the global 2-frame counter after any countermeasure is fired.}}
 +
}}
 +
 
 +
{{Table212|
 +
====+Use Fire Wait:====
 +
*Makes the countermeasure fire wait use what is specified in the '''$Fire Wait:''' section of the weapon.
 +
*Default countermeasure fire wait is 333 milliseconds, regardless of that value was set in '''$Fire Wait:'''.
 +
 
 +
====+Failure Launch Delay Multiplier for AI:====
 +
*After a failed countermeasure launch the game waits a certain time interval before attempting another launch.
 +
*Previously, the amount of time was calculated as ('fire wait' + 2000 * 'countermeasure firing chance').
 +
*If set to a non negative number, this value will be multiplied to the fire wait value to determine the amount of time before another countermeasure can be attempted.
 +
*Syntax: '''''Float'''''
 +
**Default: -1
 +
{{note| any value less than 0 means the default formula will be used.}}
  
====$Countermeasure:====
+
====+Successful Launch Delay Multiplier for AI:====
*Defines the countermeasure effectiveness and radius
+
*After a successful countermeasure launch the game waits a certain time interval before attempting another launch.
*'''+Heat Effectiveness:'''
+
*This value is multiplied to the fire wait value to determine the amount of time before another countermeasure can be attempted.
**Defines the countermeasures effectiveness against heat seeking missiles
+
*Syntax: '''''Float'''''
**Syntax: ''Value'', (cm type effectiveness)
+
**Default: 2
***Default: 1
+
{{note| any value less than 0 means the default value will be used.}}
*'''+Aspect Effectiveness:'''
 
**Defines the countermeasures effectiveness against aspect seeking missiles
 
**Syntax: ''Value'', (cm type effectiveness)
 
***Default: 1
 
*'''+Effective Radius:'''
 
**Defines the countermeasures effective radius
 
**Syntax: ''Value'', (meters)
 
***Default: 300
 
</font>
 
  
====$BeamInfo:====
+
}}
 +
 
 +
===$BeamInfo:===
 
*'''+Type:'''
 
*'''+Type:'''
**Defines the type of beam in question. Beam types: 0 is a standard non-slashing type beam. 1 is a slashing type beam. 3 is a beam type that fires pulses in anti-fighter role and acts like type 0 beam in other roles. 4 is a beam that is restricted to what is directly in front of it, along turrets firepoints normal. Nobody knows what Type 2 beams are.
+
*Defines the type of beam in question. This can be a number or, as of 21.4, a named type. Options are:
**Syntax: ''Value'', only values from 0 to 4 are legal
+
**''0'' or ''Direct fire'', a standard non-slashing type beam that fires directly at a random point on the target's hull
 +
**''1'' or ''Slashing'', a slashing type beam, that slashes between opposing corners of the ship
 +
**''2'' or ''Targeting'', a targeting beam that is used to trigger SSMs.
 +
**''3'' or ''Antifighter'', a beam type that fires pulses in anti-fighter role and acts like type 0 beam in other roles.
 +
**''4'' or ''Normal Fire'', a beam that is restricted to what is directly in front of it, along turrets firepoints normal.
 +
{{Table214|
 +
**''5'' or ''Omni'', a highly flexible kind of beam with many options for its exact behavior. See $Type 5 Beam Options below.}}
 
*'''+Life:'''
 
*'''+Life:'''
 
**How long it lasts once the beam is actually firing.
 
**How long it lasts once the beam is actually firing.
**Syntax: ''Value'', (seconds)
+
**Syntax: '''''Float''''', seconds
 
*'''+Warmup:'''
 
*'''+Warmup:'''
 
**Warmup time
 
**Warmup time
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Integer''''', milliseconds
 
*'''+Warmdown:'''
 
*'''+Warmdown:'''
 
**Warmdown time
 
**Warmdown time
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Integer''''', milliseconds
 
*'''+Radius:'''
 
*'''+Radius:'''
 
**Muzzle glow radius
 
**Muzzle glow radius
**Syntax: ''Value'' (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+PCount:'''
 
*'''+PCount:'''
 
**Particles spewed every interval. ??
 
**Particles spewed every interval. ??
**Syntax: ''Value''
+
**Syntax: '''''Integer'''''
 
*'''+PRadius:'''
 
*'''+PRadius:'''
 
**Particle radius
 
**Particle radius
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+PAngle:'''
 
*'''+PAngle:'''
 
**Defines the random "cone" where the particles are generated
 
**Defines the random "cone" where the particles are generated
**Syntax: ''Value'', (angle of the cone)
+
**Syntax: '''''Float''''', angle of the cone
 
*'''+PAni:'''
 
*'''+PAni:'''
 
**Animation used to represent the particles
 
**Animation used to represent the particles
**Syntax: ''Filename''
+
**Syntax: '''''String''''', filename
 
*'''+Miss Factor:'''
 
*'''+Miss Factor:'''
 
**The higher the numbers, the more likely that this beam will miss. One value for every difficulty level
 
**The higher the numbers, the more likely that this beam will miss. One value for every difficulty level
**Syntax: ''Value Value Value Value Value'', Very Easy, Easy, Moderate, Hard, Very Hard respectively.
+
**Syntax: '''''Miss Factor''''', five '''floats''', very easy, easy, moderate, hard, insane, respectively.
 
***Example: 0.5 0.975 1.35 1.875 2.5
 
***Example: 0.5 0.975 1.35 1.875 2.5
 +
{{Table3613|
 +
*'''IFF specific miss factors'''
 +
**Identical to the preceding entry but IFF specific. Replace the <IFF> with the name of the IFF from [[iff_defs.tbl]]
 +
**Syntax: '''''+<IFF> Miss Factor:''''', five '''floats''', very easy, easy, moderate, hard, insane, respectively.
 +
***Example: 0.5 0.975 1.35 1.875 2.5}}
 
*'''+BeamSound:'''
 
*'''+BeamSound:'''
 
**Corresponding looping sound effect when the beam is firing.
 
**Corresponding looping sound effect when the beam is firing.
**Syntax: ''Value'', identification number of the sound as defined in sounds.tbl
+
**Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
 
*'''+WarmupSound:'''
 
*'''+WarmupSound:'''
 
**Corresponding sound effect when the beam is beam warmed up.
 
**Corresponding sound effect when the beam is beam warmed up.
**Syntax: ''Value'', identification number of the sound as defined in sounds.tbl
+
**Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
 
*'''+WarmdownSound:'''
 
*'''+WarmdownSound:'''
 
**Corresponding sound effect when the beam is warming down.
 
**Corresponding sound effect when the beam is warming down.
**Syntax: ''Value'', identification number of the sound as defined in sounds.tbl
+
**Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
 
*'''+Muzzleglow:'''
 
*'''+Muzzleglow:'''
**Defines the bitmap used t create the muzzle glow
+
**Defines the bitmap used to create the muzzle glow
**Syntax: ''Filename''
+
**Syntax: '''''String''''', filename
 +
{{Table372|
 +
*'''+Directional Glow:'''
 +
**Defines the length to stretch the muzzleglow along the beam.
 +
**Syntax: '''''Float''''', length in meters, the muzzleglow is rendered along (in the same plane) as the beam instead of perpendicular to the camera.}}
 +
{{Table240|
 +
*'''+Opacity over Lifetime Curve:'''
 +
**Specifies the curve to use for changing the beam's opacity over time.
 +
**The life of the beam while firing (0-1) is X, the opacity is Y, where 0 is invisible and 1 is typical opacity.
 +
**Syntax: ''String'', the name of the curve from [[Curves.tbl]]}}
 
*'''+Shots:'''
 
*'''+Shots:'''
 
**Defines into how may invidual shots the type 3 (AAA) beams are divided. Note total firing is the same as the +Life:
 
**Defines into how may invidual shots the type 3 (AAA) beams are divided. Note total firing is the same as the +Life:
**Syntax: ''Value''
+
**ALSO AFFECTS FIGHTER BEAMS. If greater than 0, fires from up to that many fire points at a time before cycling. 1 mimics the behavior of weapons with the "cycle" flag, 0 fires from all available fire points like normal weapons.
 +
**Syntax: '''''Integer''''', Default: 1
 
*'''+ShrinkFactor:'''
 
*'''+ShrinkFactor:'''
**What percentage of lifetime where beam starts shrinking (0.1 == 10% life left)
+
**How much of the beam's life is remaining before it starts to shrink in width. (0.1 means 10% life left)
**Syntax: ''Value''
+
**Syntax: '''''Float''''', value from 0 to 1
 
*'''+ShrinkPct:'''
 
*'''+ShrinkPct:'''
**What percentage of max width we subtract per second
+
**The beam's width factor is reduced by this amount every second. For example, a value of 0.25 means the beam is at 75% width after 1 second, 50% after 2, 25% after 3, and by 4 seconds it reaches the minimum size of 10%.
**Syntax: ''Value''
+
**Syntax: '''''Float''''', a positive value
<font color=red>
+
{{Table202|
 +
*'''+GrowFactor:'''
 +
**How much of the beam's life is remaining before it starts to grow in width. (1.0 means as soon as the beam fires)
 +
**Syntax: '''''Float''''', value from 0 to 1
 +
*'''+GrowPct:'''
 +
**The beam's width factor is increased by this amount every second. For example, a value of 0.25 means a beam starting at 0% is at 25% width after 1 second, 50% after 2, 75% after 3, and by 4 seconds it reaches the maximum size of 100%.
 +
**Syntax: '''''Float''''', a positive value
 +
*'''+Initial Width Factor:'''
 +
**What factor of the beam's maximum width it starts with.
 +
**Syntax: '''''Float''''', value from 0 to 1}}
 +
{{Table3610|
 
*'''+Range:'''
 
*'''+Range:'''
**Implemented before FS_Open 3.6.5
 
 
**Defines the maximum range where the beam still has any effect.
 
**Defines the maximum range where the beam still has any effect.
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+Attenuation:'''
 
*'''+Attenuation:'''
**Implemented before FS_Open 3.6.5
 
 
**Defines the point where the damage caused by the beam starts to attenuate. At maximum range damage is zero.
 
**Defines the point where the damage caused by the beam starts to attenuate. At maximum range damage is zero.
**Syntax: ''Value'', (from 0 - firing point to 1 - no effect)
+
**Syntax: '''''Float''''', from 0 - firing point to 1 - no effect
***Default: 1
+
***Default: 1}}
</font>
+
{{Table3611|
 +
*'''+BeamWidth:'''
 +
**Defines the width of the beam for collision test purposes instead of using widest beam section.
 +
**Syntax: '''''Float''''
 +
{{Table222|
 +
*'''+Beam Light Flickers:'''
 +
*Controls if the dynamic flickering of the beam width is applied to the light cast by the beam as well
 +
*Syntax: '''''boolean'''''
 +
*Default value: True
 +
*'''+Beam Width Multiplies Light Radius:'''
 +
*Controls if the light radius of a beam is multiplied by the beam width.
 +
*Syntax: '''''boolean'''''
 +
*Default value: True}}
 +
{{Table38|
 +
*'''+Beam Flash Particle Effect:'''
 +
**Specifies the beam flash [[Particle Effects|particle effect]].
 +
**Syntax: '''''String''''', particle effect name
 +
**If this is specified then '''+Beam Flash Effect''' and '''+Beam Flash Radius''' are not valid options!
 +
}}
 +
*'''+Beam Flash Effect:'''
 +
**Defines the additional impact flash effect for the beam.
 +
**Syntax: '''''String''''', filename
 +
*'''+Beam Flash Radius:'''
 +
**Defines the radius for the additional impact flash effect.
 +
**Syntax: '''''Float'''''
 +
*'''+Beam Piercing Effect:'''
 +
**Defines the beam piercing (bursting flames) effect for the beam.
 +
**Syntax: '''''String''''', filename
 +
*'''+Beam Piercing Radius:'''
 +
**Defines the average radius used for the beam piercing effects.
 +
**Syntax: '''''Float'''''
 +
*'''+Beam Piercing Effect Velocity:'''
 +
**Defines the base velocity for the piercing effects
 +
**Syntax: '''''Float'''''
 +
*'''+Beam Piercing Splash Effect Velocity:'''
 +
**Defines the base velocity for the secondary piercing effects
 +
**Negative velocity causes the particles to move to opposite direction
 +
**Syntax: '''''Float'''''
 +
*'''+Beam Piercing Effect Variance:'''
 +
**Defines the variances of the particles from the main path
 +
**Values close to 0 cause minimum variance, higher values cause higher variances
 +
**Syntax: '''''Float'''''}}
 +
 
 +
{{Table214|
 +
*'''$Type 5 Beam Options:'''
 +
**Species the unique attributes for type 5 beams. '''None of these properties will be used if the weapon is not a type 5 beam.'''
 +
**Fundamentally, type 5 beams are slashing type beams, where the start and end positions refer to physical positions in space (and not angles from the point of view of the shooter) and have many parameters for choosing their positions, including having them be on top of each other, and thus forgoing standard slashing behavior, and also for having rotations, both during the beam firing and in between firings.
 +
*'''+Start Position:'''
 +
**Determines how the starting position should be chosen. Options are:
 +
***'''RANDOM ON SHIP''', Like type 0 direct-fire beams, chooses a random spot on the target's geometry.
 +
***'''RANDOM OFF SHIP''', Like type 1 slash beams, chooses a random spot just outside of the target's geometry.
 +
***'''CENTER''', Chooses the center of the target.
 +
*'''+Start Position Offset:'''
 +
**Displaces the chosen start position in the specified direction and by the specified amount.
 +
***Whether the x, y, and z directions refer to the shooter's point-of-view, or the target's point-of-view is determined by '''Orient Offsets to Target''' below.
 +
***Whether a value of 1 for any coordinate means the target's radius, or a fixed span from the point-of-view of the shooter is determined by '''Scale Offsets to Target''' below.
 +
***Syntax: '''''Vector''''', x, y, and z coordinate. Example: "1, -0.2, -0.9"
 +
*'''+Start Position Randomness:'''
 +
**Further displaces the chosen start position but to a random degree in the specified axes from the number provided to its negative (i.e. a value of 1 will randomly choose between 1 and -1).
 +
***Whether the x, y, and z directions refer to the shooter's point-of-view, or the target's point-of-view is determined by '''Orient Offsets to Target''' below.
 +
***Whether a value of 1 for any coordinate means the target's radius, or a fixed span from the point-of-view of the shooter is determined by '''Scale Offsets to Target''' below.
 +
***Syntax: '''''Vector''''', x, y, and z coordinate. Example: "1, 0.2, 1"
 +
 
 +
 
 +
*The following three fields can skipped, and the beam will not traditionally sweep like a slash beam (although it may still rotate).
 +
*'''+End Position:'''
 +
**Determines how the starting position should be chosen. Options are:
 +
***'''RANDOM ON SHIP''', Like type 0 direct-fire beams, chooses a random spot on the target's geometry.
 +
***'''RANDOM OFF SHIP''', Like type 1 slash beams, chooses a random spot just outside of the target's geometry.
 +
***'''CENTER''', Chooses the center of the target.
 +
***'''SAME RANDOM''', If the start position was randomly determined, this will cause the end position to inherit that position (it will not inherit offset or randomness, only the randomness from RANDOM ON/OFF SHIP).
 +
*'''+End Position Offset:'''
 +
**Displaces the chosen end position in the specified direction and by the specified amount.
 +
***Whether the x, y, and z directions refer to the shooter's point-of-view, or the target's point-of-view is determined by '''Orient Offsets to Target''' below.
 +
***Whether a value of 1 for any coordinate means the target's radius, or a fixed span from the point-of-view of the shooter is determined by '''Scale Offsets to Target''' below.
 +
***Syntax: '''''Vector''''', x, y, and z coordinate. Example: "1, -0.2, -0.9"
 +
*'''+End Position Randomness:'''
 +
**Further displaces the chosen end position but to a random degree in the specified axes from the number provided to its negative (i.e. a value of 1 will randomly choose between 1 and -1).
 +
***Whether the x, y, and z directions refer to the shooter's point-of-view, or the target's point-of-view is determined by '''Orient Offsets to Target''' below.
 +
***Whether a value of 1 for any coordinate means the target's radius, or a fixed span from the point-of-view of the shooter is determined by '''Scale Offsets to Target''' below.
 +
***Syntax: '''''Vector''''', x, y, and z coordinate. Example: "1, 0.2, 1"
 +
{{Table242|
 +
*'''+Slash position over beam lifetime curve:'''
 +
**Curve defining the beam's slash position over its lifetime.
 +
***X is the beam's lifetime, with 0 being the beginning and 1 the end. Y is slash position, with 0 being the start position and 1 the end position. Values outside of the 0-1 range will work.
 +
***This is optional.
 +
***Syntax: ''String'', the name of the curve from [[Curves.tbl]]
 +
}}
 +
 
 +
 
 +
*'''+Orient Offsets to Target:'''
 +
**This determines the orientation of the offsets and randomness.
 +
**If this is set to ''TRUE'' then the x, y, and z, directions used refer to the target's x, y, and z coordinates. X being left/right, Y being up/down, Z being front/back. A start offset of 0, 0, 1, and an end offset of 0, 0, -1 would always cause the beam to fire at the target's bow and sweep to its aft, no matter which way the shooter is oriented.
 +
**If this is set to ''FALSE'' then the x, y, and z, directions used refer to the shooter's x, y, and z coordinates. Using the z coordinate with this being false will have little effect. A start offset of 1, 0, 0, and an end offset of -1, 0, 0 would always cause the beam to fire towards the target, but to the shooter's right, and sweep in the direction of the shooter's left, regardless of how the target is oriented.
 +
**Syntax: '''''Boolean''''', yes or no, Default: No
 +
*'''+Scale Offsets to Target:'''
 +
**This determines what a magnitude of 1 on the offsets and randomness mean.
 +
**If this is set to ''TRUE'' then a value of 1 for a coordinate means a position in the chosen direction but at a distance equal to the target's radius. Values greater than 1, will drift further and further from the target entirely, while smaller than 1 will bring it closer to its originally chosen start position.
 +
**If this is set to ''FALSE'' then it is as though it were firing at a target with a 300m radius at a 300m distance. A value of 1 corresponds to 45 degrees, which it will start at regardless of the distance of the target. Values greater than 1 will increase beyond 45 degrees but will never exceed 90 degrees
 +
**Syntax: '''''Boolean''''', yes or no, Default: No
 +
 
 +
 
 +
*'''+Continuous Rotation:'''
 +
**This defines the degrees per second that the beam will rotate while it is firing.
 +
**Syntax: '''''Float''''', degrees per second
 +
*'''+Continuous Rotation Axis:'''
 +
**This defines the axis about which the beam will continuously rotate. Options are:
 +
***'''START POSITION BEFORE OFFSET''', the beam will rotate about the start position before the offset or randomness were applied. A beam which does not slash (end position paramters omitted), but is offset and rotates about this axis will trace out circles, for instance.
 +
***'''END POSITION BEFORE OFFSET''', as above but for the end position.
 +
***'''START POSITION AFTER OFFSET''', the beam will rotate about the final start position after offset and randomness have been applied. If this beam slashes (end position paramters specified) it will trace out a spiral.
 +
***'''END POSITION BEFORE OFFSET''', as above but for the end position.
 +
***'''CENTER''', the beam will rotate about the center of the target.
 +
{{Table242|
 +
*'''+Rotation over beam lifetime curve:'''
 +
**Curve defining the beam's rotational position over its lifetime.
 +
***X is the beam's lifetime, with 0 being the beginning and 1 the end. Y is rotational position, with 0 being no rotation and 1 being a full 360-degree turn. Values outside of the 0-1 range will work.
 +
***This is optional.
 +
***If a rotation curve is defined, "+Continuous Rotation" will do nothing.
 +
***Syntax: ''String'', the name of the curve from [[Curves.tbl]]
 +
}}
 +
 
 +
 
 +
*'''+Burst Rotation Pattern:'''
 +
**Defines a list of rotations, for the final start and end positions to be performed right before firing for each specific shot in a burst (will not rotate the beam while firing). '''You will not be warned for failing to give this weapon burst capability''', because on spawned or subspace strike beams, providing a pattern has the additional effect of spawning multiple copies of this weapon all at once, each one corresponding to another entry in the pattern.
 +
**For instance, a standard slash with a rotation pattern of  (0, 180) will cause the beam weapon to slash back and forth, or in a scissor pattern if the burst is very short and the beams fire at similar times.
 +
**(0,120,240) will have 3 slashes in a triangular pattern.
 +
**If a RANDOM ON/OFF SHIP option has been chosen for the start or end positions, the "burst shares random target" flag may be used so all shots in the burst share the same random position.
 +
**If any values are '''''negative''''' they will instead use a random amount of rotation for that entry.
 +
**Syntax: '''''List of Floats''''', degrees. Example: (0, 90, 180, 270)
 +
*'''+Burst Rotation Axis:'''
 +
**The axis about which to rotate for the burst rotation pattern. Options are:
 +
***'''START POSITION BEFORE OFFSET''', the beam will be rotated about the start position before the offset or randomness are applied.
 +
***'''END POSITION BEFORE OFFSET''', as above but for the end position.
 +
***'''START POSITION AFTER OFFSET''', the beam will be rotated about the final start position after offset and randomness have been applied.
 +
***'''END POSITION BEFORE OFFSET''', as above but for the end position.
 +
***'''CENTER''', the beam will be rotated about the center of the target.
 +
*'''Per Burst Rotation:'''
 +
**Will rotate the final start and end positions, possibly in addition to the burst rotation pattern, for each burst of the beam, or every shot if not a burst weapon.
 +
**If this value is '''''negative''''' this will instead be treated as a random amount of rotation.
 +
**Syntax: '''''Float''''', degrees.
 +
*'''+Per Burst Rotation Axis:'''
 +
**The axis about which to rotate for the per burst rotation. Options are:
 +
***'''START POSITION BEFORE OFFSET''', the beam will be rotated about the start position before the offset or randomness are applied.
 +
***'''END POSITION BEFORE OFFSET''', as above but for the end position.
 +
***'''START POSITION AFTER OFFSET''', the beam will be rotated about the final start position after offset and randomness have been applied.
 +
***'''END POSITION BEFORE OFFSET''', as above but for the end position.
 +
***'''CENTER''', the beam will be rotated about the center of the target.
 +
}}
 +
{{Table232|
 +
*'''+Firing Length Effect:'''
 +
*Specifies the [[Particle Effects|particle effect]] which will be created along the entire active length of the beam while it is firing and active.
 +
*Note that the +Number for the effect used will be ''per kilometer of length''.
 +
*[[Particle Effects#+Parent Velocity Factor:|Parent Velocity Factor]] also works, inheriting the [[#$Velocity:|Velocity]] of this weapon.
 +
*Syntax: '''String''', the particle effect name
 +
}}
 +
{{Table232|
 +
*'''+Paused Length Effect:'''
 +
*Specifies the [[Particle Effects|particle effect]] which will be created along the length of the beam while it is firing, but in between bursts of a type 4 anti-fighter beam.
 +
*Note that the +Number for the effect used will be ''per kilometer of length''.
 +
*[[Particle Effects#+Parent Velocity Factor:|Parent Velocity Factor]] also works, inheriting the [[#$Velocity:|Velocity]] of this weapon.
 +
*Syntax: '''String''', the particle effect name
 +
}}
 +
{{Table212|
 +
*'''+Beam Flags:'''
 +
*Extra flags specific to beams
 +
**'''burst shares random target''', all shots from this beam weapon in the same burst will target the same random point (or slash direction)
 +
**'''track own texture tiling''', the 'U' position of the beam texture, whose speed is set by '''+Translation:''' below, is tracked independently, rather than being shared among all beams like normal.
 +
}}
 +
 
 
*'''$Section:'''
 
*'''$Section:'''
 
**Beams are made up of up to five sections layered atop one another to create the effect. Each section has its own parameters.
 
**Beams are made up of up to five sections layered atop one another to create the effect. Each section has its own parameters.
**'''+Index:'''
+
{{Table3610|
***Field used to define with [[Modular Tables]] the beam section which is edited.
+
:*'''+Index:'''
***Syntax: ''Value'', (index number legal values are from 0 to 5)
+
:**Field used to define with [[Modular Tables]] the beam section which is edited.
**'''+Width:'''
+
:**Only valid when editing beam sections that already exist in other tables. Attempting to index new sections will generate warnings, adding new sections is the default behavior for un-indexed sections.
***Width of the section
+
:**Syntax: '''''Integer''''', index number legal values are from 0 to 5
***Syntax: ''Value'' (meters)
+
:*'''+remove'''
**'''+Texture:'''
+
:**Removes the set beam section.
***Texture for the section
+
:*'''+nocreate'''
***Syntax: ''Filename''
+
:**Does not create new section for the beam}}
**'''+RGBA Inner:'''
 
***Defines the color and transparency of the center of the section
 
***Syntax: ''Value Value Value Value'', (Red, Green, Blue, and Alpha respectively, value from 0 to 255)
 
****Example: 255 255 255 255
 
**'''+RGBA Outer:'''
 
***Defines the color and transparency of the edges of the section
 
***Syntax: ''Value Value Value Value'', (Red, Green, Blue, and Alpha respectively, value from 0 to 255)
 
****Example: 150 150 150 10
 
**'''+Flicker:'''
 
***Defines how much the section flickers
 
***Syntax: ''Value'', value from 0 to 1
 
**'''+Zadd:'''
 
***Defines the 'thickness' of the section. The higher the Zadd, the closer the section appears to be.
 
***Syntax: ''Value'' <font color=red>
 
**'''+Tile Factor:'''
 
***Implemented before FS_Open 3.6.5
 
***Defines the beam texture tileing factor. Second number defines the tileing type. Type 0 tiles the graphic in the beam as many times as defined by the 1st number. Type 1 uses the 1st value as the lenght of the tile.
 
***Syntax: ''Value'', ''Value''
 
**'''+Translation:'''
 
***Implemented before FS_Open 3.6.5
 
***Defines the speed of translation of the beam, a positive value moves from the impact point to the firing point, while a negative value moves away from the firing point towards the impact point.
 
***Syntax: ''Value''
 
  
====$Pspew:====
+
:*'''+Width:'''
*Implemented before FS_Open 3.6.5
+
:**Width of the section
 +
:**Syntax: '''''Float''''', meters
 +
:*'''+Texture:'''
 +
:**Texture for the section
 +
:**Syntax: '''''String''''', filename
 +
:*'''+RGBA Inner:'''
 +
:**Defines the color and transparency of the center of the section
 +
{{Table3613|:**Not used in current builds. Settings entered here will have no effect.}}
 +
:**Syntax: '''''Color''''', red, green, blue, alpha, respectively, value from 0 to 255
 +
:***Example: 255 255 255 255
 +
:*'''+RGBA Outer:'''
 +
:**Defines the color and transparency of the edges of the section
 +
{{Table3613|:**Not used in current builds. Settings entered here will have no effect.}}
 +
:**Syntax: '''''Color''''', red, green, blue, alpha, respectively, value from 0 to 255
 +
:***Example: 150 150 150 10
 +
:*'''+Flicker:'''
 +
:**Defines how much the section flickers
 +
:**Syntax: '''''Float''''', value from 0 to 1
 +
:*'''+Zadd:'''
 +
:**Defines the 'thickness' of the section. The higher the Zadd, the closer the section appears to be. (Zadd can be safely ignored; it actually does nothing.)
 +
:**Syntax: '''''Float'''''
 +
{{Table3610|
 +
:*'''+Tile Factor:'''
 +
:**Defines the beam texture tiling factor. Second number defines the tiling type. Type 0 tiles the graphic in the beam as many times as defined by the 1st number. Type 1 uses the 1st value as the lenght of the tile.
 +
:**Syntax: '''''Float''''', '''''Integer'''''
 +
:*'''+Translation:'''
 +
:**Defines the speed of translation of the beam, a positive value moves from the impact point to the firing point, while a negative value moves away from the firing point towards the impact point. Measured in tiles per second, where the tile count is defined in the "+Tile Factor:" field above.
 +
:**Syntax: '''''Float'''''}}
 +
 
 +
===$Pspew:===
 +
{{Table3610|
 
*Defines a particle spew effect for the given weapon
 
*Defines a particle spew effect for the given weapon
 +
}}{{Table3613|
 +
*'''+Index:'''
 +
**indicates which spewer to add/edit/delete. may be 0-3. used for xmt compatibility.
 +
**Syntax: '''''Integer'''''
 +
*'''+Remove'''
 +
**removes spewer at +Index: (requires +index:)
 +
*'''+Type:'''
 +
**type of particle spew
 +
**Syntax: '''''String'', Default, Helix, Sparkler, Ring, or Plume '''
 +
}}{{Table3610|
 
*'''+Count:'''
 
*'''+Count:'''
**Defines how many particles are spawn when they are ready to be created
+
**Defines how many particles are spawn when they are ready to be created (at each +Time: interval)
**Syntax: ''Value''
+
**Syntax: '''''Integer'''''
 
*'''+Time:'''
 
*'''+Time:'''
**Defines the time in millseconds between next particle(s) spewed
+
**Defines the time in milliseconds between next particle(s) spewed
**Syntax: ''Value'', (milliseconds)
+
**Syntax: '''''Integer''''', milliseconds
 
*'''+Vel:'''
 
*'''+Vel:'''
 
**Defines the created particles velocity as percentage of the weapons velocity
 
**Defines the created particles velocity as percentage of the weapons velocity
**Syntax: ''Value''
+
**Syntax: '''''Float'''''
 
*'''+Radius:'''
 
*'''+Radius:'''
 
**Defines the size of the created particles
 
**Defines the size of the created particles
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+Life:'''
 
*'''+Life:'''
 
**Defines how long the particles last.
 
**Defines how long the particles last.
**Syntax: ''Value'', (seconds)
+
**Syntax: '''''Float''''', seconds
 
*'''+Scale:'''
 
*'''+Scale:'''
 
**Defines the particle spread. Small value will make particles group together
 
**Defines the particle spread. Small value will make particles group together
**Syntax: ''Value''
+
**typically controls how big the effect is or how fast it moves away from the weapon path on a perpendicular (or sometimes arbitrary) axis.
 +
**helical spews and rings use this value to control how fast the particle helix moves away from the central axis.
 +
**sparklers use this to control how fast particles move away from the spawn point, in any direction
 +
**plumes use this to set the diameter of the disk across which particles are spawned
 +
**Syntax: '''''Float'''''
 +
}}{{Table3613|
 +
*'''+Z Scale:'''
 +
**for sparklers, allows you to elongate the effect to surround other effects, like lasers. essentially a length multiplier
 +
**for plume, it multiplies against +scale to set the plume to spread or converge, zero would be full convergence, 1 would be straight flight, and bigger numbers would cause particles to diverge from the disk.
 +
**Syntax: '''''Float'''''
 +
*'''+Rotation Rate:'''
 +
**used only by helical spews, controls how many rotations per second the helix makes
 +
**Syntax: '''''Float'', may be negative, useful for setting up 2 spews that spin in opposite directions'''
 +
*'''+Offset:'''
 +
**position of effect with regards to the weapon center
 +
**Syntax: '''''Vector'''''
 +
*'''+Initial Velocity:'''
 +
**to indicate both direction and speed of particle effects regards to the weapon velocity and +scale:
 +
**Syntax: '''''Vector'''''
 +
}}{{Table3610|
 
*'''+Bitmap:
 
*'''+Bitmap:
 
**Defines the animation used to create the particle spew effect
 
**Defines the animation used to create the particle spew effect
**Syntax: ''Filename''
+
**Syntax: '''''String''''', filename}}
</font>
 
  
====$Tag:====
+
 
 +
===$Tag:===
 
*Allowed for secondary weapons
 
*Allowed for secondary weapons
*Location: After $Impact Explosion Radius:
+
{{Table3610|
 +
*Allowed for primary weapons and secondary weapons}}
 +
 
 
*Sets this weapon as a TAG missile, level 1, 2, or 3. The second number is the duration in seconds.
 
*Sets this weapon as a TAG missile, level 1, 2, or 3. The second number is the duration in seconds.
*Syntax: ''TAG level'' ''Value'', (seconds)
+
*TAG Level 1 will illuminate hidden targets such as stealth fighters or ships normally obscured by nebula conditions.
 +
*TAG Level 2 illuminates targets much like TAG Level 1, but turrets will prefer to shoot at them over other ships.
 +
*TAG Level 3 has no effect in retail.
 +
{{Table3610|
 +
*TAG Level 3 allows the weapon to trigger [[Weapon.tbl#$SSM:|SSMs]]}}
 +
 
 +
*Syntax: '''''Integer''''' '''''Float''''', TAG level and seconds respectively
 +
*'''Note''': TAG will not trigger unless the weapon in question has a non-zero damage value.
 +
 
 +
===$SSM:===
 +
{{Table3610|
 +
*Defines the weapons SSM index number.
 +
*Requires [[Weapons.tbl#$Tag:|TAG level 3]] or a targeting beam.
 +
*Syntax: '''''Integer'''''}}
 +
{{Table373|
 +
*Now also accepts SSM strike names.
 +
*Syntax: '''''String'''''}}
  
<font color=red>
 
====$SSM:====
 
*Implemented before FS_Open 3.6.5
 
*Defines the weapons SSM index number:
 
*Syntax: ''Value''
 
  
====$FOF:====
+
===$FOF:===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
 
*Defines the field of fire for the weapon. Causes weapon to fire into a firing cone instead of direct firing line thus causing light inaccuracy
 
*Defines the field of fire for the weapon. Causes weapon to fire into a firing cone instead of direct firing line thus causing light inaccuracy
*Syntax: ''Value'', (degrees)
+
*Syntax: '''''Float''''', degrees}}
  
====$Shots:====
+
====+FOF Spread Rate:====
*Implemented before FS_Open 3.6.5
+
{{Table37|
 +
*Defines the spread rate of the field of fire. This is a percentage of the +Max FOF: defined below, and is applied each time the weapon is fired. For exaple, a value of 0.1 causes the field of fire to increase by 10% of the +Max FOF: per trigger pull. This is unaffected by the number of fire points.
 +
*Syntax: ''''''Float'''''', rate}}
 +
 
 +
====+FOF Reset Rate:====
 +
{{Table37|
 +
*Rate at which the spread decreases if the weapon isn't firing. This is a percentage of the +Max FOF: defined below, and is applied once per second. For example, a value of 0.1 causes the field of fire to decrease by 10% of the +Max FOF: per second.
 +
*(If you want to get technical, this is applied every frame, but scaled by the percentage of a second that frame represents. For almost all practical purposes, saying it's applied once per second is equivalent, and makes the calculation easier to think about.)
 +
*Syntax: ''''''Float'''''', rate
 +
*This is required if '''+FOF Spread Rate:''' is present}}
 +
 
 +
====+Max FOF:====
 +
{{Table37|
 +
*The maximum FOF. After the FOF reaches this value it will not increase any further.
 +
*Syntax: ''''''Float'''''', degrees. Must be greater than or equal to zero.
 +
*This is required if '''+FOF Spread Rate:''' is present}}
 +
{{Table242|
 +
As of 24.2, this can be specified without also specifying <tt>+FOF Spread Rate:</tt>.}}
 +
 
 +
===$Shots:===
 +
{{Table3610|
 
*Defines the number of shots every time the weapon is fired.
 
*Defines the number of shots every time the weapon is fired.
*Syntax: ''Value'', (number of shots)
+
*Works only for primary weapons
 +
*Syntax: '''''Integer''''', number of shots}}
 +
 
  
====$decal:====
+
===$decal:===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
 
*Defines impact decals if they are in use
 
*Defines impact decals if they are in use
 
*'''+texture:'''
 
*'''+texture:'''
 
**Defines the texture used for impact decals (can use '''''-burn''''' and '''''-glow''''' textures)
 
**Defines the texture used for impact decals (can use '''''-burn''''' and '''''-glow''''' textures)
**Syntax: ''Filename''
+
**Syntax: '''''String''''', filename
 
*'''+backface texture:'''
 
*'''+backface texture:'''
 
**Defines ???
 
**Defines ???
**Syntax: ''Filename''
+
**Syntax: '''''String''''', filename
 
*'''+radius:'''
 
*'''+radius:'''
 
**Defines the size of the impact decals on target
 
**Defines the size of the impact decals on target
**Syntax: ''Value'', (meters)
+
**Syntax: '''''Float''''', meters
 
*'''+burn time:'''
 
*'''+burn time:'''
 
**Defines the time the '''''-burn''''' texture appears on the target
 
**Defines the time the '''''-burn''''' texture appears on the target
**Syntax: ''Value''
+
**Syntax: '''''Integer''''', milliseconds}}
</font>
+
{{Table3613|
 +
*Feature removed - table parsing retained to maintain compatibility}}
 +
 
 +
===$Impact decal:===
 +
{{Table190|
 +
*Defines an impact decal (think bullet impact/scorch mark) using the new system introduced in FSO 19.0.0.
 +
**Syntax:  '''''String''''', this must match to one of the entries in a [[Decals|decal tbm]].
 +
*'''+Radius:'''
 +
**Syntax: '''''[[Parsed random range]]''''', Radius of the impact decal; default is 1.0
 +
*'''+Lifetime:'''
 +
**Syntax: Either '''''Eternal''''' or '''''[[Parsed random range]]''''', lifetime in seconds
 +
}}
 +
{{Table224|
 +
*'''+Use Random Rotation:'''
 +
**Syntax: '''''Boolean''''', Whether or not a random rotation is added to the decal; default is NO
 +
}}
 +
 
 +
===$Transparent:===
 +
{{Table3610|
 +
*Defines weapon effect as transparent. Enables optional fields for 'alpha animations'
 +
*'''+Alpha:'''
 +
**Defines the strength of the alpha (transparency). And also the maximum value for the alpha cycle option
 +
**Syntax: '''''Float''''', from 0 to 1
 +
*'''+Alpha Min:'''
 +
**Defines the minimum alpha value for alpha cycle option
 +
**Syntax: '''''Float''''', from 0 to 1
 +
*'''+Alpha Cycle:'''
 +
**Defines the change in alpha per frame, between '''Alpha''' and '''Alpha Min''' values
 +
**Syntax: '''''Float'''''}}
 +
 
 +
 
 +
===$Weapon Hitpoints:===
 +
{{Table3611|
 +
*Defines the amount of hitpoints a weapon has.
 +
*Weapons with '''"bomb"''' flag have 50 hitpoints by default
 +
*Giving weapon hitpoints makes it possible for the weapon to be shot down or be destroyed by EMP.
 +
**Syntax: '''''Integer'''''
 +
}}
 +
 
 +
===$Armor Type:===
 +
{{Table3613|
 +
*REQUIRES ADDITIONAL TABLE. Defines the armor type for the weapon. This works exactly like ship armor types.
 +
**Syntax: '''''String''''', name of the armor as defined in [[armor.tbl]]
 +
}}
 +
 
 +
===$Burst Shots:===
 +
{{Table3611|
 +
*Defines the number of shots in a burst
 +
*Shots in a burst use shorter ( '''$Burst Delay:''' ) delay than usually
 +
*If this weapon is cycling each individual firing event counts as one burst shot, so bursts end sooner in time for large banks than small.
 +
**Syntax: '''''Integer'''''}}
 +
 
 +
===$Burst Delay:===
 +
{{Table3611|
 +
*Defines the time in milliseconds between the shots in a burst
 +
**Syntax: '''''Integer'''''}}
 +
 
 +
 
 +
===$Burst Flags:===
 +
{{Table3611|
 +
*Defines the flags used to define the burst firing behaviour
 +
**Syntax: ( '''''String''''' '''''String''''' ), list of flags
 +
**Available burst flags:
 +
***'''"fast firing"''', acts as if '''same turret cooldown''' flag would be used between the shots in the burst.
 +
***'''"random length"''', makes AI to fire burst of random length (from 1 to burst shots).}}
 +
{{Table202|'''"resets"''', as long as a full fire wait has passed since last fired, the burst is reset and can be fired in full again.}}
 +
 
 +
===$Thruster Flame Effect:===
 +
{{Table3611|
 +
*Defines the filename of the effect used on the modeled thruster of the missile
 +
**Syntax: '''''String''''', filename}}
 +
 
 +
 
 +
===$Thruster Glow Effect:===
 +
{{Table3611|
 +
*Defines the filename of the effect used on the glow type effect of the missile
 +
**Syntax: '''''String''''', filename}}
 +
 
 +
 
 +
===$Thruster Glow Radius Factor:===
 +
{{Table3611|
 +
*Defines the radius multiplier for the thruster's glow type effect
 +
**Syntax: '''''Float'''''}}
 +
 
 +
 
 +
===$Failure Rate:===
 +
{{Table38|
 +
*Defines the random chance that the weapon will fail to fire, or spawn the substitute below if specified.
 +
**Syntax: '''''Float''''', 0 - 1
 +
 
 +
====+Failure Substitute:====
 +
*Defines the weapon to substitute when the weapon 'fails'.
 +
**Syntax: '''''String''''', Weapon
 +
}}
 +
 
 +
 
 +
===$On Create:===
 +
{{Table212|
 +
*Defines an [[Action System|action system]] program set to be executed when a weapon of this type is created. Only applicable to laser and missile style weapons.
 +
}}
 +
 
 +
===$Animations:===
 +
{{Table220|
 +
*The new way of specifying triggered animations for weapons. Weapon needs to be a modelled weapon for animations.
 +
*See [[Animation.tbl]]
 +
*Syntax: '''''( "String" "String" )''''', names of the animations for this ship, as defined in the Animation.tbl
 +
**Example: ( "wingflap" "docksequence" )
 +
}}
 +
 
 +
===$Driven Animations:===
 +
{{Table242|
 +
*See [[Animation_Drivers#Parsing (+Driver Set:)]]
 +
*Driven animations '''are not''' compatible with $Animations! If you need animations without drivers, create a driver set that has no driver and list all animations in it's +Affected Animations:
 +
}}
 +
 
 +
===$Substitute:===
 +
{{Table3613|
 +
Defines a pattern of ammo to substitute for primary or secondary weapons. '''$Substitute:''' can be repeated any number of times (so you could make something like a rainbow laser with several ammo substitutions, for example). If neither ''+period'' or ''+index'' is specified, it is assumed to be equivalent to ''+index: '''0'''''.
 +
 
 +
*Syntax: '''''Weapon Name'''''
 +
*'''Swarm missiles act in a strange way when used with $Substitute, use at your own risk.'''}}
 +
 
 +
{{Table3615|
 +
Turrets can use $Substitute as well.
 +
}}
 +
====+period:====
 +
{{Table3613|
 +
FSO will substitute '''Weapon Name''' every ''period'' shots.
 +
 
 +
*Syntax: '''''Positive Integer'''''
 +
*'''You may not define both +period and +index for the same $Substitute entry'''}}
 +
=====+offset:=====
 +
{{Table3613|
 +
A suboption of +period, offsets the substitute pattern according to the launched ammo. For example, an offset of 3 and a period of 4 will substitute on the 3rd ammo launched, and then every 4th ammo after that.
 +
 
 +
*Syntax: '''''Positive Integer'''''}}
 +
 
 +
====+index:====
 +
{{Table3613|
 +
FSO will substitute the '''Weapon Name''' at firepoint ''index'' in the shot pattern. Similar to carefully using both +period and +offset, but is not affected by ships with different firepoint numbers. i.e. Firepoint ''index'' will always have the substitution, while +period and +offset will cycle at different rates dependant on the number of firepoints.'''
 +
 
 +
*Syntax: '''''Positive Integer'''''
 +
 
 +
*'''You may not define both +period and +index for the same $Substitute entry'''
 +
 
 +
*'''Indexes start at 0 for the first weapon'''
 +
 
 +
*'''If the first index you specify is higher than 0, it will also be used for the indexes before it.'''
 +
 
 +
}}
 +
 
 +
===$Custom data:===
 +
{{Table220|
 +
Defines a set of custom data that for this weapon class, 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 Weapon Class to find the CustomData Lua Table.
 +
====+Val:====
 +
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.
 +
 
 +
====$end_custom_data====
 +
Mandatory entry to indicate that the Custom Data list has ended. }}
 +
 
 +
==Weapons.tbl Flags==
  
==Weapon Flags==
 
  
 
==="Electronics"===
 
==="Electronics"===
*Will seize up the weapons and engines systems of any ship of cruiser class or below for a short period of time
+
*Will seize up the weapons and engines systems of any ship for a short period of time.
 +
 
  
 
==="Spawn ''Name'',''Value''"===
 
==="Spawn ''Name'',''Value''"===
 
*Will spawn the specified number of defined missiles upon detonation.
 
*Will spawn the specified number of defined missiles upon detonation.
 +
*The flag will parse without a value, using a default of 10.
 +
{{Table3610|
 +
*Multiple spawn types can be defined for a single 'carrier' weapon up to maximum of 5 different weapons}}
  
 
==="Remote Detonate"===
 
==="Remote Detonate"===
 
*Can be triggered remotely via a second press on the trigger
 
*Can be triggered remotely via a second press on the trigger
  
==="Puncture"===
 
*Reduces hull damage by 25%
 
  
 
==="Big Ship"===
 
==="Big Ship"===
 
*These weapons cannot be mounted on small ships like fighters, bombers, sentry guns etc.
 
*These weapons cannot be mounted on small ships like fighters, bombers, sentry guns etc.
 +
  
 
==="Huge"===
 
==="Huge"===
*Allows this weapon to do the final 10% damage to a ship with the "Big Damage" flag
+
*Allows this weapon to do the final 10% damage to a ship with the "Big Damage" flag. Also the AI will not try to hit fighters with it, but only if the weapon is in a turret or is a secondary. If the weapon is a primary in a fighter then there are no targeting restrictions. See [[Weapons.tbl#.22capital.2B.22|capital+]] instead.
 +
 
 +
==="Supercap"===
 +
*Allows this weapon to do the final 75% damage to a ship with the "supercap" flag.
 +
 
  
 
==="Bomber+"===
 
==="Bomber+"===
 
*The AI will prefer to use this weapon against bombers
 
*The AI will prefer to use this weapon against bombers
 +
  
 
==="child"===
 
==="child"===
 
*Cannot be set as a weapon on any ship, but is instead a child of a weapon. Usually defined with "Spawn ''Name'',''Value''"
 
*Cannot be set as a weapon on any ship, but is instead a child of a weapon. Usually defined with "Spawn ''Name'',''Value''"
 +
  
 
==="Bomb"===
 
==="Bomb"===
*Makes this weapon targetable with the B key, and the AI prefers to use it against large ships
+
*Makes this weapon target-able with the B key and interceptable by AIs
 +
** Has been long thought to make the AI prefer this weapon against large ships, but in fact has no effect on AI weapon selection.
  
 
==="No Dumbfire"===
 
==="No Dumbfire"===
 
*Missile will not fire without a lock
 
*Missile will not fire without a lock
 +
  
 
==="in tech database"===
 
==="in tech database"===
 
*Has the weapon in the tech database at the start of the campaign
 
*Has the weapon in the tech database at the start of the campaign
 +
  
 
==="Player allowed"===
 
==="Player allowed"===
*Allows this weapon as a player weapon
+
*Allows this weapon as a player weapon.
 +
{{Table3610|
 +
*'''EXTREMELY IMPORTANT NOTE:'''
 +
**Whenever you plan to use a weapon as a player one in your campaign or missions, '''USE THIS FLAG'''.
 +
**Not using it can cause problems within fs_open and it's a BAD MOD DESIGN.
 +
**In the future, fs_open will maybe be able to avoid these problems but, nevertheless, it's still a BAD DESIGN.
 +
**As another possible example: be careful to update "retail" tables if you plan to use Shivan weapons in player fighters.}}
  
 
==="Particle Spew"===
 
==="Particle Spew"===
 
*Makes the weapon projectile spew out particles
 
*Makes the weapon projectile spew out particles
<font color=red>
+
{{Table3610|
*Can be defined with [[Weapons.tbl#$Pspew:|Particle Spew parameters]]
+
*Can be defined with [[Weapons.tbl#$Pspew:|Particle Spew parameters]]}}
</font>
+
 
  
 
==="EMP"===
 
==="EMP"===
 
*This weapon will have an EMP effect on any ship within the blast radius
 
*This weapon will have an EMP effect on any ship within the blast radius
 
*Can be defined with [[Weapons.tbl#$EMP_Intensity:|EMP Intensity]] and [[Weapons.tbl#$EMP_Time:|EMP Time]]
 
*Can be defined with [[Weapons.tbl#$EMP_Intensity:|EMP Intensity]] and [[Weapons.tbl#$EMP_Time:|EMP Time]]
 +
  
 
==="Esuck"===
 
==="Esuck"===
 
*Drains the target's energy banks
 
*Drains the target's energy banks
 
*Can be defined with [[Weapons.tbl#$Leech_Weapon:|Leech Weapon]] and [[Weapons.tbl#$Leech_Afterburner:|Leech Afterburner]]
 
*Can be defined with [[Weapons.tbl#$Leech_Weapon:|Leech Weapon]] and [[Weapons.tbl#$Leech_Afterburner:|Leech Afterburner]]
 +
 +
==="Vampiric"===
 +
{{Table224|
 +
*Heals shooter upon dealing hull damage to target
 +
*Can be defined with [[Weapons.tbl#$Vampiric Healing Factor:|Vampiric Healing Factor]]}}
  
 
==="Flak"===
 
==="Flak"===
*Makes this weapon a [[weapons.tbl#Flak Guns|flak gun]]
+
*Makes this weapon a [[weapons.tbl#Flak_Guns|flak gun]]
 +
 
  
 
==="Corkscrew"===
 
==="Corkscrew"===
 
*Makes this weapon spiral AND swarm 4.
 
*Makes this weapon spiral AND swarm 4.
<font color=red>
+
{{Table3610|
*Can be defined with [[Weapons.tbl#$Corkscrew:|Corkscrew parameters]]
+
*Can be defined with [[Weapons.tbl#$Corkscrew:|Corkscrew parameters]]}}
</font>
+
 
  
 
==="Shudder"===
 
==="Shudder"===
 
*Makes your ship shudder while you're firing the weapon
 
*Makes your ship shudder while you're firing the weapon
 +
  
 
==="lockarm"===
 
==="lockarm"===
 
*Requires a target lock in order to arm its warhead. In other words weapon causes less damage if it hits the target without target lock.
 
*Requires a target lock in order to arm its warhead. In other words weapon causes less damage if it hits the target without target lock.
 +
  
 
==="beam"===
 
==="beam"===
 
*Makes this weapon a [[weapons.tbl#Beam Cannons|beam cannon]]
 
*Makes this weapon a [[weapons.tbl#Beam Cannons|beam cannon]]
 +
  
 
==="stream"===
 
==="stream"===
*Gives this weapon a streaming effect. In effect weapon keeps firing when firing button is kept pressed.
+
* Does nothing
  
 
==="puncture"===
 
==="puncture"===
*Reduces hull damage by 25%
+
*Reduces hull damage by 75%
 +
The AI will prefer these weapons for anti-subsystem use
  
==="supercap"===
+
==="countermeasure"===
*Makes weapon capable of causing real damage against ships with "supercap" flag.
+
{{Table3610|
 +
*Defines the weapon as a countermeasure}}
  
<font color=red>
 
 
==="countermeasure"===
 
*Defines the weapon as a countermeasure
 
  
 
==="Ballistic"===
 
==="Ballistic"===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
 
*Defines the weapon as a ballistic weapon that needs ammunition.
 
*Defines the weapon as a ballistic weapon that needs ammunition.
 +
*Make sure you define the size and reload rate for ballistic weapons}}
 +
  
 
==="pierce shields"===
 
==="pierce shields"===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
*Causes weapons to penetrate shield without causing damage to it.
+
*Causes weapons to penetrate shield without causing damage to it.}}
 +
 
  
 
==="no pierce shields"===
 
==="no pierce shields"===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
*Prevents weapons (beams) from piercing shields causing shields to be damaged by weapons first.
+
*Prevents weapons (beams) from piercing shields causing shields to be damaged by weapons first.}}
 +
 
  
 
==="local ssm"===
 
==="local ssm"===
*Implemented before FS_Open 3.6.5
+
{{Table3610| }}
 +
 
  
 
==="tagged only"===
 
==="tagged only"===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
*Weapon can only be fired at tagged targets
+
*Weapon can only be fired at tagged targets}}
 +
 
  
 
==="beam no whack"===
 
==="beam no whack"===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
*Disables beam whacking. Practically same as setting beam mass to zero.
+
*Disables beam whacking (push). Practically same as setting beam mass to zero.}}
 +
 
  
 
==="cycle"===
 
==="cycle"===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
*Causes weapon to alternate between firingpoints
+
*Causes weapon to alternate between firing points}}
 +
 
  
 
==="small only"===
 
==="small only"===
*Implemented before FS_Open 3.6.5
+
{{Table3610|
*Causes AI to use the weapon only on small targets (fighters, bombers etc.)
+
*Causes AI to use the weapon only on small targets (fighters, bombers etc.) Only applies to the target selection of turrets, has no effect on the behavior of fighters picking primary and secondary bank weapons.}}
  
 
==="same turret cooldown"===
 
==="same turret cooldown"===
*Forces the turrets to fire on the designated rate of fire on all difficulty levels
+
{{Table3610|
</font>
+
*Forces the turrets to fire on the designated rate of fire on all difficulty levels and all AI levels}}
 +
 
 +
 
 +
==="apply no light"===
 +
{{Table3610|
 +
*Prevents light from being applied to the weapon model.}}
 +
 
 +
==="training"===
 +
{{Table3610|
 +
*Sets weapon to be of training weapon type. ?}}
 +
 
 +
==="smart spawn"===
 +
{{Table3611|
 +
*Forces turret fired spawn weapon of this type to be fired like normal weapons.}}
 +
 
 +
==="inherit parent target"===
 +
{{Table3611|
 +
*Sets spawned 'child' weapons to use parent weapon's target.}}
 +
 
 +
==="no emp kill"===
 +
{{Table3611|
 +
*Defines the weapon (with hitpoints) to be immune to automatic EMP destruction.}}
 +
 
 +
==="untargeted heat seeker"===
 +
{{Table3611|
 +
*Defines the weapon as a heatseeker type missile which acquires its target by itself.}}
 +
 
 +
==="no radius doubling"===
 +
{{Table3611|
 +
*Prevents weapon radius from being doubled when doing collision test. Makes bombs harder to intercept.}}
 +
 
 +
==="no subsystem homing"===
 +
{{Table3611|
 +
*Prevents weapon from acquiring a subsystem as its target. Missile homing points are spread over the target ship.}}
 +
 
 +
==="no lifeleft penalty"===
 +
{{Table3611|
 +
*Prevents weapon lifetime from being penalized if the angle to the target is too big.}}
 +
 
 +
==="can be targeted"===
 +
{{Table3611|
 +
*Allows weapon to be targeted by player. Does not influence AI}}
 +
 
 +
==="show on radar"===
 +
{{Table3611|
 +
*Allows weapon to be visible on the radar}}
 +
 
 +
==="show friendly on radar"===
 +
{{Table3611|
 +
*Allows friendly, otherwise visible to radar weapon, to be visible on player radar}}
 +
 
 +
==="hide from radar"===
 +
{{Table3614|
 +
*Prevents weapon from being visible on the radar}}
 +
 
 +
==="capital+"===
 +
{{Table3613|
 +
*Tells AI fighters/bombers to use this weapon only on capital ships. Has no effect on turret AI.}}
 +
 
 +
==="chain external model fps"===
 +
{{Table3613|
 +
*Tells game to keep switching external model firingpoints when firing}}
 +
 
 +
==="external model launcher"===
 +
{{Table3613|
 +
*Tells game that the external model is a launcher so that it would be kept static without loading motion}}
 +
 
 +
==="takes blast damage"===
 +
{{Table3613|
 +
*Weapon takes damage from weapon blasts}}
 +
 
 +
==="takes shockwave damage"===
 +
{{Table3613|
 +
*Weapon takes damage from shockwaves}}
 +
 
 +
==="ciws"===
 +
{{Table3615|
 +
*Weapon can deal shockwave/blast damage to bombs, regardless of whether the target weapons have the "take blast/shockwave damage" flags.}}
 +
 
 +
==="render flak"===
 +
{{Table3615|
 +
*Normally, flak shells are not rendered. This flag switches rendering on for those weapons.}}
 +
 
 +
==="anti-subsystem beam"===
 +
{{Table3615|
 +
*Beam weapons with this flag can target subsystems on enemy ships, just like normal weapons.}}
 +
 
 +
==="no primary linking"===
 +
{{Table3615|
 +
*Primary weapons with this flag can not be linked with other weapons.}}
 +
 
 +
==="same emp time for capships"===
 +
{{Table37|
 +
*capships affected by this weapon will use the tabled EMP time rather than the fixed retail value (7.5 secs)}}
 +
 
 +
==="no primary linked penalty"===
 +
{{Table371|
 +
*Primary weapons with this flag do not incur the retail linked fire penalty}}
 +
 
 +
==="no homing speed ramp"===
 +
{{Table371|
 +
*Locked homing weapons will not perform the standard 1 second long acceleration when fired. Note that use of $Acceleration Time is '''not''' affected by this flag.}}
 +
 
 +
==="pulls aspect seekers"===
 +
{{Table371|
 +
*If an aspect seeker is grabbed by this countermeasure the missile will follow the countermeasure instead of going into dumbfire mode.
 +
'''Only valid for countermeasures!'''}}
 +
 
 +
==="turret interceptable"===
 +
==="fighter interceptable"===
 +
==="interceptable"===
 +
{{Table371|
 +
*Allows turrets/fighters/both (respectively) to shoot at this weapon without requiring it to be a bomb. If this is the first time this weapon has been defined, it also gives it a default of 25 hitpoints so that it can be shot down.
 +
'''If you use a TBM to give this flag to an existing weapon, you'll need to specify hitpoints manually (unless you want it to be unkillable but still draw defensive fire).'''}}
 +
 
 +
==="aoe electronics"===
 +
{{Table372|
 +
*Apply electronics effect across the weapon's entire area of effect instead of just on the impacted ship}}
 +
 
 +
==="apply recoil"===
 +
{{Table373|
 +
*A ship that fires a weapon with this flag will experience a recoil effect, slowing the ship down and, with lighter strikecraft, inducing some rotation if the firing points are offset from the center of mass.}}
 +
 
 +
==="don't spawn if shot"===
 +
{{Table373|
 +
*Prevents parent weapons from spawning children in the even of the parent weapon being shot down.}}
 +
 
 +
==="die on lost lock"===
 +
{{Table373|
 +
*Aspect seeking missiles (only, not heat seekers) will detonate upon losing their lock. Currently they only lose lock if decoyed by a countermeasure, AND "pulls aspect seekers" or similar is not set. The detonation will use their "dinky" explosion (i.e. same as if ran out of lifetime).}}
 +
 
 +
==="no doublefire"===
 +
{{Table202|
 +
*Prevents dual-firing of secondary weapons. If the ship tries to dual-fire a weapon with this flag they are set back to single fire.}}
 +
 
 +
==="no impact spew"===
 +
{{Table202|
 +
*Turns off the usual spew effects that occur on the impacted ship when a weapon hits it.}}
 +
 
 +
==="require exact los"===
 +
{{Table202|
 +
*Prevent AI form firing this weapon from a turret or as a secondary weapon if there is no clear line of sight from the weapons firing point to its targeted ship (center). Note that this may keep the weapon trained on a target out of sight while another target may be available to shoot.}}
 +
 
 +
==="can damage shooter"===
 +
{{Table212|
 +
*This weapon can collide with and directly damage the original shooter of this weapon (even if it was spawned), which is not normally possible.}}
 +
 
 +
==="heals"===
 +
{{Table214|
 +
*This weapon uses its $Damage value to heal its target(s) instead of damaging them.
 +
*This works very similarly to damage, the armor/shield/subsystem factors apply to healing as well as do armor classes. However, there are some caveats.<br>
 +
*Healing will ''always'' carry. Unlike damage, which first has to go through the shield, has damage subtracted, then damages subsystems, has damage subtracted, then finally damages the hull if any damage remains, healing will apply in full to hull, shield, and subsystems (factors or armor classes notwithstanding). A weapon with 100 'healing' will attempt to apply that healing to the hull, shield and nearby subsystems to the impact. Even if the weapon only heals hull, it will still do so even if it strikes the shield.
 +
*This flag has '''''no effect''''' on AI. Fighters armed with a healing weapon will happily heal hostile targets they were ordered to attack.}}
 +
 
 +
==="secondary no ammo"===
 +
{{Table220|
 +
*If this is a secondary weapon, it does not need to consume any ammo, and will not display ammo in the weapon HUD gauge, etc.}}
 +
 
 +
==="no collide"===
 +
{{Table220|
 +
*This weapon will not collide with any other object.}}
 +
 
 +
==="multilock target dead subsys"===
 +
{{Table220|
 +
*If this is a multilock weapon, dead subsystems will be treated as just as valid targets as alive ones.}}
 +
 
 +
==="no evasion"===
 +
{{Table220|
 +
*AI will not attempt to evade this weapon when fired at them}}
 +
 
 +
==="no_fred"===
 +
{{Table224|
 +
*Weapon will not appear in any of the FRED dropdown lists for weapon classes.}}
 +
 
 +
==="detonate on expiration"===
 +
{{Table232|
 +
*Primary weapon will detonate as if hitting a target when it reaches the end of its lifetime - just like a secondary weapon does by default.}}
  
 
==Countermeasures==
 
==Countermeasures==
 
*Usually not altered. Only one can exist
 
*Usually not altered. Only one can exist
 +
{{Table3610|
 +
*More than one can exist}}
 +
  
 
===$Name:===
 
===$Name:===
 
*Name of the countermeasure
 
*Name of the countermeasure
*Syntax: ''Name'', usually Type One
+
*Syntax: '''''String''''', name
 +
 
  
 
===$Velocity:===
 
===$Velocity:===
*Defines the spped of the countermeasure, relative to the ship.
+
*Defines the speed of the countermeasure, relative to the ship.
*Syntax: ''Value'', (meter per second)
+
*Syntax: '''''Float''''', meter per second
  
 
===$Fire Wait:===
 
===$Fire Wait:===
 
*Definies the minumum time between the countermeasure launches
 
*Definies the minumum time between the countermeasure launches
*Syntax: ''Value'', (seconds)
+
*Syntax: '''''Float''''', seconds
 +
 
  
 
===Lifetime===
 
===Lifetime===
 
*Countermeasure's life time is defined between with minimum and maximum lifetime
 
*Countermeasure's life time is defined between with minimum and maximum lifetime
 
*'''$Lifetime Min:'''
 
*'''$Lifetime Min:'''
**Syntax: ''Value'', (seconds)
+
**Syntax: '''''Float''''', seconds
 
*'''$Lifetime Max:'''
 
*'''$Lifetime Max:'''
**Syntax: ''Value'', (seconds)
+
**Syntax: '''''Float''''', seconds
 +
 
  
 
===$LaunchSnd:===
 
===$LaunchSnd:===
 
*Defines the sound for the countermeasure launch
 
*Defines the sound for the countermeasure launch
*Syntax: ''Value'', refers to sounds.tbl
+
*Syntax: '''''Integer''''' or '''''String''''', name or identification number of the sound as defined in [[sounds.tbl]]
 +
 
  
 
===$Model:===
 
===$Model:===
 
*Defines the used model file (.pof)
 
*Defines the used model file (.pof)
*Syntax: ''Filename.pof'', usually cmeasure01.pof
+
*Syntax: '''''String.pof''''', model filename
 +
 
  
 
==Player Weapon Precedence==
 
==Player Weapon Precedence==
 
*First the primary weapons are defined, from most powerful to least powerful, and then the same for secondaries
 
*First the primary weapons are defined, from most powerful to least powerful, and then the same for secondaries
*Syntax: ( ''"Name" "Name"'')
+
*Syntax: ( '''''"String" "String"'''''), names of the weapons
 
*Example:
 
*Example:
  
  $Player Weapon Precedence: (
+
<pre>
        "UD-8 Kayser"
+
$Player Weapon Precedence: (
        "Prometheus R"
+
    "UD-8 Kayser"
        "Subach HL-7"
+
    "Prometheus R"
        "Harpoon"
+
    "Subach HL-7"
        "Tempest"
+
    "Harpoon"
        "Rockeye"  )
+
    "Tempest"
 +
    "Rockeye"  )
 +
</pre>
  
 
==Sample==
 
==Sample==
  
  #Primary Weapons
+
<pre>
  $Name:                            @Subach HL-7
+
#Primary Weapons
      +Title:                          XSTR("GTW Subach HL-7", 3243)
+
 
      +Description:
+
$Name:                            @Subach HL-7
  XSTR( "Standard Issue
+
  +Title:                          XSTR("GTW Subach HL-7", 3243)
  Level 3 Hull Damage
+
  +Description:
  Level 2 Shield Damage", 3244)
+
XSTR( "Standard Issue
  $end_multi_text
+
Level 3 Hull Damage
      +Tech Title:                      XSTR("Subach HL-7", 146)
+
Level 2 Shield Damage", 3244)
      +Tech Anim:                      Tech_Subach_HL-7
+
$end_multi_text
      +Tech Description:
+
  +Tech Title:                      XSTR("Subach HL-7", 146)
  XSTR(
+
  +Tech Anim:                      Tech_Subach_HL-7
  "Descriptive text...", -1)
+
  +Tech Description:
  $end_multi_text
+
XSTR(
  $Model File:                      none
+
"Descriptive text...", -1)
      @Laser Bitmap:                    newglo9
+
$end_multi_text
      @Laser Glow:                      2_laserglow03
+
$Model File:                      none
      @Laser Color:                    250, 0, 0
+
  @Laser Bitmap:                    newglo9
      @Laser Color2:                    0, 0, 250
+
  @Laser Glow:                      2_laserglow03
      @Laser Length:                    10.0
+
  @Laser Color:                    250, 0, 0
      @Laser Head Radius:              0.90
+
  @Laser Color2:                    0, 0, 250
      @Laser Tail Radius:              0.90
+
  @Laser Length:                    10.0
  $Mass:                            0.2
+
  @Laser Head Radius:              0.90
  $Velocity:                        450.0
+
  @Laser Tail Radius:              0.90
  $Fire Wait:                      0.2
+
$Mass:                            0.2
  $Damage:                          15
+
$Velocity:                        450.0
  $Armor Factor:                    0.9
+
$Fire Wait:                      0.2
  $Shield Factor:                  0.7
+
$Damage:                          15
  $Subsystem Factor:                0.3
+
$Armor Factor:                    0.9
  $Lifetime:                        2.0
+
$Shield Factor:                  0.7
  $Energy Consumed:                0.20
+
$Subsystem Factor:                0.3
  $Cargo Size:                       0.0
+
$Lifetime:                        2.0
  $Homing:                          NO
+
$Energy Consumed:                0.20
  $LaunchSnd:                      76
+
$Cargo Size:                     0.0
  $ImpactSnd:                      85
+
$Homing:                          NO
  $Flags:                          (  "in tech database"
+
$LaunchSnd:                      76
                                        "player allowed"
+
$ImpactSnd:                      85
                                        "stream")
+
$Flags:                          (  "in tech database"
  $Icon:                            iconSD4
+
                                    "player allowed"
  $Anim:                            SD4
+
                                    "stream")
  $Impact Explosion:                none
+
$Icon:                            iconSD4
  #End
+
$Anim:                            SD4
  #Secondary Weapons
+
$Impact Explosion:                none
  $Name:                            EMP Adv.
+
 
      +Title:                          XSTR("GTM-14 EMP Adv.", 3396)
+
#End
      +Description:
+
 
  XSTR( "Advanced Missile
+
 
  Electromagnetic Pulse Weapon
+
#Secondary Weapons
  General Purpose Suppression", 3397)
+
 
  $end_multi_text
+
$Name:                            EMP Adv.
      +Tech Title:                      XSTR("GTM-14 EM Pulse Adv.", 3398)
+
  +Title:                          XSTR("GTM-14 EMP Adv.", 3396)
      +Tech Anim:                      Tech_EMP
+
  +Description:
      +Tech Description:
+
XSTR( "Advanced Missile
  XSTR(
+
Electromagnetic Pulse Weapon
  "Descriptive text...", -1)
+
General Purpose Suppression", 3397)
  $end_multi_text
+
$end_multi_text
  $Model File:                      EMPulse2.pof
+
  +Tech Title:                      XSTR("GTM-14 EM Pulse Adv.", 3398)
  $Mass:                            15.0
+
  +Tech Anim:                      Tech_EMP
  $Velocity:                        275.0
+
  +Tech Description:
  $Fire Wait:                      2.0
+
XSTR(
  $Damage:                          45
+
"Descriptive text...", -1)
  $Blast Force:                    20.0
+
$end_multi_text
  $Inner Radius:                    80.0
+
$Model File:                      EMPulse2.pof
  $Outer Radius:                    300.0
+
$Mass:                            15.0
  $Shockwave Speed:                120.0
+
$Velocity:                        275.0
  $Armor Factor:                    1.0
+
$Fire Wait:                      2.0
  $Shield Factor:                  0.8
+
$Damage:                          45
  $Subsystem Factor:                0.5
+
$Blast Force:                    20.0
  $Lifetime:                        5.0
+
$Inner Radius:                    80.0
  $Energy Consumed:                0.0
+
$Outer Radius:                    300.0
  $Cargo Size:                      4.0
+
$Shockwave Speed:                120.0
  $Homing:                          YES
+
$Armor Factor:                    1.0
      +Type:                            ASPECT
+
$Shield Factor:                  0.8
      +Turn Time:                      1.0
+
$Subsystem Factor:                0.5
      +Min Lock Time:                  2.0
+
$Lifetime:                        5.0
      +Lock Pixels/Sec:                70
+
$Energy Consumed:                0.0
      +Catch-up Pixels/Sec:            100
+
$Cargo Size:                      4.0
      +Catch-up Penalty:                30
+
$Homing:                          YES
  $LaunchSnd:                      118
+
  +Type:                            ASPECT
  $ImpactSnd:                      88
+
  +Turn Time:                      1.0
  $FlyBySnd:                        -1
+
  +Min Lock Time:                  2.0
  $Rearm Rate:                      2.0
+
  +Lock Pixels/Sec:                70
  $Flags:                          (  "player allowed"
+
  +Catch-up Pixels/Sec:            100
                                        "EMP")
+
  +Catch-up Penalty:                30
  $Trail:
+
$LaunchSnd:                      118
      +Start Width:                    0.25
+
$ImpactSnd:                      88
      +End Width:                      0.75
+
$FlyBySnd:                        -1
      +Start Alpha:                    1.0
+
$Rearm Rate:                      2.0
      +End Alpha:                      0.0
+
$Flags:                          (  "player allowed"
      +Max Life:                        1.5
+
                                    "EMP")
      +Bitmap:                          MissileTrail04
+
$Trail:
  $Icon:                            iconEMPulse
+
  +Start Width:                    0.25
  $Anim:                            ecm
+
  +End Width:                      0.75
  $Impact Explosion:                ExpMissileHit1
+
  +Start Alpha:                    1.0
  $Impact Explosion Radius:        10.0
+
  +End Alpha:                      0.0
  $EMP Intensity:                  375.0
+
  +Max Life:                        1.5
  $EMP Time:                        20.0
+
  +Bitmap:                          MissileTrail04
  #End
+
$Icon:                            iconEMPulse
  $Player Weapon Precedence: (
+
$Anim:                            ecm
        "Subach HL-7"
+
$Impact Explosion:                ExpMissileHit1
        "EMP Adv."  )
+
$Impact Explosion Radius:        10.0
 +
$EMP Intensity:                  375.0
 +
$EMP Time:                        20.0
 +
 
 +
#End
 +
 
 +
$Player Weapon Precedence: (
 +
    "Subach HL-7"
 +
    "EMP Adv."  )
 +
</pre>
  
 
[[Category:Tables]]
 
[[Category:Tables]]

Latest revision as of 20:09, 20 September 2024

Revision information.....

FSO Git Commit: Date: 2024-8-26 SHA: 91a673a
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 weapons.tbl defines all of the weapon classes used in FSO.

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

Contents

Introduction

The weapons.tbl is responsible for defining the behavior of the numerous weapon effects used in FSO, including the amount of damage dealt, the firing rate, and graphical effects.

This wiki page goes over all of the entries used exclusively in the weapons.tbl file. Hyperlinks to individual weapon creation/editing tutorials are provided when appropriate.

Special Case Weapons

Beam Cannons

REQUIRES:

See also: Tutorial - Beam Weapons

Flak Guns

REQUIRES:

  • "flak" flag
  • "particle spew" flag
  • Must have inner and outer radius defined to have any effect.
  • A .pof model must be defined ( usually Hornet.pof )
    • Note: the model is not actually used... Instead, it uses particle spew. Trails may also be added.


General Format

  • The weapons table consist of several sections
  • All sections beginning with # need #End before the next section.
    • #Primary Weapons
      • Defines all standard primaries weapons as well as beam cannons and flak cannons.
    • #Secondary Weapons
      • Defines all secondary weapons.
    • #Beam Weapons
      • I haven't got any ideas for this one.
    • #Countermeasures
      • Defines the used countermeasure.
    • $Player Weapon Precedence
      • Player Weapon Precedence is used in weapon selection when a default specified by the mission designer is not available to the player. The next weapon on the list is used in its place (assuming that weapon is allowed for the player).

Core Table

$Name:

  • This is the name of the weapon. If it's going to be used by the player, keep it under 12 characters so it doesn't spill over the HUD box.
    Two special characters can be used in the name: # and @. Their usage details are the very same than inside the $Name field from Ships.tbl.
  • Syntax: String


+nocreate

FS2 Open 3.6.10:
  • In Modular Tables a name can be followed by the line +nocreate to prevent the game from creating an incomplete entry with very few valid fields. If the entry does not already exist (either in weapons.tbl or in earlier parsed *-wep.tbm files), the modular entry is skipped.

+remove

FS2 Open, 21.0:
  • In Modular Tables a name can be followed by the line +remove to completely remove a previously parsed entry.

$Alt Name:

FS2 Open, 3.6.12:
  • An alternative name that can be referenced instead of $Name:
  • Syntax: String


$Subtype:

FS2 Open 3.6.10:

Specifies the weapon 's subtype. Overrides the default subtype as specified by the #-section it is in (#Primary, #Secondary, #Beam Weapon, etc.).


Note:
Since the weapon subtype is already specified by the #-section it is in, this option is not particularly useful when the weapon is inside a #Primary or #Secondary section. However, it may be used to specify the weapon slot it uses on fighters/bombers for weapons that are normally capship only (such as beam cannons).


  • Syntax: String
  • Valid Entries:
Primary
Secondary

+Title:

  • This is the title of the weapon in the Weapons loadout screen. Only needed for player allowed weapons. Title may be anything. Numerical value is a reference to translations in Tstrings.tbl
  • Syntax: XSTR("String", -1)


+Description:

  • This is the description you see in the weapons loadout screen. Again, these aren't based on any hard numbers, just approximations. Only needed for player allowed weapons. Numerical value is a reference to translations in Tstrings.tbl
  • Must be followed by $end_multi_text

Example

XSTR(
"''Standard Issue
''Level 3 Hull Damage
''Level 2 Shield Damage''", -1)
$end_multi_text

+Tech Title:

  • Title of the weapon in the Tech room. Only needed for player allowed weapons.
  • Syntax: XSTR("String", -1)


+Tech Anim:

  • Animation used for the weapon in the Tech room. Only needed for player allowed weapons.
  • Syntax: String, animation filename
    • Example: Tech_Subach_HL-7


+Tech Description:

  • Descriptive text you see in the tech room. Only needed for player allowed weapons. Numerical value is a reference to translations in Tstrings.tbl
  • Must be followed by $end_multi_text

Example

XSTR(
"''The Subach-Innes HL-7...''", 3245)
$end_multi_text

$Turret Name:

FS2 Open, 22.2:
  • Renames a turret to this if this is the first weapon on a turret.
  • Syntax: XSTR("String", -1)

$Tech Model:

FS2 Open 3.6.10:
  • Defines model used in wing loadout screen for the weapon. 3D weapon models in the tech room have not yet been implemented.
  • Syntax: String.pof, model filename

+Closeup_Pos:

FS2 Open, 3.6.14:
  • How the model will show on the Loadout Screen. The position of the camera relative to the model center. Only valid if a tech model is defined
  • Syntax: Vector, three floats, x, y and z values respectively

+Closeup_Zoom:

FS2 Open, 3.6.14:
  • How the model will show on the Loadout Screen. How far the camera's zoomed in, defines camera's FOV.
  • Syntax: Float, radians

$Selection Effect:

FS2 Open, 3.6.14:
  • Defines which selection effect to use when the -weapon_choice_3d commandline flag is enabled or no ani can be found for the selected weapon.
  • Syntax: String, either "FS1", or "Off". This defaults to the FS2 effect.

$HUD Image:

FS2 Open 3.6.10:
  • Defines the picture used to represent the weapon in HUD loadout list
  • Syntax: String, filename


$Model File:

  • Filename of the model file (.pof) at data/models folder. Additional fields beginning from @Laser Bitmap: and ending to @Laser Tail Radius: are not needed if a model has been defined for the weapon.
  • Standard primaries and beam cannons do not use specific models so for those the name is 'none'.
  • Flak weapons and secondaries use models, though the exact model is not important with the flak weapons.
  • Syntax: String.pof or none, model filename
    • Example: none


$POF target LOD:

FS2 Open 3.6.10:
  • Defines the LOD (Level-Of-Detail) of the model used in HUD targeting view
  • Syntax: Integer

$Detail Distance:

FS2 Open, 3.6.14:
  • Defines the distance where the change between different Levels-Of-Details (LODs) occurs
  • Take notice that these are base values. Model detail in Detail options, (within game press F2), applies a multiplier to these values. These multipliers are (from left to right): 1/8, 1/4, 1, 4, 8
  • Optional. If not defined the game uses the formula ((radius * 20.0 + 20.0) * LOD)
  • Syntax: (Detail Distances) , list of integers (same amount as LODs), distances from the model in meters
    • Example: (0, 80, 300, 900)

$External Model File:

FS2 Open 3.6.10:
  • Defines the models shown on the gunpoint, used with Bobb's external-visible-weapon code.
  • Syntax: String.pof, model filename


$Submodel Rotation Speed:

FS2 Open 3.6.10:
  • Defines the rotation speed of the subobject, with the $gun_rotation property defined, in the external weapon model.
  • Syntax: Float
  • Note: weapon fire will be delayed by the time it takes for the weapon to spin up to this speed (using $Submodel Rotation Acceleration or its default value), regardless of whether an external model is used or not.
FS2 Open, 3.8:
  • Note: It's no longer required that the ship actually have external models enabled (whether or not this weapon has one defined) for the spin up delay to occur.

$Submodel Rotation Acceleration:

FS2 Open 3.6.10:
  • Defines the rotation acceleration of the external weapon model.
  • Syntax: Float
  • Default value: 10

@Laser

In the event a 3D model is not defined for the weapon, FSO creates an object similar to a glowpoint. Essentially, it is a 2D plane that always faces the player's camera with an additive texture applied to it, and may or may not have an omnilight follow it.

As suggested by its name, this option group is normally used for lasers and similar primaries, but it may also be used for other weapon types as well.

Unless said otherwise, the graphic files used within this group may be of any compatible type (.DDS, .PCX, .TGA, etc.), however a .DDS is recommended.


@Laser Bitmap:

Defines the graphic file to be used as the weapon effect.

Blending type: additive

Syntax: String, filename


Example:

@Laser Bitmap: my_laser_bitmap

@Laser Head-on Bitmap:

FS2 Open, 22.0:

Defines another laser graphic file to be used and crossfaded into as the camera angles towards the front or bank of this weapon. See also @Laser Head-on Transition Angle and @Laser Head-on Transition Rate.

Syntax: String, filename


@Laser Glow:

Defines the graphic file to be used for the glowmap of the weapon effect.

Blending type: additive

  • This file is 'multiplied' by a value between Color and Color2.
  • The physical dimensions of the glowmap in-game is 2x the size of the bitmap.

Syntax: String, filename


Example:

@Laser Glow: my_laser_glowmap


@Laser Glow Head-on Bitmap:

FS2 Open, 22.0:

Defines another graphic file to be used for the laser glow and crossfaded into as the camera angles towards the front or bank of this weapon. See also @Laser Head-on Transition Angle and @Laser Head-on Transition Rate.

Syntax: String, filename


@Laser Head-on Transition Angle:

FS2 Open, 22.0:

Overrides the angle in degrees from the front (or back) that the head-on transition crossfade is at exactly a 50/50 blend.

Syntax: Float, degrees

Default: Calculated from the ratio of the laser's length to its average radius

@Laser Head-on Transition Rate:

FS2 Open, 22.0:

Defines how quickly the head-on transition fades from one bitmap to the other. Greater than 20 is an instant switch with no blending.

Syntax: Float

Default: 2


@Laser Color:

The RGB color of the glow effect.

  • The color is applied both to the glowmap and the omnilight that follows the effect.

Syntax: Color, red, green, blue respectively, 8-bit value from 0 to 255


Example:

@Laser Color: 255, 0, 0    ; Red glow effect at the start of the effect's lifetime


@Laser Color2:

The RGB color of the glow effect at the end of the effect's lifetime (at its maximum range).

  • The color is applied both to the glowmap and the omnilight that follows the effect.
  • The actual color of the glow effect is somewhere in between the values defined by Color and Color2. Essentially, the actual color "fades" from Color to Color2 over its lifetime.
    • If Color is not defined, then a default value of 255, 255, 255 is assumed for its initial color.

Syntax: Color, red, green, blue respectively, 8-bit value from 0 to 255


Example:

@Laser Color2:  0, 0, 255    ; Blue glow effect at the end of the effect's lifetime.

Example:

@Laser Color: 255, 0,   0    ; Start with a Red glow effect, and fade into...
@Laser Color2:  0, 0, 255    ; a Blue glow effect over the lifetime of the effect.


@Laser Length:

Defines the length of the weapon effect.

  • This option stretches the 2D plane "away" from its origin.

Syntax: Float, meters

FS2 Open, 24.0:

@Laser Length Multiplier over Lifetime Curve:

  • Specifies the curve to use for changing the laser graphic's length over time.
  • The life of the weapon (0-1) is X, the length multiplier is Y.
  • Syntax: String, the name of the curve from Curves.tbl

@Laser Head Radius:

Defines the radius of the leading edge, or "head," of the weapon effect.

  • The edge of the 2D plane farthest away from its origin is the leading edge.
  • The specified radius value is multiplied by 0.5 twice before being applied to the laser, so the laser head's radius will be one-quarter of what's tabled. Its diameter will be half of the tabled radius value.

Syntax: Float, meters

@Laser Tail Radius:

Defines the radius of the trailing edge, or "tail" of the weapon effect.

  • The edge of the 2D plane that is closest to its origin is the trailing edge.
  • The specified radius value is multiplied by 0.5 twice before being applied to the laser, so the laser tail's radius will be one-quarter of what's tabled. Its diameter will be half of the tabled radius value.

Syntax: Float, meters

FS2 Open, 24.0:

@Laser Radius Multiplier over Lifetime Curve:

  • Specifies the curve to use for changing the laser graphic's radius values (both head and tail) over time.
  • The life of the weapon (0-1) is X, the radius multiplier is Y.
  • Syntax: String, the name of the curve from Curves.tbl

@Laser Glow Length Scale:

Scaling factor for glow bitmap along the length axis, relative to the length of the main laser bitmap. Default is 2.0.

Syntax: Float

@Laser Glow Head Scale:

Scaling factor for the radius of the glow bitmap at its head, relative to the radius of the main laser bitmap's head. Default is 2.3.

  • Note that laser length is calculated in an odd way: the head and tail are treated as spheres, with the length being the distance between the centers of those spheres, so the actual length of a laser (or laser glow) is length + head radius + tail radius.
  • This can result in unintuitive behavior if glow length scaling is set differently from head or tail scaling.
  • However, as long as length, head, and tail glow scale are all set to the same value, the glow bitmap will be scaled up while maintaining the same aspect ratio as the laser.

Syntax: Float

@Laser Glow Tail Scale:

Scaling factor for the radius of the glow bitmap at its tail, relative to the radius of the main laser bitmap's tail. Default is 2.3.

  • See note in head scale entry regarding unintuitive behavior.

Syntax: Float

@Laser Position Offset:

Moves the laser relative to its collision point by multiples of the laser length, along any of the three axes. For example, a value of -1.0 along the Z axis will move the laser backward so that the visible laser no longer extends forward from the collision point, but backward, with the collision point at the head rather than the tail. A value of 1.0 along the X axis will move the laser one laser-length to the right.

  • Important note: the X and Y axes are relative to the orientation of the weapon, which normally seems to match the orientation of the firing ship, but which is not guaranteed to remain stable. If the weapon rotates, the orientation of the offset will rotate with it.

Syntax: Vector

@Laser Min Pixel Size:

If this is set to a non-zero value, the laser will always be at least the specified number of pixels wide, no matter how far away it is. Defaults to the $Minimum Pixel Size Lasers: value in Game settings.tbl, or to 0 if that is not set.

Syntax: Integer


FS2 Open, 24.0:

@Laser Opacity Multiplier over Lifetime Curve:

  • Specifies the curve to use for changing the laser graphic's opacity over time.
  • The life of the weapon (0-1) is X, the opacity is Y, with 0 being invisible and 1 being typical opacity.
  • Syntax: String, the name of the curve from Curves.tbl

$Light color:

FS2 Open, 22.2:
  • Sets the color of light cast by the weapon.
  • Syntax: Color, red, green, blue respectively, from 0 to 255
  • Default value: If not set, the color is white for weapons with models, or based on the laser colors otherwise

$Light radius:

FS2 Open, 22.2:
  • Sets the maximum distance light cast by the weapon will reach. Increasing this will tend to make it appear brighter near it's center
  • Syntax: float, any positive value
  • Default value: The defaults for different weapon types are set in Lighting_Profiles.tbl

$Light intensity:

FS2 Open, 22.2:
  • Acts as a multiplier to the brightness of the light cast by the weapon. This changes the brightness without affecting the radius.
  • Syntax: float, any positive value
  • Default value: 1

$Collision Radius Override:

FS2 Open, 21.0:
  • Weapon - weapon collisions are treated as two spheres, where a laser's sphere's radius is equal to its Head Radius, and a missile's is the radius of its associated model (possibly doubled). Using this will override either of those values.
  • If used on a beam it will override its collision radius as well, instead of using the widest section.
  • NOTE: If the weapon is interceptable, such as a bomb or has been given hitpoints, this value will still be doubled, unless the "no radius doubling" flag is used.
  • Syntax: Float, meters


$Mass:

  • Scales the kinetic effect this weapon has on its target. With higher mass imparting a stronger effect.
  • The eventual kinetic effect is also multiplied by the speed. ie $Mass: 3 and $Velocity: 200 has much weaker kinetic effect than $Mass: 3 and $Velocity: 1000. This is also true for the intesnity of the "shudder" effect, if flagged.
  • Syntax: Float, blast effect

$Velocity:

  • How fast the weapon travels. Is also used to define the weapon range, $Velocity x $Lifetime = range.
  • Beams travel instantly so this field has effect only on weapon range and AI beam targeting with certain beam types. $Velocity of beam also applies to its kinetic effect along with $Mass.
  • Syntax: Float, meters per second


$Fire Wait:

  • Time in seconds between firings
  • Note that Fire wait will be reset to 1 if it is set over 5 for non turreted primary weapons (doesn't apply to 3.6.14+)
  • Syntax: Float, seconds

+Max Delay:

FS2 Open, 3.7.4:
  • Defines the maximum amount of time it takes to refire a weapon in a random fire delay range.
    • This must be used with +Min Delay: to have any effect.
  • Syntax: Float, seconds

+Min Delay:

FS2 Open, 3.7.4:
  • Defines the minimum amount of time it takes to refire a weapon in a random fire delay range.
    • This must be used with +Max Delay: to have any effect.
  • Syntax: Float, seconds

$Damage:

  • Base damage this weapon does. The actual damage is this number multiplied by the factors below.
  • Base damage this beam does is continuous damage, damage is approximately 5.88 times the damage value per second. The actual damage is this number multiplied by one of the factors below.
  • The exact factor to multiply by is 100/17, or one 'pulse' of damage every 170 seconds. The generally used wisdom of 5.5 times may have been generally accurate before beam damage was made continuous and frame-rate independent, but is now out of date information.
  • Syntax: Float, damage
  • Note: adding an inner and/or outer radius to a weapon doubles its effective damage to the target (i.e. 1x impact, 1x area effect)

$Damage Time:

FS2 Open, 3.7.4:
  • This sets a time from the end of the weapons lifetime that damage will start to attenuate at. Example: Weapon lifetime is 2.0 seconds and the desired effect is to attenuate after 0.5 seconds have passed, set this to 1.5 seconds.
  • Syntax: Float, seconds. Defaults to 0.0.
    • Note: If neither +Min Damage: nor +Max Damage: is set, the damage will always attenuate to zero at max range.
      • If both +Min Damage: and +Max Damage: are set, both are defaulted to 0.0 and damage will be attenuated to zero.

+Attenuation Damage:

FS2 Open, 3.7.4:
  • This sets the damage a weapon will attenuate to after reaching $Damage Time:.
  • Syntax: Float, damage.

+Min Damage:

FS2 Open, 3.7.4:
  • This sets the lowest amount of damage possible assuming damage attenuation is taking place. This has been deprecated, please use +Attenuation Damage: instead.
  • Syntax: Float, damage. Defaults to 0.0.

+Max Damage:

FS2 Open, 3.7.4:
  • This sets the highest amount of damage possible assuming damage attenuation is taking place. This has been deprecated, please use +Attenuation Damage: instead.
  • Syntax: Float, damage. Defaults to 0.0.

$Angle of Incidence Damage Multiplier:

FS2 Open, 21.2:
  • Causes the weapon's damage to be multiplied by these factors depending on the angle of incidence.
  • It is not linear, it is based on the sine of the angle to the surface. If the factors are 1x for minimum, and 2x for maximum, at an angle of 45° the multiplier is 1.707x, for instance.

+Min:

  • The damage multiplier at a perfectly glancing hit, parallel to the surface (although not technically possible).
  • Syntax: Float

+Max:

  • The damage multiplier when hit straight on, perpendicular to the surface.
  • Syntax: Float
FS2 Open, 24.0:

$Damage Multiplier over Lifetime Curve:

  • Specifies the curve to use for changing the weapon's damage over time.
  • The life of the weapon (0-1) is X, the damage multiplier is Y.
  • Syntax: String, the name of the curve from Curves.tbl

$Damage Type:

FS2 Open 3.6.10:

Defines the damage type that this weapon uses. All armor effects are applied after shield and have no function against shockwave or subsystem damage.

REQUIRES: armor.tbl

  • Syntax: String, name of the damage type ( as defined by $Damage Type )

$Arm time:

FS2 Open 3.6.10:
  • Defines the time after the launch that is required before the weapon comes hot
  • If the time has not been reached when the weapon detonates the Dinky explosion is used
  • Syntax: Float, seconds


$Arm distance:

FS2 Open 3.6.10:
  • Defines the distance from the firing ships that is required before the weapon comes hot
  • If the distance has not been reached when the weapon detonates the Dinky explosion is used
  • Syntax: Float, meters
FS2 Open, 3.6.16:
  • This parameter is also applied to flak weapons. Previous behaviour was to arm weapons after 10 meters of travel.

$Arm radius:

FS2 Open 3.6.10:
  • Defines the distance from the target where the weapon will arm itself
  • Syntax: Float, meters

$Detonation Range:

FS2 Open 3.6.10:
  • Defines the distance from the point in space that the weapon was launched where the weapon will detonate
  • Syntax: Float, meters


$Detonation Radius:

FS2 Open 3.6.10:
  • Defines the distance between the target center point point and the weapon which detonates the weapon.
  • Syntax: Float, meters

$Flak Detonation Accuracy:

FS2 Open, 3.6.16:
  • Normally, flak weapons detonate at a range of 65 to 99 meters from their intended target, depending on the firing ships' weapon subsystem health. This parameter can be used to adjust this behaviour, as it defines the base range used to determine this detonation range. Standard value is 65.
  • Syntax: Float, range in meters

$Flak Targeting Accuracy:

FS2 Open, 3.6.16:
  • Turret-fired flak weapons are normally firing in a cone around the target's predicted position. This parameter can be used to adjust the size of this cones' base radius. Standard is 60 meters.
  • Syntax: Float, radius in meters

$Untargeted Flak Range Penalty:

FS2 Open, 3.6.16:
  • If a flak weapon is fired without a target selected, this parameter defines the range penalty applied to that weapon. Standard is 20 meters, meaning an untargeted flak weapon will detonate after traveling its max range - 20 meters.
  • Syntax: Float, penalty in meters.

$Shockwave damage:

FS2 Open 3.6.10:
  • Override for the damage caused by shockwaves (default is #$Damage:)
  • Syntax: Float, damage
  • Note: adding a shockwave to a weapon doubles its effective damage to the target (i.e. 1x impact, 1x shockwave)

$Shockwave Damage Type:

FS2 Open 3.6.10:
  • REQUIRES ADDITIONAL TABLE. Defines the damage type used for the weapon explosions
  • Syntax: String, name as defined in armor.tbl

$Blast Force:

  • The intensity of the kinetic blast effect when ship is within the outer radius of the explosion. Comes in effect only if inner and outer radius are defined.
  • Syntax: Float, blast effect

$Inner Radius:

  • Radius at which the full explosion damage is done. Marks the line where damage attenuation begins. Damage is reduced by the square of the distance between the inner radius and outer radius. i.e. half way between inner and outer results in 1/4 damage
  • Note: adding an inner and/or outer radius to a weapon doubles its effective damage to the target (i.e. 1x impact, 1x area effect)
  • Syntax: Float, meters

$Outer Radius:

  • Maximum radius at which any damage is done. See $Inner Radius for the attenuation formula.
  • Also defines the size of the shockwave (if shockwave speed is > 0)
  • Note: adding an inner and/or outer radius to a weapon doubles its effective damage to the target (i.e. 1x impact, 1x area effect)
  • Syntax: Float, meters
FS2 Open, 24.0:

$Shockwave Radius Multiplier over Lifetime Curve:

  • Specifies the curve to use for changing the shockwave's radius over time. This will ignore $Shockwave Speed for the purposes of determining the size of the shockwave over time, however $Outer radius / $Shockwave Speed will still be the total time that the shockwave lasts. Even if the multiplier goes beyond 1, the shockwave still cannot hit or damage targets beyond its $Outer radius.
  • The life of the shockwave (0-1) is X, the outer radius multiplier is Y. This will entirely determine how the shockwave grows and shrinks over time.
  • Syntax: String, the name of the curve from Curves.tbl

$Shockwave Speed:

  • Speed shockwave expands at. Zero means no shockwave and that any area-effect damage is applied immediately
  • Syntax: Float, meters per second

$Shockwave rotation:

FS2 Open 3.6.10:
  • Defines how the 3D shockwave is rotated. Random, if left undefined.
  • Syntax: Angle, three values, pitch, bank, heading respectively, in degrees

$Shockwave model:

FS2 Open 3.6.10:
  • Defines the model file (.pof) used as a shockwave for the 3D shockwaves.
  • Syntax: String.pof, model filename


$Shockwave name:

FS2 Open 3.6.10:
  • Defines the name of the animation used for the 2D shockwave
  • Syntax: String, filename


$Shockwave Sound:

FS2 Open, 21.0:

Optional sound to be used for the sound heard when for the shockwave (default is sound 109).

  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


$Dinky shockwave:

FS2 Open 3.6.10:
  • Dinky shockwave are used if the weapon is shot down before arming or if the conditions marked at Arm time and Arm distance are not reached before impact
  • It uses exactly same entries as the standard shockwaves
  • +Shockwave damage:
  • +Shockwave damage type:
  • +Blast Force:
  • +Inner Radius:
  • +Outer Radius:
  • +Shockwave Speed:
  • +Shockwave Rotation:
  • +Shockwave Model:
  • +Shockwave Name:
FS2 Open, 21.0:
  • +Shockwave sound:

$Armor Factor:

  • Multiplier for the damage done to armor
  • Syntax: Float, damage multiplier


$Shield Factor:

  • Multiplier for the damage done to shields
  • Syntax: Float, damage multiplier


$Subsystem Factor:

  • Multiplier for the damage done to subsystems
  • Syntax: Float, damage multiplier


$Lifetime Min:

FS2 Open 3.6.10:
  • Defines the minimum lifetime of the weapon
  • Syntax: Float, seconds


$Lifetime Max:

FS2 Open 3.6.10:
  • Defines the maximum lifetime of the weapon
  • Syntax: Float, seconds


$Lifetime:

  • Time before the standard primaries fizzle out and secondaries self destruct. Multiply this by the speed to get the range. If values are too low (below framerate) then the collision detection and graphic effects may suffer.
  • This field has no effect for the beams apart from weapon range and AI beam targeting with certain beam types
  • Syntax: Float, seconds


$Energy Consumed:

  • The amount of energy each bolt drains firing ship. Has no effect on turreted weapons.
  • Syntax: Float


$Cargo Size:

  • Cargo size, is not used with non-ballistic primaries.
  • Amount of missiles available = Bank capacity / Cargo Size.
  • Syntax: Float

$Autoaim FOV:

FS2 Open, 23.0:

This option is exclusive to primaries.

  • Defines if the weapon will have auto-aim and what the FOV of the auto-aim is.
  • Syntax: Float

$Homing:

This option is exclusive to secondaries.

FS2 Open, 21.2: This option may now be applied to primaries. They may only use heat seeking. For optimal results the "no homing speed ramp" flag may be used.

Defines if the bolts/missiles in question is homing

If set to NO, then following fields are not required in the table.

  • Syntax: Boolean, yes or no

+Type:

Defines the homing method

  • Syntax: String, ASPECT or HEAT
FS2 Open 3.6.10: An additional option, JAVELIN, has been added. This behaves like an aspect missile but automatically only locks onto the engines of a target, and only if the engines are in sight.


+Turn Time:

Determines how quickly the missile can turn. Ostensibly the number of seconds it takes the missile to do a 360 degree circle at full turn speed, but for complicated reasons this is only true if AI respect tabled turn time and rotdamp is enabled.

    • Syntax: Float, seconds

+Turning Acceleration Time:

FS2 Open, 21.0:

Determines how quickly the missile reaches its maximum turn speed.

FS2 Open, 24.0:

+Turn Rate Multiplier over Lifetime Curve:

  • Specifies the curve to use for changing the weapon's turn rate over time.
  • The life of the weapon (0-1) is X, the turn rate multiplier is Y.
  • Syntax: String, the name of the curve from Curves.tbl

+View Cone:

Heat-seeking missiles only

This is the width of the weapon's viewing cone, given in degrees. Objects outside this cone are effectively invisible to the missile. The value / 2 gives the angle from the missile's centerline to the edge of the viewing cone.

  • Syntax: Float, degrees
FS2 Open 3.6.10: Has been enabled also to aspect seekers as an option. They will continue to home on targets outside their view cone, but will take a continuous lifetime penalty every second their target is outside this cone.

+Min Lock Time:

For aspect/javelin missiles only

The minimum number of seconds to gain a target lock.

  • Syntax: Float, seconds

+Lock Pixels/Sec:

For aspect/javelin missiles only The number of pixels the aspect triangle moves per second while attempting lock-on.

  • Syntax: Integer, pixels per second


+Catch-up Pixels/Sec:

For aspect/javelin missiles only

The number of pixels moved per second while attempting to catch up to the target.

  • Syntax: Integer, pixels per second


+Catch-up Penalty:

For aspect/javelin missiles only

Extra pixels to move after catching up. (Needs verification )

    • Syntax: Integer, pixels


+Seeker Strength:

FS2 Open 3.6.10:

Defines the seeking ability of the homing system. Default of heat seekers is 3.0 and for aspect seekers 2.0. Spoofing chance is defined as cm type effectiveness/seeker strength (missile must be within the countermeasures +Effective Radius:

  • Syntax: Float, seeker strength

+Lock FOV:

FS2 Open, 24.0:

Defines the width of the cone within which the missile is capable of achieving a lock, in degrees. Only applies to aspect seekers.

  • Syntax: Float, default (approximately): 63.57666

+Target Lead Scaler:

FS2 Open, 3.6.12:

Defines the type of pursuit course the missile tries to obtain.

  • Values < 0 give lag pursuit, values ~ 0 give pure pursuit, values > 0 give lead pursuit.
  • Syntax: Float, default for heat seekers: 0, default for aspect or javelin seekers: 1.

+Target Lock Restriction:

FS2 Open, 21.0:

Defines if the missile can lock onto ships besides the current target

  • Syntax: String, name of the behavior, default is current target only;.
  • Current target only As normal, can only acquire locks on the targeted ship
  • Any target Missile will lock on any valid target. Missile locking is still disabled in certain cases, such as when a friendly is the player's target
  • Current target, any subsystem Targeting is restricted to the current ship, but will pick turrets and subsystems on that ship.

+Independent Seekers:

FS2 Open, 21.0:

Defines the ability for a missile to target multiple objects at once.

  • Syntax: Boolean, yes or no, default is no.

+Target Lock Objecttypes:

FS2 Open, 22.0:

Defines what type of object can be locked on with this weapon

  • Syntax: String, name of the object type, default is ships
  • ships Will target only ships
  • bombs Will target bombs and targetable missiles

+Trigger Hold:

FS2 Open, 21.0:

Defines the ability to hold the trigger to lock and release to fire.

  • Syntax: Boolean, yes or no, default is no.

+Reset On Launch:

FS2 Open, 21.0:

Defines the ability for locks to reset upon missiles being fired.

  • Syntax: Boolean, yes or no, default is no.

+Max Seekers Per Target:

FS2 Open, 21.0:

Defines the maximum number of seekers that can target a single object.

  • Syntax: Integer, number of seekers.

+Max Active Seekers:

FS2 Open, 21.0:

Defines the maximum number of total seekers for the weapon to have.

  • Syntax: Integer, number of seekers.

+Ship Types:

FS2 Open, 21.0:

Defines the ship types that this missile can target. In order for a ship to be targetable it must be able to match one of the listed types, if some of the below lists are also specified, it must match into those as well.

  • Syntax: ("String" "String"), ship types.

+Ship Classes:

FS2 Open, 21.0:

Defines the ship classes that this missile can target. In order for a ship to be targetable it must be able to match one of the listed classes, if some of the above/below lists are also specified, it must match into those as well.

  • Syntax: ("String" "String"), ship classes.

+Species:

FS2 Open, 21.0:

Defines the species whose ships this missile can target. In order for a ship to be targetable it must be able to match one of the listed Species, if some of the above/below lists are also specified, it must match into those as well.

  • Syntax: ("String" "String"), species.

+IFFs:

FS2 Open, 21.0:

Defines the IFF's whose ships this missile can target. In order for a ship to be targetable it must be able to match one of the listed IFFs, if some of the above lists are also specified, it must match into those as well.

  • Syntax: ("String" "String"), IFFs.

$Homing Auto-Target Method:

FS2 Open, 21.4:
  • If this weapon needs to acquire a target on its own, such as a heatseeker losing its target or having the "untargeted heatseeker" flag, this determines how it should do so. Options are:
  • CLOSEST, the weapon will acquire the nearest target that it is able.
  • RANDOM, the weapon will acquire a random target from those available.

$Swarm:

  • The number of missiles to fire per volley if it's a swarm missile
  • Can be issued to Standard primaries also. Causes single part turrets to malfunction but causes multi part turrets to fire only on their barrel line. Can be used for 'burst fire weapons'. Does not work with player weapons.
  • Is incompatible with "Corkscrew" option.
  • Swarm will negatively affect the missile's ability to hit its target and will not lead its target even with Target Lead Scaler defined unless $Swarmers Lead Targets is enabled.
  • Syntax: Integer, number of shots in a swarm
FS2 Open 3.6.10:
  • +SwarmWait:
    • Defines the time between weapons fired in a swarm
    • Syntax: Float, seconds
      • Default: 0.150)

$Acceleration Time:

FS2 Open, 3.7.2:
  • Defines how long it takes for a secondary weapon to attain full speed. Takes precedence over $Free Flight Time (see below) in terms of the weapon's velocity, and affects both locked-on and dumbfired secondaries.
  • Syntax: Float, seconds
    • Default: 0.0

$Velocity Inherit:

FS2 Open, 3.7.2:

$Free Flight Time:

FS2 Open 3.6.10:
  • Defines the free flight time of homing weapons. During this time weapon flies at 1/4 of its velocity + firing ships velocity in a straight line.
  • Syntax: Float, seconds
    • Default: 0.25

Note: due to dumbfires never changing their speed, using this on a dumbfire missile will have it stuck at freeflight speed even after the end of the freeflight time.

$Free Flight Speed:

FS2 Open, 3.6.14:
  • Defines the speed that the weapon will be traveling at during the free flight segment (see above).
  • Syntax: Float, Multiplier for the actual speed, minimum 0.01.
    • Default: 0.25
Note: This feature was never implemented correctly and was removed in r8867. FSO parses but doesn't use the value, and prints a warning in the log. This feature has subsequently been reimplemented, see $Free Flight Speed Factor: below

$Free Flight Speed Factor:

FS2 Open, 21.0:
  • Defines the speed that the weapon will be traveling at during the free flight segment (see above).
  • Syntax: Float, Multiplier for the actual speed, minimum 0.01.
    • Default: 0.25

$Gravity Const:

FS2 Open, 23.0:
  • If the mission has gravity, this is the multiplier applied to acceleration from gravity on the weapon.
  • AI will lead for ballistic trajectories, and this may affect their range as they will not fire unless they can successfully make a ballistic path to their target.
  • Homing weapons are unaffected by gravity no matter what.
  • Syntax: Float
    • Default: 0

$PreLaunchSnd:

FS2 Open, 3.6.14:
  • Defines the one-shot sound effect to play at the beginning of a firing stream. Currently only has an effect on primary weapons.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl
    • Default: No Sound

+PreLaunchSnd Min Interval:

FS2 Open, 3.6.14:
  • Defines Minimum interval between when the player stops firing and the next time the pre-launch sound can play, as a limiter in case the player is pumping the trigger.
  • Syntax: Integer, Minimum delay in milliseconds between the end of the previous firing sequence and the next time the pre-launch sound effect will be played.
    • Default: 0 (play pre-launch sound at the beginning of every firing sequence, if present)

$LaunchSnd:

  • Corresponding sound effect when the weapon is launched.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


$CockpitLaunchSnd:

FS2 Open, 23.2:
  • Corresponding sound effect when the weapon is launched from the player's ship, allowing use of 2d stereo sounds.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


$ImpactSnd:

  • Sound the weapon makes when it hits a hull.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


$Disarmed ImpactSnd:

FS2 Open 3.6.10:
  • Sound the weapon makes when it hits a hull before being armed.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


$FlyBySnd:

  • The sound this weapon makes if it narrowly misses you. -1 is no sound.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl, usually -1


FS2 Open, 21.4:

$AmbientSnd:

  • The sound this weapon passively emits in 3d space. The weapon version of EngineSnd for ships.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


FS2 Open, 24.0:

$StartFiringSnd:

  • The sound that plays when the user presses the trigger down while this weapon is equipped.
  • Does not work for turrets.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


FS2 Open, 24.0:

$LoopFiringSnd:

  • The sound that plays while the user is firing the weapon and is holding the trigger down.
  • Does not work for turrets.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


FS2 Open, 24.0:

$EndFiringSnd:

  • The sound that plays when the user releases the trigger while this weapon is equipped.
  • Does not work for turrets.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


$TrackingSnd

FS2 Open, 3.6.16:
  • The looping sound played when the player is tracking a target with this weapon.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


$LockedSnd

FS2 Open, 3.6.16:
  • The sound played when the player has locked onto their target with this weapon.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


$InFlightSnd

FS2 Open, 3.6.16:
  • The looping sound played while the player has this weapon currently flying.
  • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl
  • +Inflight sound type
    • Specifies when the in flight sound is played.
    • The value can be one of the following values which are matched case-insensitively:
      • 'TARGETED': The sound is played when the missile tracks a target
      • 'UNTARGETED': The sound is played when the missile is currently not tracking a target
      • 'ALWAYS': The sound is played always


$Model:

FS2 Open 3.6.10:
  • Defines used model file. Included for compatibility with countermeasures as they have been merged with weapons in the code.
  • Syntax: String.pof, model filename


$Rearm Rate:

  • Defines the frequency that weapons are loaded to the ship
  • Syntax: Float, How many times per second the weapons are loaded.
    • Example: 2.0 will reload every half second. 0.1 will load every ten seconds.

$Rearm Ammo Increment:

FS2 Open, 3.8:
  • Defines how many missiles or how much ballistic ammo is loaded per load sound.
  • Syntax: Integer, how many bullets or missiles are loaded. Default 4 for missiles, 100 for ballistic primaries.


+Weapon Range:

  • If set, the AI will use this value or the result of weapon lifetime * velocity as the weapon's effective range, whichever is lower. This also affects the Lead Indicator
  • Syntax: Float, meters

+Weapon Min Range:

FS2 Open 3.6.10:
  • Defines the minimum range to the target where the weapons under AI will still fire.
  • Implemented before FS_Open 3.6.5
  • Syntax: Float, meters

+Weapon Optimum Range:

FS2 Open, 21.4:
  • AI fightercraft will attempt to close the distance to their target while they are outside of this range and using this weapon as their currently equipped primary.
  • Syntax: Float, meters

$Pierce Objects:

FS2 Open, 21.2:
  • Causes the weapon to penetrate the objects impacted and not be destroyed.
  • Syntax: Boolean

+Spawn Children On Pierce:

  • Will spawn the weapons children on each hit, not just when it eventually gets destroyed through lifetime
  • Syntax: Boolean

$Flags:

  • See below
  • Syntax: ( "String" "String" ), names of the flags assigned to the weapon
    • Example: ( "Player allowed" "in tech database" )


FS2 Open 3.6.10:
  • Can be followed by +override option in order to reset the weapon flags before parsing in the new ones
  • Using this option will erase all homing-related flags as well as swarm, variable lead, trail, TAG, and transparent settings in addition to the listed flags. All these should be set again - if they are required - when this option is used.
    • Syntax: +override


$Trail:

  • This is used if you want your weapon to have a trail. Trail is often used only with secondaries though it works with standard primaries as well.
  • +Start Width:
    • How wide the head of the trail is.
    • Syntax: Float, meters
  • +End Width:
    • How wide the tail of the trail is.
    • Syntax: Float, meters
  • +Start Alpha:
    • The opacity of the trail head.
    • Syntax: Float, value between 0 and 1
  • +End Alpha:
    • The opacity of the trail tail.
    • Syntax: Float, value between 0 and 1
FS2 Open, 21.2:
  • +Alpha Decay Exponent:
    • Causes the trail to fade away non-linearly. The 0 -> 1 progress through the trail's life is taken to the power of the provided number when being used for trail alpha purposes
    • Larger numbers above 1 cause the trail to fade away very slowly at first, and then suddenly at the end. Smaller numbers below 1 cause it to fade away quickly at first, and then slow down for most of its life.
    • Syntax: Float, positive
  • +Max Life:
    • How long the trail lasts.
    • Syntax: Float, seconds
  • FS2 Open, 21.0:
    • +Spread:
      • Causes the trail points to diffuse and drift apart at this speed over time.
      • Syntax: Float, meters per second
  • +Bitmap:
    • The graphic file to use for the trail.
    • Syntax: String, filename
  • FS2 Open, 21.2:
    • +Bitmap Stretch:
      • Multiplies how far the bitmap is stretched over each trail segment.
      • Syntax: Float
    FS2 Open, 3.6.12:
    • +Faded Out Sections:
      • Defines the number of the trail sections (counting from the leading edge) which are gradually faded out.
      • Syntax: Integer, number of trail sections

    $Icon:

    • Loadout icon used in the weapons selection screen.
    • Syntax: String, filename


    $Anim:

    • Green grid animation used on the weapons screen.
    • Syntax: String, filename


    $Collide Ship:

    FS2 Open 3.6.10:


    $Collide Weapon:

    FS2 Open 3.6.10:

    $Impact Effect:

    FS2 Open, 3.8:
    • Specifies the particle effect which will be used for impacts of this weapon.
    • Syntax: String, the particle effect name
    • If this option is specified then $Impact Explosion and $Impact Explosion Radius are not valid options!

    $Impact Explosion:

    • Impact explosion used. Must be defined in weapon_expl.tbl,
    • Syntax: String, filename or none


    $Impact Explosion Radius:

    • Radius of the defined impact explosion.
    • Syntax: Float, meters, default 1.0


    $Shield Impact Explosion Radius:

    FS2 Open, 3.7.4:

    $Dinky Impact Effect:

    FS2 Open, 3.8:
    • Specifies the particle effect which will be used for Dinky (not armed) explosions of this weapon.
    • Syntax: String, the particle effect name
    • If this option is specified then $Dinky Impact Explosion and $Dinky Impact Explosion Radius are not valid options!


    $Dinky Impact Explosion:

    FS2 Open 3.6.10:
    • Same as Impact Explosion but for Dinky (not armed) explosions
    • Syntax: String, filename or none


    $Dinky Impact Explosion Radius:

    FS2 Open 3.6.10:
    • Same as Impact Explosion Radius but for Dinky explosions
    • Syntax: Float, meters

    $Piercing Impact Effect:

    FS2 Open, 3.8:
    • Specifies the particle effect which will be used for piercing impacts.
    • Syntax: String, the particle effect name
    • If this option is specified then piercing impact options below are not valid!

    $Piercing Impact Explosion:

    FS2 Open, 3.6.12:
    • Defines the effect used for events when weapon pierces the target
    • Syntax: String, filename or none


    $Piercing Impact Radius:

    FS2 Open, 3.6.12:
    • Defines the base radius of the effect used for piercing weapon impacts
    • Syntax: Float


    $Piercing Impact Velocity:

    FS2 Open, 3.6.12:
    • Defines the base velocity for the particles piercing the target
    • Syntax: Float


    $Piercing Impact Splash Velocity:

    FS2 Open, 3.6.12:
    • Defines the base velocity for the particles splashing from the target (secondary piercing effects
    • Negative value causes the second batch or particles to splash to opposite direction
    • Syntax: Float


    $Piercing Impact Variance:

    FS2 Open, 3.6.12:
    • Defines the variance added to the particles
    • Values near 0 cause very little variance and values close to 1 cause extreme dispersal.
    • Syntax: Float


    $Piercing Impact Life:

    FS2 Open, 3.6.12:
    • Defines the lifetime of the effect for single frame effects
    • For multiple frame effects the lifetime is the lifetime of the animation used
    • Syntax: Float


    $Piercing Impact Particles:

    FS2 Open, 3.6.12:
    • Defines the number of particles released per impact
    • Syntax: Integer


    $Piercing Impact Draw Modifier:

    FS2 Open, 3.6.12:
    • Defines the multiplier applied to the ships piercing effect limit percentage
    • Syntax: Float
  • Option removed in 3.6.12. Use armor.tbl to finetune piercing effects.
  • $Conditional Impact:

    FS2 Open, 24.2:
    • Defines an impact effect that will play for this weapon only under certain conditions.
    • May be defined any number of times.
    • Currently only works for targets that are ships or weapons. Impacts against weapons are not considered to have a hit angle.
    • All conditional impacts whose requirements are met will play.
    • Non-conditional impact effects, the ones defined above, will only play if no conditional impacts' requirements are met.
    • +Armor Type:
      • Name of armor type the target must have in order for this impact to play. Shields can have their own armor types. (Subsystems can as well, but at present this system will not detect that.)
      • Syntax: 'String', name of armor type in armor.tbl
    • +Min Health Threshold:
      • Fraction of target health below which impact will not play. Health is calculated separately for individual shield quadrants and hull.
      • Optional; defaults to 0.0.
      • Syntax: 'Float', fraction of health from 0.0 to 1.0
    • +Max Health Threshold:
      • Fraction of target health above which impact will not play. Health is calculated separately for individual shield quadrants and hull.
      • Optional; defaults to 1.0.
      • Syntax: 'Float', fraction of health from 0.0 to 1.0
    • +Min Angle Threshold:
      • Hit angle -- that is, the angle measuring how 'straight on' you're hitting the target surface -- below which impact will not play.
      • Optional; defaults to 0.0.
      • Syntax: 'Float', degrees
    • +Max Angle Threshold:
      • Hit angle above which impact will not play.
      • Optional; defaults to 180.0.
      • Syntax: 'Float', degrees
    • +Dinky:
      • Whether to play if and only if the weapon is not armed. If false, the impact will not play if the weapon is not armed.
      • Optional; defaults to false.
      • Syntax: 'Boolean'
    • +Effect Name:
      • Name of particle effect that will play when conditions are met.
      • Syntax: 'String', name of effect

    $Inflight Effect:

    FS2 Open, 3.8:
    • Sets the inflight particle effect which is used when the laser is active. This is only used by laser weapons.
    • Syntax: String, the particle effect name

    $Freeflight Effect:

    FS2 Open, 3.8:
    • Sets the particle effect which is used when the missile is in the free flight phase. See $Free Flight Time for more information.
    • Syntax: String, the particle effect name
    • This option is only valid for missile weapons

    $Ignition Effect:

    FS2 Open, 3.8:
    • Sets the ignition particle effect which is used when the missile is transitioning from free flight to homed or unhomed flight.
    • Syntax: String, the particle effect name
    • This option is only valid for missile weapons

    $Homed Flight Effect:

    FS2 Open, 3.8:
    • Sets the ignition particle effect which is used when the missile is in homed flight mode.
    • Syntax: String, the particle effect name
    • This option is only valid for missile weapons

    $Unhomed Flight Effect:

    FS2 Open, 3.8:
    • Sets the ignition particle effect which is used when the missile is in unhomed flight mode.
    • Syntax: String, the particle effect name
    • This option is only valid for missile weapons

    $Muzzleflash:

    • Normally only with flak cannons.
    • Defines the muzzle flash the weapon uses
    • Syntax: String, muzzleflash name, as defined in mflash.tbl

    $Muzzle Effect:

    • Defines the particle effect used when the weapon fires. For muzzle effects, +Parent Velocity Factor uses the velocity of the firing ship, not the weapon.
    • Syntax: String, the particle effect name

    $EMP Intensity:

    • How deeply an EMP effect scrambles your electronics
      • Needs the EMP flag set to have any effect
    • Basically a percentage, a value of 250 results in a 25% chance of something getting scrambled each frame.
    • Maximum value of 500.0
      • Syntax: Float (defaults to 300.0)

    $EMP Time:

    • Duration of the EMP effect
      • Needs the EMP flag set to have any effect
      • Syntax: Float, seconds (defaults to 10.0)

    $Recoil Modifier:

    FS2 Open, 3.7.4:
    • Multiplies the recoil force of a weapon by this value, use a value greater than 1.0 to increase the force, use a value between 1.0 and 0.0 to decrease.
      • Syntax: Float (defaults to 1.0)
    Note: The "apply recoil" weapon flag must be set for this to be valid. If the flag is not set, FSO will throw a warning and automatically set it at runtime.

    $Leech Weapon:

      • The amount of weapon energy to drain with each hit (a flat value, not a percentage)
      • Needs the Esuck flag set to have any effect
      • Syntax: Float (defaults to 10.0)

    $Leech Afterburner:

      • The amount of afterburner fuel to drain with each hit (a flat value, not a percentage)
      • Needs the Esuck flag set to have any effect
      • Syntax: Float (defaults to 10.0)

    $Vampiric Healing Factor:

    FS2 Open, 23.0:
    • Multiplier for how much the shooter is healed after dealing hull damage (1.0 means healing done is equal to damage dealt)
      • Needs the Vampiric flag set to have any effect
    • Must be a positive number higher than 0.0
      • Syntax: Float (defaults to 1.0)

    $Corkscrew:

    FS2 Open 3.6.10:
    • Allow corkscrew parameters to be defined
    • +Num Fired:
      • Defines the number of weapons fired in sequence. Same as the standard swarm entry but for corkscrew missiles
      • Syntax: Integer, number of missiles
    • +Radius:
      • Defines the radius used in the corkscrew motion
      • Syntax: Float, meters
    • +Fire Delay:
      • Defines the delay between missile firings
      • Syntax: Integer, milliseconds
    • +Counter rotate:
      • Defines if every other missile rotates to a different direction (clockwise / anticlockwise)
      • Syntax: Boolean, 0 or 1, no or yes
    • +Twist:
      • Defines the speed of rotation movement on the radius of corkscrew motion.
      • Syntax: Float, radians per second


    $Electronics:

    FS2 Open 3.6.10:
    • Defines the weapons effect against electronics. Requires "electronics" flag. +New Style: and +Old Style: options are mutually exclusive.
    • +New Style:
      • Defines that the electronics use the new style which enables more options.
    • +Old Style:
      • Defines that the electronics use the old style. The old style was the way the D-Missile worked in Descent: FreeSpace.
    FS2 Open, 3.7.2:
    • +Area Of Effect
      • If specified, allows the electronics effect to apply to every ship hit by this weapon's blast or shockwave (the "Electronics" flag isn't necessary with this option).
    FS2 Open 3.6.10:
    • +Intensity:
      • May only be used with +New Style: electronics. Has been deprecated.
      • Syntax: Float
    • +Lifetime:
      • Syntax: Integer, milliseconds
    • +Engine Multiplier:
      • May only be used with +New Style: electronics. Defines how much longer the disruption effect lasts for engine subsystems.
      • Syntax: Float
    • +Weapon Multiplier:
      • May only be used with +New Style: electronics. Defines how much longer the disruption effect lasts for non-beam turrets.
      • Syntax: Float
    • +Beam Turret Multiplier:
      • May only be used with +New Style: electronics. Defines how much longer the disruption effect lasts for beam turrets.
      • Syntax: Float
    • +Sensors Multiplier:
      • May only be used with +New Style: electronics. Defines how much longer the disruption effect lasts for sensor subsystems.
      • Syntax: Float
    • +Randomness Time:
      • Defines the randomness of duration target suffers from the electronics hit. A random number between 0 and this time will be added or subtracted from the disruption time.
      • Syntax: Integer, milliseconds
    • Without any electronics parameters, a weapon with the "electronics" flag will default to the Old Style mode with a lifetime of 6000 milliseconds and a randomness of 4000 milliseconds. Thus any ship that gets hit can get disrupted for anywhere between 2 to 10 seconds.

    $Spawn Angle:

    FS2 Open 3.6.10:
    • Defines the cone (with an angle) where the spawned weapons appear. Value gives the angle from the missile's centerline. The maximum possible angle between any two child weapons would be Value*2.
    • Like all spawn options, Spawn Angle should be defined as many times as the carrier weapon has child weapons defined for it (up to 5), before moving to the next option.
    • Syntax: Float, degrees, default is 180

    $Spawn Minimum Angle:

    FS2 Open, 21.0:
    • Defines an inner angle for the cone within which the spawned weapons appear. Value gives the angle from the missile's centerline.
    • Like all spawn options, Spawn Minimum Angle should be defined as many times as the carrier weapon has child weapons defined for it (up to 5), before moving to the next option.
    • Syntax: Float, degrees, default is 0

    $Spawn Interval:

    FS2 Open, 21.0:
    • Causes the associated spawn event to happen continuously at this time interval. Enabling this will prevent the spawn event from triggering on detonation.
    • NOTE: Having very large numbers of total children (low interval and/or high count) can cause issues for multiplayer, and you will be warned in multiplayer if the total count is greater then 300.
    • Like all spawn options, Spawn Interval (and its associated Delay) should be defined as many times as the carrier weapon has child weapons defined for it (up to 5), before moving to the next option.
    • Syntax: Float, seconds, minimum is 0.1, You will not be warned for a negative spawn interval. The value will be ignored and the spawn will be treated as a regular detonate spawn if negative. This is on purpose so that continuous/detonate spawns can be set regardless of the order in which they are defined in the flags.

    +Delay:

    FS2 Open, 21.0:
    • Continuous spawn will not begin until this has elapsed.
    • Syntax: Float, seconds, default is 0

    $Spawn Effect:

    FS2 Open, 21.0:
    • Specifies the particle effect which will be used for continuous spawns of this weapon. Will not be used for detonation.
    • Like all spawn options, Spawn Effect should be defined as many times as the carrier weapon has child weapons defined for it (up to 5), before moving to the next option.
    • Syntax: String, the particle effect name

    $Local SSM:

    FS2 Open 3.6.10:
    • Defines the local SSM (Subspace Missile). In effect missile moves via subspace to a position close to the target and starts homing.
    • Weapon must be aspect seeking missile and must have local ssm flag.
    • +Warpout Delay:
      • Defines the time between the missile launch and the subspace jump.
      • Syntax: Integer, milliseconds
    • +Warpin Delay:
      • Defines the time missile stays in subspace before exiting.
      • Syntax: Integer, milliseconds
    • +Stage 5 Velocity:
      • Defines the velocity of the missile after the subspace jump.
      • Syntax: Float, meters per second
    • +Warpin Radius:
      • Defines how far from the SSM will appear from the outer radius of the target.
      • Syntax: Float, meters
    • +Lock Range:
      • Defines the maximum range where SSM can achieve target lock
      • Syntax: Float, meters


    $Countermeasure:

    • Defines the countermeasure effectiveness, radius, etc
    Note:
    • Spoofing chance is defined as cm type effectiveness/seeker strength (missile must be within the countermeasures +Effective Radius:).
    • All countermeasures in the mission perform tests to spoof missiles for two frames after any countermeasure is created in the mission. No, this doesn't seem to make much sense.
    FS2 Open, 19.0: The global frame counter can be bypassed by using pulse interval.
    • Provisional; Countermeasures are only given one chance to spoof any individual missile. This makes tuning seeker strength/effectiveness meaningful.
      • Previously some record of which countermeasures had been seen by each missile was kept, but it broke when multiple countermeasures were involved. A good chance of breaking with two countermeasures, and a guaranteed chance of breaking with three or more. This reduced the impact of the seeker strength/effectiveness ratio, but was partly cancelled out by the 2 frames thing.


    FS2 Open 3.6.10:

    +Heat Effectiveness:

    • Defines the countermeasures effectiveness against heat seeking missiles
    • Syntax: Float, cm effectiveness
      • Default: 1.0

    +Aspect Effectiveness:

    • Defines the countermeasures effectiveness against aspect seeking missiles
    • Syntax: Float, cm effectiveness
    • Default: 1.0

    +Effective Radius:

    • Defines the countermeasures effective radius
    • Syntax: Float, meters
      • Default: 300.0


    FS2 Open, 3.7.4:

    +Missile Detonation Radius:

    • Defines the radius within which a missile homing on this countermeasure will trigger a detonation (see +Single Missile Kill:)
    • Syntax: Float, meters
      • Default: 40.0
    Note: only affects missiles homing on countermeasures, i.e. heat or aspect with "pulls aspect seekers" flag

    +Single Missile Kill:

    • Defines if countermeasures will detonate only the missile homing on this countermeasure, or every missile within +Missile Detonation Radius:
    • Syntax: Boolean
      • Default: false
    Note: only affects missiles homing on countermeasures, i.e. heat or aspect with "pulls aspect seekers" flag


    FS2 Open, 19.0:

    +Pulse Interval:

    • Defines how much time passes between each pulse of this countermeasure.
    • Syntax: Float, milliseconds
      • Default: 0
    Note: any value less than or equal to 0 means the countermeasure doesn't pulse, and uses the global 2-frame counter after any countermeasure is fired.


    FS2 Open, 21.2:

    +Use Fire Wait:

    • Makes the countermeasure fire wait use what is specified in the $Fire Wait: section of the weapon.
    • Default countermeasure fire wait is 333 milliseconds, regardless of that value was set in $Fire Wait:.

    +Failure Launch Delay Multiplier for AI:

    • After a failed countermeasure launch the game waits a certain time interval before attempting another launch.
    • Previously, the amount of time was calculated as ('fire wait' + 2000 * 'countermeasure firing chance').
    • If set to a non negative number, this value will be multiplied to the fire wait value to determine the amount of time before another countermeasure can be attempted.
    • Syntax: Float
      • Default: -1
    Note: any value less than 0 means the default formula will be used.

    +Successful Launch Delay Multiplier for AI:

    • After a successful countermeasure launch the game waits a certain time interval before attempting another launch.
    • This value is multiplied to the fire wait value to determine the amount of time before another countermeasure can be attempted.
    • Syntax: Float
      • Default: 2
    Note: any value less than 0 means the default value will be used.

    $BeamInfo:

    • +Type:
    • Defines the type of beam in question. This can be a number or, as of 21.4, a named type. Options are:
      • 0 or Direct fire, a standard non-slashing type beam that fires directly at a random point on the target's hull
      • 1 or Slashing, a slashing type beam, that slashes between opposing corners of the ship
      • 2 or Targeting, a targeting beam that is used to trigger SSMs.
      • 3 or Antifighter, a beam type that fires pulses in anti-fighter role and acts like type 0 beam in other roles.
      • 4 or Normal Fire, a beam that is restricted to what is directly in front of it, along turrets firepoints normal.
    FS2 Open, 21.4:
      • 5 or Omni, a highly flexible kind of beam with many options for its exact behavior. See $Type 5 Beam Options below.
  • +Life:
    • How long it lasts once the beam is actually firing.
    • Syntax: Float, seconds
  • +Warmup:
    • Warmup time
    • Syntax: Integer, milliseconds
  • +Warmdown:
    • Warmdown time
    • Syntax: Integer, milliseconds
  • +Radius:
    • Muzzle glow radius
    • Syntax: Float, meters
  • +PCount:
    • Particles spewed every interval. ??
    • Syntax: Integer
  • +PRadius:
    • Particle radius
    • Syntax: Float, meters
  • +PAngle:
    • Defines the random "cone" where the particles are generated
    • Syntax: Float, angle of the cone
  • +PAni:
    • Animation used to represent the particles
    • Syntax: String, filename
  • +Miss Factor:
    • The higher the numbers, the more likely that this beam will miss. One value for every difficulty level
    • Syntax: Miss Factor, five floats, very easy, easy, moderate, hard, insane, respectively.
      • Example: 0.5 0.975 1.35 1.875 2.5
  • FS2 Open, 3.6.14:
    • IFF specific miss factors
      • Identical to the preceding entry but IFF specific. Replace the <IFF> with the name of the IFF from iff_defs.tbl
      • Syntax: +<IFF> Miss Factor:, five floats, very easy, easy, moderate, hard, insane, respectively.
        • Example: 0.5 0.975 1.35 1.875 2.5
  • +BeamSound:
    • Corresponding looping sound effect when the beam is firing.
    • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl
  • +WarmupSound:
    • Corresponding sound effect when the beam is beam warmed up.
    • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl
  • +WarmdownSound:
    • Corresponding sound effect when the beam is warming down.
    • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl
  • +Muzzleglow:
    • Defines the bitmap used to create the muzzle glow
    • Syntax: String, filename
  • FS2 Open, 3.7.2:
    • +Directional Glow:
      • Defines the length to stretch the muzzleglow along the beam.
      • Syntax: Float, length in meters, the muzzleglow is rendered along (in the same plane) as the beam instead of perpendicular to the camera.
    FS2 Open, 24.0:
    • +Opacity over Lifetime Curve:
      • Specifies the curve to use for changing the beam's opacity over time.
      • The life of the beam while firing (0-1) is X, the opacity is Y, where 0 is invisible and 1 is typical opacity.
      • Syntax: String, the name of the curve from Curves.tbl
  • +Shots:
    • Defines into how may invidual shots the type 3 (AAA) beams are divided. Note total firing is the same as the +Life:
    • ALSO AFFECTS FIGHTER BEAMS. If greater than 0, fires from up to that many fire points at a time before cycling. 1 mimics the behavior of weapons with the "cycle" flag, 0 fires from all available fire points like normal weapons.
    • Syntax: Integer, Default: 1
  • +ShrinkFactor:
    • How much of the beam's life is remaining before it starts to shrink in width. (0.1 means 10% life left)
    • Syntax: Float, value from 0 to 1
  • +ShrinkPct:
    • The beam's width factor is reduced by this amount every second. For example, a value of 0.25 means the beam is at 75% width after 1 second, 50% after 2, 25% after 3, and by 4 seconds it reaches the minimum size of 10%.
    • Syntax: Float, a positive value
  • FS2 Open, 21.0:
    • +GrowFactor:
      • How much of the beam's life is remaining before it starts to grow in width. (1.0 means as soon as the beam fires)
      • Syntax: Float, value from 0 to 1
    • +GrowPct:
      • The beam's width factor is increased by this amount every second. For example, a value of 0.25 means a beam starting at 0% is at 25% width after 1 second, 50% after 2, 75% after 3, and by 4 seconds it reaches the maximum size of 100%.
      • Syntax: Float, a positive value
    • +Initial Width Factor:
      • What factor of the beam's maximum width it starts with.
      • Syntax: Float, value from 0 to 1
    FS2 Open 3.6.10:
    • +Range:
      • Defines the maximum range where the beam still has any effect.
      • Syntax: Float, meters
    • +Attenuation:
      • Defines the point where the damage caused by the beam starts to attenuate. At maximum range damage is zero.
      • Syntax: Float, from 0 - firing point to 1 - no effect
        • Default: 1
    FS2 Open, 3.6.12:
    • +BeamWidth:
      • Defines the width of the beam for collision test purposes instead of using widest beam section.
      • Syntax: Float'
    FS2 Open, 22.2:
    • +Beam Light Flickers:
    • Controls if the dynamic flickering of the beam width is applied to the light cast by the beam as well
    • Syntax: boolean
    • Default value: True
    • +Beam Width Multiplies Light Radius:
    • Controls if the light radius of a beam is multiplied by the beam width.
    • Syntax: boolean
    • Default value: True
    FS2 Open, 3.8:
    • +Beam Flash Particle Effect:
      • Specifies the beam flash particle effect.
      • Syntax: String, particle effect name
      • If this is specified then +Beam Flash Effect and +Beam Flash Radius are not valid options!
    • +Beam Flash Effect:
      • Defines the additional impact flash effect for the beam.
      • Syntax: String, filename
    • +Beam Flash Radius:
      • Defines the radius for the additional impact flash effect.
      • Syntax: Float
    • +Beam Piercing Effect:
      • Defines the beam piercing (bursting flames) effect for the beam.
      • Syntax: String, filename
    • +Beam Piercing Radius:
      • Defines the average radius used for the beam piercing effects.
      • Syntax: Float
    • +Beam Piercing Effect Velocity:
      • Defines the base velocity for the piercing effects
      • Syntax: Float
    • +Beam Piercing Splash Effect Velocity:
      • Defines the base velocity for the secondary piercing effects
      • Negative velocity causes the particles to move to opposite direction
      • Syntax: Float
    • +Beam Piercing Effect Variance:
      • Defines the variances of the particles from the main path
      • Values close to 0 cause minimum variance, higher values cause higher variances
      • Syntax: Float


    FS2 Open, 21.4:
    • $Type 5 Beam Options:
      • Species the unique attributes for type 5 beams. None of these properties will be used if the weapon is not a type 5 beam.
      • Fundamentally, type 5 beams are slashing type beams, where the start and end positions refer to physical positions in space (and not angles from the point of view of the shooter) and have many parameters for choosing their positions, including having them be on top of each other, and thus forgoing standard slashing behavior, and also for having rotations, both during the beam firing and in between firings.
    • +Start Position:
      • Determines how the starting position should be chosen. Options are:
        • RANDOM ON SHIP, Like type 0 direct-fire beams, chooses a random spot on the target's geometry.
        • RANDOM OFF SHIP, Like type 1 slash beams, chooses a random spot just outside of the target's geometry.
        • CENTER, Chooses the center of the target.
    • +Start Position Offset:
      • Displaces the chosen start position in the specified direction and by the specified amount.
        • Whether the x, y, and z directions refer to the shooter's point-of-view, or the target's point-of-view is determined by Orient Offsets to Target below.
        • Whether a value of 1 for any coordinate means the target's radius, or a fixed span from the point-of-view of the shooter is determined by Scale Offsets to Target below.
        • Syntax: Vector, x, y, and z coordinate. Example: "1, -0.2, -0.9"
    • +Start Position Randomness:
      • Further displaces the chosen start position but to a random degree in the specified axes from the number provided to its negative (i.e. a value of 1 will randomly choose between 1 and -1).
        • Whether the x, y, and z directions refer to the shooter's point-of-view, or the target's point-of-view is determined by Orient Offsets to Target below.
        • Whether a value of 1 for any coordinate means the target's radius, or a fixed span from the point-of-view of the shooter is determined by Scale Offsets to Target below.
        • Syntax: Vector, x, y, and z coordinate. Example: "1, 0.2, 1"


    • The following three fields can skipped, and the beam will not traditionally sweep like a slash beam (although it may still rotate).
    • +End Position:
      • Determines how the starting position should be chosen. Options are:
        • RANDOM ON SHIP, Like type 0 direct-fire beams, chooses a random spot on the target's geometry.
        • RANDOM OFF SHIP, Like type 1 slash beams, chooses a random spot just outside of the target's geometry.
        • CENTER, Chooses the center of the target.
        • SAME RANDOM, If the start position was randomly determined, this will cause the end position to inherit that position (it will not inherit offset or randomness, only the randomness from RANDOM ON/OFF SHIP).
    • +End Position Offset:
      • Displaces the chosen end position in the specified direction and by the specified amount.
        • Whether the x, y, and z directions refer to the shooter's point-of-view, or the target's point-of-view is determined by Orient Offsets to Target below.
        • Whether a value of 1 for any coordinate means the target's radius, or a fixed span from the point-of-view of the shooter is determined by Scale Offsets to Target below.
        • Syntax: Vector, x, y, and z coordinate. Example: "1, -0.2, -0.9"
    • +End Position Randomness:
      • Further displaces the chosen end position but to a random degree in the specified axes from the number provided to its negative (i.e. a value of 1 will randomly choose between 1 and -1).
        • Whether the x, y, and z directions refer to the shooter's point-of-view, or the target's point-of-view is determined by Orient Offsets to Target below.
        • Whether a value of 1 for any coordinate means the target's radius, or a fixed span from the point-of-view of the shooter is determined by Scale Offsets to Target below.
        • Syntax: Vector, x, y, and z coordinate. Example: "1, 0.2, 1"
    FS2 Open, 24.2:
    • +Slash position over beam lifetime curve:
      • Curve defining the beam's slash position over its lifetime.
        • X is the beam's lifetime, with 0 being the beginning and 1 the end. Y is slash position, with 0 being the start position and 1 the end position. Values outside of the 0-1 range will work.
        • This is optional.
        • Syntax: String, the name of the curve from Curves.tbl


    • +Orient Offsets to Target:
      • This determines the orientation of the offsets and randomness.
      • If this is set to TRUE then the x, y, and z, directions used refer to the target's x, y, and z coordinates. X being left/right, Y being up/down, Z being front/back. A start offset of 0, 0, 1, and an end offset of 0, 0, -1 would always cause the beam to fire at the target's bow and sweep to its aft, no matter which way the shooter is oriented.
      • If this is set to FALSE then the x, y, and z, directions used refer to the shooter's x, y, and z coordinates. Using the z coordinate with this being false will have little effect. A start offset of 1, 0, 0, and an end offset of -1, 0, 0 would always cause the beam to fire towards the target, but to the shooter's right, and sweep in the direction of the shooter's left, regardless of how the target is oriented.
      • Syntax: Boolean, yes or no, Default: No
    • +Scale Offsets to Target:
      • This determines what a magnitude of 1 on the offsets and randomness mean.
      • If this is set to TRUE then a value of 1 for a coordinate means a position in the chosen direction but at a distance equal to the target's radius. Values greater than 1, will drift further and further from the target entirely, while smaller than 1 will bring it closer to its originally chosen start position.
      • If this is set to FALSE then it is as though it were firing at a target with a 300m radius at a 300m distance. A value of 1 corresponds to 45 degrees, which it will start at regardless of the distance of the target. Values greater than 1 will increase beyond 45 degrees but will never exceed 90 degrees
      • Syntax: Boolean, yes or no, Default: No


    • +Continuous Rotation:
      • This defines the degrees per second that the beam will rotate while it is firing.
      • Syntax: Float, degrees per second
    • +Continuous Rotation Axis:
      • This defines the axis about which the beam will continuously rotate. Options are:
        • START POSITION BEFORE OFFSET, the beam will rotate about the start position before the offset or randomness were applied. A beam which does not slash (end position paramters omitted), but is offset and rotates about this axis will trace out circles, for instance.
        • END POSITION BEFORE OFFSET, as above but for the end position.
        • START POSITION AFTER OFFSET, the beam will rotate about the final start position after offset and randomness have been applied. If this beam slashes (end position paramters specified) it will trace out a spiral.
        • END POSITION BEFORE OFFSET, as above but for the end position.
        • CENTER, the beam will rotate about the center of the target.
    FS2 Open, 24.2:
    • +Rotation over beam lifetime curve:
      • Curve defining the beam's rotational position over its lifetime.
        • X is the beam's lifetime, with 0 being the beginning and 1 the end. Y is rotational position, with 0 being no rotation and 1 being a full 360-degree turn. Values outside of the 0-1 range will work.
        • This is optional.
        • If a rotation curve is defined, "+Continuous Rotation" will do nothing.
        • Syntax: String, the name of the curve from Curves.tbl


    • +Burst Rotation Pattern:
      • Defines a list of rotations, for the final start and end positions to be performed right before firing for each specific shot in a burst (will not rotate the beam while firing). You will not be warned for failing to give this weapon burst capability, because on spawned or subspace strike beams, providing a pattern has the additional effect of spawning multiple copies of this weapon all at once, each one corresponding to another entry in the pattern.
      • For instance, a standard slash with a rotation pattern of (0, 180) will cause the beam weapon to slash back and forth, or in a scissor pattern if the burst is very short and the beams fire at similar times.
      • (0,120,240) will have 3 slashes in a triangular pattern.
      • If a RANDOM ON/OFF SHIP option has been chosen for the start or end positions, the "burst shares random target" flag may be used so all shots in the burst share the same random position.
      • If any values are negative they will instead use a random amount of rotation for that entry.
      • Syntax: List of Floats, degrees. Example: (0, 90, 180, 270)
    • +Burst Rotation Axis:
      • The axis about which to rotate for the burst rotation pattern. Options are:
        • START POSITION BEFORE OFFSET, the beam will be rotated about the start position before the offset or randomness are applied.
        • END POSITION BEFORE OFFSET, as above but for the end position.
        • START POSITION AFTER OFFSET, the beam will be rotated about the final start position after offset and randomness have been applied.
        • END POSITION BEFORE OFFSET, as above but for the end position.
        • CENTER, the beam will be rotated about the center of the target.
    • Per Burst Rotation:
      • Will rotate the final start and end positions, possibly in addition to the burst rotation pattern, for each burst of the beam, or every shot if not a burst weapon.
      • If this value is negative this will instead be treated as a random amount of rotation.
      • Syntax: Float, degrees.
    • +Per Burst Rotation Axis:
      • The axis about which to rotate for the per burst rotation. Options are:
        • START POSITION BEFORE OFFSET, the beam will be rotated about the start position before the offset or randomness are applied.
        • END POSITION BEFORE OFFSET, as above but for the end position.
        • START POSITION AFTER OFFSET, the beam will be rotated about the final start position after offset and randomness have been applied.
        • END POSITION BEFORE OFFSET, as above but for the end position.
        • CENTER, the beam will be rotated about the center of the target.
    FS2 Open, 23.2:
    • +Firing Length Effect:
    • Specifies the particle effect which will be created along the entire active length of the beam while it is firing and active.
    • Note that the +Number for the effect used will be per kilometer of length.
    • Parent Velocity Factor also works, inheriting the Velocity of this weapon.
    • Syntax: String, the particle effect name
    FS2 Open, 23.2:
    • +Paused Length Effect:
    • Specifies the particle effect which will be created along the length of the beam while it is firing, but in between bursts of a type 4 anti-fighter beam.
    • Note that the +Number for the effect used will be per kilometer of length.
    • Parent Velocity Factor also works, inheriting the Velocity of this weapon.
    • Syntax: String, the particle effect name
    FS2 Open, 21.2:
    • +Beam Flags:
    • Extra flags specific to beams
      • burst shares random target, all shots from this beam weapon in the same burst will target the same random point (or slash direction)
      • track own texture tiling, the 'U' position of the beam texture, whose speed is set by +Translation: below, is tracked independently, rather than being shared among all beams like normal.
    • $Section:
      • Beams are made up of up to five sections layered atop one another to create the effect. Each section has its own parameters.
    FS2 Open 3.6.10:
    • +Index:
      • Field used to define with Modular Tables the beam section which is edited.
      • Only valid when editing beam sections that already exist in other tables. Attempting to index new sections will generate warnings, adding new sections is the default behavior for un-indexed sections.
      • Syntax: Integer, index number legal values are from 0 to 5
    • +remove
      • Removes the set beam section.
    • +nocreate
      • Does not create new section for the beam
    • +Width:
      • Width of the section
      • Syntax: Float, meters
    • +Texture:
      • Texture for the section
      • Syntax: String, filename
    • +RGBA Inner:
      • Defines the color and transparency of the center of the section
    FS2 Open, 3.6.14: :**Not used in current builds. Settings entered here will have no effect.
      • Syntax: Color, red, green, blue, alpha, respectively, value from 0 to 255
        • Example: 255 255 255 255
    • +RGBA Outer:
      • Defines the color and transparency of the edges of the section
    FS2 Open, 3.6.14: :**Not used in current builds. Settings entered here will have no effect.
      • Syntax: Color, red, green, blue, alpha, respectively, value from 0 to 255
        • Example: 150 150 150 10
    • +Flicker:
      • Defines how much the section flickers
      • Syntax: Float, value from 0 to 1
    • +Zadd:
      • Defines the 'thickness' of the section. The higher the Zadd, the closer the section appears to be. (Zadd can be safely ignored; it actually does nothing.)
      • Syntax: Float
    FS2 Open 3.6.10:
    • +Tile Factor:
      • Defines the beam texture tiling factor. Second number defines the tiling type. Type 0 tiles the graphic in the beam as many times as defined by the 1st number. Type 1 uses the 1st value as the lenght of the tile.
      • Syntax: Float, Integer
    • +Translation:
      • Defines the speed of translation of the beam, a positive value moves from the impact point to the firing point, while a negative value moves away from the firing point towards the impact point. Measured in tiles per second, where the tile count is defined in the "+Tile Factor:" field above.
      • Syntax: Float

    $Pspew:

    FS2 Open 3.6.10:
    • Defines a particle spew effect for the given weapon
    FS2 Open, 3.6.14:
    • +Index:
      • indicates which spewer to add/edit/delete. may be 0-3. used for xmt compatibility.
      • Syntax: Integer
    • +Remove
      • removes spewer at +Index: (requires +index:)
    • +Type:
      • type of particle spew
      • Syntax: String, Default, Helix, Sparkler, Ring, or Plume
    FS2 Open 3.6.10:
    • +Count:
      • Defines how many particles are spawn when they are ready to be created (at each +Time: interval)
      • Syntax: Integer
    • +Time:
      • Defines the time in milliseconds between next particle(s) spewed
      • Syntax: Integer, milliseconds
    • +Vel:
      • Defines the created particles velocity as percentage of the weapons velocity
      • Syntax: Float
    • +Radius:
      • Defines the size of the created particles
      • Syntax: Float, meters
    • +Life:
      • Defines how long the particles last.
      • Syntax: Float, seconds
    • +Scale:
      • Defines the particle spread. Small value will make particles group together
      • typically controls how big the effect is or how fast it moves away from the weapon path on a perpendicular (or sometimes arbitrary) axis.
      • helical spews and rings use this value to control how fast the particle helix moves away from the central axis.
      • sparklers use this to control how fast particles move away from the spawn point, in any direction
      • plumes use this to set the diameter of the disk across which particles are spawned
      • Syntax: Float
    FS2 Open, 3.6.14:
    • +Z Scale:
      • for sparklers, allows you to elongate the effect to surround other effects, like lasers. essentially a length multiplier
      • for plume, it multiplies against +scale to set the plume to spread or converge, zero would be full convergence, 1 would be straight flight, and bigger numbers would cause particles to diverge from the disk.
      • Syntax: Float
    • +Rotation Rate:
      • used only by helical spews, controls how many rotations per second the helix makes
      • Syntax: Float, may be negative, useful for setting up 2 spews that spin in opposite directions
    • +Offset:
      • position of effect with regards to the weapon center
      • Syntax: Vector
    • +Initial Velocity:
      • to indicate both direction and speed of particle effects regards to the weapon velocity and +scale:
      • Syntax: Vector
    FS2 Open 3.6.10:
    • +Bitmap:
      • Defines the animation used to create the particle spew effect
      • Syntax: String, filename


    $Tag:

    • Allowed for secondary weapons
    FS2 Open 3.6.10:
    • Allowed for primary weapons and secondary weapons
    • Sets this weapon as a TAG missile, level 1, 2, or 3. The second number is the duration in seconds.
    • TAG Level 1 will illuminate hidden targets such as stealth fighters or ships normally obscured by nebula conditions.
    • TAG Level 2 illuminates targets much like TAG Level 1, but turrets will prefer to shoot at them over other ships.
    • TAG Level 3 has no effect in retail.
    FS2 Open 3.6.10:
    • TAG Level 3 allows the weapon to trigger SSMs
    • Syntax: Integer Float, TAG level and seconds respectively
    • Note: TAG will not trigger unless the weapon in question has a non-zero damage value.

    $SSM:

    FS2 Open 3.6.10:
    • Defines the weapons SSM index number.
    • Requires TAG level 3 or a targeting beam.
    • Syntax: Integer
    FS2 Open, 3.7.4:
    • Now also accepts SSM strike names.
    • Syntax: String


    $FOF:

    FS2 Open 3.6.10:
    • Defines the field of fire for the weapon. Causes weapon to fire into a firing cone instead of direct firing line thus causing light inaccuracy
    • Syntax: Float, degrees

    +FOF Spread Rate:

    FS2 Open, 3.7:
    • Defines the spread rate of the field of fire. This is a percentage of the +Max FOF: defined below, and is applied each time the weapon is fired. For exaple, a value of 0.1 causes the field of fire to increase by 10% of the +Max FOF: per trigger pull. This is unaffected by the number of fire points.
    • Syntax: 'Float', rate

    +FOF Reset Rate:

    FS2 Open, 3.7:
    • Rate at which the spread decreases if the weapon isn't firing. This is a percentage of the +Max FOF: defined below, and is applied once per second. For example, a value of 0.1 causes the field of fire to decrease by 10% of the +Max FOF: per second.
    • (If you want to get technical, this is applied every frame, but scaled by the percentage of a second that frame represents. For almost all practical purposes, saying it's applied once per second is equivalent, and makes the calculation easier to think about.)
    • Syntax: 'Float', rate
    • This is required if +FOF Spread Rate: is present

    +Max FOF:

    FS2 Open, 3.7:
    • The maximum FOF. After the FOF reaches this value it will not increase any further.
    • Syntax: 'Float', degrees. Must be greater than or equal to zero.
    • This is required if +FOF Spread Rate: is present
    FS2 Open, 24.2: As of 24.2, this can be specified without also specifying +FOF Spread Rate:.

    $Shots:

    FS2 Open 3.6.10:
    • Defines the number of shots every time the weapon is fired.
    • Works only for primary weapons
    • Syntax: Integer, number of shots


    $decal:

    FS2 Open 3.6.10:
    • Defines impact decals if they are in use
    • +texture:
      • Defines the texture used for impact decals (can use -burn and -glow textures)
      • Syntax: String, filename
    • +backface texture:
      • Defines ???
      • Syntax: String, filename
    • +radius:
      • Defines the size of the impact decals on target
      • Syntax: Float, meters
    • +burn time:
      • Defines the time the -burn texture appears on the target
      • Syntax: Integer, milliseconds
    FS2 Open, 3.6.14:
    • Feature removed - table parsing retained to maintain compatibility

    $Impact decal:

    FS2 Open, 19.0:
    • Defines an impact decal (think bullet impact/scorch mark) using the new system introduced in FSO 19.0.0.
      • Syntax: String, this must match to one of the entries in a decal tbm.
    • +Radius:
    • +Lifetime:
    FS2 Open, 23.0:
    • +Use Random Rotation:
      • Syntax: Boolean, Whether or not a random rotation is added to the decal; default is NO

    $Transparent:

    FS2 Open 3.6.10:
    • Defines weapon effect as transparent. Enables optional fields for 'alpha animations'
    • +Alpha:
      • Defines the strength of the alpha (transparency). And also the maximum value for the alpha cycle option
      • Syntax: Float, from 0 to 1
    • +Alpha Min:
      • Defines the minimum alpha value for alpha cycle option
      • Syntax: Float, from 0 to 1
    • +Alpha Cycle:
      • Defines the change in alpha per frame, between Alpha and Alpha Min values
      • Syntax: Float


    $Weapon Hitpoints:

    FS2 Open, 3.6.12:
    • Defines the amount of hitpoints a weapon has.
    • Weapons with "bomb" flag have 50 hitpoints by default
    • Giving weapon hitpoints makes it possible for the weapon to be shot down or be destroyed by EMP.
      • Syntax: Integer

    $Armor Type:

    FS2 Open, 3.6.14:
    • REQUIRES ADDITIONAL TABLE. Defines the armor type for the weapon. This works exactly like ship armor types.
      • Syntax: String, name of the armor as defined in armor.tbl

    $Burst Shots:

    FS2 Open, 3.6.12:
    • Defines the number of shots in a burst
    • Shots in a burst use shorter ( $Burst Delay: ) delay than usually
    • If this weapon is cycling each individual firing event counts as one burst shot, so bursts end sooner in time for large banks than small.
      • Syntax: Integer

    $Burst Delay:

    FS2 Open, 3.6.12:
    • Defines the time in milliseconds between the shots in a burst
      • Syntax: Integer


    $Burst Flags:

    FS2 Open, 3.6.12:
    • Defines the flags used to define the burst firing behaviour
      • Syntax: ( String String ), list of flags
      • Available burst flags:
        • "fast firing", acts as if same turret cooldown flag would be used between the shots in the burst.
        • "random length", makes AI to fire burst of random length (from 1 to burst shots).
    FS2 Open, 21.0: "resets", as long as a full fire wait has passed since last fired, the burst is reset and can be fired in full again.

    $Thruster Flame Effect:

    FS2 Open, 3.6.12:
    • Defines the filename of the effect used on the modeled thruster of the missile
      • Syntax: String, filename


    $Thruster Glow Effect:

    FS2 Open, 3.6.12:
    • Defines the filename of the effect used on the glow type effect of the missile
      • Syntax: String, filename


    $Thruster Glow Radius Factor:

    FS2 Open, 3.6.12:
    • Defines the radius multiplier for the thruster's glow type effect
      • Syntax: Float


    $Failure Rate:

    FS2 Open, 3.8:
    • Defines the random chance that the weapon will fail to fire, or spawn the substitute below if specified.
      • Syntax: Float, 0 - 1

    +Failure Substitute:

    • Defines the weapon to substitute when the weapon 'fails'.
      • Syntax: String, Weapon


    $On Create:

    FS2 Open, 21.2:
    • Defines an action system program set to be executed when a weapon of this type is created. Only applicable to laser and missile style weapons.

    $Animations:

    FS2 Open, 22.0:
    • The new way of specifying triggered animations for weapons. Weapon needs to be a modelled weapon for animations.
    • See Animation.tbl
    • Syntax: ( "String" "String" ), names of the animations for this ship, as defined in the Animation.tbl
      • Example: ( "wingflap" "docksequence" )

    $Driven Animations:

    FS2 Open, 24.2:
    • See Animation_Drivers#Parsing (+Driver Set:)
    • Driven animations are not compatible with $Animations! If you need animations without drivers, create a driver set that has no driver and list all animations in it's +Affected Animations:

    $Substitute:

    FS2 Open, 3.6.14:

    Defines a pattern of ammo to substitute for primary or secondary weapons. $Substitute: can be repeated any number of times (so you could make something like a rainbow laser with several ammo substitutions, for example). If neither +period or +index is specified, it is assumed to be equivalent to +index: 0.

    • Syntax: Weapon Name
    • Swarm missiles act in a strange way when used with $Substitute, use at your own risk.


    FS2 Open, 3.6.16:

    Turrets can use $Substitute as well.

    +period:

    FS2 Open, 3.6.14:

    FSO will substitute Weapon Name every period shots.

    • Syntax: Positive Integer
    • You may not define both +period and +index for the same $Substitute entry
    +offset:
    FS2 Open, 3.6.14:

    A suboption of +period, offsets the substitute pattern according to the launched ammo. For example, an offset of 3 and a period of 4 will substitute on the 3rd ammo launched, and then every 4th ammo after that.

    • Syntax: Positive Integer

    +index:

    FS2 Open, 3.6.14:

    FSO will substitute the Weapon Name at firepoint index in the shot pattern. Similar to carefully using both +period and +offset, but is not affected by ships with different firepoint numbers. i.e. Firepoint index will always have the substitution, while +period and +offset will cycle at different rates dependant on the number of firepoints.

    • Syntax: Positive Integer
    • You may not define both +period and +index for the same $Substitute entry
    • Indexes start at 0 for the first weapon
    • If the first index you specify is higher than 0, it will also be used for the indexes before it.

    $Custom data:

    FS2 Open, 22.0:

    Defines a set of custom data that for this weapon class, 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 Weapon Class to find the CustomData Lua Table.

    +Val:

    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.

    $end_custom_data

    Mandatory entry to indicate that the Custom Data list has ended.

    Weapons.tbl Flags

    "Electronics"

    • Will seize up the weapons and engines systems of any ship for a short period of time.


    "Spawn Name,Value"

    • Will spawn the specified number of defined missiles upon detonation.
    • The flag will parse without a value, using a default of 10.
    FS2 Open 3.6.10:
    • Multiple spawn types can be defined for a single 'carrier' weapon up to maximum of 5 different weapons

    "Remote Detonate"

    • Can be triggered remotely via a second press on the trigger


    "Big Ship"

    • These weapons cannot be mounted on small ships like fighters, bombers, sentry guns etc.


    "Huge"

    • Allows this weapon to do the final 10% damage to a ship with the "Big Damage" flag. Also the AI will not try to hit fighters with it, but only if the weapon is in a turret or is a secondary. If the weapon is a primary in a fighter then there are no targeting restrictions. See capital+ instead.

    "Supercap"

    • Allows this weapon to do the final 75% damage to a ship with the "supercap" flag.


    "Bomber+"

    • The AI will prefer to use this weapon against bombers


    "child"

    • Cannot be set as a weapon on any ship, but is instead a child of a weapon. Usually defined with "Spawn Name,Value"


    "Bomb"

    • Makes this weapon target-able with the B key and interceptable by AIs
      • Has been long thought to make the AI prefer this weapon against large ships, but in fact has no effect on AI weapon selection.

    "No Dumbfire"

    • Missile will not fire without a lock


    "in tech database"

    • Has the weapon in the tech database at the start of the campaign


    "Player allowed"

    • Allows this weapon as a player weapon.
    FS2 Open 3.6.10:
    • EXTREMELY IMPORTANT NOTE:
      • Whenever you plan to use a weapon as a player one in your campaign or missions, USE THIS FLAG.
      • Not using it can cause problems within fs_open and it's a BAD MOD DESIGN.
      • In the future, fs_open will maybe be able to avoid these problems but, nevertheless, it's still a BAD DESIGN.
      • As another possible example: be careful to update "retail" tables if you plan to use Shivan weapons in player fighters.

    "Particle Spew"

    • Makes the weapon projectile spew out particles
    FS2 Open 3.6.10:


    "EMP"

    • This weapon will have an EMP effect on any ship within the blast radius
    • Can be defined with EMP Intensity and EMP Time


    "Esuck"

    "Vampiric"

    FS2 Open, 23.0:

    "Flak"


    "Corkscrew"

    • Makes this weapon spiral AND swarm 4.
    FS2 Open 3.6.10:


    "Shudder"

    • Makes your ship shudder while you're firing the weapon


    "lockarm"

    • Requires a target lock in order to arm its warhead. In other words weapon causes less damage if it hits the target without target lock.


    "beam"


    "stream"

    • Does nothing

    "puncture"

    • Reduces hull damage by 75%

    The AI will prefer these weapons for anti-subsystem use

    "countermeasure"

    FS2 Open 3.6.10:
    • Defines the weapon as a countermeasure


    "Ballistic"

    FS2 Open 3.6.10:
    • Defines the weapon as a ballistic weapon that needs ammunition.
    • Make sure you define the size and reload rate for ballistic weapons


    "pierce shields"

    FS2 Open 3.6.10:
    • Causes weapons to penetrate shield without causing damage to it.


    "no pierce shields"

    FS2 Open 3.6.10:
    • Prevents weapons (beams) from piercing shields causing shields to be damaged by weapons first.


    "local ssm"

    FS2 Open 3.6.10:


    "tagged only"

    FS2 Open 3.6.10:
    • Weapon can only be fired at tagged targets


    "beam no whack"

    FS2 Open 3.6.10:
    • Disables beam whacking (push). Practically same as setting beam mass to zero.


    "cycle"

    FS2 Open 3.6.10:
    • Causes weapon to alternate between firing points


    "small only"

    FS2 Open 3.6.10:
    • Causes AI to use the weapon only on small targets (fighters, bombers etc.) Only applies to the target selection of turrets, has no effect on the behavior of fighters picking primary and secondary bank weapons.

    "same turret cooldown"

    FS2 Open 3.6.10:
    • Forces the turrets to fire on the designated rate of fire on all difficulty levels and all AI levels


    "apply no light"

    FS2 Open 3.6.10:
    • Prevents light from being applied to the weapon model.

    "training"

    FS2 Open 3.6.10:
    • Sets weapon to be of training weapon type. ?

    "smart spawn"

    FS2 Open, 3.6.12:
    • Forces turret fired spawn weapon of this type to be fired like normal weapons.

    "inherit parent target"

    FS2 Open, 3.6.12:
    • Sets spawned 'child' weapons to use parent weapon's target.

    "no emp kill"

    FS2 Open, 3.6.12:
    • Defines the weapon (with hitpoints) to be immune to automatic EMP destruction.

    "untargeted heat seeker"

    FS2 Open, 3.6.12:
    • Defines the weapon as a heatseeker type missile which acquires its target by itself.

    "no radius doubling"

    FS2 Open, 3.6.12:
    • Prevents weapon radius from being doubled when doing collision test. Makes bombs harder to intercept.

    "no subsystem homing"

    FS2 Open, 3.6.12:
    • Prevents weapon from acquiring a subsystem as its target. Missile homing points are spread over the target ship.

    "no lifeleft penalty"

    FS2 Open, 3.6.12:
    • Prevents weapon lifetime from being penalized if the angle to the target is too big.

    "can be targeted"

    FS2 Open, 3.6.12:
    • Allows weapon to be targeted by player. Does not influence AI

    "show on radar"

    FS2 Open, 3.6.12:
    • Allows weapon to be visible on the radar

    "show friendly on radar"

    FS2 Open, 3.6.12:
    • Allows friendly, otherwise visible to radar weapon, to be visible on player radar

    "hide from radar"

    FS2 Open, 3.6.14:
    • Prevents weapon from being visible on the radar

    "capital+"

    FS2 Open, 3.6.14:
    • Tells AI fighters/bombers to use this weapon only on capital ships. Has no effect on turret AI.

    "chain external model fps"

    FS2 Open, 3.6.14:
    • Tells game to keep switching external model firingpoints when firing

    "external model launcher"

    FS2 Open, 3.6.14:
    • Tells game that the external model is a launcher so that it would be kept static without loading motion

    "takes blast damage"

    FS2 Open, 3.6.14:
    • Weapon takes damage from weapon blasts

    "takes shockwave damage"

    FS2 Open, 3.6.14:
    • Weapon takes damage from shockwaves

    "ciws"

    FS2 Open, 3.6.16:
    • Weapon can deal shockwave/blast damage to bombs, regardless of whether the target weapons have the "take blast/shockwave damage" flags.

    "render flak"

    FS2 Open, 3.6.16:
    • Normally, flak shells are not rendered. This flag switches rendering on for those weapons.

    "anti-subsystem beam"

    FS2 Open, 3.6.16:
    • Beam weapons with this flag can target subsystems on enemy ships, just like normal weapons.

    "no primary linking"

    FS2 Open, 3.6.16:
    • Primary weapons with this flag can not be linked with other weapons.

    "same emp time for capships"

    FS2 Open, 3.7:
    • capships affected by this weapon will use the tabled EMP time rather than the fixed retail value (7.5 secs)

    "no primary linked penalty"

    FS2 Open, 3.7.2:
    • Primary weapons with this flag do not incur the retail linked fire penalty

    "no homing speed ramp"

    FS2 Open, 3.7.2:
    • Locked homing weapons will not perform the standard 1 second long acceleration when fired. Note that use of $Acceleration Time is not affected by this flag.

    "pulls aspect seekers"

    FS2 Open, 3.7.2:
    • If an aspect seeker is grabbed by this countermeasure the missile will follow the countermeasure instead of going into dumbfire mode.
    Only valid for countermeasures!

    "turret interceptable"

    "fighter interceptable"

    "interceptable"

    FS2 Open, 3.7.2:
    • Allows turrets/fighters/both (respectively) to shoot at this weapon without requiring it to be a bomb. If this is the first time this weapon has been defined, it also gives it a default of 25 hitpoints so that it can be shot down.
    If you use a TBM to give this flag to an existing weapon, you'll need to specify hitpoints manually (unless you want it to be unkillable but still draw defensive fire).

    "aoe electronics"

    FS2 Open, 3.7.2:
    • Apply electronics effect across the weapon's entire area of effect instead of just on the impacted ship

    "apply recoil"

    FS2 Open, 3.7.4:
    • A ship that fires a weapon with this flag will experience a recoil effect, slowing the ship down and, with lighter strikecraft, inducing some rotation if the firing points are offset from the center of mass.

    "don't spawn if shot"

    FS2 Open, 3.7.4:
    • Prevents parent weapons from spawning children in the even of the parent weapon being shot down.

    "die on lost lock"

    FS2 Open, 3.7.4:
    • Aspect seeking missiles (only, not heat seekers) will detonate upon losing their lock. Currently they only lose lock if decoyed by a countermeasure, AND "pulls aspect seekers" or similar is not set. The detonation will use their "dinky" explosion (i.e. same as if ran out of lifetime).

    "no doublefire"

    FS2 Open, 21.0:
    • Prevents dual-firing of secondary weapons. If the ship tries to dual-fire a weapon with this flag they are set back to single fire.

    "no impact spew"

    FS2 Open, 21.0:
    • Turns off the usual spew effects that occur on the impacted ship when a weapon hits it.

    "require exact los"

    FS2 Open, 21.0:
    • Prevent AI form firing this weapon from a turret or as a secondary weapon if there is no clear line of sight from the weapons firing point to its targeted ship (center). Note that this may keep the weapon trained on a target out of sight while another target may be available to shoot.

    "can damage shooter"

    FS2 Open, 21.2:
    • This weapon can collide with and directly damage the original shooter of this weapon (even if it was spawned), which is not normally possible.

    "heals"

    FS2 Open, 21.4:
    • This weapon uses its $Damage value to heal its target(s) instead of damaging them.
    • This works very similarly to damage, the armor/shield/subsystem factors apply to healing as well as do armor classes. However, there are some caveats.
    • Healing will always carry. Unlike damage, which first has to go through the shield, has damage subtracted, then damages subsystems, has damage subtracted, then finally damages the hull if any damage remains, healing will apply in full to hull, shield, and subsystems (factors or armor classes notwithstanding). A weapon with 100 'healing' will attempt to apply that healing to the hull, shield and nearby subsystems to the impact. Even if the weapon only heals hull, it will still do so even if it strikes the shield.
    • This flag has no effect on AI. Fighters armed with a healing weapon will happily heal hostile targets they were ordered to attack.

    "secondary no ammo"

    FS2 Open, 22.0:
    • If this is a secondary weapon, it does not need to consume any ammo, and will not display ammo in the weapon HUD gauge, etc.

    "no collide"

    FS2 Open, 22.0:
    • This weapon will not collide with any other object.

    "multilock target dead subsys"

    FS2 Open, 22.0:
    • If this is a multilock weapon, dead subsystems will be treated as just as valid targets as alive ones.

    "no evasion"

    FS2 Open, 22.0:
    • AI will not attempt to evade this weapon when fired at them

    "no_fred"

    FS2 Open, 23.0:
    • Weapon will not appear in any of the FRED dropdown lists for weapon classes.

    "detonate on expiration"

    FS2 Open, 23.2:
    • Primary weapon will detonate as if hitting a target when it reaches the end of its lifetime - just like a secondary weapon does by default.

    Countermeasures

    • Usually not altered. Only one can exist
    FS2 Open 3.6.10:
    • More than one can exist


    $Name:

    • Name of the countermeasure
    • Syntax: String, name


    $Velocity:

    • Defines the speed of the countermeasure, relative to the ship.
    • Syntax: Float, meter per second

    $Fire Wait:

    • Definies the minumum time between the countermeasure launches
    • Syntax: Float, seconds


    Lifetime

    • Countermeasure's life time is defined between with minimum and maximum lifetime
    • $Lifetime Min:
      • Syntax: Float, seconds
    • $Lifetime Max:
      • Syntax: Float, seconds


    $LaunchSnd:

    • Defines the sound for the countermeasure launch
    • Syntax: Integer or String, name or identification number of the sound as defined in sounds.tbl


    $Model:

    • Defines the used model file (.pof)
    • Syntax: String.pof, model filename


    Player Weapon Precedence

    • First the primary weapons are defined, from most powerful to least powerful, and then the same for secondaries
    • Syntax: ( "String" "String"), names of the weapons
    • Example:
    $Player Weapon Precedence: (
         "UD-8 Kayser"
         "Prometheus R"
         "Subach HL-7"
         "Harpoon"
         "Tempest"
         "Rockeye"   )
    

    Sample

    #Primary Weapons
    
    $Name:                            @Subach HL-7
       +Title:                           XSTR("GTW Subach HL-7", 3243)
       +Description:
    XSTR( "Standard Issue
    Level 3 Hull Damage
    Level 2 Shield Damage", 3244)
    $end_multi_text
       +Tech Title:                      XSTR("Subach HL-7", 146)
       +Tech Anim:                       Tech_Subach_HL-7
       +Tech Description:
    XSTR(
    "Descriptive text...", -1)
    $end_multi_text
    $Model File:                      none
       @Laser Bitmap:                    newglo9
       @Laser Glow:                      2_laserglow03
       @Laser Color:                     250, 0, 0
       @Laser Color2:                    0, 0, 250
       @Laser Length:                    10.0
       @Laser Head Radius:               0.90
       @Laser Tail Radius:               0.90
    $Mass:                            0.2
    $Velocity:                        450.0
    $Fire Wait:                       0.2
    $Damage:                          15
    $Armor Factor:                    0.9
    $Shield Factor:                   0.7
    $Subsystem Factor:                0.3
    $Lifetime:                        2.0
    $Energy Consumed:                 0.20
    $Cargo Size:                      0.0
    $Homing:                          NO
    $LaunchSnd:                       76
    $ImpactSnd:                       85
    $Flags:                           (  "in tech database"
                                         "player allowed"
                                         "stream")
    $Icon:                            iconSD4
    $Anim:                            SD4
    $Impact Explosion:                none
    
    #End
    
    
    #Secondary Weapons
    
    $Name:                            EMP Adv.
       +Title:                           XSTR("GTM-14 EMP Adv.", 3396)
       +Description:
    XSTR( "Advanced Missile
    Electromagnetic Pulse Weapon
    General Purpose Suppression", 3397)
    $end_multi_text
       +Tech Title:                      XSTR("GTM-14 EM Pulse Adv.", 3398)
       +Tech Anim:                       Tech_EMP
       +Tech Description:
    XSTR(
    "Descriptive text...", -1)
    $end_multi_text
    $Model File:                      EMPulse2.pof
    $Mass:                            15.0
    $Velocity:                        275.0
    $Fire Wait:                       2.0
    $Damage:                          45
    $Blast Force:                     20.0
    $Inner Radius:                    80.0
    $Outer Radius:                    300.0
    $Shockwave Speed:                 120.0
    $Armor Factor:                    1.0
    $Shield Factor:                   0.8
    $Subsystem Factor:                0.5
    $Lifetime:                        5.0
    $Energy Consumed:                 0.0
    $Cargo Size:                      4.0
    $Homing:                          YES
       +Type:                            ASPECT
       +Turn Time:                       1.0
       +Min Lock Time:                   2.0
       +Lock Pixels/Sec:                 70
       +Catch-up Pixels/Sec:             100
       +Catch-up Penalty:                30
    $LaunchSnd:                       118
    $ImpactSnd:                       88
    $FlyBySnd:                        -1
    $Rearm Rate:                      2.0
    $Flags:                           (  "player allowed"
                                         "EMP")
    $Trail:
       +Start Width:                     0.25
       +End Width:                       0.75
       +Start Alpha:                     1.0
       +End Alpha:                       0.0
       +Max Life:                        1.5
       +Bitmap:                          MissileTrail04
    $Icon:                            iconEMPulse
    $Anim:                            ecm
    $Impact Explosion:                ExpMissileHit1
    $Impact Explosion Radius:         10.0
    $EMP Intensity:                   375.0
    $EMP Time:                        20.0
    
    #End
    
    $Player Weapon Precedence: (
         "Subach HL-7"
         "EMP Adv."   )