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 10: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
User avatar
Necolatis
 
Posts: 2232
Joined: Mon Oct 29, 2012 1:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2020.3.19
OS: Windows 10

Re: Advanced weather running?

Postby Hooray » Sat Sep 23, 2017 11: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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Advanced weather running?

Postby Thorsten » Sun Sep 24, 2017 6: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: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Advanced weather running?

Postby Necolatis » Sun Sep 24, 2017 8: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
User avatar
Necolatis
 
Posts: 2232
Joined: Mon Oct 29, 2012 1:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2020.3.19
OS: Windows 10


Return to Weather

Who is online

Users browsing this forum: No registered users and 1 guest