Difference between revisions of "Weapon expl.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m (update)
m (updated version info)
Line 1: Line 1:
 
Revision information.. '''''weapons.cpp''' <!-- Please update this information when page is updated -->
 
Revision information.. '''''weapons.cpp''' <!-- Please update this information when page is updated -->
::'''3.6.x branch:''' 2.180.2.20
+
::'''3.6.x branch:''' 2.180.2.24
::'''3.7 branch:''' 2.207
+
::'''3.7 branch:''' 2.209
  
  

Revision as of 19:23, 21 November 2007

Revision information.. weapons.cpp

3.6.x branch: 2.180.2.24
3.7 branch: 2.209


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