<?xml version="1.0"?>

<system name="chute">

  <property value="0">systems/chute/deploy</property>

  <channel name="Chute">

   <switch name="systems/chute/speed-limiter">
        <default value="/controls/flight/chute_jettisoned"/>
          <test value="1">
                systems/chute/deploy == 1
                velocities/ve-kts gt 200.0
          </test>
       <output>/controls/flight/chute_jettisoned</output>
   </switch>

   <switch name="systems/chute/copy">
        <default value="systems/chute/deploy"/>
          <test value="0">
                /controls/flight/chute_jettisoned == 1
          </test>
       <output>/sim/multiplay/generic/int[6]</output>
   </switch>

   <kinematic name="Parachute Deploy">
     <input>/sim/multiplay/generic/int[6]</input>
     <traverse>
       <setting>
          <position> 0 </position>
          <time>     0 </time>
       </setting>
       <setting>
          <position> 1 </position>
          <time>     1.5 </time>
       </setting>
     </traverse>
     <output>systems/chute/unfurl-norm</output>
   </kinematic>

   <switch name="systems/chute/MP-unfurl">
        <default value="0"/>
          <test value="systems/chute/unfurl-norm">
                /sim/multiplay/generic/int[6] == 1
          </test>
       <output>/sim/multiplay/generic/float[6]</output>
   </switch>

  </channel>

</system>
