1
0
Fork 0
fgdata/Aircraft/Instruments-3d/glider/flarm/v3_display/flarm_v3.xml

324 lines
8.2 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>flarm_v3.ac</path>
<!--Indicators for Power, Send/Receive and GPS-->
<!--Power-->
<animation>
<type>material</type>
<object-name>power.ind</object-name>
<ambient>
<red>0.0</red>
<green-prop>systems/electrical/outputs/flarm</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red>0.0</red>
<green-prop>systems/electrical/outputs/flarm</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<!--GPS-->
<animation>
<type>material</type>
<object-name>gps.ind</object-name>
<ambient>
<red>0.0</red>
<green-prop>systems/electrical/outputs/flarm</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red>0.0</red>
<green-prop>systems/electrical/outputs/flarm</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<!--Send-->
<animation>
<type>material</type>
<object-name>send.ind</object-name>
<ambient>
<red>0.0</red>
<green-prop>systems/electrical/outputs/flarm</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red>0.0</red>
<green-prop>systems/electrical/outputs/flarm</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<!--Receive-->
<animation>
<type>material</type>
<object-name>receive.ind</object-name>
<condition>
<property>instrumentation/flarm/receive</property>
</condition>
<ambient>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
</ambient>
<emission>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>receive.ind</object-name>
<condition><not>
<property>instrumentation/flarm/receive</property></not>
</condition>
<ambient>
<red>0.1</red>
<green>0.1</green>
<blue>0.1</blue>
</ambient>
<emission>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
</emission>
</animation>
<!--Direction of traffic indicator-->
<animation>
<type>material</type>
<object-name>right.1</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[0]</red-prop>
<green-prop>instrumentation/flarm/LED[0]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[0]</red-prop>
<green-prop>instrumentation/flarm/LED[0]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>right.2</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[1]</red-prop>
<green-prop>instrumentation/flarm/LED[1]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[1]</red-prop>
<green-prop>instrumentation/flarm/LED[1]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>right.3</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[2]</red-prop>
<green-prop>instrumentation/flarm/LED[2]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[2]</red-prop>
<green-prop>instrumentation/flarm/LED[2]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>right.4</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[3]</red-prop>
<green-prop>instrumentation/flarm/LED[3]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[3]</red-prop>
<green-prop>instrumentation/flarm/LED[3]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>right.5</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[4]</red-prop>
<green-prop>instrumentation/flarm/LED[4]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[4]</red-prop>
<green-prop>instrumentation/flarm/LED[4]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>right.6</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[5]</red-prop>
<green-prop>instrumentation/flarm/LED[5]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[5]</red-prop>
<green-prop>instrumentation/flarm/LED[5]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>left.6</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[6]</red-prop>
<green-prop>instrumentation/flarm/LED[6]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[6]</red-prop>
<green-prop>instrumentation/flarm/LED[6]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>left.5</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[7]</red-prop>
<green-prop>instrumentation/flarm/LED[7]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[7]</red-prop>
<green-prop>instrumentation/flarm/LED[7]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>left.4</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[8]</red-prop>
<green-prop>instrumentation/flarm/LED[8]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[8]</red-prop>
<green-prop>instrumentation/flarm/LED[8]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>left.3</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[9]</red-prop>
<green-prop>instrumentation/flarm/LED[9]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[9]</red-prop>
<green-prop>instrumentation/flarm/LED[9]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>left.2</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[10]</red-prop>
<green-prop>instrumentation/flarm/LED[10]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[10]</red-prop>
<green-prop>instrumentation/flarm/LED[10]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>left.1</object-name>
<ambient>
<red-prop>instrumentation/flarm/LED-red[11]</red-prop>
<green-prop>instrumentation/flarm/LED[11]</green-prop>
<blue>0.0</blue>
</ambient>
<emission>
<red-prop>instrumentation/flarm/LED-red[11]</red-prop>
<green-prop>instrumentation/flarm/LED[11]</green-prop>
<blue>0.0</blue>
</emission>
</animation>
<!--Vertical angle to traffic indicator-->
<animation>
<type>material</type>
<object-name>above.1</object-name>
<ambient>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
<factor-prop>instrumentation/flarm/ub-LED[1]</factor-prop>
</ambient>
<emission>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
<factor-prop>instrumentation/flarm/ub-LED[1]</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>above.2</object-name>
<ambient>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
<factor-prop>instrumentation/flarm/ub-LED[0]</factor-prop>
</ambient>
<emission>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
<factor-prop>instrumentation/flarm/ub-LED[0]</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>below.1</object-name>
<ambient>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
<factor-prop>instrumentation/flarm/ub-LED[2]</factor-prop>
</ambient>
<emission>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
<factor-prop>instrumentation/flarm/ub-LED[2]</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>below.2</object-name>
<ambient>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
<factor-prop>instrumentation/flarm/ub-LED[3]</factor-prop>
</ambient>
<emission>
<red>0.0</red>
<green>1</green>
<blue>0.0</blue>
<factor-prop>instrumentation/flarm/ub-LED[3]</factor-prop>
</emission>
</animation>
</PropertyList>