Pierrot727 Posted October 1 Report Posted October 1 Dear community, dear dev, I'm using fsuipc when required by my plugins so i have no clue how it works. I'm using Prepar3Dv5 and some plugins like fslab A320. But when i have to work on the ECAM for training and where the failure not allow Autopilot or autothrust, it's a real nightmare. In the reality it's a multicrew aircraft so the one who will have deal with ecam and the failure will have not to fly. so this is my request : Will it be possible to have 2 possible features regarding the sim : - attitude freeze (the aircraft continue to fly and burn some fuel the attitude is locked and the altitude as well (to not slowly deviate if not perfectly stable)). - position freeze (attitude and position freeze and fuel freeze) Thanks so much for your help and for the time that you will take to answer me, Regards Pierrot
John Dowson Posted October 1 Report Posted October 1 To freeze altitude and position, you can use the standard FS controls: 66833 FREEZE_ALTITUDE_TOGGLE 66834 FREEZE_ALTITUDE_SET 67216 POSITION_FREEZE_USER You can also use offset 0x3402 to both read the current freeze mode and set it for both freeze position and freeze altitude. Fuel freeze is more complicated - there is no such thing so you would have to implement this yourself. You would need a lua script that monitored the fuel tank level offsets and reset the value each time it decreased. Try and write this yourself, and I can help if you have difficulties. You just need to some offset events (event.offset) that are called each time a fuel tank level offset is changed. On the first call (when script started/initialised) would read the current value of the offset and save this as the current level to be maintained, and then on each subsequent call you would use that value to set the offset. Maybe better to just read the initial values and then have a timer event to set those values every half a second or so while the script is running. You could even have the script automatically running/active when position freeze is active.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now