Difference between revisions of "Species.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m (update)
Line 1: Line 1:
 +
Revision information.. <!-- Please update this information when page is updated -->
 +
::'''3.6.x branch:''' 2.38.2.1
 +
::'''3.7 branch:''' 2.39
 +
 +
 
Species table is used to define the various '''intelligence''' clips found from tech room.
 
Species table is used to define the various '''intelligence''' clips found from tech room.
 +
  
 
==Format==
 
==Format==
 
*Table begins with the intelligence data entries, each one starting with '''$Entry:'''
 
*Table begins with the intelligence data entries, each one starting with '''$Entry:'''
 
*Table '''''does not''''' have any kind of end marker
 
*Table '''''does not''''' have any kind of end marker
 +
  
 
==Intelligence Entry==
 
==Intelligence Entry==
 +
  
 
===$Entry:===
 
===$Entry:===
 
*Begins the intelligence data entry
 
*Begins the intelligence data entry
 +
  
 
===$Name:===
 
===$Name:===
 
*Defines the name of the intelligence entry. Number refers to the translations found from [[tstrings.tbl]]
 
*Defines the name of the intelligence entry. Number refers to the translations found from [[tstrings.tbl]]
*Syntax: XSTR("'''string'''", '''integer''')
+
*Syntax: XSTR("'''String'''", '''Integer''')
 +
 
  
 
===$Anim:===
 
===$Anim:===
 
*Defines the name of the animation used for the intelligence entry
 
*Defines the name of the animation used for the intelligence entry
*Syntax: ''string''
+
*Syntax: '''String'''
 +
 
  
 
===$AlwaysInTechRoom:===
 
===$AlwaysInTechRoom:===
 
*Sets the entry to appear form the beginning of campaigns. If set to '0' the entry has to be triggered with sexps during the campaign
 
*Sets the entry to appear form the beginning of campaigns. If set to '0' the entry has to be triggered with sexps during the campaign
*Syntax: ''integer'' (0 or 1)
+
*Syntax: '''Integer''' (0 or 1)
 +
 
  
 
===$Description:===
 
===$Description:===
 
*Sets the description shown when the intelligence entry is viewed in tech room. Number refers to the translations found from [[tstrings.tbl]]. Ends with '''$end_multi_text'''
 
*Sets the description shown when the intelligence entry is viewed in tech room. Number refers to the translations found from [[tstrings.tbl]]. Ends with '''$end_multi_text'''
*Syntax: XSTR("'''string'''", '''integer''')
+
*Syntax: XSTR("'''String'''", '''integer''')
 +
 
  
 
==Sample==
 
==Sample==
 
*Part of and Retail FreeSpace 2 entry
 
*Part of and Retail FreeSpace 2 entry
 +
 
<pre>$Entry:
 
<pre>$Entry:
 
$Name: XSTR("The Great War",3184)
 
$Name: XSTR("The Great War",3184)

Revision as of 17:27, 30 July 2007

Revision information..

3.6.x branch: 2.38.2.1
3.7 branch: 2.39


Species table is used to define the various intelligence clips found from tech room.


Format

  • Table begins with the intelligence data entries, each one starting with $Entry:
  • Table does not have any kind of end marker


Intelligence Entry

$Entry:

  • Begins the intelligence data entry


$Name:

  • Defines the name of the intelligence entry. Number refers to the translations found from tstrings.tbl
  • Syntax: XSTR("String", Integer)


$Anim:

  • Defines the name of the animation used for the intelligence entry
  • Syntax: String


$AlwaysInTechRoom:

  • Sets the entry to appear form the beginning of campaigns. If set to '0' the entry has to be triggered with sexps during the campaign
  • Syntax: Integer (0 or 1)


$Description:

  • Sets the description shown when the intelligence entry is viewed in tech room. Number refers to the translations found from tstrings.tbl. Ends with $end_multi_text
  • Syntax: XSTR("String", integer)


Sample

  • Part of and Retail FreeSpace 2 entry
$Entry:
$Name: XSTR("The Great War",3184)
$Anim: Intel_Great_War
$AlwaysInTechRoom: 1
$Description:
XSTR(
"In 2335, the Terran-Vasudan War entered its fourteenth year...", 3185)
$end_multi_text