• 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.

FSX luminous problem

Messages
118
Country
israel
hi..

In my panel.cfg in color section i code:

Luminous=233,109,72

and in window section: no_luminous=0

I use custom gauge coded with: luminous=yes

the problem is that luminous work with light on and off, also..

how can I fix this problem ?

another question.. is there way to set 2D panel to be more darker at night (with light off)
 
Hi,

You can't affect the behavior of the luminous setting directly - if the lights are on, it is luminous on.

You can use XML code within the gauges to swap gauge code so that if a custom light switch ((L:CENT_LITE, bool) in the example below) is turned on it uses the code with luminous = true and if turned off it uses the code with luminous = false (or not present in the code).

Here is an example:

Code for custom L: variable OFF (!):

Code:
 <Element>
      <Visible>(L:CENT_LITE, bool) !</Visible>
      <Position X="0" Y="0"/>
      <Image Name="CP_CYL_TEMP_FACE.bmp" ImageSizes="270,300"/>

   <Element>
    <Position X="34" Y="146"/>
      <Image Name="LEFT_ND.bmp" PointsTo="East" ImageSizes="86,9">
         <Axis X="0" Y="4.5"/>
      </Image>
      <Rotate>
         <Value Minimum="-50" Maximum="300">(L:CHT_1,number)</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
         </Failures>
         <Nonlinearity>
            <Item Value="300" X="81" Y="64"/>
            <Item Value="200" X="106" Y="133"/>
            <Item Value="100" X="106" Y="166"/>
            <Item Value="0" X="98" Y="198"/>
            <Item Value="-50" X="80" Y="235"/>
         </Nonlinearity>
         <Delay DegreesPerSecond="45"/>
      </Rotate>
   </Element>
</Element>

Code when custom L: variable is ON (not !):

Code:
<Element>
      <Visible>(L:CENT_LITE, bool)</Visible>
      <Position X="0" Y="0"/>
      <Image Name="CP_CYL_TEMP_FACE.bmp" ImageSizes="270,300" Luminous="Yes"/>

   <Element>
    <Position X="34" Y="146"/>
      <Image Name="LEFT_ND.bmp" PointsTo="East" ImageSizes="86,9" Luminous="Yes">
         <Axis X="0" Y="4.5"/>
      </Image>
      <Rotate>
         <Value Minimum="-50" Maximum="300">(L:CHT_1,number)</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
         </Failures>
         <Nonlinearity>
            <Item Value="300" X="81" Y="64"/>
            <Item Value="200" X="106" Y="133"/>
            <Item Value="100" X="106" Y="166"/>
            <Item Value="0" X="98" Y="198"/>
            <Item Value="-50" X="80" Y="235"/>
         </Nonlinearity>
         <Delay DegreesPerSecond="45"/>
      </Rotate>
   </Element>
</Element>

More gauge elements can be placed inside each of these two "master elements".

Hope this helps,
 
Back
Top