Jump to content
Sign in to follow this  
Pascal_LSGC

X-Plane 10: Experimenting with art controls (Raleigh scattering)

Recommended Posts

What two threads ? damn did post in the wrong thread .


Ryzen 5 1600x - 16GB DDR4 - RTX 3050 8GB - MSI Gaming Plus

Share this post


Link to post
Share on other sites

That looks amazing. Can anyone do a tutorial as to where and how to tweak these settings?

 

Thanks,

 

All the information you need is in the first post of this thread and the thread that it links to. If you want to save the settings into the avionics.lua file of a Carenado (if you have one) you can use this template: (these are Pascal's settings and they're bloody marvellous).

 

defineProperty("CloudShadowLightenRatio", globalPropertyf("sim/private/controls/clouds/cloud_shadow_lighten_ratio")) set(CloudShadowLightenRatio, 0.80)

defineProperty("AtmoScaleRaleigh", globalPropertyf("sim/private/controls/atmo/atmo_scale_raleigh")) set(AtmoScaleRaleigh, 20.0)

defineProperty("AtmoInscatterGainMie", globalPropertyf("sim/private/controls/atmo/atmo/inscatter_gain_mie")) set(AtmoInscatterGainMie, 2.0)

defineProperty("AtmoInscatterGainRaleigh", globalPropertyf("sim/private/controls/atmo/inscatter_gain_raleigh")) set(AtmoInscatterGainRaleigh, 13.0)

defineProperty("AtmoScatterRaleighb", globalPropertyf("sim/private/controls/atmo/atmo/scatter_raleigh_b")) set(AtmoScatterRaleighb, 10.00)

defineProperty("AtmoScatterRaleighg", globalPropertyf("sim/private/controls/atmo/atmo/scatter_raleigh_g")) set(AtmoScatterRaleighg, 2.800)

defineProperty("AtmoScatterRaleighr", globalPropertyf("sim/private/controls/atmo/atmo/scatter_raleigh_r")) set(AtmoScatterRaleighr, 0.010)

defineProperty("HDRGainMin", globalPropertyf("sim/private/controls/hdr/gain_min")) set(HDRGainMin, -2.8)

  • Upvote 1

i910900k, RTX 3090, 32GB DDR4 RAM, X34 3440x1440, Ruddy girt big mug of Yorkshire Tea

Share this post


Link to post
Share on other sites

Yep scotchegg, and for those of us (me) using skymaxx you can use those parameters in your avionics.lua file aswell EXCEPT CloudShadowLightenRatio,

 

so copy from defineProperty("AtmoScaleRaleigh", line and below and your good to go with raleigh tweaks  ^_^ 


Regards, Kim Eriksson.

Share this post


Link to post
Share on other sites

All the information you need is in the first post of this thread and the thread that it links to. If you want to save the settings into the avionics.lua file of a Carenado (if you have one) you can use this template: (these are Pascal's settings and they're bloody marvellous).

 

Thanks Scotchegg, this is fantastic to see many people test these settings in different situations !

 

FYI, it is not necessary to use a Carenado plane. It's even simpler to copy-paste the default C172, add SASL inside a created "plugins" folder, and create the avionics.lua file inside the plane's folder with just the parameters exactly as you wrote them.

 

Pascal

Share this post


Link to post
Share on other sites

I added some of my latest preview X-Plane 10 Tree Lines and Farms V2 screenshots to the AVSIM screenshot folder:

http://forum.avsim.net/topic/434922-more-x-plane-10-shots-with-tweaked-atmosphere/


Andras Fabian / Alpilotx

Visit www.alpilotx.net, a site about X-plane scenery

You can see some landscape and other photographs from me here:

http://www.flickr.co...s/weathermaker/

Share this post


Link to post
Share on other sites

A simple Fly with Lua script does the trick quite nicely.

 

set( "sim/private/controls/clouds/cloud_shadow_lighten_ratio",       0.8 )
set( "sim/private/controls/atmo/atmo_scale_raleigh",        20.0 )
set( "sim/private/controls/atmo/inscatter_gain_mie",     2.0 )
set( "sim/private/controls/atmo/inscatter_gain_raleigh",        13.0 )
set( "sim/private/controls/atmo/scatter_raleigh_b",         10.0 )
set( "sim/private/controls/atmo/scatter_raleigh_g",      2.80 )
set( "sim/private/controls/atmo/scatter_raleigh_r",    0.010 )
set( "sim/private/controls/skyc/white_out_in_clouds",     0.5 )
 
 
tomcat357

Share this post


Link to post
Share on other sites

 

 


A simple Fly with Lua script does the trick quite nicely.

 

Excellent tip, Tomcat!

FlyWithLua is installed in the main plugins folder, the datarefs and art controls will be applied at X-Plane's start.

 

Pascal

Share this post


Link to post
Share on other sites

Could you guys share such a script? I know FlyWithLua but haven't worked with it by now.

 

regards Jakob

Share this post


Link to post
Share on other sites

Any pics with this tweak for non-HDR?

 

Hi Tom,

atmospheric scattering doesn't work without HDR

cloud shadows works with or without HDR.

Share this post


Link to post
Share on other sites

Could you guys share such a script? I know FlyWithLua but haven't worked with it by now.

 

regards Jakob

 

It right in the post. Just copy and paste

 

tomcat357

Share this post


Link to post
Share on other sites

It right in the post. Just copy and paste

 

tomcat357

Wilco. Will try that tomorrow... Just thought it needs a special format besides the scripts orders...

Share this post


Link to post
Share on other sites

Wilco. Will try that tomorrow... Just thought it needs a special format besides the scripts orders...

 

Create a file named as you like, for example:

 

myatmospherictweaks.lua

 

inside the scripts folder of FlyWithLua.

Open it in a text editor and copy paste the code Tomcat357 suggested.

 

Pascal

Share this post


Link to post
Share on other sites

Wilco. Will try that tomorrow... Just thought it needs a special format besides the scripts orders...

just put the whole flywithlua plugin in your  "\X-Plane 10\Resources\plugins" folder. in this flywihtlua plugin folder you have a folder named "scripts"!

 

Copy and paste tomcat´s357 setting in a notepad or notepad++ and save this file as f.e. "datarefs.lua" (you must use lua as file extension) and put this file in "\X-Plane 10\Resources\plugins\FlyWithLua\Scripts". at start you will have dataref settings, as filed, activated! 


Core i9 10920X@ 4.7 Ghz, watercooled, GeForce RTX 3090, RAM 64GB G SKILL DDR4-3200 , Fractal Design R6, TUF X299 Mark 1, all SSD

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
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...