Field reference › A2 — Submarines
A2 — Submarines
Submarine classes. RES id 6; 140-byte record; 26 fields.
See the Getting started guide for how a record like this one is found and edited in the app.
| Field | Name | Means | Limits |
|---|---|---|---|
DiskId |
Id | 16-bit game id, unique across the database (high nibble = annex). 65535 = none. | u16 0–65535Checked: Ids that collide (advisory) |
Displacement |
Displacement | Displacement, tons. | i32 −2147483648–2147483647 |
MntId |
Mounts | Mount ids (Z1/Z2); 65535 = empty slot. | u16 0–65535array of 1665535 = noneChecked: Points at the wrong annex (blocks export)Checked: Points at a record that isn't there (advisory) |
SensId |
Sensors | Sensor ids (J1/M1/G2); 65535 = empty slot. | u16 0–65535array of 865535 = noneChecked: Points at the wrong annex (blocks export)Checked: Points at a record that isn't there (advisory) |
OrigDp |
Damage points | Original damage points. | u16 0–65535 |
TextIndex |
Description | Index into the text pool (see top-level `texts`). | u16 0–65535Checked: Description that is not there (advisory) |
PictureIndex |
Picture | Picture index into the .rsr graphics. | u16 0–65535 |
Length |
Length | Length, meters. | u16 0–65535 |
UnitFlags |
Capabilities | Capability bit-field (per-annex; A2 subs are 16-bit). | u16 0–65535Platform codes — sub |
MaxSubSpeed |
Max submerged speed | Max submerged speed, knots. | u8 0–255 |
MaxSurfSpeed |
Max surfaced speed | Max surfaced speed, knots. | u8 0–255 |
CreepSpeed |
Creep speed | Quiet creep speed, knots. | u8 0–255 |
MaxDepth |
Max depth | Max depth (altitude/depth band). | u8 0–255Alt band |
DetectSize |
Detection size | Detection size factor. | u8 0–255Detect size |
DeprecatedCountry |
Country (legacy) | Legacy 8-bit country index, superseded by Country. | u8 0–255 |
VicType |
Victory type | Broad victory-type index. | u8 0–255 |
Subtype |
Type | Type-label index (ships/subs → ShipType, planes → ACType, loadouts → LoadoutString). | u8 0–255 |
ShipForm |
Hull form | Hull / deck form type. | u8 0–255Ship form |
Propulsion |
Propulsion | Propulsion type (ASCII code for ships/subs; numeric for planes). | i8 −128–127 |
HydroPdMod |
Passive detection modifier | Passive-detection modifier. | i8 −128–127 |
SonarPdMod |
Active detection modifier | Active-detection modifier. | i8 −128–127 |
ClassName |
Class name | Class / display name. | 48 bytes |
RCS |
Radar cross-section | Radar cross-section code. | u8 0–255 |
BaseSourceLevel |
Acoustic source level | Acoustic base source level. | i8 −128–127 |
Country |
Country | Country index into BS_STRINGS.CountryName. | u32 0–4294967295 |
Spares |
Spares | Reserved padding (zeroed on disk). | 10 bytes |