Board index FlightGear Development Weather

Advanced weather running?

Everything related to weather simulation, visuals should be discussed in the shader subforum.

Advanced weather running?

Postby Necolatis » Sat Sep 23, 2017 9:57 pm

What property tells me if Advanced weather is actually running? (not just if checkbox in weather dialog is checked)
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore


Hangar: https://sites.google.com/site/fghangar/
User avatar
Necolatis
 
Posts: 1876
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2018.2.2
OS: Windows 10 Pro

Re: Advanced weather running?

Postby Hooray » Sat Sep 23, 2017 10:06 pm

don't know the answer, but I would suggest to open the weather dialog in a text editor and then open the property browser to navigate to /local-weather in the property tree and check for yourself.

For example, I would open $FG_ROOT/Nasal/local_weather and look for "running" there, which would yield something like "local_weather.local_weather_running_flag" and then check for any property accesses assigning/setting the variable
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11263
Joined: Tue Mar 25, 2008 8:40 am

Re: Advanced weather running?

Postby Thorsten » Sun Sep 24, 2017 5:17 am

If this is somehow related

viewtopic.php?f=47&t=32511&start=45#p319290

and you're contemplating to make any aircraft-side effect contingent on what weather engine is running - don't go there. There's a world of pain waiting.
Thorsten
 
Posts: 10086
Joined: Mon Nov 02, 2009 8:33 am

Re: Advanced weather running?

Postby Necolatis » Sun Sep 24, 2017 7:31 am

Yep, I considered exactly that. It has passed though, not gonna do it. Thanks.
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore


Hangar: https://sites.google.com/site/fghangar/
User avatar
Necolatis
 
Posts: 1876
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2018.2.2
OS: Windows 10 Pro


Return to Weather

Who is online

Users browsing this forum: No registered users and 2 guests