====== .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 ===== ^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| |