Score Format

<< Click to Display Table of Contents >>

Navigation:  Support > Reconfigurable Rulebook > String Formatting >

Score Format

The format of a score to display to the user.

Variables

{i} => Display the Integer Score (I).

{d} => Display the Decimal Score (D).

{x} => Display the inner ten ring count (X)

{X} => Display an asterisk (*) if the inner ten count is greater than 0 (X).

{s} => Display the Summed Score (S). If S is not included in the score the Decimal Score is displayed instead.

{m} => Display Attributes of a shot. These being if it is simulated (s), a frame hit (FH), or fired outside of time the allowed times (OT).

{j} => Special use case score. Value is displayed as a float to one decimal place. Known to be used in Group Mode to display the Area of the shot group.

{J} => Special use case score. Value is displayed as a truncated integer. Known to be used in Group Mode to display the Area of the shot group.

{k} => Special use case score. Value is displayed as a float to one decimal place. Known to be used in Group Mode to display the Roundness of the shot group.

{K} => Special use case score. Value is displayed as a truncated integer. Known to be used in Group Mode to display the Roundness of the shot group.

{l} => Special use case score. Value is displayed as a float  to one decimal place. Known to be used in Group Mode to display the distance the center of the group is from the center of the target.

{L} => Special use case score. Value is displayed as a truncated integer. Known to be used in Group Mode to display the distance the center of the group is from the center of the target.

All other characters are carried forward.

Conditional Operators

{?i} if score.I == 0, Process only the right half of the string. If score.I != 0, process the left half

{?x} if score.X == 0, Process only the right half of the string. If score.X != 0, process the left half

{?d} if score.D == 0, Process only the right half of the string. If score.D != 0, process the left half

Conditional operators may be combined in one Score Format, they are evaluated left to right.

Conditional operators are typically used in Gap Score Formats.

Examples

Consider the following Score for a series:

  "S": 87.3,

  "I": 83,

  "D": 87.3

  "X": 3 

}

 

With the following formats the score would be displayed as:

"{i}” => 83

"{i} - {x}” => 83 - 3

"{d}” => 87.3

"{i}({d})” => 83(87.3)

"{x} Xs" => 3 Xs

"{i}{?i}{x}x{?x}-" => 83

 

Consider the following Score for a shot

{

  "I" : 10,

  "D" : 10.3,

  "X" : 1

}

 

With the following formats the score would be displayed as:

"{i}" => 10

"{i}{X}({d})" => 10*(10.3)

"{i}{?i}{x}x{?x}-" => 10

 


 

Note:

The Reconfigurable Rulebook and functionality will be fully implemented in the 3.0 release of Orion Scoring System. Athena and Rezults both 100% implement the Reconfigurable Rulebook.