rominet wrote in Wed Mar 29, 2017 12:20 pm:Regarding the most recent discussion (restart at FG's last position): this needs FlightGear support. If people want this to work to resume from FG crashes, FG would probably need to record the aircraft position every 15 seconds or so (we don't want to slow down the sim just for this!)... which can be done with the generic protocol and stuff like that. I'm not sure this could be done in a more "economical" may (get the position only once, at exit or inside the crash handler). Erik probably knows.
Given such support, restoring --lat and --lon should not be a big problem, but you could easily find yourself in water or on very bumpy or slippery terrain -> probably not helpful at all in many cases. Restoring --altitude would work on some aircraft, but many can't be started in air...
So, while nice in principle, there are a few problems for implementing this.
Yes, that should be done FG-side. And there is something coming up in the near future, though it's more aircraft-side than FG-side: "
state overlay". The
Citation already has this. By adding
- Code: Select all
--state=cruise --altitude=whatever --lat=coords --lon=coords
to your command line (or FFGo for that matter) you can start anywhere you want, in air, all systems up.
It'll take a while though, till more aircraft support this feature. But that pretty much comes very close. Now If there was some way to record the coords in flight, you'll be ready to go. (This might be a short Nasal script, which puts all needed data (altitude, lon, lat) into some file.)