<?xml version="1.0" encoding="UTF-8"?>

<!--
 cap10c-set.xml  - Cap10C by PAF team  - http://equipe-flightgear.forumactif.com

 Written by Flavien BLANC
 Modified by PAF team  - April 2012
 Modified by D-ECHO for ASK21 - February 2017

 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>

  <!-- OSG Particles -->
  <particlesystem>
    <name>smoke</name>

    <texture>smoke.png</texture>

    <condition>
      <or>
        <property>controls/engines/engine/starter</property>
        <property>controls/flight/slats</property>
      </or>
    </condition>

    <emissive>false</emissive>
    <lighting>false</lighting>
    <align>billboard</align> <!-- billboard / fixed -->
    <attach>world</attach> <!-- world / local-->

    <placer>
      <type>point</type> <!-- sector / segments / point -->
    </placer>

    <shooter>
      <theta-min-deg>90</theta-min-deg>
      <theta-max-deg>110</theta-max-deg>
      <phi-min-deg>0</phi-min-deg>
      <phi-max-deg>0</phi-max-deg>
      <speed-mps>
        <value>10</value>
        <spread>0</spread>
      </speed-mps>
    </shooter>

    <counter>
      <particles-per-sec>
        <value>50</value>
        <spread>0</spread>
      </particles-per-sec>
    </counter>

    <particle>
      <start>
        <color>
          <red>
            <value>0.7</value>
          </red>
          <green>
            <value>0.7</value>
          </green>
          <blue>
            <value>0.7</value>
          </blue>
          <alpha>
            <value>0.3</value>
          </alpha>
        </color>
        <size>
          <value>0.3</value>
        </size>
      </start>

      <end>
        <color>
          <red>
            <value>1</value>
          </red>
          <green>
            <value>1</value>
          </green>
          <blue>
            <value>1</value>
          </blue>
          <alpha>
            <value>0</value>
          </alpha>
        </color>
        <size>
          <value>0</value>
        </size>
      </end>

      <life-sec>
        <value>1</value>
      </life-sec>

      <mass-kg>0.001</mass-kg>
      <radius-m>0.001</radius-m>
    </particle>

    <program>
      <fluid>air</fluid>         <!-- air / water -->
      <gravity>false</gravity>
      <wind>true</wind>
    </program>

  </particlesystem>

</PropertyList>