Download zip from Liam on 30-NOV-2009.
[airbus-aircraft:liam-a346.git] / Effects / rain-tail.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5         <particlesystem>
6                 <name>rain-t</name>
7                 <texture>smoke.png</texture>
8                 <emissive>false</emissive>
9                 <lighting>false</lighting>
10
11                 <offsets>
12                         <x-m>0</x-m>
13                         <y-m>0</y-m>
14                         <z-m>0</z-m>
15                 </offsets>
16
17                 <condition>
18                         <and>
19                                 <less-than>
20                                         <property>position/altitude-agl-ft</property>
21                                         <value>20</value>
22                                 </less-than>
23                                 <greater-than>
24                                         <property>orientation/pitch-deg</property>
25                                         <value>2.5</value>
26                                 </greater-than>
27                         </and>
28                 </condition>
29
30                 <attach>world</attach>
31
32                 <placer>
33                         <type>segments</type>
34                         <vertex>
35                                 <x-m>0</x-m>
36                                 <y-m>0</y-m>
37                                 <z-m>0</z-m>
38                         </vertex>
39                         <vertex>
40                                 <x-m>2.5</x-m>
41                                 <y-m>0</y-m>
42                                 <z-m>0</z-m>
43                         </vertex>
44                         <vertex>
45                                 <x-m>5</x-m>
46                                 <y-m>0</y-m>
47                                 <z-m>0</z-m>
48                         </vertex>
49                 </placer>
50
51                 <shooter>
52                         <theta-min-deg>50</theta-min-deg>
53                         <theta-max-deg>80</theta-max-deg>
54                         <phi-min-deg>-15</phi-min-deg>
55                         <phi-max-deg>15</phi-max-deg>
56                         <speed-mps>
57                                 <property>engines/engine[0]/n1</property>
58                                 <spread>50</spread>
59                                 <factor>5</factor>
60                         </speed-mps>
61                         <rotation-speed>
62                                 <x-max-deg-sec>15</x-max-deg-sec>
63                                 <x-min-deg-sec>-15</x-min-deg-sec>
64                                 <y-max-deg-sec>15</y-max-deg-sec>
65                                 <y-min-deg-sec>-15</y-min-deg-sec>
66                                 <z-max-deg-sec>15</z-max-deg-sec>
67                                 <z-min-deg-sec>-15</z-min-deg-sec>
68                         </rotation-speed>
69                 </shooter>
70
71                 <counter>
72                         <particles-per-sec>
73                                 <property>environment/metar/rain-norm</property>
74                                 <factor>250</factor>
75                                 <offset>0</offset>
76                                 <!--<value>250</value>-->
77                                 <spread>50</spread>
78                         </particles-per-sec>
79                 </counter>
80
81                 <align>billboard</align>
82
83                 <particle>
84                         <start>
85                                 <color>
86                                         <red>
87                                                 <value>0.95</value>
88                                         </red>
89                                         <green>
90                                                 <value>0.95</value>
91                                         </green>
92                                         <blue>
93                                                 <value>0.95</value>
94                                         </blue>
95                                         <alpha>
96                                                 <value>0.05</value>
97                                         </alpha>
98                                 </color>
99                                 <size>
100                                         <value>0.5</value>
101                                 </size>
102                         </start>
103                         <end>
104                                 <color>
105                                         <red>
106                                                 <value>1</value>
107                                         </red>
108                                         <green>
109                                                 <value>1</value>
110                                         </green>
111                                         <blue>
112                                                 <value>1</value>
113                                         </blue>
114                                         <alpha>
115                                                 <value>0.020</value>
116                                         </alpha>
117                                 </color>
118                                 <size>
119                                         <value>10</value>
120                                 </size>
121                         </end>
122                         <life-sec>
123                                 <value>1.5</value>
124                         </life-sec>
125                         <mass-kg>0.025</mass-kg>
126                         <radius-m>0.125</radius-m>
127                 </particle>
128
129                 <program>
130                         <fluid>air</fluid>
131                         <gravity>true</gravity>
132                         <wind>true</wind>
133                 </program>
134
135         </particlesystem>
136
137 </PropertyList>