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


