<?xml version='1.0' encoding='UTF-8'?>
<library>
  <textures>
    <texture name="nuage2.png">
      <file>/xd/textures/nuage2.png</file>
    </texture>
  </textures>

  <shaders>
    <shader>
      <file>/xd/shaders/particle_basic2.xml</file>
    </shader>
  </shaders>

  <materials>
    <material name="nuage2">
      <texture>nuage2.png</texture>
      <shader type="standard">particle_basic2</shader>
    </material>
  </materials>

  <!-- The 'thrusterFACT' name is mandatory, it is looked up from code -->
  <meshfact name="thrusterFACT">
    <plugin>crystalspace.mesh.loader.factory.particles</plugin>
    <params>
      <transformmode>localemitter</transformmode>
      <rotationmode>vertex</rotationmode>
      <individualsize>no</individualsize>
      <particlesize x="0.1" y="0.1" /> <!-- 0.05 -->
      <material>nuage2</material>
      <mixmode><add/></mixmode>
      <emitter type="sphere">
        <enabled>no</enabled>
        <placement>volume</placement>
        <emissionrate>400</emissionrate>
        <mass min="5" max="5" />
<!--
        <extent x="0" y="0.1" z="3" />
        <coneangle>0.05</coneangle>
-->
        <radius>0.1</radius>
        <initialvelocity x="0" y="0" z="0" />
        <uniformvelocity>no</uniformvelocity> <!-- no -->
        <initialttl min="1" max="1" />
      </emitter>

      <emitter type="sphere">
        <enabled>no</enabled>
        <placement>volume</placement>
        <emissionrate>400</emissionrate>
        <mass min="5" max="5" />
        <radius>0.1</radius>
        <initialvelocity x="0" y="0" z="0" />
        <uniformvelocity>no</uniformvelocity>
        <initialttl min="1" max="1" />
      </emitter>
<!--
      <effector type="force">
        <acceleration x="0" y="0" z="2" />
      </effector>
-->
      <effector type="lincolor">
        <color red="1" green="1"   blue="1" alpha="0.4" time="1" />
        <color red="1" green="0.2"  blue="0" alpha="0.4" time="0.97" />
        <color red="1" green="0.6" blue="0" alpha="0.3" time="0.8" />
        <color red="1" green="0.0" blue="0" alpha="0.2" time="0.6" />
        <color red="0" green="0"   blue="0" alpha="0.1"   time="0" />
      </effector>
    </params>
  </meshfact>
</library>
