Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cockpit shadows

Featured Replies

Is there a way to block the cockpit shadows from appearing.

When I load the hot start TBM900, the shadows are so dark that you can't see

the buttons or switches. I have the latest updates and I still get this problem.

thanks 

Arnold

If you are familiar with scripts, you can add this to your FlyWithLua folder: 

set("sim/private/controls/caps/use_csm", 0.000000)
set("sim/private/controls/perf/disable_shadow_prep", 1.000000)

Make sure to backup anything you change so you can easily revert back in case it doesn't suit your needs.

Jd

 

  • Author

Thanks JimmyD

I used the lua you gave me and it worked.

No more shadows on the cockpit.

The switches and buttons are now nice and clear.

 

Thanks again

Arnold

 

3 hours ago, JimmyD said:

If you are familiar with scripts, you can add this to your FlyWithLua folder:

How would the unfamiliar go about doing this? This is the main thing I don't like about XP and I'd really like to fix it, but I don't know squat about lua scripts...

 

Russ

Master Sergeant, U.S. Air Force, Retired

Former T-33A Crew Chief

Former B-1B Crew Chief / Flightline Maintenance Expediter

Former Learjet Corp. Quality Inspector

Formerly Young (😩)

Hey Russ,

I was a little hesitant at first too when messing around with scripts, but once you get the hang of it... look out, it can be addictive and satisfying to tweak things to your liking. :smile: 

O.k. the quick and dirty of it:

Download FlyWithLua NG from the downloads section over at the Org; follow install directions provided. In a nutshell; unzip then simply move the unzipped folder into your x-plane plugins folder. It should look similar to this depending where you have X-plane installed   C:\X-Plane 11\Resources\plugins\FlyWithLua   

Ok, that's it! FlyWithLua is installed.  

This is the way I do things, plain and simple, not implying it's better or worse than other methods out there. As stated above, make sure to backup any files/folders you edit.

Now lets get rid of some shadows.

1. Create a new text (.txt) file in your newly created X-Plane 11\Resources\plugins\FlyWithLua\Scripts folder and add the following lines:

    set("sim/private/controls/caps/use_csm", 0.000000)
    set("sim/private/controls/perf/disable_shadow_prep", 1.000000)

2. Save and rename to ShadowsGone.lua or whatever file name you like; make sure you use .lua file extension or it will not work.

3. Start x-plane and see how it looks. 

The great thing about using scripts is you can move the lua files in and out of the scripts folder (just move them to the "disabled scripts" folder for future reference) and all will be back to normal. It is that easy.

Hope this helped grease the rails.

Jd

Thanks, JD!

I have fly with lua for other stuff, but I wasn't sure how to create the no shadow file. Seems simple enough... 👍

 

Russ

Master Sergeant, U.S. Air Force, Retired

Former T-33A Crew Chief

Former B-1B Crew Chief / Flightline Maintenance Expediter

Former Learjet Corp. Quality Inspector

Formerly Young (😩)

  • 2 years later...

Thanks for this JimmyD. So many X-Plane users have wanted to eliminate cockpit shadows, I'm surprised it isn't a setting within X-Plane itself. Maybe it will be in XP12. In the meantime, your LUA script solution works perfectly for me, and I appreciate it.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.