<?xml version="1.0"?>

<PropertyList>

    <params>
        <engine>
           <damage-smoke>sim/multiplay/generic/bool[0]</damage-smoke>
        </engine>
    </params>

    <particlesystem>
        <name>startup</name>
        <texture>smoke.png</texture>
        <emissive>false</emissive>
        <lighting>false</lighting>

        <condition>
           <property alias="/params/engine/damage-smoke"/>
        </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>150</theta-min-deg>
            <theta-max-deg>160</theta-max-deg>
            <phi-min-deg>70</phi-min-deg>
            <phi-max-deg>100</phi-max-deg>
            <speed-mps>
                <value>0.5</value>
                <spread>0.2</spread>
            </speed-mps>
            <rotation-speed>
                <x-min-deg-sec>15</x-min-deg-sec>
                <y-min-deg-sec>-15</y-min-deg-sec>
                <z-min-deg-sec>15</z-min-deg-sec>
                <x-max-deg-sec>-15</x-max-deg-sec>
                <y-max-deg-sec>15</y-max-deg-sec>
                <z-max-deg-sec>-15</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>
                        <property>/sim/model/c172p/lighting/particles/redsmokestart</property>
                    </red>
                    <green>
                        <property>/sim/model/c172p/lighting/particles/greensmokestart</property>
                    </green>
                    <blue>
                        <property>/sim/model/c172p/lighting/particles/bluesmokestart</property>
                    </blue>
                    <alpha>
                        <value>0.6</value>
                    </alpha>
                </color>
                <size>
                    <value>0.05</value>
                </size>
            </start>
            <end>
                <color>
                    <red>
                        <property>/sim/model/c172p/lighting/particles/redsmokeend</property>
                    </red>
                    <green>
                        <property>/sim/model/c172p/lighting/particles/greensmokeend</property>
                    </green>
                    <blue>
                        <property>/sim/model/c172p/lighting/particles/bluesmokeend</property>
                    </blue>
                    <alpha>
                        <value>0.01</value>
                    </alpha>
                </color>
                <size>
                    <value>0.3</value>
                </size>
            </end>
            <life-sec>
                <value>0.01</value>
            </life-sec>
            <mass-kg>0.005</mass-kg>
            <radius-m>0.05</radius-m>
        </particle>
        <program>
            <fluid>air</fluid>
            <!-- air / water -->
            <gravity>false</gravity>
            <wind>true</wind>
        </program>
    </particlesystem>

</PropertyList>