User Tools

Site Tools


falcon4:file_formats:cam_trn_tac:pol_file

.POL file

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: 2009-02-15 06:47 (external edit)