falcon4:file_formats:cam_trn_tac:pol_file
Table of Contents
Falcon 4 .POL 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 .POL file is one of the files embedded within a .CAM/.TRN/.TAC file. The .POL file holds information about the primary objectives. Unlike some other embedded files, it is not compressed.
.POL file format
Field | Data Type | Width (in bytes) | Description | Versions |
---|---|---|---|---|
teamMask | byte | 1 | bitmask indicating which teams have priorities assigned to objectives. The number of bits in this mask which are set to “1” determines to the number of elements in each PrimaryObjective structure's “priority[]” array, and which teams those priorities are associated with, for all the primary objectives listed. | All |
numPrimaryObjectives | Signed 16-bit integer | 2 | the number of PrimaryObjective records that follow. | All |
primaryObjectives[] | PrimaryObjective[numPrimaryObjectives] | All |
Structures used
PrimaryObjective structure
Field | Data Type | Width (in bytes) | Description | Versions |
---|---|---|---|---|
id | VU_ID | 8 | All | |
priority[] | array of Signed 16-bit integer * (number of bits in “teamMask” which are set to “1”) | maximum 8 teams * 2 bytes per team= 16 bytes maximum | All |
VU_ID structure
Field | Data Type | Width (in bytes) | Description |
---|---|---|---|
num_ | unsigned 32-bit integer | 4 | |
creator_ | unsigned 32-bit integer | 4 |
falcon4/file_formats/cam_trn_tac/pol_file.txt · Last modified: 2024/07/31 08:41 by snakeman