An alphabet worth of variables

After mentioning which types of variables can and can't be set in my last post, I was feeling a little guilty.  In the FS2004 SDK we didn't actually define which types of variables CAN be set. So here's an improved table of variable types, since the SDK docs were deficient.  Speaking of which, I would love to get out a completely updated doc for the XML gauges, but seeing as a good bit of work needs to be done there, it might be a while before such an update takes place.

Parameter

Stands for…

Read-only?

Units required?

Description

A

Aircraft

Yes

Yes

Get the current parameters of the aircraft

C

Custom Gauge

No (in some cases)

No

To use these variables, a separate C++ module must be written and loaded by flight sim. The fs9view and fs9gps are currently the only gauge modules that use this feature.

E/P

Environment/Program

Yes

Yes

Environment and Program-related parameters include time of day and simulation rate. (Either E: or P: may be used).

G

Gauge variable

No

No

General-purpose user-defined variable local to a particular gauge.

K

Key code

No

No

Key codes that are sent from gauges to Flight Simulator.

L

Local

No

Yes

General-purpose, user-defined variable that can be accessed by multiple gauges.

M

Mouse variables

Yes

No

Reports the state of the mouse for use in mouse click handlers.

R

Resource strings

Yes

No

Get a string from the resource file (which will be localized). E.g. (R:HELPID_GAUGE_FLAPS_UP) See helpids.doc for a complete list of strings

I haven't yet seen this information posted online anywhere, but if anyone knows of any resources out there that cover topics such as this, let me know so I can add links to them! 

Scrabble fans: Bonus points if you can make a word (in any language) from the letters (ACEGKLMR) that define the different variable types ...

Comments

  • Anonymous
    November 05, 2005
    Thanks for this. It's very comprehensive.

    As for online resources the AVSIM Panel & Design forum has a useful XML FAQ and I've found the xml parts forum at www.freeflightdesign.com to useful .

  • Anonymous
    November 05, 2005
    Susan, I want to thank you for taking the time out of you schedule to blog with us.
    It's great that your team is more visible and it sure is appreciated by us on the other side of the MSFS fence.
    Cheers
    Chris Porter
    Western Australia

  • Anonymous
    May 31, 2006
    Best of the text i read about a problem.

  • Anonymous
    June 06, 2006
    Wellcome to the real world.

  • Anonymous
    June 21, 2008
    Hi Engauged, Do you have, or is there, a complete list of the variables somewhere online?

  • Anonymous
    August 11, 2008
    g Een plaatje zegt alles, toch ? n  Het volledige rapport is hier te vinden. Lees natuurlijk b  de blogposting. q w [url=http://skuper.ru]паркет [/url] 7s

  • Anonymous
    August 13, 2008
    zjn Een plaatje zegt alles, toch ? bng  Het volledige rapport is hier te vinden. Lees natuurlijk w  de blogposting. e q Thanks for interesting post! dxx [url=http://skuper.ru]ламинат и паркет[/url] 8s

  • Anonymous
    December 12, 2008
    The comment has been removed

  • Anonymous
    December 12, 2008
    Excellent site!  Stopping by to show you <a href="http://www.surgery.us.com">cosmetic surgeons</a> what it is!

  • Anonymous
    December 24, 2008
    I'm hoping to travel soon, any other sites to find good <a href="http://cheaphotelrates.tripod.com">cheap hotels</a>?

  • Anonymous
    December 30, 2008
    Have the cost of <a href="http://cheapairlinetickets.vox.com/">cheap airline tickets</a> come down even further from the gas price decreases?

  • Anonymous
    January 04, 2009
    Do you have a link to the CNN article discussing changes in the travel and <a href="http://www.carrentals2go.net">car rental</a> industry?

  • Anonymous
    January 07, 2009
    What is that guy talking about?

  • Anonymous
    January 10, 2009
    That's a smart point...for sure