• 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 darker 2D panel at night

Messages
118
Country
israel
Hi

Is there any possible way to set 2D panel to be very darker at night
(with aircraft light off) ?
 
Look at the bottom of the panel.cfg file and change the numbers:

Night=80,80,80

Lower numbers are darker (R, G, B)

The Luminous color controls the color of the gauges.
 
Sorry, I didn't see you wanted it darker with the lights OFF. The only way to do that (AFAIK) is to make the panel bitmap darker, which will also affect it during the day.
 
Actually, you can create a "night version" of your 2d panel and simply list it in the panel.cfg file. It will be loaded instead of the "daytime version" at night.

//--------------------------------------------------------
[Window00]
file_1024=cessna_172_background.bmp
file_1024_night=cessna_172_background_night.bmp
 
I never knew that, thanks. :)

Note that this same technique may be used for any 2d 'popup' sub-panels you wish to include as well, such as:

Code:
//--------------------------------------------------------
[Window06]
file_1024=O2_back.bmp 
file_1024[COLOR="Red"]_night[/COLOR]=O2_back[COLOR="Red"]_night.bmp [/COLOR]
size_mm=100,198
window_size_ratio=1.000  
position=0
visible=0
ident=50
window_size= 0.160, 0.502
window_pos= 0.851, 0.510
no_luminous=1
zorder=2

gauge00=Citation CJ1 MultiGauge!escj1o2close,  9,9,78,128
gauge01=Citation CJ1 MultiGauge!hobbs,  0,0,100,47
gauge02=Citation CJ1 MultiGauge!escj1o2,  1,47,98,150
 
This is what I did if it's any help.
vololiberista
Code:
<Gauge Name="glare light" Version="1.0">
  <Image Name="SWAP.bmp"/>
<Value>(L:NIGHT_ON,bool)</Value>
<Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
            <SYSTEM_ELECTRICAL Action="0"/>
         </Failures>
   <Mouse>
         <Tooltip>Glare Shield Under-Lights</Tooltip>
      <Cursor Type="Hand"/>
	<Click>(L:NIGHT_ON,bool) 0 != if{ 0 (&gt;L:NIGHT_ON,bool) 260 (>K:PANEL_ID_TOGGLE) } els{ 1 (&gt;L:NIGHT_ON,bool) 260 (>K:PANEL_ID_TOGGLE) }</Click>
   </Mouse>
</Gauge>
Code:
//--------------------------------------------------------
[Window12]
file=main_NEW_nightmask.bmp 
size_mm=1300,1000
window_size_ratio=1.000  
position=0
visible=0
ident=260
window_size= 1.000, 1.000
window_pos= 0.000, 0.000
zorder=0

gauge00=DM_VC10!tru xy,  585,606,59,13
gauge01=DM_VC10!EYEPOINT,  665,566,20,37
gauge02=DM_VC10!MASTER_WARNING,  724,468,20,21
gauge03=DM_VC10!NO_DC,  790,473,21,21
gauge04=DM_VC10!Horizon Comparator,  597,584,16,16
gauge05=DM_VC10!Compass Comparator,  632,584,16,16
gauge06=DM_VC10!ICE_DETECTED,  709,584,16,16
gauge07=DM_VC10!ENGINE_REVERSE_1,  889,636,16,16
gauge08=DM_VC10!ENGINE_REVERSE_4,  1105,635,16,16
gauge09=DM_VC10!ENGINE_FAIL_1,  922,635,16,16
gauge10=DM_VC10!ENGINE_FAIL_2,  995,635,16,16
gauge11=DM_VC10!ENGINE_FAIL_3,  1065,634,16,16
gauge12=DM_VC10!ENGINE_FAIL_4,  1133,634,16,16
gauge13=DM_VC10!Night_ Fire_handle_1,  835,412,184,127
gauge14=DM_VC10!Night_Fire_handle_2,  999,  416 ,172,128
gauge15=DM_VC10!FP_Airbus_Clock_9XZ,  733,593,103,37
gauge16=DM_VC10!Davtron301C_OAT_9new,  733,557,101,37
gauge17=DM_VC10!Fire_handle_3,  1215,440,85,72
gauge18=DM_VC10!Fire Drill 1 Eng,  1157,454,36,27
gauge19=DM_VC10!Fire Drill 2 Engs,  1161,479,36,27
gauge20=DM_VC10!Fire WARNING ISOLATE,  1206,511,91,26
gauge21=DM_VC10!DonMask,  692,1,234,358
 
This is what I did if it's any help.
A switch to turn on the glare shield red lights. But in reality it loads a new
window.
vololiberista
Code:
<Gauge Name="glare light" Version="1.0">
  <Image Name="SWAP.bmp"/>
<Value>(L:NIGHT_ON,bool)</Value>
<Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="0"/>
            <SYSTEM_ELECTRICAL Action="0"/>
         </Failures>
   <Mouse>
         <Tooltip>Glare Shield Under-Lights</Tooltip>
      <Cursor Type="Hand"/>
	<Click>(L:NIGHT_ON,bool) 0 != if{ 0 (&gt;L:NIGHT_ON,bool) 260 (>K:PANEL_ID_TOGGLE) } els{ 1 (&gt;L:NIGHT_ON,bool) 260 (>K:PANEL_ID_TOGGLE) }</Click>
   </Mouse>
</Gauge>
Code:
//--------------------------------------------------------
[Window12]
file=main_NEW_nightmask.bmp 
size_mm=1300,1000
window_size_ratio=1.000  
position=0
visible=0
ident=260
window_size= 1.000, 1.000
window_pos= 0.000, 0.000
zorder=0

gauge00=DM_VC10!tru xy,  585,606,59,13
gauge01=DM_VC10!EYEPOINT,  665,566,20,37
gauge02=DM_VC10!MASTER_WARNING,  724,468,20,21
gauge03=DM_VC10!NO_DC,  790,473,21,21
gauge04=DM_VC10!Horizon Comparator,  597,584,16,16
gauge05=DM_VC10!Compass Comparator,  632,584,16,16
gauge06=DM_VC10!ICE_DETECTED,  709,584,16,16
gauge07=DM_VC10!ENGINE_REVERSE_1,  889,636,16,16
gauge08=DM_VC10!ENGINE_REVERSE_4,  1105,635,16,16
gauge09=DM_VC10!ENGINE_FAIL_1,  922,635,16,16
gauge10=DM_VC10!ENGINE_FAIL_2,  995,635,16,16
gauge11=DM_VC10!ENGINE_FAIL_3,  1065,634,16,16
gauge12=DM_VC10!ENGINE_FAIL_4,  1133,634,16,16
gauge13=DM_VC10!Night_ Fire_handle_1,  835,412,184,127
gauge14=DM_VC10!Night_Fire_handle_2,  999,  416 ,172,128
gauge15=DM_VC10!FP_Airbus_Clock_9XZ,  733,593,103,37
gauge16=DM_VC10!Davtron301C_OAT_9new,  733,557,101,37
gauge17=DM_VC10!Fire_handle_3,  1215,440,85,72
gauge18=DM_VC10!Fire Drill 1 Eng,  1157,454,36,27
gauge19=DM_VC10!Fire Drill 2 Engs,  1161,479,36,27
gauge20=DM_VC10!Fire WARNING ISOLATE,  1206,511,91,26
gauge21=DM_VC10!DonMask,  692,1,234,358
 
Back
Top