Reading and altering a variable is a pretty common way of instrument interaction in AIr Manager if an event is not available or not appropriate such as toggle events in some cases. Just a few small instrument coding tips if i may that will help optimise the code for other instruments that may need this approach.
1 - Its always a good idea to do an initial declaration of variables to be used at the head of the logic.lua.
2 - There is no need to return VNAVState from the subscribe callback function. You are already setting the VNAVState variable on the line above and subscribe callbacks donāt return data they collect and action it.
3 - There is no need to use an ifā¦else to check the state of a variable that can only ever be in one of 2 states 0 or 1. You simply xor the current value with 1 which will invert it. This really shortens the button callback to just 2 lines.
Just trying to help now that Air Manager has better MSFS support after the SDK was improved.
For those that donāt know. The Air Manager G1000 now works without needing Mobiflight although I do note that it needs the vnav button implementation. I have my own custom G1000 with a matching audio panel that works with Xplane and MSFS and has black screen on shut down, key lighting etc implemented with Mobiflight nowhere to be seen.
No worries at all. Iām always happy to help folks help themselves especially when they are eager to get stuck into it for themselves. Its one of the reasons I produced the API tutorial videos a while back now. Keep up the good work and it will soon become second nature. We all learn by making mistakes. Flying the sim has certainly re-inforced that for me.
I currently set mine up manually and donāt really struggle with it but itās annoying to have to do it each time. I run dual 24ā touch screens so I can have pretty much a full sized panel for all of my aircraft. Because of this the instruments are placed in as close to their real world locations as possible and this means my G1000 or GPS overlays are not in the same location for every aircraft. Does fancy zones allow different profiles and if not how do you think it would handle many zones that would be overlapping each other.
You can save 10 profiles that are hotkey accessible (Ctrl+Start+Alt + [1-0]). You can have overlapping zones.
Since I have 15.6" monitors, I have to manage my space more effeciently than. you with larger monitors. . Iāll always have my G1000 in the exact same location (1 on each screen) for any panel that uses it. As in my image below, Iāll have both the G1000 zones on a single profile. I quickly call it up with Ctrl+Start+Alt+1.
Ditto for my CJ4 panel, for example. I have all the zones for both screens defined in 1 profile. It makes it a little messy looking in setup, but it works.
Of course, youāre limited to 10 layouts. There may be other options out there that offer more options. Iāll start looking into it if I find myself needed it. But for now, this works for me.
Thanks I might give it a try. 10 is a decent number considering that I hope some aircraft can use the same profile. It would obviously be better if the allowable profile count was larger but it might help at least. Iāll have a play.
Just a little update. Ran into problems with the touch monitor. It wouldnāt keep the connection to the computer, couldnāt determine the cause, so I returned it. Got a WIMAXIT and itās working well. Left it on and connected for two days straight. Now Iām waiting for longer USB-C cables, 3ft donāt cut it. Working on resizing the AM panels.
Indeed. Itās now at a stage that pretty much matches the former 0.3x version in terms of extra features. A couple of minor QoL ones (like ability to switch frm 8.33 to 25 kHz on comm radios, a few MFD pages) are not there yet, but those arenāt that important. I would say previously, it was usable, but not for everyone. Now though, I think itās at a stage where it can be useful for anyone at all.
I had to update my G1000 bezel for it though. Due to an overhaul of the AP, they made a couple of changes that broke some functions. Thereās a new event to toggle FLC mode, so the older ones no longer work. And they added an event for VNAV now, so the functionality I had previously added to read / write the LVAR is no longer required. Thatās kind of nice, actually.
Didnāt need to change my FLC. It seems I was already using the toggle event. Iām in 2 minds about swapping the up/dn buttons over though as Iām sure it will be corrected in future. If it gets fixed in the next update Iāll probably leave it as it is and remember that currently nose up increases speed rather than decreases like it should.
Hi, thanks for this. Just wondering if anyone has done a video on setting up fancy zones with panels?
Iām just setting up my home sim which pretty much replicates yours. I want to setup my C172 the same way as you have pictured but just not sure what instrument/panel/zone config you have and how to make it as efficient as possible.
I can see in your picture you have your two 15.6" screes. Are each of the images on those screens one AM panel or is it made up of multiple AM panels?
Are you able to post a screenshot of your zone config for the fancy zones? It would give a good insight into how you have it setup.
Are the C172 panels you have there available for download as full panels or will I need to āarrangeā them myself?
Do you find yourself using the Xbox controller much now you have TrackIR? Do you recommend the Xbox controller as a good option for camera control? If so, how to you have it fixed to your yoke?
Sorry for all the questions, Iāve spent hours reading all these posts but havenāt found a guide dedicated to setting all this up from scratch. Iām happy to fumble my way through it though.
Thank you for everything you contribute to this community, itās amazing.
Hi Crunch, you didnāt happen to share your updated photoshopped version of this audio panel somewhere did you? Looking for one that matches the G1000 bezels you created.
Each screen is a separate panel. You canāt really span a single panel across multiple screens.
I tried. Canāt really take screen shots or video of the Fancy Zones layout. Sorry.
I donāt have panels available for download. I just share my instruments. You arrange them as you see fit and whatever works best for you. My backgrounds in most cases are just a 1920x1080 coloured background I made in Photoshop with transparency cutouts for the locations of the popout screens. In the case of the C182 image above you replied to, I added the white text on the background as it would be in the planeās cockpit just for looks. Thereās really nothing that goes into those backgrounds.
My Xbox controller is attached to my yoke using velcro tape. That way it can easily be removed if I want to use it for another game. I use the Xbox controller less frequently now with TrackIR, but I still use it for cameras, and thereās nothing that could replace it for drone control.
I never shared it as part of my own instrument library because I didnāt make it. That audio panel is @FLRob27ās work.
That said, he and I have started a collaborative GitHub together to work on stuff. The audio panel is available here:
I tried different G1000 and G1000Nix panels. all the buttons work perfectly. but I donāt see this PFD and MFD. What am I doing wrong? the AM4 version is uncensored of course