I have been using Air Manager in my simulator computer for over a year with excellent results. Last week I installed Air Player in the simulator computer and Air Manager in my office computer, which is in the same local network, so that I could design the panel more comfortably. I had made a panel with night lights.
This is how it looks in Air Manager with the simulator time set to “night” and all the lights in the aircraft turned off
Then I clone the panel to Air Player in the other computer, exactly same settings and I see it like this
The difference is because the background of the panel is not darkened by the opacity overlay I have in the “logic.lua” of the panel. The “logic.lua” file is cloned from AM to AP, but for some reason is not working. Of course I “push” the panels and the instruments from AM to AP. So I cannot use AP if I am no able to fix this.
My question is:
Is the “logic.lua” file of a panel executed in Air Player? It seems like it is executed if you use Air Manager but it is not executed when you use Air Player. However the file “logic.lua” is copied form AM to AP when you “push” the panel.
I made a simple “test” panel with no instruments and with this “logic.lua” file:
Code: Select all
hello_img = img_add_fullscreen("hello.png")
text_test = txt_add("Test", " size:11; color: #E41516 ; halign:center; valign:center;", 8, 8, 58, 20)
However in AM the panel looks like this:
And in AP like this:
Can someone replicate this simple test to see if the problem is in my settings or in AP?
In the night panels I have made I use the logic in the panels to overlay a dark layer. You can see it in this video.
https://www.youtube.com/watch?v=s-WgE5moFdU
Thank you and regards.
Alvaro