Ship Systems CSV

From Starsector Wiki
Jump to navigation Jump to search

Description

A .system file and a ship_systems.csv entry contain information about a ship system. Ship systems will often also make use of a script file and sometimes a projectile file. ship_systems.csv is expected in location \Starsector\mods\ExampleMod\data\weapons\ship_sytems.csv .

Example

Elements

At the very top of ship_systems.csv, you will see a list of categories. Going from left to right, the function of each will be described:

name

The human-readable name of the ship system that is displayed in-game. This isn't the internal name for the weapon.

id

This is the internal name that is recognized by the code in the background. When modding, this ship system will be referenced everywhere by this ship system ID. It will be used in the Ship Data CSV, .system file and scripts. Remember, if you want to reference this somewhere else, it is this designation that you use, not the one above. This must be unique within the mod, vanilla files and also any other mods. For this reason it is highly recommended to add some form of unique prefix such as myuniquemod_shipsystemid

flux/second

f/s (base rate)

f/s (base cap)

flux/use

f/u (base rate)

f/u (base cap)

cr/u

max uses

Number of charges it starts with, if any. Default is null.

regen

Charges regenerated per second.

charge up

Number of seconds for the system to "spin up". Will generally not have its full effect during this time.

active

Number of seconds to be active after charge up and before down.

down

Number of seconds for the system to "spin down". Will generally not have its full effect during this time.

cooldown

Number of seconds after down ends before system can be used again.

toggle

Whether the ship system can be toggled on & off. Default is false. Boolean

noDissipation

Will the ship passively dissipate flux while ship system active. Default is false. Boolean

noHardDissipation

Will the ship passively dissipate hard flux while ship system action. Default is false. Boolean

hardFlux

Is the system's flux usage generated as hard flux? Boolean

noFiring

Will regular weapons be disabled while ship system active? Default is false. Boolean

noTurning

Will turning be disabled while ship system is active? Default is false. Boolean

noStrafing

Will strafing be disabled while ship system is active? Default is false. Boolean

noAccel

Disable manually increasing or decreasing the ship's speed while system is active. Default is false. Boolean

noShield

Disable shield while ship system active. Default is false. Boolean

noVent

If false, allow venting while ship system is active (will interrupt ship system). Default is false. Boolean

isPhaseCloak

In vanilla, used only by Phase Cloak.

tags

icon

Mod relative path to the icon file for this ship system. File with relative path
Icon check.png
Up to date for latest version, 0.97a.

---

Return to Modding