Objecttypes.tbl

From FreeSpace Wiki
Revision as of 08:51, 22 April 2006 by WMCoolmon (talk | contribs) (Finish of original addtion)
Jump to: navigation, search

Objecttypes.tbl is a table added by the FSSCP, used to set attributes of different object types. Currently the only section of this table are ship type attributes. A ship 'type' supercedes ship classes defined in ships.tbl. For example, the GTF Perseus and GTF Ulysses belong to the 'fighter' ship type. However, the GTD Orion belongs to the 'capital' ship type.

General Format

#Ship Types

$Name:

  • Name of ship type. To assign a ship class to a given type, simply place the name entered here in the ship class's "$Flags:" field.

$Counts for Alone:

  • Whether ship counts for determing whether or not Freespace 2 will play the "No reinforcements are available" message.
  • Syntax: Yes/No

$Praise Destruction:

  • Whether wingmates will praise destruction of the ship.
  • Syntax: Yes/No

$On Hotkey List:

  • Whether ship will show up in hotkey screen.
  • Syntax: Yes/No

$Target as Threat:

  • Whether ship will be targetted with the 'H' key.
  • Syntax: Yes/No

$Scannable:

  • Toggles whether ship type can be scanned
  • Syntax: Yes/No

$Warp Pushes:

  • Whether ship will push other (pushable) ships out of the way while warping.
  • Syntax: Yes/No

$Warp Pushable:

  • Whether ship can be pushed out of the way by ships with Warp Pushes enabled
  • Syntax: Yes/No

$Max Debris Speed:

  • Maximum speed of debris spawned from ship
  • Syntax: Number or decimal

$FF Multiplier:

  • Friendly-fire damage to ship will be multiplied by this amount
  • Syntax: Number or decimal

$EMP Multiplier:

  • EMP effect will be multiplied by this amount. Higher values mean more HUD jittering/longer-lasting effect.
  • Syntax: Number or decimal

$Beams Easily Hit:

  • Whether beams can easily hit ship (eg capship beams rarely hit fighters)
  • Syntax: Yes/No

$Fog:

+Start Dist:

  • Distance from camera that fogging effect will start
  • Syntax: Number or decimal

+Compl Dist:

  • Distance from camera that fogging effect will start
  • Syntax: Number or decimal

$AI:

+Valid Goals:

  • Valid goals that can be given to fighter
  • Syntax: ( "goal" "goal" )
  • Goals:
    • attack ship
    • dock
    • waypoints
    • waypoints once
    • depart
    • attack subsys
    • form on wing
    • undock
    • attack wing
    • guard ship
    • disable ship
    • disarm ship
    • attack any
    • ignore ship
    • ignore ship (new)
    • guard wing
    • evade ship
    • stay near ship
    • keep safe dist
    • rearm ship
    • stay still
    • play dead
    • attack weapon
    • fly to ship

+Accept Player Orders:

  • Whether or not ship type will accept orders from player
  • Syntax: Yes/No

+Player Orders:

  • Orders that ship type will accept from player
  • Syntax: ( "goal" "goal" )
  • Orders:
    • attack ship
    • disable ship
    • disarm ship
    • disable subsys
    • guard ship
    • ignore ship
    • form on wing
    • cover me
    • attack any
    • depart
    • dock
    • rearm me
    • abort rearm
    • stay near me
    • stay near ship
    • keep safe dist

+Auto Attacks:

  • Whether or not ship type will auto attack nearby ships
  • Syntax: Yes/No

+Attempt Broadsides:

  • Whether or not ship type will try to use broadside tactics against enemy ships
  • Syntax: Yes/No

+Actively Pursues:

  • Whether or not ship type will engage ships that attack it or the ship that is currently being escorted by it.
  • Syntax: Yes/No

+Guards Attack this:

  • Whether ships assigned to guard another ship will attempt to engage ships of the type
  • Syntax: Yes/No

+Turrets Attack This:

  • Whether or not turrets will target the ships of the type
  • Syntax: Yes/No

+Can Form Wing:

  • Whether or not ship type can be formed into a wing
  • Syntax: Yes/No

+Active Docks:

  • Preferred docking bay type for ship when it is initiating the dock with another ship
  • Syntax: ( "bay" "bay" )
  • Dock bays:
    • cargo
    • rearm
    • generic

+Passive Docks:

  • Preferred docking bay type for ship when it is receiving a dock from another ship
  • Syntax: ( "bay" "bay" )
  • Dock bays:
    • cargo
    • rearm
    • generic

#End