April 20Apr 20 Author 1 hour ago, FPVSteve said: @MrBitstFlyer I think you can spawn a powershell window as hidden (so negating the flashing window) by doing the following (if I remember correctly): conhost -headless "powershell.exe -yourcommandlinehere" Maybe that will help? That would work, but I am concerned with the security implications of that approach - it may cause a lot of anti-virus issues for people - unless you know better? CPU Ryzen 7800X 3D RAM 32GB Corsair VENGEANCE DDR5 6000MHz GPU GEFORCE RTX 4090 Monitor AOC AGON AG352UCG UltraWide G-Sync @ 3440x1440 Internal Storage 1TB NVMe PCIe SSD External Storage Three 4Tb HDs
April 20Apr 20 Author Added a new version that varies the visibility based on the rain rate. As the rain rate increases and decreases, the visibility effect will increase or decrease. CPU Ryzen 7800X 3D RAM 32GB Corsair VENGEANCE DDR5 6000MHz GPU GEFORCE RTX 4090 Monitor AOC AGON AG352UCG UltraWide G-Sync @ 3440x1440 Internal Storage 1TB NVMe PCIe SSD External Storage Three 4Tb HDs
April 20Apr 20 12 minutes ago, MrBitstFlyer said: Added a new version that varies the visibility based on the rain rate. As the rain rate increases and decreases, the visibility effect will increase or decrease. Doesnt xplane does this by default? Well ofcourse when its raining the metar will report low vis and hence gets simulated in xplane. Baber My Youtube Channel http://www.youtube.com/user/HDOnlive
April 20Apr 20 Author 18 minutes ago, Baber20 said: Doesnt xplane does this by default? Well ofcourse when its raining the metar will report low vis and hence gets simulated in xplane. I measure the rain rate and vary the visibility as you fly through the rain - a subtle effect but I like it. Edited April 20Apr 20 by MrBitstFlyer CPU Ryzen 7800X 3D RAM 32GB Corsair VENGEANCE DDR5 6000MHz GPU GEFORCE RTX 4090 Monitor AOC AGON AG352UCG UltraWide G-Sync @ 3440x1440 Internal Storage 1TB NVMe PCIe SSD External Storage Three 4Tb HDs
April 20Apr 20 Commercial Member 4 hours ago, MrBitstFlyer said: That would work, but I am concerned with the security implications of that approach - it may cause a lot of anti-virus issues for people - unless you know better? I don't think it'll cause any issues as it's a legitimate part of Windows - but I could be wrong of course. It doesn't require any elevated privileges to run though. Developer of Self-Loading Cargo - The Cabin Crew and Passenger Simulation Addon for MSFS, X-Plane, P3D and FSX
April 20Apr 20 @MrBitstFlyer, I just gave a fair try to this wonderful script of yours and it works beautifully !!!! For the first time I'm enjoying proper visibility / haze in Xp12 !!! 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)
April 20Apr 20 Author 1 hour ago, jcomm said: @MrBitstFlyer, I just gave a fair try to this wonderful script of yours and it works beautifully !!!! For the first time I'm enjoying proper visibility / haze in Xp12 !!! I just made a breakthrough myself. The script is only affecting haze, but I just cracked setting the visibility too, so varying visibility effects are about to get even better - especially in rain. As well as using the haze controls I can now use visibility to further increase the realism. As you enter rain, haze and visibility will vary as the rain intensity changes. Haze is also about to get even better! glad you like it! CPU Ryzen 7800X 3D RAM 32GB Corsair VENGEANCE DDR5 6000MHz GPU GEFORCE RTX 4090 Monitor AOC AGON AG352UCG UltraWide G-Sync @ 3440x1440 Internal Storage 1TB NVMe PCIe SSD External Storage Three 4Tb HDs
April 21Apr 21 Tried the updated version. This can be a gamechanger. Thank you for making this really. I have a question and a suggestion. If its raining in the distance, will you be able to see reduced visibility in that specific area ? Since xplane does not simulate visible rain shafts yet, this would be nice to have. Edited April 21Apr 21 by Baber20 Baber My Youtube Channel http://www.youtube.com/user/HDOnlive
April 21Apr 21 12 hours ago, MrBitstFlyer said: For me I get a very brief flash which I find acceptable for the added features. However, some are reporting longer for Powershell to complete the API calls. You could check the following. Windows Defender real-time scanning. Defender may be scanning each PowerShell process as it launches, adding 2–4 seconds per call. Add the FlyWithLua Scripts folder to Defender exclusions: Windows Security → Virus & threat protection → Manage settings → Exclusions → Add folder Navigate to X-Plane 12/Resources/plugins/FlyWithLua/Scripts/ and add it. PowerShell profile loading. If you have a PowerShell profile configured it loads on every launch, adding startup time. AutoHaze already uses -NonInteractive but some profile configurations still load. Try adding -NoProfile to the PowerShell command. Would be useful to know if these suggestions reduce the time it takes for Powershell to complete on your system. My firewall already excludes the entire X-plane installation and the three calls display for less than a second each. Hiding them would be nice, but it's no big deal.
April 21Apr 21 I don'yt even see those calls you guys mention ? Nada ! Well, a question... Updating the script is as simple as dropping the new one on the scripts folder, right? Well, Laminar should see this... You should PING Austin with a link to the script. Maybe they either invite you to the team or find some way of incorporatikng your algorithm into one of the next versions of the sim ! 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)
April 21Apr 21 Author 7 hours ago, Baber20 said: Tried the updated version. This can be a gamechanger. Thank you for making this really. I have a question and a suggestion. If its raining in the distance, will you be able to see reduced visibility in that specific area ? Since xplane does not simulate visible rain shafts yet, this would be nice to have. I measure the rain that is hitting the airframe and adjusting the visibility continuously based on the rain rate. So no to your question. I would imagine this isn't doable. Haze layers are not layered through the atmosphere, so I can only simulate climbing out of and descending into the haze. Once your out you will not see haze below. I imagine trying to simulate low visibility in the distance would meet a similar restriction. Glad you are enjoying it so far. CPU Ryzen 7800X 3D RAM 32GB Corsair VENGEANCE DDR5 6000MHz GPU GEFORCE RTX 4090 Monitor AOC AGON AG352UCG UltraWide G-Sync @ 3440x1440 Internal Storage 1TB NVMe PCIe SSD External Storage Three 4Tb HDs
April 21Apr 21 Author 1 hour ago, jcomm said: Well, a question... Updating the script is as simple as dropping the new one on the scripts folder, right? That's correct - something I have done hundreds of times while testing. You don't have to stop XP12 either, just re-load the script in Lua. CPU Ryzen 7800X 3D RAM 32GB Corsair VENGEANCE DDR5 6000MHz GPU GEFORCE RTX 4090 Monitor AOC AGON AG352UCG UltraWide G-Sync @ 3440x1440 Internal Storage 1TB NVMe PCIe SSD External Storage Three 4Tb HDs
April 21Apr 21 Author 7 hours ago, Brian Mackie said: My firewall already excludes the entire X-plane installation and the three calls display for less than a second each. Hiding them would be nice, but it's no big deal. This is annoying because many, like me, see a very brief flash of the window during each update. Something on some systems is slow loading Power shell loading. I'll keep investigating. CPU Ryzen 7800X 3D RAM 32GB Corsair VENGEANCE DDR5 6000MHz GPU GEFORCE RTX 4090 Monitor AOC AGON AG352UCG UltraWide G-Sync @ 3440x1440 Internal Storage 1TB NVMe PCIe SSD External Storage Three 4Tb HDs
April 21Apr 21 Author 12 hours ago, jcomm said: @MrBitstFlyer, I just gave a fair try to this wonderful script of yours and it works beautifully !!!! For the first time I'm enjoying proper visibility / haze in Xp12 !!! I've been using VEPT airport in India while testing. Great to see low visibility there but improving as you climb. CPU Ryzen 7800X 3D RAM 32GB Corsair VENGEANCE DDR5 6000MHz GPU GEFORCE RTX 4090 Monitor AOC AGON AG352UCG UltraWide G-Sync @ 3440x1440 Internal Storage 1TB NVMe PCIe SSD External Storage Three 4Tb HDs
April 21Apr 21 I have to reinforce that THIS IS SIMPLY THE BEST LUA Scrit I ever used with X-Plane !!! Wow!, Wow!!!, WoW!!!!!!!!!!!!!!!!!!!! I am aware similar plugins were made available in the past, but he way the AutoHaze plugin works is simply ASTOUNDING! So far no impact in my Xp12 install, and I wasn't even using FlyWithLua anymore because I have opted for an almost plain vanilla install of Xp12. Created the 2 API keys, and the necessary (free) accounts at the corresponding providers, and enjoying now the effects. Best addon of the Year so far... 1 hour ago, MrBitstFlyer said: This is annoying because many, like me, see a very brief flash of the window during each update. Something on some systems is slow loading Power shell loading. I'll keep investigating. Make sure you also disable "AI-based" Smart App Control in Windowzeeeee... (at your responsibility, but I find it pretty much useless anyway...): 🔧 How to Disable Smart App Control in Windows 11 1. Open Windows Settings Press Win + I 2. Go to Privacy & Security In the left sidebar, select Privacy & security 3. Open Windows Security Click Windows Security Then click Open Windows Security 4. Go to App & Browser Control Select App & browser control 5. Open Smart App Control Settings Click Smart App Control 6. Turn It Off Choose Off Restart your PC to apply the change. Edited April 21Apr 21 by jcomm 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)
Create an account or sign in to comment