Jump to content
Sign in to follow this  
Guest zip

Prevent darkening of 2D panel

Recommended Posts

Guest nick1812

Hi all,In my aircraft I use a Fixed Window for the rear view (into the passengers cabin).At night the passengers cabin BMP is made dark by FS9, but since there is lighting in real life a/c, I would very much like to prevent this default darkening...Never found how to do this, but I'm quite sure - if possible at all - it's just a simple one-liner in the panel.cfgAnyone? Thanx heaps in advance!Greetz, Arjan

Share this post


Link to post
Share on other sites
Guest zip

I'm not sure there's a good way of doing what you ask. Lighting is largely controlled internally in FS. The only contribution you can make in the panel.cfg file is the NIGHT= statement in the section. If you set it to night=255,255,255 you may get less of an impact in terms of the colorization, but depending how the rest of the gauges were written, you may also get odd effects where you don't want them.To achieve night effects, FS scales the colors in standard bitmaps, including panel backgrounds. The scaling is based on the local time of day (which can lead to interesting bumps when you cross a time zone). The only way I know to prevent this is to draw a custom gauge with the IMAGE_NO_TRANSLATION flag applied, but that cannot be done from the panel.cfg.Hope this helps,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...