Debian Codegraph @

Aircraft/c172p/Models/Effects/propspray/rain-nose-propeller.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <params>
6 <prop_spray_speed_ms>engines/engine[2]/rpm</prop_spray_speed_ms>
7 </params>
8
9 <particlesystem>
10 <name>rain-s</name>
11 <texture>smoke.png</texture>
12 <emissive>false</emissive>
13 <lighting>false</lighting>
14
15 <offsets>
16 <x-m>0</x-m>
17 <y-m>0</y-m>
18 <z-m>0</z-m>
19 </offsets>
20
21 <condition>
22 <and>
23 <greater-than>
24 <property alias="/params/prop_spray_speed_ms"/>
25 <value>200.0</value>
26 </greater-than>
27 <greater-than>
28 <property>environment/rain-norm</property>
29 <value>0.0</value>
30 </greater-than>
31 <less-than>
32 <property>position/altitude-agl-ft</property>
33 <value>5.0</value>
34 </less-than>
35 <not>
36 <property>sim/current-view/internal</property>
37 </not>
38 </and>
39 </condition>
40
41 <align>billboard</align>
42 <attach>world</attach>
43
44 <placer>
45 <type>segments</type>
46 <vertex>
47 <x-m>0</x-m>
48 <y-m>0</y-m>
49 <z-m>0</z-m>
50 </vertex>
51 <vertex>
52 <x-m>1.5</x-m>
53 <y-m>0</y-m>
54 <z-m>0</z-m>
55 </vertex>
56 <vertex>
57 <x-m>3</x-m>
58 <y-m>0</y-m>
59 <z-m>0</z-m>
60 </vertex>
61 </placer>
62
63 <shooter>
64 <theta-min-deg>90</theta-min-deg>
65 <theta-max-deg>90</theta-max-deg>
66 <phi-min-deg>-15</phi-min-deg>
67 <phi-max-deg>15</phi-max-deg>
68 <speed-mps>
69 <expression>
70 <product>
71 <property alias="/params/prop_spray_speed_ms"/>
72 <value>1.1</value>
73 </product>
74 </expression>
75 <spread>1.0</spread>
76 </speed-mps>
77 <rotation-speed>
78 <x-max-deg-sec>15</x-max-deg-sec>
79 <x-min-deg-sec>-15</x-min-deg-sec>
80 <y-max-deg-sec>15</y-max-deg-sec>
81 <y-min-deg-sec>-15</y-min-deg-sec>
82 <z-max-deg-sec>15</z-max-deg-sec>
83 <z-min-deg-sec>-15</z-min-deg-sec>
84 </rotation-speed>
85 </shooter>
86
87 <counter>
88 <particles-per-sec>
89 <!-- TODO It would be nice if we could multiply with /environment/rain-norm -->
90 <property alias="/params/prop_spray_speed_ms"/>
91 <factor>0.01</factor>
92 <spread>0.01</spread>
93 </particles-per-sec>
94 </counter>
95
96 <particle>
97 <start>
98 <color>
99 <red>
100 <property>sim/model/c172p/lighting/particles/redcombinedstart</property>
101 </red>
102 <green>
103 <property>sim/model/c172p/lighting/particles/greencombinedstart</property>
104 </green>
105 <blue>
106 <property>sim/model/c172p/lighting/particles/bluecombinedstart</property>
107 </blue>
108 <alpha>
109 <value>0.05</value>
110 </alpha>
111 </color>
112 <size>
113 <value>0.5</value>
114 </size>
115 </start>
116 <end>
117 <color>
118 <red>
119 <property>sim/model/c172p/lighting/particles/redcombinedend</property>
120 </red>
121 <green>
122 <property>sim/model/c172p/lighting/particles/greencombinedend</property>
123 </green>
124 <blue>
125 <property>sim/model/c172p/lighting/particles/bluecombinedend</property>
126 </blue>
127 <alpha>
128 <value>0.020</value>
129 </alpha>
130 </color>
131 <size>
132 <value>10</value>
133 </size>
134 </end>
135 <life-sec>
136 <value>1.5</value>
137 </life-sec>
138 <mass-kg>0.025</mass-kg>
139 <radius-m>0.125</radius-m>
140 </particle>
141 <program>
142 <fluid>air</fluid>
143 <gravity>true</gravity>
144 <wind>false</wind>
145 </program>
146 </particlesystem>
147
148 </PropertyList>