.ship overview
While generally it better to create and edit .ship files using one of available tools
| Field | Syntax Example | Description |
|---|---|---|
| "hullName" | "hullName":"My ship", | |
| "hullId" | "hullid":"myshipid", | The unique hullId specified in the corresponding ship_data.csv entry. This is what links these pieces of data together, not the filename of the .ship file. Case sensitive. |
| "hullSize" | ||
| "spriteName" | ||
| "style" | ||
| "height" | ||
| "width" | ||
| "center" | ||
| "collisionRadius" | ||
| "shieldCenter" | ||
| "shieldRadius" | ||
| "viewOffset" | ||
| "builtInMods": [] | ||
| "builtInWeapons" | "builtInWeapons": {<br> "WS0006": "devastator"<br> }, |
|
| "weaponSlots" | ||
| "engineSlots" | ||
| "bounds" |
{
"builtInMods": ["fluxshunt"],
"builtInWeapons": {
"WS 001": "flak",
"WS 002": "flak"
},
"coversColor": "",
"engineSlots": [
{
"angle": 180,
"contrailSize": 64,
"length": 24,
"location": [
-27,
45
],
"style": "MIDLINE",
"width": 8
},
{
"angle": 180,
"contrailSize": 64,
"length": 32,
"location": [
-29,
39
],
"style": "MIDLINE",
"width": 12
},
{
"angle": 180,
"contrailSize": 64,
"length": 32,
"location": [
-29,
33
],
"style": "MIDLINE",
"width": 12
},
{
"angle": 180,
"contrailSize": 64,
"length": 24,
"location": [
-28,
28
],
"style": "MIDLINE",
"width": 8
},
{
"angle": 180,
"contrailSize": 64,
"length": 24,
"location": [
-28,
-27
],
"style": "MIDLINE",
"width": 8
},
{
"angle": 180,
"contrailSize": 64,
"length": 32,
"location": [
-29,
-32
],
"style": "MIDLINE",
"width": 12
},
{
"angle": 180,
"contrailSize": 64,
"length": 32,
"location": [
-29,
-38
],
"style": "MIDLINE",
"width": 12
},
{
"angle": 180,
"contrailSize": 64,
"length": 24,
"location": [
-27,
-44
],
"style": "MIDLINE",
"width": 8
}
],
"hullId": "monitor",
"hullName": "Monitor",
"hullSize": "FRIGATE",
"center": [55,30],
"collisionRadius": 85,
"shieldCenter": [-1,0],
"shieldRadius": 80,
"spriteName": "graphics/ships/monitor_ff2.png",
"height": 70,
"width": 110,
"style": "MIDLINE",
"viewOffset": 0,
"weaponSlots": [
{
"angle": 80,
"arc": 210,
"id": "WS 001",
"locations": [
3,
43
],
"mount": "TURRET",
"size": "MEDIUM",
"type": "BUILT_IN"
},
{
"angle": -80,
"arc": 210,
"id": "WS 002",
"locations": [
3,
-43
],
"mount": "TURRET",
"size": "MEDIUM",
"type": "BUILT_IN"
},
{
"angle": 20,
"arc": 90,
"id": "WS 003",
"locations": [
12,
21
],
"mount": "TURRET",
"size": "SMALL",
"type": "UNIVERSAL"
},
{
"angle": -20,
"arc": 90,
"id": "WS 004",
"locations": [
12,
-21
],
"mount": "TURRET",
"size": "SMALL",
"type": "UNIVERSAL"
},
{
"angle": 160,
"arc": 5,
"id": "WS 005",
"locations": [
-27,
17
],
"mount": "TURRET",
"size": "SMALL",
"type": "SYSTEM"
},
{
"angle": 200,
"arc": 5,
"id": "WS 006",
"locations": [
-27,
-16
],
"mount": "TURRET",
"size": "SMALL",
"type": "SYSTEM"
}
],
"bounds": [
5,
54,
33,
0,
4,
-53,
-23,
-46,
-26,
-27,
-19,
-24,
-18,
0,
-19,
23,
-27,
25,
-24,
46
],
}