January 14, 20251 yr Hello, I'm currently in the process of familiarizing myself with AAO. I have already integrated various Fenix scripts and it works very well. Now I would like to connect the two potentiometers to my Logitech X56 HOTAS with the dimmer of the PFD/ND. There is the template "<UseTemplate Name="FNX32X_Interact_Knob_Increment_Lock_Template"> in the Fenix_Interieur.xml The only question is how do I have to integrate this template/variable into AAO? Thanks for your support 🤩 Holger
January 14, 20251 yr Commercial Member 6 hours ago, HoPla said: The only question is how do I have to integrate this template/variable into AAO? Reading Behavior source code is very complex. Behavior code relies heavily on an inheritance structure. It is not enough to look at just this one generic template, you have to follow the entire code tree from top to bottom, write down the various parameters, until you reach the required interaction code, then reassemble everything using your notes into usable RPN Code. The better option is to use the MSFS debug mode. Activate the debug mode, open "Tools->Behabiors", click back into the sim, then hover the mouse over the knob/button/lever that you are interested in and press Ctrl - G. In most cases this brings up the behavior code of that component, and you can check out the Interaction components (Mouse Rects, Single clicks, mouse wheel etc.) and replicate the code that is in there. Or go to flightsim.to and download a ready-made script package for the aircraft. Never mind if it was made for example for the StreamDeck. You can still import and use (only) the scripts package in AAO. Here are the scripts for the PFD and MFD brightness (assuming that this is what you meant?) PFD L DEC: (L:A_DISPLAY_BRIGHTNESS_CO,·number)·0.1·-·0·max·(>L:A_DISPLAY_BRIGHTNESS_CO,·number) PFD L INC: (L:A_DISPLAY_BRIGHTNESS_CO,·number)·0.1·+·1·min·(>L:A_DISPLAY_BRIGHTNESS_CO,·number) MFD L DEC (L:A_DISPLAY_BRIGHTNESS_CI,·number)·0.1·-·0·max·(>L:A_DISPLAY_BRIGHTNESS_CI,·number) MFD L INC (L:A_DISPLAY_BRIGHTNESS_CI,·number)·0.1·+·1·min·(>L:A_DISPLAY_BRIGHTNESS_CI,·number) (right side are the same scripts, but the Variables are called FO and FI) LORBY-SI
Create an account or sign in to comment