Debian Codegraph @

Aircraft/c172p/Models/Effects/damage/wing-left.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 Copied from Cap10C by PAF team - http://equipe-flightgear.forumactif.com
5
6 Written by Flavien BLANC
7 Modified by PAF team - April 2012
8
9 Copyright (C) 2011-2012 Flavien BLANC - http://equipe-flightgear.forumactif.com/u56
10 Copyright (C) 2012 Clément DE L'HAMAIDE - http://equipe-flightgear.forumactif.com/u115
11
12
13 This program is free software; you can redistribute it and/or
14 modify it under the terms of the GNU General Public License as
15 published by the Free Software Foundation; either version 2 of the
16 License, or (at your option) any later version.
17
18 This program is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program; if not see <http://www.gnu.org/licenses/>.
25 -->
26
27 <!-- New version May, 07, 2009 by 102nd-YU-Nitro -->
28
29 <PropertyList>
30
31 <params>
32 <left_wing_ground_effect_speed_kt>
33 <property>sim/multiplay/generic/float[10]</property>
34 </left_wing_ground_effect_speed_kt>
35 </params>
36
37 <particlesystem>
38 <name>spark</name>
39 <type>normal</type>
40
41 <offsets>
42 <x-m>0.0</x-m>
43 <y-m>0.0</y-m>
44 <z-m>0.0</z-m>
45 </offsets>
46
47 <condition>
48 <and>
49 <greater-than>
50 <property alias="/params/left_wing_ground_effect_speed_kt/property"/>
51 <value>2</value>
52 </greater-than>
53 <or>
54 <less-than>
55 <property>position/altitude-agl-m</property>
56 <property>environment/snow-level-m</property>
57 </less-than>
58 <and>
59 <greater-than>
60 <property>position/altitude-agl-m</property>
61 <property>environment/snow-level-m</property>
62 </greater-than>
63 <less-than>
64 <property>environment/surface/snow-thickness-factor</property>
65 <value>.21</value>
66 </less-than>
67 </and>
68 </or>
69 </and>
70 </condition>
71
72 <texture>spark.png</texture>
73 <emissive>true</emissive>
74 <lighting>false</lighting>
75 <align>billboard</align>
76 <attach>world</attach>
77
78 <placer>
79 <type>point</type>
80 </placer>
81
82 <shooter>
83 <theta-min-deg>-30</theta-min-deg>
84 <theta-max-deg>-150</theta-max-deg>
85 <phi-min-deg>30</phi-min-deg>
86 <phi-max-deg>150</phi-max-deg>
87 <speed>
88 <value>0</value>
89 <spread>0</spread>
90 </speed>
91 <rotation-speed>
92 <x-min-deg-sec>0</x-min-deg-sec>
93 <y-min-deg-sec>0</y-min-deg-sec>
94 <z-min-deg-sec>0</z-min-deg-sec>
95 <x-max-deg-sec>3600</x-max-deg-sec>
96 <y-max-deg-sec>3600</y-max-deg-sec>
97 <z-max-deg-sec>3600</z-max-deg-sec>
98 </rotation-speed>
99 </shooter>
100
101 <counter>
102 <particles-per-sec>
103 <value>200</value>
104 <spread>0</spread>
105 </particles-per-sec>
106 </counter>
107
108 <particle>
109 <start>
110 <color>
111 <red>
112 <value>1.0</value>
113 </red>
114 <green>
115 <value>1.0</value>
116 </green>
117 <blue>
118 <value>0.0</value>
119 </blue>
120 <alpha>
121 <value>1.0</value>
122 </alpha>
123 </color>
124 <size>
125 <value>0.01</value>
126 </size>
127 </start>
128 <end>
129 <color>
130 <red>
131 <value>1.0</value>
132 </red>
133 <green>
134 <value>1.0</value>
135 </green>
136 <blue>
137 <value>0.0</value>
138 </blue>
139 <alpha>
140 <value>0.6</value>
141 </alpha>
142 </color>
143 <size>
144 <value>0.001</value>
145 </size>
146 </end>
147 <life-sec>
148 <value>0.5</value>
149 </life-sec>
150 <mass-kg>0.015</mass-kg>
151 <radius-m>0.1</radius-m>
152 </particle>
153 <program>
154 <fluid>air</fluid>
155 <gravity type="bool">true</gravity>
156 <wind type="bool">false</wind>
157 </program>
158 </particlesystem>
159
160 </PropertyList>