* Torsten Dreyer -- Wednesday 21 September 2011:
> <nasal>
>    <MyModule>
>      <script><![CDATA[
>       aircraft.data.add(
>           "/sim/dimensions/radius-m",
>           "/sim/dimensions/parkpos-offset-m",
[...]


Or just:

  <sim>
      <aircraft-data>
          <path>/sim/dimensions/radius-m</path>
          <path>/sim/dimensions/parkpos-offset-m</path>
          <path>/sim/aircraft-class</path>
      </aircraft-data>
  </sim>

from where it's read by aircraft.nas already.



> To add this globally for all aircraft, probably 
> $FGDATA/Nasal/aircraft.nas would be a good place for this code.

Or probably better: preferences.xml

But then again: static aircraft data like radius and class shouldn't
be saved that way *at all*. It belongs to *-set.xml, and possibly to
a <multiplay> block in the animation xml file (see AAR).

m.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to