File overview: system

From Starsector Wiki
Jump to navigation Jump to search

Description

The .system file specifies the particulars of a ship system, combined with an entry in Ship Systems CSV. It is formatted in Starsector's somewhat loose JSON schema

Examples

Types

There are different types of ship systems, as defined in the type field of the .system file. The distinction is important as different types will use, and expect, different fields within the .system file. The elements section below is therefore split into which elements are used for which type of ship system, with a few elements being common to all types.

DISPLACER

STAT_MOD

SHIELD_MOD

ENGINE_MOD

TELEPORTER

PHASE_CLOAK

AMMO_RELOAD

WEAPON

DRONE_LAUNCHER

Common Elements

id

type

aiType

Displacer type elements

Stat_Mod type elements

statsScript

Location of the script to use, either in folders or in the mod's compiled jar. Designated by full stop characters instead of slashes

Shield_Mod type elements

Engine Mod type elements

  • flameoutOnImpactChance

Teleporter type elements

Phase Cloak type elements

Ammo Reload type elements

Weapon type elements

Icon cross.png
At least two versions out of date. Last verified for version 0.8.1a. Please refer to Version History and update this page.

---

Return to Modding