• 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.

FSXA SPB gauges

Vitus

Resource contributor
Messages
1,480
Country
newzealand
Hi there,

I was wondering what the advantages and disadvantages of SPB gauges are.
It looks like it's not possible to decipher the script afterwards (right?) but are they in any way faster than XML gauges?

Cheers,
Vitus
 
SPB gauge must be done in the new FSX XML schema. My experiments with them were successfull locally, but many downloaders had problems with them displaying.

I abandoned the effort entirely after having spent far too much time "translating" an FS9 XML "gauge" to FSX XML syntax... :(
 
That's not an issue for me as I only use FSX syntax.

At the moment most of my more complex systems are coded in XML with the downside that everybody who wants to know how my stuff work don't need to ask me but can just have a look into the files directly.

I thought about shifting all the coding to the modeldef until I found out that there is no "UpdateWhenHidden" Flag for these parts - with the result that I can't simulate an engine stutter in the exterior view.

At first sight the SPB seems to be a good option though - you can hide your source code without suffering from the interior-only-problem or translating it to C++.

[...] but many downloaders had problems with them displaying.
What exactly was the problem? Is it a FSX/SP1/ACC problem?

Cheers,
Vitus
 
What exactly was the problem? Is it a FSX/SP1/ACC problem?

More than a few user's systems either crashed entirely or the gauge wouldn't display at all, with no common source identified. They were using a variety of different combinations of RTM, SP1a, SP2 and Acceleration.

Since it was an already released product, I had to scramble to get a working replacement ready for them.

Oddly enough, no one who beta tested the project had any problems at all, so we figured it was safe to release... :eek:

I've never bothered testing this, but I wonder if placing the "logic" for your gauge in the exterior model would update all the time?
 
Weird. I guess in that case it's not an option. Too sad, I like the idea of SPB files.

I've never bothered testing this, but I wonder if placing the "logic" for your gauge in the exterior model would update all the time?

Gosh, I didn't thought of that - although it's so simple. I'll try that in one of the next builds. :cool:

Thanks!
Vitus
 
Actually, now that I've had a good night's sleep, I am more confident that such an approach might work...

...because I have -in fact- tried this in a manner of speaking.

You see, I place some "security code" into the exterior model which provides constant feedback to the C++ gauge system.

1. If anyone tries to use the gauge/panel system with another model, the gauge/panel system will shut down completely and lock all mouse points.

2. If there is anything the least bit "hinky" with the licensing system, the entire interior model will disappear, and selected parts of the exterior model (ones that can't normally be seen in the Preview Window) will likewise be hidden, and the entire panel/gauge system will shut down and become inoperable.
 
Back
Top