Difference between revisions of "Species defs.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m (Number of Species)
(updated species_defs)
Line 3: Line 3:
  
 
Species_defs.tbl is a new table added by the Source Code Project which allows the addition of new species types in addition to Terran, Vasudan and Shivan, or to replace these three species. New species can have individual briefing icons, thruster glows, shield hit anis, debris fields, and [[FRED]] menu colours. Any new species added here must be added to [[icons.tbl]], [[asteroid.tbl]] and [[sounds.tbl]] if the game is to work.
 
Species_defs.tbl is a new table added by the Source Code Project which allows the addition of new species types in addition to Terran, Vasudan and Shivan, or to replace these three species. New species can have individual briefing icons, thruster glows, shield hit anis, debris fields, and [[FRED]] menu colours. Any new species added here must be added to [[icons.tbl]], [[asteroid.tbl]] and [[sounds.tbl]] if the game is to work.
 
==Number of Species==
 
*Defines the number of species that are created with species_defs.tbl
 
*Not any more required
 
*'''$NumSpecies:'''
 
**Syntax: ''Value''
 
  
 
==Species Entry==
 
==Species Entry==
Line 26: Line 20:
 
*Defines the color used in FRED for this species
 
*Defines the color used in FRED for this species
 
*If not defined the fred defaults color to black ( 0, 0, 0 )
 
*If not defined the fred defaults color to black ( 0, 0, 0 )
*Syntax: ( ''Value, Value, Value'' ), (red, green and blue respectively
+
*Syntax: ( ''Value, Value, Value'' ), (red, green and blue respectively)
 
**Example: ( 255, 0, 0 )
 
**Example: ( 255, 0, 0 )
  
Line 40: Line 34:
  
 
===$ThrustAnims:===
 
===$ThrustAnims:===
*'''+Pri_Normal:'''
+
*'''+Normal''' or '''+Pri_Normal:'''
 
**Defines name of standard thruster animation.
 
**Defines name of standard thruster animation.
 
**Syntax: ''Name''
 
**Syntax: ''Name''
 
***Example: ''thruster03''
 
***Example: ''thruster03''
*'''+Pri_Afterburn:'''
+
*'''+Normal''' or '''+Pri_Afterburn:'''
 
**Defines name of afterburn thruster animation.
 
**Defines name of afterburn thruster animation.
 
**Syntax: ''Name''
 
**Syntax: ''Name''
Line 76: Line 70:
  
 
===$AwacsMultiplier:===
 
===$AwacsMultiplier:===
*Defines the awacs effectiveness multiplier. ???
+
*Defines the awacs multiplier. All ships belonging to the species have their awacs range multiplied by this number.
 
*Syntax: ''Value'', (multiplier)
 
*Syntax: ''Value'', (multiplier)
 
**Example: ''1.25''
 
**Example: ''1.25''
Line 82: Line 76:
 
==Sample Entry==
 
==Sample Entry==
  
   #SPECIES DEFS
+
   #SPECIES DEFS
   $NumSpecies: 1
+
   $Species_Name:         Shivan
+
  ;------------------------
   $Default IFF:           Hostile
+
  ; Terran
   $FRED Color:           ( 255, 0, 0 )
+
  ;------------------------
      +Debris_Texture:     debris01c
+
  $Species_Name: Terran
      +Shield_Hit_ani:     shivanshield
+
  $Default IFF: Friendly
   $ThrustAnims:
+
  $FRED Color: ( 0, 0, 192 )
      +Pri_Normal:         thruster03
+
  $MiscAnims:
      +Pri_Afterburn:     thruster03a
+
  +Debris_Texture: debris01a
      +Sec_Normal:         thruster02-03
+
  +Shield_Hit_ani: shieldhit01a
      +Sec_Afterburn:     thruster02-03a
+
   $ThrustAnims:
      +Ter_Normal:         thruster03-03
+
  +Normal: thruster01
      +Ter_Afterburn:     thruster03-03a
+
  +Afterburn: thruster01a
   $ThrustGlows:
+
  $ThrustGlows:
      +Normal:             thrusterglow03
+
  +Normal: thrusterglow01
      +Afterburn:         thrusterglow03a
+
  +Afterburn: thrusterglow01a
   $AwacsMultiplier:       1.25
+
  $AwacsMultiplier: 1.00
   #End
+
 
 
+
  ;------------------------
 +
  ; Vasudan
 +
  ;------------------------
 +
   $Species_Name: Vasudan
 +
   $Default IFF: Friendly
 +
   $FRED Color: ( 0, 128, 0 )
 +
  $MiscAnims:
 +
  +Debris_Texture: debris01b
 +
  +Shield_Hit_ani: shieldhit01a
 +
   $ThrustAnims:
 +
  +Normal: thruster02
 +
  +Afterburn: thruster02a
 +
  $ThrustGlows:
 +
  +Normal: thrusterglow02
 +
  +Afterburn: thrusterglow02a
 +
  $AwacsMultiplier: 1.25
 +
 
 +
  ;------------------------
 +
  ; Shivan
 +
  ;------------------------
 +
  $Species_Name: Shivan
 +
  $Default IFF: Hostile
 +
  $FRED Color: ( 192, 0, 0 )
 +
  $MiscAnims:
 +
  +Debris_Texture: debris01c
 +
  +Shield_Hit_ani: shieldhit01a
 +
  $ThrustAnims:
 +
  +Normal: thruster03
 +
  +Afterburn: thruster03a
 +
   $ThrustGlows:
 +
  +Normal: thrusterglow03
 +
  +Afterburn: thrusterglow03a
 +
   $AwacsMultiplier: 1.50
 +
 
 +
   #END
 +
 
[[Category:Tables]]
 
[[Category:Tables]]

Revision as of 19:33, 4 February 2006

This feature requires SCP


Species_defs.tbl is a new table added by the Source Code Project which allows the addition of new species types in addition to Terran, Vasudan and Shivan, or to replace these three species. New species can have individual briefing icons, thruster glows, shield hit anis, debris fields, and FRED menu colours. Any new species added here must be added to icons.tbl, asteroid.tbl and sounds.tbl if the game is to work.

Species Entry

$Species_Name:

  • Defines the name of the species.
  • Syntax: Name
    • Example: Shivan

$Default IFF:

  • Defines the species default IFF in FRED.
  • Friendly, Hostile, Neutral ...??
  • Syntax: IFF
    • Example: Hostile

$FRED Color

  • Defines the color used in FRED for this species
  • If not defined the fred defaults color to black ( 0, 0, 0 )
  • Syntax: ( Value, Value, Value ), (red, green and blue respectively)
    • Example: ( 255, 0, 0 )

+Debris_Texture:

  • Defines the name of the standard texture applied to species specific debris fields.
  • Syntax: Name
    • Example: debris01c

+Shield_Hit_ani:

  • Defines the name of the ani file applied to a species shields when hit.
  • Syntax: Name
    • Example: shivanshield

$ThrustAnims:

  • +Normal or +Pri_Normal:
    • Defines name of standard thruster animation.
    • Syntax: Name
      • Example: thruster03
  • +Normal or +Pri_Afterburn:
    • Defines name of afterburn thruster animation.
    • Syntax: Name
      • Example: thruster03a
  • +Sec_Normal:
    • Defines name of secondary standard thruster animation.
    • Syntax: Name
      • Example: thruster02-03
  • +Sec_Afterburn:
    • Defines name of secondary afterburn thruster animation.
    • Syntax: Name
      • Example: thruster02-03a
  • +Ter_Normal:
    • Defines name of tertiary standard thruster animation.
    • Syntax: Name
      • Example: thruster03-03
  • +Ter_Afterburn:
    • Defines name of tertiary afterburn thruster animation.
    • Syntax: Name
      • Example: thruster03-03a

$ThrustGlows:

  • +Normal:
    • Defines name of standard thruster glow bitmap.
    • Syntax: Name
      • Example: thrusterglow03
  • +Afterburn:
    • Defines name of standard thruster glow bitmap.
    • Syntax: Name
      • Example: thrusterglow03a

$AwacsMultiplier:

  • Defines the awacs multiplier. All ships belonging to the species have their awacs range multiplied by this number.
  • Syntax: Value, (multiplier)
    • Example: 1.25

Sample Entry

  #SPECIES DEFS									
  ;------------------------						
  ; Terran										
  ;------------------------						
  $Species_Name: Terran							
  $Default IFF: Friendly							
  $FRED Color: ( 0, 0, 192 )						
  $MiscAnims:										
  	+Debris_Texture: debris01a					
  	+Shield_Hit_ani: shieldhit01a				
  $ThrustAnims:									
  	+Normal:	thruster01						
  	+Afterburn:	thruster01a						
  $ThrustGlows:									
  	+Normal:	thrusterglow01					
  	+Afterburn:	thrusterglow01a					
  $AwacsMultiplier: 1.00							
  												
  ;------------------------						
  ; Vasudan										
  ;------------------------						
  $Species_Name: Vasudan							
  $Default IFF: Friendly							
  $FRED Color: ( 0, 128, 0 )						
  $MiscAnims:										
  	+Debris_Texture: debris01b					
  	+Shield_Hit_ani: shieldhit01a				
  $ThrustAnims:									
  	+Normal:	thruster02						
  	+Afterburn:	thruster02a						
  $ThrustGlows:									
  	+Normal:	thrusterglow02					
  	+Afterburn:	thrusterglow02a					
  $AwacsMultiplier: 1.25							
  												
  ;------------------------						
  ; Shivan										
  ;------------------------						
  $Species_Name: Shivan							
  $Default IFF: Hostile							
  $FRED Color: ( 192, 0, 0 )						
  $MiscAnims:										
  	+Debris_Texture: debris01c					
  	+Shield_Hit_ani: shieldhit01a				
  $ThrustAnims:									
  	+Normal:	thruster03						
  	+Afterburn:	thruster03a						
  $ThrustGlows:									
  	+Normal:	thrusterglow03					
  	+Afterburn:	thrusterglow03a					
  $AwacsMultiplier: 1.50							
  												
  #END