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

113 lines
3.2 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>ASI</name>
<path>asi-fg1000.ac</path>
<effect>
<inherits-from>Aircraft/c172p/Models/Effects/interior/lm-fg1000-asi</inherits-from>
<object-name>Needle</object-name>
<object-name>Face</object-name>
<object-name>Case</object-name>
</effect>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>Needle</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>
<model>
<name>asi-fg1000</name>
<path>../../../../Effects/interior/procedural_light_instruments_fg1000.xml</path>
<offsets>
<x-m>-0.36596</x-m>
<y-m>-0.03219</y-m>
<z-m>-0.08406</z-m>
</offsets>
<condition>
<and>
<property>/controls/panel/glass</property>
<greater-than>
<property>/controls/lighting/stby</property>
<value>0</value>
</greater-than>
<greater-than>
<property>/sim/rendering/shaders/model</property>
<value>0</value>
</greater-than>
</and>
</condition>
</model>
<animation>
<type>rotate</type>
<object-name>Needle</object-name>
<property>fdm/jsbsim/velocities/vias-kts</property>
<interpolation>
<entry>
<ind> 0</ind>
<dep> 0</dep>
</entry>
<entry>
<ind> 35</ind>
<dep> 27</dep>
</entry>
<entry>
<ind> 40</ind>
<dep> 41</dep>
</entry>
<entry>
<ind> 60</ind>
<dep> 91</dep>
</entry>
<entry>
<ind> 80</ind>
<dep> 143</dep>
</entry>
<entry>
<ind> 100</ind>
<dep> 197</dep>
</entry>
<entry>
<ind> 120</ind>
<dep> 240</dep>
</entry>
<entry>
<ind> 140</ind>
<dep> 282</dep>
</entry>
<entry>
<ind> 160</ind>
<dep> 324</dep>
</entry>
<entry>
<ind> 190</ind>
<dep> 331</dep>
</entry>
</interpolation>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.365036</x-m>
<y-m>-0.032649</y-m>
<z-m>-0.106388</z-m>
</center>
</animation>
</PropertyList>