GPS: Missing Airspace Options: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
No edit summary
Line 17: Line 17:
  0 = Draw nothing  
  0 = Draw nothing  


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


  -1   - default
  -1       - default
  0    - Draw Nothing
  0       - NONE = 0
  8     - Class B
8        - CENTER = 1
  16   - Class C
16      - CLASS_A = 2
  32   - Class D
32      - CLASS_B = 3
  64   - MOA
64      - CLASS_C = 4
  128   - Restricted
128      - CLASS_D = 5
  256   - Prohibited
264      - CLASS_E = 6
  512   - Warning
528      - CLASS_F = 7
  1024 - Alert
1024    - CLASS_G = 8
  2048 - Danger
2048     - TOWER = 9
  4096 - Mode C
  4096    - CLEARANCE = 10
  8192 - Radar
8192     - GROUND = 11
  16384 - Training
  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:
You can create Macro entries for use in your gauge to display selected airspaces by summing the input parameters for each type:



Revision as of 11:17, 12 April 2011

GPS: Missing Airspace Options

I have found a very curious OMISSION in the FSX SDK on the XML Map parameters...

ObjectDetailLayerAirspaces

-1 = Default
0 = Draw nothing 

This is woefully incomplete! 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>