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

"Airspeed select" control gauge

Messages
65
Country
unitedstates
I am taking a "Smoke" control gauge that I know works on engine RPM and trying to adapt it to run a "Spray"
effect at a certain boat speed. No matter what syntax I try the spray effect just runs no matter what "airspeed" variable I set. I have swapped effects around and don't see that they are the problem.
If someone can tell me what might be wrong...?

Here is the control code that works on engine RPM. With this each effect is tied to a specific engine.
It works quite well....

<Element>
<Select>
<Value>
(A:ENG2 N1 RPM,percent) 35 > if{ 2 (>K:SMOKE_ON) } els{ 2 (>K:SMOKE_OFF) }
</Value>
</Select>
</Element>

---------------------------------------------------

Then the "airspeed" code that does not work:
A second problem is that by using "airspeed" it ties into engine #1. If engine #1 is stopped all "airspeed"
based effects stop.

<Element>
<Select>
<Value>
(A:Airspeed select indicated or true,knots) 7 > if{ 10 (>K:SMOKE_ON) } els{ 10 (>K:SMOKE_OFF) }
</Value>
</Select>
</Element>

Any help would be appreciated...
Thanks...
 
I don't think the variable you are trying to use indicates current speed (I know what the SDK says... just don't believe it) and I also think you would be better using ground speed for a boat.
 
Thanks, but no joy...

<Element>
<Select>
<Value>
(A:SURFACE RELATIVE GROUND SPEED, knots) 7 > if{ 10 (>K:SMOKE_ON) } els{ 10 (>K:SMOKE_OFF) }
</Value>
</Select>
</Element>
 
Or even GPS GROUND SPEED.

Also, test that you can even get the effect to go on at all, ignoring speed as a requirement.
 
I don't think that ">" is parsed correctly since it's used to assign values to vairiables. Try "&gt;".
 
Code:
(A:Airspeed select indicated or true,knots) 7 > .......

it should use
Code:
(A:AIRSPEED INDICATED, knots) 7 > .....
 
We're talking boats here, so surface relative ground speed should be the better variable to drive the spray effect.
 
Back
Top