Field reference › A1 — Ships and land units
A1 — Ships and land units
Surface-ship classes, and the mobile land units (convoy, armored, AD mobile) the game keeps in the same annex -- see Platform type. RES id 5; 196-byte record; 28 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 3265535 = 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 1665535 = 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 |
MagStart |
Magazines | Byte offset of this platform's first magazine record. | u16 0–65535Checked: Magazine blocks out of order (advisory)Checked: Magazine pool nearly full (advisory) |
MagCount |
Magazine count | Number of magazine records. | u16 0–65535Checked: Magazine blocks out of order (advisory) |
UnitFlags |
Capabilities | Capability bit-field (per-annex; A2 subs are 16-bit). | u8 0–255Platform codes — ship |
MaxSpeed |
Max speed | Max speed, knots (weapons: weapon speed). | u8 0–255 |
DetectSize |
Detection size | Detection size factor. | u8 0–255Detect size |
SearchHeight |
Sensor height | Sensor/mast height (altitude band). | u8 0–255Alt band |
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 |
Armor |
Armor | Armor rating per ship sector, in order: Engineering, Bridge, Deck, Hangar, Cargo, Sensors (ASCII codes; 0 = none). | i8 −128–127array of 6 |
Runway |
Runway | Largest runway available / required. | i8 −128–127 |
PlaneCapacity |
Aircraft capacity | Air-asset capacity (halved). | u8 0–255 |
Type |
Platform type | Legacy ASCII type code (e.g. 83='S' ship, 67='C' carrier). | i8 −128–127Platform types — ship |
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 |