Added a flight-hour-meter property in /instrumentation/clock .... saves your flight time to file... (thanks Melchior)
This commit is contained in:
parent
96a8a9657f
commit
a3fdbf8456
2 changed files with 787 additions and 793 deletions
|
@ -60,13 +60,7 @@ if(getprop("/sim/flight-model")=="yasim"){
|
|||
if(pph == nil){pph = 0.0};
|
||||
FuelPph2.setValue(pph* FuelDensity);
|
||||
}else{
|
||||
tanks = props.globals.getNode("consumables/fuel").getChildren("tank");
|
||||
for(i=0; i<size(tanks); i=i+1){
|
||||
tmp = tanks[i].getNode("level-lb");
|
||||
lbs = tmp.getValue();
|
||||
tanks[i].getNode("level-lbs").setValue(lbs);
|
||||
total_fuel += lbs;
|
||||
}
|
||||
total_fuel=props.globals.getNode("/fdm/jsbsim/propulsion/total-fuel-lbs").getValue();
|
||||
setprop("consumables/fuel/total-fuel-lbs",total_fuel);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -502,7 +502,7 @@ Primus 1000 Primary Flight Display
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>ALTribbon</object-name>
|
||||
<property>instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<property>position/altitude-ft</property>
|
||||
<factor>0.000669</factor>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
|
@ -514,7 +514,7 @@ Primus 1000 Primary Flight Display
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>Alt10</object-name>
|
||||
<property>instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<property>position/altitude-ft</property>
|
||||
<factor>0.01</factor>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
|
@ -526,7 +526,7 @@ Primus 1000 Primary Flight Display
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>Alt100</object-name>
|
||||
<property>instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<property>position/altitude-ft</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<scroll>20</scroll>
|
||||
|
@ -540,7 +540,7 @@ Primus 1000 Primary Flight Display
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>Alt1000</object-name>
|
||||
<property>instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<property>position/altitude-ft</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<scroll>20</scroll>
|
||||
|
@ -554,7 +554,7 @@ Primus 1000 Primary Flight Display
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>Alt10000</object-name>
|
||||
<property>instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<property>position/altitude-ft</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<scroll>20</scroll>
|
||||
|
|
Loading…
Add table
Reference in a new issue