Select Page

X-Visibility Version 1.0.3

Update: March 13th 2019 to version 1.0.3

Version 1.0.3 comes with the following updates/fixes; changed default value for xvis_highAltFogMult from 1 to 0.75 and fixed moon and stars not showing in very low visibility.

We’re pleased to inform you that with the approval of X-Plane.Org user ChinNoobonic (Jordan), we’re able to host and promote his for X-Plane 11.25+ X-Visibility lua plugin. It’s a worthy addition to our lua plugin collection.

One of the reasons that we host this lua plugin from ChinNoobonic now and not before, is because of our impression of the FlyAGI Tweak Utility. We discovered this recently, and because of that, we came across this nice dynamic haze (fog) lua script.

According to ChinNoobonic; “This script provides dynamic haze/fog control based on reported visibility, providing smooth visibility transitions throughout all phases of flight.

This means no “infinite” visibility the higher you get, no abrupt visibility changes and a realistic looking atmosphere based on reported visibility for the area.”

 

The X-Visibility lua plugin comes with the following features:

  • Smooth visibility transitions during all phases of flight
  • No white out/grey out/blue out when passing through clouds or at night (My older “No White Out In Clouds” script is no longer needed)
  • No more infinite visibility
  • More challenge in IMC conditions
  • Works with default weather (manual and real weather)

But what about the compatibility with other environmental programs? It is for sure not compatible with X-Enviro and not tested with Ultra weather, disabling the haze options in that plugin should get it working with X-Visibilty theoretically. Further on, FSE v0.5 uses the older gradual visibility script in the TrueHaze.lua file. Remove all text below (or remove lines 122-288) –TRUEHAZE INTERNAL PARAMETERS and this script should work fine with FSE. If you are using the “No White Out In Clouds” script, please remove it as it is no longer needed.

The installation is quite simple, but you need to know some things. This script was tested on X-Plane 11.25, and it requires the flyWithLua NG plugin available at X-Plained.Com. To install, place X-Visibility.lua in the following folder: \Resources\plugins\FlyWithLua\Scripts\

And what about the usage of X-Visibility?
There is no interface but it is possible to change some parameters of this script with the following lines:

local plugin_on = true –enable plugin
local debug_info = false –show debug info
local atmoTop_visibility = 30480 –elevation to apply the max visibility, default is 30480 m
local minFog_value = 0.6 –minimum fog value between 0.0-1.0, default is 0.6
local atmoTop_Fog = 1.5 –fog value after passing atmoTop_visibility
local highAltFogMult = 1 –reduce to 0.5 or 0.25 if you feel the haze at higher altitudes is too strong, default is 1

Acknowledgements: Thanks to @SNowblind7 for his help testing this script and for his initial work in the gradualVisibility script from which this is built upon.

FlyAgi Tweak Utility can access and configure X-Visibility parameters from within the utility main menu by clicking the ‘X-Visibility Fog Control’ button. That opens a new menu page with the fog controls. Thanks to @FlyAgi for reaching out to me to have it included in his script.

Note:
This package is offered to you by X-Plained.Com. It is free for personal and/or private use. It is not allowed to copy, publish or redistribute any part of any file or package from this website without prior permission from X-Plained.Com or from the developer. Commercial use of the package or parts of it, is prohibited in any way.
Keep in mind that your maximum download per day is set to 15 files or packages a day.

 

X-Visibility (1.9 KiB, 86 downloads)