Martin Olveyra writes:
> This is the cvs log message I want to refer to:
> ---------------------------------------------------
> Log Message:
> Small tweaks to initialization sequence and logic so we can default to
> a top level aircraft def file (c172-set.xml)
> 
> preferences.xml or --aircraft= or any other property setting mechanism can
> be used to set the property "/sim/aircraft".  After all options and config
> files are parsed, the contents of /sim/aircraft is expanded into a
> *-set.xml
> file and loaded.
> ----------------------------------------------------
> I synced to the last CVS Flightgear source and base.
> Then I changed the value of the tag <aircraft> to c310, so to load for
> defect the cessna 310 instead of the 172.
> Then, run fgfs --fdm=jsb (my favourite flight model. I also noticed that
> the default flight model has setted back to larcsim)
> But, the change in the <aircraft> tag value doesn't take effect. The c172
> is loaded instead.

We made a couple changes in quick succession (hopefully learning from
our, well my mistakes, as I went along.)

The /sim/aircraft property has been eliminated.

preferences.xml <include>'s the default aircraft (c172-set.xml).  If
you specify --aircraft=xyz, the corresponding config file is loaded
and the properties it refers to are set immediately.  So any
subsequent command line options will override what came out of the
aircraft config file.

So for instance if you want to run the YASim c310 with no panel but
the hud activated (the config file might specify the panel active, but
no hud) you can run

  fgfs --aircraft=c310-yasim --disable-panel --enable-hud

Sorry for the confusion on this, as I said, we were figuring it out as
we went along.

Regards,

Curt.
-- 
Curtis Olson   Intelligent Vehicles Lab         FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to