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.

Still experimenting with clouds.

Featured Replies

  • Author

Now with new textures and cloud colours at sunset (still have to be further refined), overcast at 30 fps:

 

"Society has become so fake that the truth actually bothers people".

  • Replies 68
  • Views 12.3k
  • Created
  • Last Reply

Top Posters In This Topic

Murmur, it look tremendous!

 

Would it be possible to create a Lua / Sasl plugin to automatically alter those datarefs you need to tweak each time we fire the sim, and save the user from having to do it manually through the dataref editor ?  I'm lazy, I know :-)

 

Nothing fancy with a menu or so... Eventually a collection of scripts one would activate depending on the colors and cloud parameters one would like t fly with...

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

 

Would it be possible to create a Lua / Sasl plugin to automatically alter those datarefs you need to tweak each time we fire the sim, and save the user from having to do it manually through the dataref editor ?  I'm lazy, I know :-)

jcomm, this is easy to do, just create in the folder

  /plugins/FlyWithLua/scripts

a new lua file, for example, name it: 

  altered_dataref.lua

Then in this file, set the datarefs as you wish, as an example one of murmurs proposals:

  set( "sim/private/controls/clouds/first_res_3d",     2 )

You can lookup in the list the exact names of the datarefs you want to change permanently and add them here.

FlyWithLua will read what you set here and changes it for you at startup.

Of course, another script could alter this change again.

And I don't know in which order scripts are loaded at startup.

Thx jh71.

 

 

I'll try that :-)

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

Thx jh71.

 

 

I'll try that :-)

 

 

It works

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

C172WidePanel_C_1.png

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

jcomm, this is easy to do, just create in the folder

  /plugins/FlyWithLua/scripts

a new lua file, for example, name it: 

  altered_dataref.lua

Then in this file, set the datarefs as you wish, as an example one of murmurs proposals:

  set( "sim/private/controls/clouds/first_res_3d",     2 )

You can lookup in the list the exact names of the datarefs you want to change permanently and add them here.

FlyWithLua will read what you set here and changes it for you at startup.

Of course, another script could alter this change again.

And I don't know in which order scripts are loaded at startup.

 

Would someone be kind enough to share the LUA script. I am still very unsure about the whole writing scripts

 

Happy Friday !

 

Richard

 

Richard

i7-12700K | Noctua NH-D15S Black Version | MSI Pro Z690 - A | 32 GB DDR4 3600 | Gigabyte Gaming OC 4090 | 1TB WD Blue NMVe (MSFS 2020) | 500 GB WD Black Gen 4 NVMe | 4TB WD Black Conventional | Fractal Design Torrent Case | Seasonic 1000W Gold Plus PSU | Thrustmaster Boeing Yoke | Honeycomb Throttle | Airbus Side Stick | Virpil Rudder Pedals | Sony X90K 55 Inch TV |

mmBbmS1.png

 

Would someone be kind enough to share the LUA script. I am still very unsure about the whole writing scripts

 

Happy Friday !

 

Richard

 

Richard, 

 

thx for asking... I was about to do the same, but as a programmer and IT professional for quite a long time, I was a bit ashamed of asking such a thing.... :-)

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

Would someone be kind enough to share the LUA script. I am still very unsure about the whole writing scripts

 

Happy Friday !

 

Richard

 

 

Under "FlywithLua/Scripts/HERE CREATE A FILE WITH THE EXTENSION .Lua" and put the below mentioned text.

 

  set( "sim/private/controls/clouds/first_res_3d",     2 )
 
  set( "sim/private/controls/clouds/plot_radius",      1.5 )
 
  set( "sim/private/controls/beaches/kill_beaches",      1 )

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

Zulfi, why are you killing the beaches ?

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

Zulfi, why are you killing the beaches ?

 

 

Because I hate to see that sandy strip everywhere there is water

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

 

Under "FlywithLua/Scripts/HERE CREATE A FILE WITH THE EXTENSION .Lua" and put the below mentioned text.

 

  set( "sim/private/controls/clouds/first_res_3d",     2 )
 
  set( "sim/private/controls/clouds/plot_radius",      1.5 )
 
  set( "sim/private/controls/beaches/kill_beaches",      1 )

 

 

Thank you for the quick response,

 

I will give this a try

 

Richard

i7-12700K | Noctua NH-D15S Black Version | MSI Pro Z690 - A | 32 GB DDR4 3600 | Gigabyte Gaming OC 4090 | 1TB WD Blue NMVe (MSFS 2020) | 500 GB WD Black Gen 4 NVMe | 4TB WD Black Conventional | Fractal Design Torrent Case | Seasonic 1000W Gold Plus PSU | Thrustmaster Boeing Yoke | Honeycomb Throttle | Airbus Side Stick | Virpil Rudder Pedals | Sony X90K 55 Inch TV |

mmBbmS1.png

 

Ok!

 

I finally tried these mod, and the results are indeed GREAT!

 

I know Murmur continues to explore this cloud stuff, so, I look forward for any additional mods he may publish, and will certainly try it.

 

The performance is great with the values Zulfi is using ( as per Murmur's recommendation ).

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

With those two data values the gain in fps for my laptop is 1.5-2 fps and that is still good for me as the GPU is weak.

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

  • Author

With those two data values the gain in fps for my laptop is 1.5-2 fps and that is still good for me as the GPU is weak.

 

You could also trying a further increase of "sim/private/controls/clouds/first_res_3d" from 2 to 3, and at the same time reducing the plot_radius a little (1.2 - 1.3 or so). Also, you could try decreasing "sim/private/controls/clouds/last_res_3d" from 5 to 4, this limits the cloud draw distance but is only noticeable on some limited situations.

 

With these changes, your FPS should increase more. But remember that any time you changes any dataref, you have to do a weather regeneration to make sure all changes influence visuals AND performance.

 

To do a weather regeneration, you can just move e.g. the visibility slider and then put it back (you'll see the clouds redrawing in the weather screen when you do that).

"Society has become so fake that the truth actually bothers people".

Create an account or sign in to comment

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.