Skip to content

parts.csv

prontotorpedo edited this page Nov 21, 2025 · 1 revision

This page is a WIP!

parts.csv

The parts.csv file holds the information for all hulls and most of the parts that can be placed on them. The order of the list goes: hulls, barbettes, funnels, main towers, secondary towers, special(transport parts), torpedoes, guns, and hulls used during missions.

Explanation of all columns in file (left to right)

@name

Provides the internal id for every part in the game. All parts must have a unique id. Most id's can be changed without issue, however some appear in multiple files, and will need to be changed in all of them.

enabled

By default, all parts are enabled. However, if a zero is put in this column, the respective part will be disabled and will not appear in game.

type

Defines which of the groups listed above that the part will fall under.

nameUi

This is the name that the player will see in game when selecting the part.

order

Defines the UI order of parts. Parts are ordered as they are in the file by default, so this column isn't necessary to change.

cost

Cost of the part. Should be -1 for hulls, torpedoes, and guns, but all other parts will use an actual value.

weight

The tonnage taken up by the part. Should be -1 for hulls, torpedoes, and guns, but all other parts will use an actual value.

costMod

Used for calculating the base cost of the hull. Multiplies the hull's base cost (not found in this file) by the specified amount.

crew

How many crewmembers the part will add to the ship.

model

The model used to represent the part. A list of all models can be found on the GitHub page.

scale

The scale multiplier applied to the model. At the time of writing, this multiplier is applied to all 3 dimensions of the model, although that may not be the case in the future.

group

Defines whether a gun counts as a centerline gun or a side gun.

mountPoints

Defines which types of mounting points in mounts.csv that the part is able to use.

countries

Specifies which countries a part can be used by. An empty cell means it is useable by all countries.

param

Applies various parameters to a part, such as the type of ship or hull specific rules for AI shipbuilding. This column is also used for pairing parts onto a hull, where the part will look for specific parameters and only be available on ships who have them.

stats

Defines the stats that each part possesses. A list of all stats can be found in the stats.csv file.

caliber

Defines the caliber of all guns in millimeters.

#caliberInch

Defines the caliber of all guns in inches. This is a comment column, so changing it is not necessary.

barrels

Defines how many barrels each gun possesses.

hullWeightRatio

Basic ratio of hull weight. Unsure of the meaning at this time.

sectionsMin

Minimum amount of middle sections that a hull may have.

sectionsMax

Maximum amount of middle sections that a hull may have.

tonnageMin

Minimum allowed tonnage of a hull before beam/draught adjustments.

tonnageMax

Maximum allowed tonnage of a hull before beam/draught adjustments.

maxAllowedCaliber

Applies a hull-specific limit on the largest gun that can be fitted to that hull.

beamMin

Minimum allowed beam on a hull.

beamMax

Maximum allowed beam on a hull.

draughtMin

Minimum allowed draught on a hull.

draughtMax

Maximum allowed draught on a hull.

beamCoef

Unknown.

draughtCoef

Unknown.

minMainTurrets

Unknown. Assumed to be the minimum amount of main gun turrets that should be added during AI shipbuilding.

minMainBarrels

Unknown. Assumed to be the minimum amount of main gun barrels that should be added during AI shipbuilding.

speedLimiter

Defines the optimal max speed of a hull, which refers to the sweet spot between top speed and engine weight of a hull.

Clone this wiki locally