73 lines
1.6 KiB
XML
73 lines
1.6 KiB
XML
|
<?xml version="1.0"?>
|
||
|
|
||
|
<PropertyList>
|
||
|
|
||
|
<path>BatteryGauge.ac</path>
|
||
|
|
||
|
<effect>
|
||
|
<inherits-from>../../../../Effects/interior/c172p-interior</inherits-from>
|
||
|
<object-name>Face</object-name>
|
||
|
<object-name>PtrTipL</object-name>
|
||
|
<object-name>PtrTipR</object-name>
|
||
|
</effect>
|
||
|
|
||
|
<animation>
|
||
|
<type>material</type>
|
||
|
<object-name>Face</object-name>
|
||
|
<object-name>PtrTipL</object-name>
|
||
|
<object-name>PtrTipR</object-name>
|
||
|
<emission>
|
||
|
<red>1.0</red>
|
||
|
<green>0.2</green>
|
||
|
<blue>0.0</blue>
|
||
|
<factor-prop>sim/model/material/instruments/factor</factor-prop>
|
||
|
</emission>
|
||
|
</animation>
|
||
|
|
||
|
<animation>
|
||
|
<type>rotate</type>
|
||
|
<object-name>PtrL</object-name>
|
||
|
<object-name>PtrTipL</object-name>
|
||
|
<property>systems/electrical/amps</property>
|
||
|
<interpolation>
|
||
|
<entry><ind>-40</ind><dep>-30</dep></entry>
|
||
|
<entry><ind>0</ind><dep>0</dep></entry>
|
||
|
<entry><ind>40</ind><dep>33</dep></entry>
|
||
|
</interpolation>
|
||
|
<axis>
|
||
|
<x>1</x>
|
||
|
<y>0</y>
|
||
|
<z>0</z>
|
||
|
</axis>
|
||
|
<center>
|
||
|
<x-m>0</x-m>
|
||
|
<y-m>-0.02</y-m>
|
||
|
<z-m>0</z-m>
|
||
|
</center>
|
||
|
</animation>
|
||
|
|
||
|
<animation>
|
||
|
<type>rotate</type>
|
||
|
<object-name>PtrR</object-name>
|
||
|
<object-name>PtrTipR</object-name>
|
||
|
<property>systems/electrical/volts</property>
|
||
|
<interpolation>
|
||
|
<entry><ind>0</ind><dep>0</dep></entry>
|
||
|
<entry><ind>20</ind><dep>27</dep></entry>
|
||
|
<entry><ind>30</ind><dep>55</dep></entry>
|
||
|
<entry><ind>40</ind><dep>85</dep></entry>
|
||
|
</interpolation>
|
||
|
<axis>
|
||
|
<x>-1</x>
|
||
|
<y>0</y>
|
||
|
<z>0</z>
|
||
|
</axis>
|
||
|
<center>
|
||
|
<x-m>0</x-m>
|
||
|
<y-m>0.02</y-m>
|
||
|
<z-m>0</z-m>
|
||
|
</center>
|
||
|
</animation>
|
||
|
|
||
|
</PropertyList>
|