1
0
Fork 0
fgdata/Aircraft/c172p/Models/Effects/damage/wing-right.xml

161 lines
5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copied from Cap10C by PAF team - http://equipe-flightgear.forumactif.com
Written by Flavien BLANC
Modified by PAF team - April 2012
Copyright (C) 2011-2012 Flavien BLANC - http://equipe-flightgear.forumactif.com/u56
Copyright (C) 2012 Clément DE L'HAMAIDE - http://equipe-flightgear.forumactif.com/u115
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not see <http://www.gnu.org/licenses/>.
-->
<!-- New version May, 07, 2009 by 102nd-YU-Nitro -->
<PropertyList>
<params>
<right_wing_ground_effect_speed_kt>
<property>sim/multiplay/generic/float[11]</property>
</right_wing_ground_effect_speed_kt>
</params>
<particlesystem>
<name>spark</name>
<type>normal</type>
<offsets>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
</offsets>
<condition>
<and>
<greater-than>
<property alias="/params/right_wing_ground_effect_speed_kt/property"/>
<value>2</value>
</greater-than>
<or>
<less-than>
<property>position/altitude-agl-m</property>
<property>environment/snow-level-m</property>
</less-than>
<and>
<greater-than>
<property>position/altitude-agl-m</property>
<property>environment/snow-level-m</property>
</greater-than>
<less-than>
<property>environment/surface/snow-thickness-factor</property>
<value>.21</value>
</less-than>
</and>
</or>
</and>
</condition>
<texture>spark.png</texture>
<emissive>true</emissive>
<lighting>false</lighting>
<align>billboard</align>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>30</theta-min-deg>
<theta-max-deg>150</theta-max-deg>
<phi-min-deg>30</phi-min-deg>
<phi-max-deg>150</phi-max-deg>
<speed>
<value>0</value>
<spread>0</spread>
</speed>
<rotation-speed>
<x-min-deg-sec>0</x-min-deg-sec>
<y-min-deg-sec>0</y-min-deg-sec>
<z-min-deg-sec>0</z-min-deg-sec>
<x-max-deg-sec>3600</x-max-deg-sec>
<y-max-deg-sec>3600</y-max-deg-sec>
<z-max-deg-sec>3600</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<value>200</value>
<spread>0</spread>
</particles-per-sec>
</counter>
<particle>
<start>
<color>
<red>
<value>1.0</value>
</red>
<green>
<value>1.0</value>
</green>
<blue>
<value>0.0</value>
</blue>
<alpha>
<value>1.0</value>
</alpha>
</color>
<size>
<value>0.01</value>
</size>
</start>
<end>
<color>
<red>
<value>1.0</value>
</red>
<green>
<value>1.0</value>
</green>
<blue>
<value>0.0</value>
</blue>
<alpha>
<value>0.6</value>
</alpha>
</color>
<size>
<value>0.001</value>
</size>
</end>
<life-sec>
<value>0.5</value>
</life-sec>
<mass-kg>0.015</mass-kg>
<radius-m>0.1</radius-m>
</particle>
<program>
<fluid>air</fluid>
<gravity type="bool">true</gravity>
<wind type="bool">false</wind>
</program>
</particlesystem>
</PropertyList>