• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Resource icon

XMLVars for FSX and FS2004 1.02

A module for handling XML vars: This small but powerful module enables the use of custom variables -kind of LVars- for storing and retrieving data across the entire gaugeset of an aircraft panel. Like Lvars, this variables can have any name, can hold numeric values of any kind and, unlike LVars, can also handle string values. Besides, they can handle *standard* multidimension array-style manipulation of data, a powerful tool that is not possible to work with through the native LVarset unless a complex group of macros is suited for the task.

XMLVARS supports storing and retrieving a total of 2048 different variables, with names up to 64 char, numeric values of type FLOAT64 and string values up to 128 char. It can minimize the use of repetitive code in complex gauges like FMS, Navigation Display, TCAS and similar as one of its strongest points is the ability to maintain variable values across the different gauges, like Lvars do (and most gpsvars don't). However, unlike LVars, those values still remain even after an aircraft reload, aircraft change or flight reset; something that could be useful for debugging purposes. In this case, making a RELOAD_USER_AIRCRAFT in FSX equals to make RELOAD_PANELS in FS9 (a powerful event for developers that was lost in FSX).

XMLVARS was tested in FSX and FS9 (FS2004) under Windows Vista and Windows 7 64 bits.
Author
taguilo
Downloads
1,925
Views
2,574
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from taguilo

Share this resource

Latest reviews

Thank you, this is an amazing tool and a must have for writing XML gauge code. Greetings from Mexico!
Top