Difference between revisions of "Weapon expl.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m (Categorised & formatted)
(formatting)
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Originally, weapon_expl.tbl recorded the number of LODs for each explosion image. <font color=red>As of this writing, however, Fs2_open no longer needs or even uses weapon_expl.tbl; it detects LODs automatically, based on the filename.</font>
+
{{TableVersion|6581}}
  
Regardless, when FS2 searches for additional LODs, it will use the animation with the specified name for LOD0, and then use "NAME_#" for additional LODs.
+
The '''weapon_expl.tbl''' defines the effect lods to use for weapon explosion effects.
*Example: ExpMissileHit1.eff (LOD 0), ExpMissileHit1_1.eff (LOD1)
 
  
 +
 +
This table is one of the [[Modular Tables]] and can be extended with xxx-wxp.tbm
 +
 +
[[Tables|List of Tables]]
 +
 +
==General Info==
 +
*Originally, weapon_expl.tbl recorded the number of LODs for each explosion image.
 +
*Regardless, when FS2 searches for additional LODs, it will use the animation with the specified name for LOD0, and then use "NAME_#" for additional LODs.
 +
**Example: ExpMissileHit1.eff (LOD 0), ExpMissileHit1_1.eff (LOD1)
  
 
==General Format==
 
==General Format==
 
There is really only one section of weapon_expl.tbl, and that section has exactly one entry type.
 
There is really only one section of weapon_expl.tbl, and that section has exactly one entry type.
*<nowiki>#</nowiki>'''Start'''
+
*'''#Start'''
 
*The list of all weapon effects entries
 
*The list of all weapon effects entries
*<nowiki>#</nowiki>'''End'''
+
*'''#End'''
 +
 
  
 
==Weapon Effect==
 
==Weapon Effect==
 +
 +
 
===$Name:===
 
===$Name:===
 
*Defines which explosion file this entry is for
 
*Defines which explosion file this entry is for
*Syntax: ''filename''
+
*Syntax: '''String'''
 +
 
  
 
===$LOD:===
 
===$LOD:===
 
*Defines how many LODs this explosion file has (up to 4)
 
*Defines how many LODs this explosion file has (up to 4)
*Syntax: ''Number'', of LODs.
+
*Syntax: '''Integer''', of LODs.
 +
 
  
 
==Sample==
 
==Sample==
  
  #Start
+
<pre>#Start
  $Name:      ExpMissileHit1
+
$Name:      ExpMissileHit1
  $LOD:      3
+
$LOD:      3
  #End
+
#End
 +
</pre>
  
  
 
[[Category:Tables]]
 
[[Category:Tables]]

Revision as of 04:47, 19 July 2012

Revision information.....

FSO Revision: 6581
Note: Please update the version when the page is updated. If your edit had nothing to do with new code entries then please do not edit the version


The weapon_expl.tbl defines the effect lods to use for weapon explosion effects.


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

List of Tables

General Info

  • Originally, weapon_expl.tbl recorded the number of LODs for each explosion image.
  • Regardless, when FS2 searches for additional LODs, it will use the animation with the specified name for LOD0, and then use "NAME_#" for additional LODs.
    • Example: ExpMissileHit1.eff (LOD 0), ExpMissileHit1_1.eff (LOD1)

General Format

There is really only one section of weapon_expl.tbl, and that section has exactly one entry type.

  • #Start
  • The list of all weapon effects entries
  • #End


Weapon Effect

$Name:

  • Defines which explosion file this entry is for
  • Syntax: String


$LOD:

  • Defines how many LODs this explosion file has (up to 4)
  • Syntax: Integer, of LODs.


Sample

#Start
$Name:      ExpMissileHit1
$LOD:       3
#End