User Tools

Site Tools


falcon4:file_formats:cam_trn_tac:obd_file

Falcon 4 .OBD file

Falcon 4.0 Forum, Falcon 4 Home, Falcon 4 Campaign, Falcon 4 Cockpits, Falcon 4 Database, Falcon 4 File Formats, Falcon 4 SRTM Terrain, Falcon 4 Terrain, Falcon 4 Textures, Falcon 4 Tools

The OBD file holds changes to the objectives. The main objectives are read from the parent campaing file, and in this subfile the changes to the base record are recorded.

It also holds the current damage state of the features.

.OBD File Format

Raw (compressed contents)

FieldData TypeWidth (in bytes)Description
CompressedSize Signed 32-bit integer4Size, in bytes, of the compressed data to follow (includes space for the NumObjectiveDeltas and UncompressedSize fields)
NumObjectiveDeltas Signed 16-bit integer2Number of objective delta records in the data that follows
UncompressedSizeSigned 32-bit integer4Size, in bytes, of the data that follows, when it's uncompressed
DATAbyte[](CompressedSize-6) bytesLZSS-compressed binary data.

Uncompressed contents of the DATA field

FieldData TypeWidth (in bytes)DescriptionVersions
objectiveDeltaRecords[]ObjectiveDeltaRecord[NumObjectiveDeltas] All

Structures Used

ObjectiveDeltaRecord structure

FieldData TypeWidth (in bytes)DescriptionVersions
idVU_ID8 All
last_repairunsigned 32-bit integer4 All
ownerbyte1 All
supplybyte1 All
fuelbyte1 All
lossesbyte1 All
numFstatusbyte1 All
fStatus[]byte[numFstatus](numFstatus) bytes > = 64
fStatus[]byte[1]1 < 64

VU_ID structure

FieldData TypeWidth (in bytes)Description
num_unsigned 32-bit integer4
creator_unsigned 32-bit integer4
falcon4/file_formats/cam_trn_tac/obd_file.txt · Last modified: 2024/07/31 08:39 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.