GPS: Missing Airspace Options: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
Line 11: Line 11:
==='''GPS: Missing Airspace Options'''===
==='''GPS: Missing Airspace Options'''===


I have found a very curious OMISSION in the FSX SDK on the XML Map parameters...
I highly suggest visitors to this Wiki entry to refer to this most excellent guide:


ObjectDetailLayerAirspaces
'''BlackBox Website - GPS Guidebook'''[http://www.robbiemcelrath.com/blackbox/?guide]
-1 = Default
0 = Draw nothing


This is woefully incomplete!  Here is a list of known* input parameters for this token:
Here is a list of known* input parameters for this token:


  -1      - default
  -1      - default

Revision as of 12:22, 12 April 2011

GPS: Missing Airspace Options

I highly suggest visitors to this Wiki entry to refer to this most excellent guide:

BlackBox Website - GPS Guidebook[1]

Here is a list of known* input parameters for this token:

-1       - default
0        - NONE = 0
8        - CENTER = 1
16       - CLASS_A = 2
32       - CLASS_B = 3
64       - CLASS_C = 4
128      - CLASS_D = 5
264      - CLASS_E = 6
528      - CLASS_F = 7
1024     - CLASS_G = 8
2048     - TOWER = 9
4096     - CLEARANCE = 10
8192     - GROUND = 11
16384    - DEPARTURE = 12
32768    - APPROACH = 13
65536    - MOA = 14
131072   - RESTRICTED = 15
262144   - PROHIBITED = 16
524288   - WARNING = 17
1048576  - ALERT = 18
2097152  - DANGER = 19
4194304  - NATIONAL_PARK = 20
8388608  - MODE_C = 21
16777216 - RADAR = 22
33554432 - TRAINING = 23 

* NOTA BENE: This is a work in progress and may (probably does) contain errors of ommission or commission!

You can create Macro entries for use in your gauge to display selected airspaces by summing the input parameters for each type:

B, C, D, MOA, RESTRICTED, PROHIBITED, WARNING, ALERT, DANGER, MODE_C, RADAR, TRAINING
8, 16,32, 64,    128,        256,       512     1024   2048    4096    8192   16384
<Macro Name="DisplayedAirspaces">0xEFC038</Macro>
MOA, RESTRICTED, PROHIBITED, WARNING, ALERT, DANGER
64      128         256        512    1024    2048
<Macro Name="AlwaysDisplayedAirspaces">0x0FC000</Macro>