1
0
Fork 0
fgdata/Models/Effects/pos_lamp_red_light_2st.xml

155 lines
3.3 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<!-- Generic red pos - obstruction light with 2 stage light -->
<!-- with switch based on environment visibility -->
<!-- v1.1 - 2011.02.21 -->
<path>pos_lamp_red_light_2st.ac</path>
<animation>
<name>osbt_red_light</name>
<object-name>osbt_red_light_01</object-name>
<object-name>osbt_red_light_02</object-name>
</animation>
<animation>
<object-name>osbt_red_light</object-name>
<enable-hot type="bool">false</enable-hot>
</animation>
<animation>
<type>noshadow</type>
<object-name>osbt_red_light</object-name>
</animation>
<animation>
<type>alpha-test</type>
<alpha-factor>0.01</alpha-factor>
</animation>
<animation>
<type>billboard</type>
<object-name>osbt_red_light</object-name>
<spherical type="bool">true</spherical>
</animation>
<!-- red obstruction light for NORMAL environment visibility -->
<animation>
<type>select</type>
<object-name>osbt_red_light_01</object-name>
<condition>
<or>
<and>
<greater-than>
<property>sim/time/sun-angle-rad</property>
<value>1.57</value>
</greater-than>
<greater-than>
<property>environment/visibility-m</property>
<value>1300.00</value>
</greater-than>
</and>
<and>
<less-than>
<property>environment/visibility-m</property>
<value>4500.00</value>
</less-than>
<greater-than>
<property>environment/visibility-m</property>
<value>1300.00</value>
</greater-than>
</and>
</or>
</condition>
</animation>
<!-- red obstruction light forh LOW environment visibility - CAT-I minimum -->
<animation>
<type>select</type>
<object-name>osbt_red_light_02</object-name>
<condition>
<or>
<and>
<greater-than>
<property>sim/time/sun-angle-rad</property>
<value>1.57</value>
</greater-than>
<less-than>
<property>environment/visibility-m</property>
<value>1300.00</value>
</less-than>
</and>
<less-than>
<property>environment/visibility-m</property>
<value>1300.00</value>
</less-than>
</or>
</condition>
</animation>
<!-- dist scale for lights with NORMAL environment visibility -->
<animation>
<type>dist-scale</type>
<object-name>osbt_red_light_01</object-name>
<interpolation>
<entry>
<ind>0</ind>
<dep>0.025</dep>
</entry>
<entry>
<ind>300</ind>
<dep>0.1</dep>
</entry>
<entry>
<ind>1500</ind>
<dep>0.3</dep>
</entry>
<entry>
<ind>4000</ind>
<dep>1</dep>
</entry>
<entry>
<ind>10000</ind>
<dep>1.5</dep>
</entry>
</interpolation>
</animation>
<!-- dist scale for lights with LOW environment visibility - CAT-I minimum -->
<animation>
<type>dist-scale</type>
<object-name>osbt_red_light_02</object-name>
<interpolation>
<entry>
<ind>0</ind>
<dep>0.025</dep>
</entry>
<entry>
<ind>300</ind>
<dep>0.15</dep>
</entry>
<entry>
<ind>1500</ind>
<dep>0.45</dep>
</entry>
<entry>
<ind>4000</ind>
<dep>1.75</dep>
</entry>
<entry>
<ind>10000</ind>
<dep>0.50</dep>
</entry>
</interpolation>
</animation>
<!-- HARD LOD -->
<animation>
<type>range</type>
<object-name>osbt_red_light</object-name>
<min-m>0</min-m>
<max-m>10000</max-m>
</animation>
</PropertyList>