• 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 Animations in Multiplayer

rcbarend

Resource contributor
Messages
435
Country
netherlands
Hi,

In the development of our V22, we stumble onto the following problem when used in Multiplayer.

We use the AileronTrim function to rotate the V22-nacelles.
But because there are number of restrictions on nacelles control, we sometimes need to "correct" user AileronTrim inputs in a gauge. To avoid visual jitter, the AileronTrim value is smoothed in an Lvar which is used in the visual model to animate the nacelles rotation.

In single user this works perfect, but not in multiplayer.
Obviously because the Lvar value is not transferred via the multiplayer protocol, the nacelles of the remote V22's don't visually animate.

We tried to solve that by making the nacelles animation dependant on whether the displayed V22 is either the user aircraft (using the Lvar) or a remote aircraft (using the value of AileronTrim).
And make the distinction between the local/remote V22's based on var (A:IS USER SIM,bool).

But this doesn't appear to work.
For the user aircraft ( (A:IS USER SIM,bool) is TRUE) this work fine, but not for the remote V22: the value of (A:AILERON TRIM PCT,percent) appears to remain 0, although the SDK says this var is transferred in multiplayer sessions.

Any clues ??

Rob
 
The SDK states some of these variables wrong. We've stumbled upon such variables such as water rudder handle that don't seem to transmit in MP, in contrast to what's in the SDK.
I recommend trying other incremental variables that transmit in multiplayer and you don't need. You could for example use a fourth landing gear strut (AUX) as a dummy and set it manually through SimConnect to control the prop.
 
Perhaps the latest P3D SDK has been reviewed for MP transmitted variables, but mine has no mention of aileron trim. Obviously most of the variables transmitted are for items that would reasonably be visible to another aircraft. This includes flaps, gear, spoilers, big things not tiny ones like aileron trim position. The aileron trim position is visible in shared cockpit which is reasonable. The less transmitted the better for frame rate considerations in MP, but it does not help the modeler much.
Roy
 
Thanks guys.
It does work in Shared Cockpit too, so yes.. it wil probably an error in the (FSXACCELL) SDK, because it doesn't work in any P3D version too.
Which explains why it's left out in the P3D SDK.

Just have to figure out another "proxy" I can use for this, which does work in MP.

Rob
 
Well it's not a great fix, but you could set the condition so that if the AI/Multiplayer aircraft is flying at more than a certain speed, the Nacelles tilt forward (pretty sure you can do this without an L:Var). Probably won't always match and will be delayed from the actual tilt but should look okay.
 
Well it's not a great fix, but you could set the condition so that if the AI/Multiplayer aircraft is flying at more than a certain speed, the Nacelles tilt forward (pretty sure you can do this without an L:Var). Probably won't always match and will be delayed from the actual tilt but should look okay.
Thanks for the suggested fix, but problem solved already.
I'm now using the FS "SpoilerHandlePosition" function as proxy command for nacelles animation in MP.
Which is possible, since the real V22 has no spoiler/airbrakes.

Rob
 
Back
Top