User Tools

Site Tools


falcon4:file_formats:cam_trn_tac:pol_file

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

FieldData TypeWidth (in bytes)DescriptionVersions
teamMaskbyte1 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
numPrimaryObjectivesSigned 16-bit integer 2 the number of PrimaryObjective records that follow. All
primaryObjectives[]PrimaryObjective[numPrimaryObjectives] All

Structures used

PrimaryObjective structure

FieldData TypeWidth (in bytes)DescriptionVersions
idVU_ID8 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

FieldData TypeWidth (in bytes)Description
num_unsigned 32-bit integer4
creator_unsigned 32-bit integer4
falcon4/file_formats/cam_trn_tac/pol_file.txt · Last modified: 2024/07/31 08:41 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.