Debian Codegraph @

Aircraft/c172p/Models/Effects/damage/tail.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 <!-- IMPORTANT: int properties 14 to 19, both included, are reserved
33 for the immat system. Do not use them!
34 -->
35 <tail_ground_effect_speed_kt>
36 <property>sim/multiplay/generic/float[9]</property>
37 </tail_ground_effect_speed_kt>
38 </params>
39
40 <particlesystem>
41 <name>spark</name>
42 <type>normal</type>
43
44 <offsets>
45 <x-m> 0.0 </x-m>
46 <y-m> 0.0 </y-m>
47 <z-m> 0.0 </z-m>
48 </offsets>
49
50 <condition>
51 <and>
52 <greater-than>
53 <property alias="/params/tail_ground_effect_speed_kt/property"/>
54 <value>8</value>
55 </greater-than>
56 <or>
57 <less-than>
58 <property>position/altitude-agl-m</property>
59 <property>environment/snow-level-m</property>
60 </less-than>
61 <and>
62 <greater-than>
63 <property>position/altitude-agl-m</property>
64 <property>environment/snow-level-m</property>
65 </greater-than>
66 <less-than>
67 <property>environment/surface/snow-thickness-factor</property>
68 <value>.21</value>
69 </less-than>
70 </and>
71 </or>
72 </and>
73 </condition>
74
75 <texture>spark.png</texture>
76 <emissive>true</emissive>
77 <lighting>false</lighting>
78 <align>billboard</align>
79 <attach>world</attach>
80
81 <placer>
82 <type>point</type>
83 </placer>
84
85 <shooter>
86 <theta-min-deg>0</theta-min-deg>
87 <theta-max-deg>360</theta-max-deg>
88 <phi-min-deg>0</phi-min-deg>
89 <phi-max-deg>360</phi-max-deg>
90 <speed>
91 <value>0</value>
92 <spread>0</spread>
93 </speed>
94 <rotation-speed>
95 <x-min-deg-sec>0</x-min-deg-sec>
96 <y-min-deg-sec>0</y-min-deg-sec>
97 <z-min-deg-sec>0</z-min-deg-sec>
98 <x-max-deg-sec>3600</x-max-deg-sec>
99 <y-max-deg-sec>3600</y-max-deg-sec>
100 <z-max-deg-sec>3600</z-max-deg-sec>
101 </rotation-speed>
102 </shooter>
103
104 <counter>
105 <particles-per-sec>
106 <value>200</value>
107 <spread>0</spread>
108 </particles-per-sec>
109 </counter>
110
111 <particle>
112 <start>
113 <color>
114 <red>
115 <value>1.0</value>
116 </red>
117 <green>
118 <value>1.0</value>
119 </green>
120 <blue>
121 <value>0.0</value>
122 </blue>
123 <alpha>
124 <value>1.0</value>
125 </alpha>
126 </color>
127 <size>
128 <value>0.01</value>
129 </size>
130 </start>
131 <end>
132 <color>
133 <red>
134 <value>1.0</value>
135 </red>
136 <green>
137 <value>1.0</value>
138 </green>
139 <blue>
140 <value>0.0</value>
141 </blue>
142 <alpha>
143 <value>0.6</value>
144 </alpha>
145 </color>
146 <size>
147 <value>0.001</value>
148 </size>
149 </end>
150 <life-sec>
151 <value>0.5</value>
152 </life-sec>
153 <mass-kg>0.015</mass-kg>
154 <radius-m>0.1</radius-m>
155 </particle>
156 <program>
157 <fluid>air</fluid>
158 <gravity type="bool">true</gravity>
159 <wind type="bool">false</wind>
160 </program>
161 </particlesystem>
162
163 </PropertyList>