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

FSX Setting a simulation variable?

Messages
2
Country
unitedstates
I am trying to simulate the glow plugs in a diesel engine for a diesel aircraft I downloaded (actually a bus... ;)) and I use the oil temperature for deciding when to activate the glow plugs. Currently I am using a local variable that first is set to the oil temperature, then it is increased instead of the oil temperature. The problem is that I need a digital gauge to tell me the exact oil temperature, but it isn't working. Currently I have it set up to show the local variable if it is greater than the actual oil temperature, and the oil temperature if it is greater than the local variable. It doesn't work well at all. I saw in the "Simulation Variables" document that GENERAL ENG OIL TEMPERATURE:index is settable, but it doesn't seem to actually be settable. I tried using (>A:General eng oil temperature:1,farenheit) to set it, but it just stays the same. Can somebody help resolve this?
 
"Setable" XML A:vars are only possible via a SimConnect module.

The are otherwise "read only" token variables.
 
So there isn't actually a way to set the oil temperature? Maybe someone can help me with what I'm trying to do.
 
I don't think the oil temperature A var is actually settable, even via SimConnect. I suspect it only applies to being settable over a shared cockpit (two player) set-up.

However, what you initial described, using an L var, should be ok. I suspectit's just your implementation that is bugged.

Si
 
The "settable" A:vars are only possible via SimConnect. The typical use for them would be for an instructor station module.

They have nothing whatever to to with the "shared cockpit" except indirectly. It's because these are "settable" that the client sim's values may be updated by the host sim's output...

...which -not surprisingly- occurs because of the SimConnect module that's used to enable multi-player to begin with... :D
 
...and just for the sake of completeness:
A:GENERAL ENG OIL TEMPERATURE:index is marked "settable" in the SDK ;)
 
Back
Top