Update and add flashlight
[fgdata-textures-ng:fgdata-textures-ng.git] / Aircraft / Hurricane / Models / Effects / litelight.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <PropertyList>
4
5   <path>flashlight.ac</path>
6   <nopreview/>
7
8   <animation>
9     <type>light</type>
10     <light-type>spot</light-type>
11     <object-name>litelight</object-name>
12     <position>
13       <x> 0.0 </x>
14       <y> 0.0 </y>
15       <z> 0.0 </z>
16     </position>
17     <direction>
18       <x> -1.0 </x>
19       <y>  0.0 </y>
20       <z>  0.0 </z>
21     </direction>
22     <ambient>
23       <r>  0.0 </r>
24       <g>  0.0 </g>
25       <b>  0.0 </b>
26       <a>  1.0 </a>
27     </ambient>
28     <diffuse>
29       <r>  0.5 </r>
30       <g>  0.404 </g>
31       <b>  0.2 </b>
32       <a>  1.0 </a>
33     </diffuse>
34     <specular>
35       <r>  0.25 </r>
36       <g>  0.202 </g>
37       <b>  0.1 </b>
38       <a>  1.0 </a>
39     </specular>
40     <attenuation>
41       <c>  1.0 </c>
42       <l>  0.6 </l>
43       <q>  0.4 </q>
44     </attenuation>
45     <exponent>  40.0  </exponent>
46     <cutoff>    15.0  </cutoff>
47     <near-m>    0.03 </near-m>
48     <far-m>     10.0  </far-m>
49   </animation>
50
51   <animation>
52     <type>rotate</type>
53     <object-name>litelight</object-name>
54     <property>sim/current-view/pitch-offset-deg</property>
55     <axis>
56       <x> 0 </x>
57       <y> 1 </y>
58       <z> 0 </z>
59     </axis>
60   </animation>
61
62   <animation>
63     <type>rotate</type>
64     <object-name>litelight</object-name>
65     <property>sim/current-view/heading-offset-deg</property>
66     <axis>
67       <x> 0 </x>
68       <y> 0 </y>
69       <z> 1 </z>
70     </axis>
71   </animation>
72
73   <animation>
74     <type>rotate</type>
75     <object-name>litelight</object-name>
76     <property>sim/current-view/roll-offset-deg</property>
77     <axis>
78       <x> 1 </x>
79       <y> 0 </y>
80       <z> 0 </z>
81     </axis>
82   </animation>
83
84 </PropertyList>