Descriptions of marker icons

From Frontier Pilot Simulator Wiki
Jump to: navigation, search

Descriptions of marker icons

Descriptions of marker icons are downloaded from the "*.json" files located in the "\GUI\Marks".folder. Each file loads an array of descriptions, the file can contain one or more descriptions.

Icons of markers are used in the derivation of markers (more details in the Description of markers).

Example

[

   {
       "Name": "City",
       "HelperIcons": [
           {
               "Icon": "GUI/Icons/Map/Base_Icon",
               "DistanceRange": {
                   "Min": 0,
                   "Max": 100000
               }
           }
       ],
       "MapIcons": [
           {
               "Icon": "GUI/Icons/Map/Base_Icon",
               "ScaleRange": {
                   "Min": 6,
                   "Max": 64
               },
               "ShowOnEdge": true
           }
       ],
       "CompassIcons": [
           {
               "Icon": "GUI/Icons/Map/Base_Icon",
               "Arrow": "GUI/HUD/UIArrow2"
               "DistanceRange": {
                   "Min": 600,
                   "Max": 2500
               }
           }
       ]
   },
   ..

]

Name - the unique name of the marker, by which it can be referenced.

Animations - sequence of animation steps.

HelperIcons - an array of descriptions of options for displaying icons in the "Augmented Reality" mode.

  • Icon - (optional) icon name
  • DistanceRange - (optional) range of distances to the object in meters, in which this icon is displayed
  • ShowAlways - (optional) the flag, when installed, the icon will always be displayed, regardless of the status of the Augmented Reality mode

MapIcons - an array of descriptions of options for displaying icons in the map.

  • Icon - (optional) icon name
  • ScaleRange - (optional) the range of scales in which this icon is displayed
  • ShowOnEdge - (optional) flag, when installed, the icon will be displayed on the edge of the screen when the object exits beyond its limits

CompassIcons - an array of descriptions of options for displaying icons on a compass.

  • Icon - (optional) icon name
  • Arrow - (optional) image name arrows
  • DistanceRange - (optional) range of distances to the object in meters, in which this icon is displayed