GPS: Missing Airspace Options: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
No edit summary
Line 18: Line 18:


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:
B, C, D, MOA, RESTRICTED, PROHIBITED, WARNING, ALERT, DANGER, MODE_C, RADAR, TRAINING = 0xEFC038
MOA, RESTRICTED, PROHIBITED, WARNING, ALERT, DANGER = 0x0FC000


  -1    - default
  -1    - default
Line 37: Line 33:
  8192  - Radar
  8192  - Radar
  16384 - Training
  16384 - Training
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,        264,      528    1024  2048    4096    8192    16384
<Macro Name="DisplayedAirspaces">0xFFFFFF</Macro>
MOA, RESTRICTED, PROHIBITED, WARNING, ALERT, DANGER
<Macro Name="AlwaysDisplayedAirspaces">0x0FC000</Macro>


[[Category:Aircraft Design]]
[[Category:Aircraft Design]]
[[Category:Panel & Gauge Design]]
[[Category:Panel & Gauge Design]]

Revision as of 09:04, 10 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     - Draw Nothing
8     - Class B
16    - Class C
32    - Class D
64    - MOA
128   - Restricted
264   - Prohibited
528   - Warning
1024  - Alert
2048  - Danger
4096  - Mode C
8192  - Radar
16384 - Training

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,        264,       528     1024   2048    4096    8192     16384
<Macro Name="DisplayedAirspaces">0xFFFFFF</Macro>
MOA, RESTRICTED, PROHIBITED, WARNING, ALERT, DANGER
<Macro Name="AlwaysDisplayedAirspaces">0x0FC000</Macro>