Does anybody know how overwriting FSX variables is managed?
I try to do something with simconnect to make thermal lift. I could manage already something reasonable, by directly increasing the planes altitude by a certain amount per frame. However the flight model and all instrumentation is totally unaffected by this. Apparently, the vario variable gets its information directly from the flight model, using speed and polar data to calculate the sink, possibly including external wind, which is currently unwriteable.
In order to make the vario reading approriate, I tried to poke the vertical airplance speed + my simulated lift into that variable. The outcome is however not satisfying. Even if trigger this by a SIMCONNECT_PERIOD_SIM_FRAME, the vario gauge still jutters between the poked value and the "polar result".
It seems somewhat pointless to offer variables for writing, if the rewriting is not suspended then.
Does anybody know a recommend way to handle this?
Cheers,
Peter
I try to do something with simconnect to make thermal lift. I could manage already something reasonable, by directly increasing the planes altitude by a certain amount per frame. However the flight model and all instrumentation is totally unaffected by this. Apparently, the vario variable gets its information directly from the flight model, using speed and polar data to calculate the sink, possibly including external wind, which is currently unwriteable.
In order to make the vario reading approriate, I tried to poke the vertical airplance speed + my simulated lift into that variable. The outcome is however not satisfying. Even if trigger this by a SIMCONNECT_PERIOD_SIM_FRAME, the vario gauge still jutters between the poked value and the "polar result".
It seems somewhat pointless to offer variables for writing, if the rewriting is not suspended then.
Does anybody know a recommend way to handle this?
Cheers,
Peter

