Difference between revisions of "Weapon expl.tbl"

From FreeSpace Wiki
Jump to: navigation, search
 
m (Categorised & formatted)
Line 7: Line 7:
 
==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'''
+
*<nowiki>#</nowiki>'''Start'''
***The list of all weapon effects entries. Note that it must be ended with "#End"
+
*The list of all weapon effects entries
 +
*<nowiki>#</nowiki>'''End'''
  
==Start==
+
==Weapon Effect==
 
===$Name:===
 
===$Name:===
 
*Defines which explosion file this entry is for
 
*Defines which explosion file this entry is for
Line 18: Line 19:
 
*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: ''Number'', of LODs.
 +
 +
==Sample==
 +
 +
  #Start
 +
  $Name:      ExpMissileHit1
 +
  $LOD:      3
 +
  #End
 +
 +
 +
[[Category:Tables]]

Revision as of 17:06, 13 November 2005

Originally, weapon_expl.tbl recorded the number of LODs for each explosion image. As of this writing, however, Fs2_open no longer needs or even uses weapon_expl.tbl; it detects LODs automatically, based on the filename.

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: filename

$LOD:

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

Sample

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