Bugfix.
[fg:toms-fgdata.git] / Aircraft / seahawk / Models / light-red.xml
1 <?xml version="1.0"?>
2 <!-- Light - Red Flare-->
3 <PropertyList>
4
5         <path>light-red-flare.ac</path>
6
7         <animation>
8                 <type>alpha-test</type>
9                 <object-name>Red-Light-Flare</object-name>
10                 <alpha-factor>0.01</alpha-factor>
11         </animation>
12
13         <animation>
14                 <type>billboard</type>
15                 <spherical>true</spherical>
16                 <object-name>Red-Light-Flare</object-name>
17         </animation>
18
19         <animation>
20                 <type>dist-scale</type>
21                 <object-name>Red-Light-Flare</object-name>
22                 <interpolation>
23                         <entry>
24                                 <ind>0.001</ind>
25                                 <dep>2</dep>
26                         </entry>
27                         <entry>
28                                 <ind>40000</ind>
29                                 <dep>100</dep>
30                         </entry>
31                 </interpolation>
32         </animation>
33
34
35         <animation>
36                 <type>scale</type>
37                 <object-name>Red-Light-Flare</object-name>
38                 <property>/sim/time/sun-angle-rad</property>
39                 <offset>-1.4</offset>
40                 <x-min>1</x-min>
41                 <y-min>1</y-min>
42                 <z-min>1</z-min>
43                 <x-factor>2</x-factor>
44                 <y-factor>2</y-factor>
45                 <z-factor>2</z-factor>
46         </animation>
47         
48         <animation>
49                 <type>select</type>
50                 <object-name>Red-Light-Flare</object-name>
51                 <condition>
52                         <or>
53                                 <equals>
54                                         <property>controls/lighting/nav-lights</property>
55                                         <value>1</value>
56                                 </equals>
57                                 <equals>
58                                         <property>controls/lighting/nav-lights[1]</property>
59                                         <value>1</value>
60                                 </equals>
61                         </or>
62                 </condition>
63         </animation>
64
65         <!--    *** LoD *** 
66     <animation> 
67       <type>range</type>
68       <object-name>Green-Flare</object-name>
69       <min-m>0</min-m>
70       <max-m>5000</max-m>
71     </animation>-->
72
73 </PropertyList>