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

119 lines
3.2 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Adapted from the Diamond-da40 -->
<PropertyList>
<path>hobbs.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/lm-hobbs</inherits-from>
<object-name>Drum.0</object-name>
<object-name>Drum.1</object-name>
<object-name>Drum.2</object-name>
<object-name>Drum.3</object-name>
<object-name>Drum.4</object-name>
<object-name>Base</object-name>
</effect>
<animation>
<object-name>Base</object-name>
<object-name>Drum.0</object-name>
<object-name>Drum.1</object-name>
<object-name>Drum.2</object-name>
<object-name>Drum.3</object-name>
<object-name>Drum.4</object-name>
</animation>
<animation>
<type>material</type>
<object-name>Base</object-name>
<object-name>Drum.0</object-name>
<object-name>Drum.1</object-name>
<object-name>Drum.2</object-name>
<object-name>Drum.3</object-name>
<object-name>Drum.4</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/c172p/lighting/rgb-ra-r-factor</red-prop>
<green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
<blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
</emission>
</animation>
<animation>
<type>textranslate</type>
<object-name>Drum.0</object-name>
<property>instrumentation/hobbs-meter/digits0</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x> 0 </x>
<y> -1 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>Drum.1</object-name>
<property>instrumentation/hobbs-meter/digits1</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x> 0 </x>
<y> -1 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>Drum.2</object-name>
<property>instrumentation/hobbs-meter/digits2</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x> 0 </x>
<y> -1 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>Drum.3</object-name>
<property>instrumentation/hobbs-meter/digits3</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x> 0 </x>
<y> -1 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>Drum.4</object-name>
<property>instrumentation/hobbs-meter/digits4</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x> 0 </x>
<y> -1 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>