• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v1 Panel Lights light maps circuit

Messages
10,163
Country
us-arizona
Hey all,

Is it possible to make the panel lights 'non-linked' to the Nav lights?

It is my understanding that the lights will be linked to either the Nav or the Landing lights circuit. That the FS platform is wired that way (hard coded). So if one turns on the Landing lights or Nav lights, (one of the other, per the panel lights light maps Alphas), that those two switches (one of them) will turn on/off the panel lights.


I get complainer emails that my panel lights are doing this, and Im like... I want to tell them, email Microsoft! They are the ones that did it that way.

But... Is there a way around this? Has someone figured a way to make the panel lights come on 'only' with the panel light switch?


I am not talking about the VC light. I am talking about the panel gauges 'night textures' (light maps).


I am working in 3DS Max, FSXA, P3D.
 
You refering to the self illumination maps? I believe thats dependent on Emissive mode setting in the materials. Guys correct me if im wrong but i believe that what Lionheart is reffering to will occur with a emissive mode that contains UserControlled or something like that?
 
Last edited:
I don't care for the UserControlled emissive modes at all. I use Additive if I want gauges to "backlight" even during the daytime, Blend or MultiplyBlend otherwise.

I use whatever control variable I want to control the <Visibility>, using the "lighted polys" and "unlighted polys."

For FS9 it was simpler; the Alpha channel control whether panel lights or landing lights controlled the gauge lighting. FSX ignores the Alpha channel entirely. The UserControlled FSX Material is assigned to the panel lights switch.
 
Last edited:
Bill,

In FSX/P3D the panel lights are controlled by the (A:LIGHT PANEL, bool) variable. Which should be controlled by the panel lights switch but I think the modeldef.xml that came with the SDK had those bits messed up/missing so you couldn't actually create a panel light switch until you added the code yourself! You can of course use the keyboard shortcut which is something like ctrl+L or shift+L.

If you have the emmissive mode of your material set to one of the UserControlled options it will then light up when the panel lights are switched on, as Bill mentions above. Or you can set up your own visibility tags, link them to a switch and have as many separate lighting circuits as you want, they just won't have a keyboard shortcut. Although you could code them to come on if the individual circuit OR the panel lights were on.
 
Last edited:
Many thanks Skippy and Bill.

How does one code in the illumination to come on with Panel Lights in Max? Does it literally say 'Panel Lights'? I have never known you could adjust illuminations to work with certain keys. This opens up a few doors with various things.
 
Bill.

In the material editor.

Under emmisive mode you have several options.

If you set it to Additive Night Only User Controlled the material will light up at night when the panel light is turned on.

You need to place a lightmap in the Self-Illumination slot to control what part of the texture that will light up.

I have never known you could adjust illuminations to work with certain keys
Only with the panel light!

If you want to make some lights independent of the panel light switch you need to make visual conditions.

I don't care for the UserControlled emissive modes at all. I use Additive if I want gauges to "backlight" even during the daytime, Blend or MultiplyBlend otherwise.

I use whatever control variable I want to control the <Visibility>, using the "lighted polys" and "unlighted polys."

Like he says.
Setting the emissive mode to additive they will always be lighted.

Simple example.
2 identical materials except one thing..
One with the emissive mode set to Blend (unlighted)
One with the emissive mode set to Additive

You are a smart man so think you can figure at the rest.
Just think about visual conditions...one dark part, one bright part ;)
 
Last edited:
Thanks Daniel. I'll see if I can figure it out. :S

In the past, I had thought about using duplicate parts, one with 'glowing textures' and one with regular day time textures, non-glowing or non-illuminated. Thus, you could switch on the VC lights and the various parts would hide, and the illuminated parts would un-hide.

Perhaps this is what you are referring to?

I had thought maybe one could do this with a single material, lol. That would be impressive.
 
That is exactly what we mean.

Then you have much more control then just all or nothing using the panel light.
You could of course use just a single material, with one side having lightmap and the other part have not, but either way you need two parts.

Now what if we had some dynamic mapping!
That would have been awesome in many cases!
 
dynamic mapping does exist....I do it quite a bit. In fact I am working on a DX11 technique for it even though FSX uses DX9/10. Unfortunately my way of doing it for pit lighting belongs to Milviz not me so i cant share....
 
Last edited:
Back
Top