[output into a textfile]
* Jon Stockill -- Thursday 16 March 2006 11:37:
> That would be handy - people could just place objects and send me the
> file to import into the scenery database.
Currently, it's an XML file written to $FG_HOME/ufo-cursor.xml:
<?xml version="1.0"?>
<PropertyList>
<longitude-deg type="double">-122.3615401</longitude-deg>
<latitude-deg type="double">37.6144466</latitude-deg>
<elevation-ft type="double">2.106493985</elevation-ft>
<roll-deg type="double">0</roll-deg>
<pitch-deg type="double">0</pitch-deg>
<heading-deg type="double">0</heading-deg>
<stg type="string">w130n30/w123n37/942050.stg</stg>
<type type="string">OBJECT_SHARED</type>
<object type="string">OBJECT_SHARED Models/127/windturbine.xml -122.361540
37.614447 0.6421 0.0</object>
<path
type="string">/usr/local/share/FlightGear/Models/127/windturbine.xml</path>
<model type="string">Models/127/windturbine.xml</model>
</PropertyList>
I'll commit that later today. This is really fun to try:
$ fgfs --aircraft=ufo --prop:cursor=Models/127/windturbine.xml
Plant wind turbines wherever you point to. :-)
m.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users