David Culp wrote:
We're two files away from being able to distribute JSBSim aircraft in a single directory, the engine file and the thruster file. There may be a reason for keeping the engines and thrusters seperate that I don't know about. Here are a couple small code changes that will change the engine and thruster paths to $FGROOT/Aircraft/model/Engines/ .

Curtis added a property which could be used to get the correct directory:


fgGetString("/sim/aircraft-dir")


Each JSBSim aircraft would need to have an Engines subdirectory to contain the engine and thruster files.

This should not bee needed since it's name is different from the aircraft name after all (or easy to adjust).


There is another problem which pops up at this moment, bot YASim and JSBSim use $FG_ROOT/data/Aircraft/<aircraft>/<aircraft>.xml making it very hard to add configuration files for bot FDM's for one aircraft.

Erik


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

Reply via email to