1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/BatteryGauge/BatteryGauge.xml
2021-09-14 19:34:27 +01:00

70 lines
1.9 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>BatteryGauge.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/lm-bat</inherits-from>
<object-name>Ptr</object-name>
<object-name>PtrTip</object-name>
<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>
<or>
<not>
<property>/sim/rendering/shaders/skydome</property>
</not>
<equals>
<property>/sim/rendering/shaders/model</property>
<value>0</value>
</equals>
</or>
</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>