Board index FlightGear Support

how to set initial environmental parameters using xml file

All general support: help on flying, installation, hardware, getting online etc. There are lots of users and developers to help you out.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- where did you download your aircraft/scenery from?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).

Please report any bugs not specific to an aircraft on the issue tracker.
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

how to set initial environmental parameters using xml file

Postby anton Dang » Thu Jul 08, 2021 1:23 pm

hi all !!!
I want to set the initial parameters of the environment on the flightgear, for example, temperature, pressure, wind speed ....Can anyone tell me, is this possible using xml file?
Thank you so much!!
anton Dang
 
Posts: 4
Joined: Thu Jun 24, 2021 4:06 pm

Re: how to set initial environmental parameters using xml fi

Postby wkitty42 » Thu Jul 08, 2021 3:19 pm

you should be able to do this by setting a valid METAR string on the command line or in the launcher's additional options box... https://wiki.flightgear.org/Command_line_options#Environment_Options
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04


Return to Support

Who is online

Users browsing this forum: No registered users and 6 guests