* Melchior FRANZ -- Friday 12 January 2007: > BTW: this code put into $FG_ROOT/Nasal/aircraft.nas would write an > aircraft specific value into autosave.xml. Not the operation hours, > though, but just the time fgfs ran with that aircraft.
And after a while you get something like this in your autosave.xml (values are seconds): <time> <hobbs> <bo105 type="double">27418.09165</bo105> <beaufighter type="double">489.975</beaufighter> <ufo type="double">375.2416667</ufo> <pa24-250 type="double">2046.933334</pa24-250> <j3cub type="double">1886.35</j3cub> <_787 type="double">758.4833334</_787> <sopwithCamel type="double">1010.833333</sopwithCamel> <A6M2 type="double">10.08333333</A6M2> <vulcanb2 type="double">14.54166667</vulcanb2> <YF-23 type="double">62.01666667</YF-23> <Concorde type="double">70.55</Concorde> <beech99-yasim type="double">9.791666667</beech99-yasim> <ch53e type="double">446.1583333</ch53e> <SU-37 type="double">471.7083333</SU-37> <c172r type="double">86.26666667</c172r> <harrier type="double">1161.941667</harrier> <f15c type="double">283.7333333</f15c> <c182rg type="double">150.325</c182rg> <aerostar700 type="double">2365.241666</aerostar700> <dhc2W type="double">859.975</dhc2W> <dhc2F type="double">2778.600001</dhc2F> <hunter type="double">105.8666667</hunter> <bocian type="double">25.59166667</bocian> <Ki-84 type="double">1189.8</Ki-84> <c310dpm-3d type="double">83.19166666</c310dpm-3d> <c182-2dpanel type="double">44.36666667</c182-2dpanel> <c182 type="double">3.058333333</c182> <hurricaneIIb type="double">262.0833333</hurricaneIIb> <spitfireIIa type="double">88.95833333</spitfireIIa> <seafireIIIc type="double">86.93333333</seafireIIIc> <bf109 type="double">844.8333333</bf109> <bf109g type="double">207.175</bf109g> </hobbs> </time> I would also prefer separate files per aircraft, though, as they can then store individual other values there, too, such as turbine operating hours, etc. m. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel