Feedback on graphics in progress
Feedback on graphics in progress
Hello gentlemen,
Wanted to show my latest graphic (altimeter for Piper PA28 Arrow) and ask for some feedback.
I finished the graphic today but I am still working on the LUA script for it.
Thanks for your time and feedback.
Regards,
Pieter
Wanted to show my latest graphic (altimeter for Piper PA28 Arrow) and ask for some feedback.
I finished the graphic today but I am still working on the LUA script for it.
Thanks for your time and feedback.
Regards,
Pieter
Re: Feedback on graphics in progress
Looks pretty good. You're gonna do a version with and without lighting?
For the font I recommend you to use the Milspec font: http://www.fontsaddict.com/font/MilSpec33558.html
For the font I recommend you to use the Milspec font: http://www.fontsaddict.com/font/MilSpec33558.html
Re: Feedback on graphics in progress
Thanks Ralph!
I was thinking of having the 'night ring' to be dimmable by code somehow. But I would need to lookup how that works and can be done.
Thanks for the link to the font. I will swap that out to make it look more authentic.
Regards,
P.
I was thinking of having the 'night ring' to be dimmable by code somehow. But I would need to lookup how that works and can be done.
Thanks for the link to the font. I will swap that out to make it look more authentic.
Regards,
P.
Re: Feedback on graphics in progress
You can do that when the opacity API.
Re: Feedback on graphics in progress
Will look into it Ralph. Thanks for pointing me in the right direction
Re: Feedback on graphics in progress
Hi Ralph,
Do you know if this also works for MSFS2020? So the brightness of the 'backlight' would be controlled by the interior lighting of the airplane in MSFS2020.
I have it from another instrument someone on the forum helped me with for Xplane a year or so ago.
Code: Select all
function set_backlight(brightness_level,bus_voltage)
if bus_voltage[1]>=23 then -- the electrical bus voltage is sufficient for the lighting
opacity(backlight,brightness_level) -- we use the brightness level ratio returned by Xplane directly since it is between 0.0 and 1.0
else
opacity(backlight,0) -- not enough power for lighting, light is off
end
end
Regards
P.
Re: Feedback on graphics in progress
Found this in MSFS2020 SDK but don't know how to handle it properly in all honesty.
LIGHT PANEL POWER SETTING
LIGHT PANEL POWER SETTING
Re: Feedback on graphics in progress
I don't think that there's a default variable for this in FS2020. I've searched for it, but never been able to find it.
Re: Feedback on graphics in progress
So the only way to do this is an AM knob or a hardware knob?
Correct? Or am I missing something.
Thanks for getting back to me Ralph.
Correct? Or am I missing something.
Thanks for getting back to me Ralph.
Re: Feedback on graphics in progress
@aviaking
I hope the answer isn't too late. I've been researching the same thing for my own project and found that there actually a variable that gives you the level of the panel lighting:
It's a decimal number between 0 and 100. I use it to set the opacity of the light graphic, like this:
The number behind the colon determines which light parameter you're reading. It's documented herebut I found the list isn't complete. I experimented with adding arbitrary numbers until I found the one I needed.
I hope the answer isn't too late. I've been researching the same thing for my own project and found that there actually a variable that gives you the level of the panel lighting:
Code: Select all
"LIGHT POTENTIOMETER:5", "Percent",
Code: Select all
opacity(nightlight1,(panellight/130))