1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/BatteryGauge/BatteryGauge.xml
2018-09-16 18:13:13 +01:00

68 lines
1.9 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>BatteryGauge.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/lm-batr</inherits-from>
<object-name>Ptr</object-name>
<object-name>PtrTip</object-name>
</effect>
<effect>
<inherits-from>../../../../Effects/interior/lm-bat</inherits-from>
<object-name>Face</object-name>
<object-name>Case</object-name>
</effect>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>PtrTip</object-name>
<object-name>Ptr</object-name>
<object-name>Case</object-name>
<condition>
<not>
<property>/sim/rendering/shaders/skydome</property>
</not>
</condition>
<emission>
<red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop>
<green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop>
<blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>Ptr</object-name>
<object-name>PtrTip</object-name>
<property>systems/electrical/amps</property>
<interpolation>
<entry>
<ind>60</ind>
<dep>-33</dep>
</entry>
<entry>
<ind>0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>-60</ind>
<dep>33</dep>
</entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.36922</x-m>
<y-m>-0.40925</y-m>
<z-m>-0.15108</z-m>
</center>
</animation>
</PropertyList>