pilotjohn Posted January 7, 2023 Report Posted January 7, 2023 I've been using 2E80 to test and toggle my avionics using AVIONICS MASTER SET (which is the only way it would work consistently). I'd like to switch to having separate toggles for the 2 buses, but I don't see individual offsets for the state. Is this available?
John Dowson Posted January 8, 2023 Report Posted January 8, 2023 This will almost certainly depend on the aircraft that you are using, i.e. will be different for each aircraft (use profiles). Try searching for a preset for separate avionics on https://hubhop.mobiflight.com/presets/ for the aircraft you are using, and you can then assign to these by checking the Select for preset checkbox. If you look at the code for the preset, this should indicate the lvar which holds the individual avionics states, and you can add these lvars to an FSUIPC offset if you want to read the state. John
pilotjohn Posted January 8, 2023 Author Report Posted January 8, 2023 53 minutes ago, John Dowson said: This will almost certainly depend on the aircraft that you are using, i.e. will be different for each aircraft (use profiles). Try searching for a preset for separate avionics on https://hubhop.mobiflight.com/presets/ for the aircraft you are using, and you can then assign to these by checking the Select for preset checkbox. If you look at the code for the preset, this should indicate the lvar which holds the individual avionics states, and you can add these lvars to an FSUIPC offset if you want to read the state. John Thanks, odd that these don't seem to be available even though you can independently set them (e.g. the 172).
John Dowson Posted January 8, 2023 Report Posted January 8, 2023 3 minutes ago, pilotjohn said: odd that these don't seem to be available even though you can independently set them (e.g. the 172). Well, it can be made available, by looking at the value of 3 simvars: CIRCUIT SWITCH ON, BUS LOOKUP INDEX and BUS CONNECTION ON. If needed, you can add them to free offsets, and use a lua script to update a fourth/fifth offset with the actual avionics master 1/2 state when any of those change. John
pilotjohn Posted January 8, 2023 Author Report Posted January 8, 2023 1 hour ago, John Dowson said: Well, it can be made available, by looking at the value of 3 simvars: CIRCUIT SWITCH ON, BUS LOOKUP INDEX and BUS CONNECTION ON. If needed, you can add them to free offsets, and use a lua script to update a fourth/fifth offset with the actual avionics master 1/2 state when any of those change. John Thanks, I'll take a look at those.
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