Galatia Academy

.system

The .system file is a JSON file that acts as the "bridge" between the game engine and your code. It tells the game what your system is called, how it behaves, and which script it should run when activated.

Basic Structure:

Your .system file should be located in data/shipsystems/ and must share the same ID that you assigned in your ship_systems.csv.

The formatting is as follows:

{
	"id":"ammofeed", # Must match the ID defined in ship_systems.csv exactly.
	"type":"STAT_MOD", # Defines the system's category; STAT_MOD is for stat-changing scripts.
	"aiType":"WEAPON_BOOST", # Determines AI behavior. Use "CUSTOM" if using a custom AI script.
	"statsScript":"data.shipsystems.scripts.AmmoFeedStats", # Full path to your Java script; case-sensitive.
	"aiScript":"", # Optional: Path to a custom AI script if one is required.
	"useSound":"system_ammo_feeder", # Sound effect played upon system activation.
	"outOfUsesSound":"gun_out_of_ammo" # Sound effect played when the system has no charges left.
}
Last updated 5/24/2026, 9:55:50 PM by TIDAL · revision 4