Jump to content

Help Understanding Components of the Sectorfile


Rob Killins 897126
 Share

Recommended Posts

When I analyze the sector file ...

 

1) Colours

#define Purple 8388736

#define Teal 8421376

#define Gray 8421504

 

Where can I reference the values for the different colours? I do not recognize this numerical format and I'd like to change some colours if I can figure out their numerical values.

 

2) Runways

 

[RUNWAY]

;---*---*1--*---*--2---------3-*-------4------*--5---------6-*-------7-----

 

07 25 072 252 N049.43.52.800 W105.57.04.200 N049.43.53.400 W105.56.20.400 [Mod - Happy Thoughts]iniboia

 

What do the values in red represent. Can I safely [Mod - Happy Thoughts]ume they are the runway headings?

Link to comment
Share on other sites

The colors are the decimal equivalents of a hex value expressed as RGB. Each Hex value is expressed from 0 to FF is where 0 is off, and FF is max color.

 

Example pure Green is expressed in Hex as 0x00FF00, which is the decimal equivalent of 65280.

 

About the runways, you are correct, just make sure they are 0 padded to 3 characters in length and are magnetic headings, not true headings as they are compensated for in the 8th line under the [iNFO] section.

Gerry Hattendorf

ZLA Webmaster

VATSIM Supervisor

Link to comment
Share on other sites

  • 2 weeks later...

About the runways, you are correct, just make sure they are 0 padded to 3 characters in length and are magnetic headings, not true headings as they are compensated for in the 8th line under the [iNFO] section.

 

Thanks Gerry.

Where can I get the magnetic headings of these runways? The degree values on a standard aerodrome chart ... are they magnetic, or north? eg. CYWG runway 13 has a runway heading of 134 deg.. Is 134 deg true or magnetic?

 

The same chart indicates a VAR 5deg East, with an annual rate of change of 9.1' W. (2003)

 

And with trying to understand, line 8 of the info section (Magnetic variation), how does one come to that value?

Link to comment
Share on other sites

The airport diagrams shows magnetic headings which is what you want to use there.

 

Regarding line 8, if you take a look at the link Ross provided for you, you would take the variation i.e. var 5 degrees east = 5, west would be -5 at the center of your sector, as this "rotates" the display of your scope for you.

Gerry Hattendorf

ZLA Webmaster

VATSIM Supervisor

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...