Debian Codegraph @

Aircraft/c172p/Models/Effects/damage/nose_gear.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 <PropertyList>
28
29 <params>
30 <nose_gear_ground_effect_speed_kt>
31 <property>sim/multiplay/generic/float[12]</property>
32 </nose_gear_ground_effect_speed_kt>
33 </params>
34
35 <particlesystem>
36 <name>spark</name>
37 <type>normal</type>
38
39 <offsets>
40 <x-m>0.0</x-m>
41 <y-m>0.0</y-m>
42 <z-m>0.0</z-m>
43 </offsets>
44
45 <condition>
46 <and>
47 <greater-than>
48 <property alias="/params/nose_gear_ground_effect_speed_kt/property"/>
49 <value>8</value>
50 </greater-than>
51 <not-equals>
52 <property>fdm/jsbsim/bushkit</property>
53 <value>5</value>
54 </not-equals>
55 </and>
56 </condition>
57
58 <texture>spark.png</texture>
59 <emissive>true</emissive>
60 <lighting>false</lighting>
61 <align>billboard</align>
62 <attach>world</attach>
63
64 <placer>
65 <type>point</type>
66 </placer>
67
68 <shooter>
69 <theta-min-deg>0</theta-min-deg>
70 <theta-max-deg>360</theta-max-deg>
71 <phi-min-deg>0</phi-min-deg>
72 <phi-max-deg>360</phi-max-deg>
73 <speed>
74 <value>0</value>
75 <spread>0</spread>
76 </speed>
77 <rotation-speed>
78 <x-min-deg-sec>0</x-min-deg-sec>
79 <y-min-deg-sec>0</y-min-deg-sec>
80 <z-min-deg-sec>0</z-min-deg-sec>
81 <x-max-deg-sec>3600</x-max-deg-sec>
82 <y-max-deg-sec>3600</y-max-deg-sec>
83 <z-max-deg-sec>3600</z-max-deg-sec>
84 </rotation-speed>
85 </shooter>
86
87 <counter>
88 <particles-per-sec>
89 <value>200</value>
90 <spread>0</spread>
91 </particles-per-sec>
92 </counter>
93
94 <particle>
95 <start>
96 <color>
97 <red>
98 <value>1.0</value>
99 </red>
100 <green>
101 <value>1.0</value>
102 </green>
103 <blue>
104 <value>0.0</value>
105 </blue>
106 <alpha>
107 <value>1.0</value>
108 </alpha>
109 </color>
110 <size>
111 <value>0.01</value>
112 </size>
113 </start>
114 <end>
115 <color>
116 <red>
117 <value>1.0</value>
118 </red>
119 <green>
120 <value>1.0</value>
121 </green>
122 <blue>
123 <value>0.0</value>
124 </blue>
125 <alpha>
126 <value>0.6</value>
127 </alpha>
128 </color>
129 <size>
130 <value>0.001</value>
131 </size>
132 </end>
133 <life-sec>
134 <value>0.5</value>
135 </life-sec>
136 <mass-kg>0.015</mass-kg>
137 <radius-m>0.1</radius-m>
138 </particle>
139
140 <program>
141 <fluid>air</fluid>
142 <gravity type="bool">true</gravity>
143 <wind type="bool">false</wind>
144 </program>
145 </particlesystem>
146
147 </PropertyList>