<?xml version="1.0" encoding="utf-8" ?>
<character name ="scorpion" humanoid="false">

  <sound file="Content/Characters/Scorpion/scorpionattack1.ogg" state="Attack" />
  <sound file="Content/Characters/Scorpion/scorpionidle1.ogg" state="None" />
  <sound file="Content/Characters/Scorpion/scorpionidle2.ogg" state="None" />

  <ragdoll waveamplitude="50.0" wavelength="2500" speed="1.5">

    <!-- head -->
    <limb id = "0" radius="37" height="81"  mass="6" type="Head" steerforce="1.0">
      <sprite texture="Content/Characters/Scorpion/scorpion.png" sourcerect="11,12,74,155" depth="0.02"/>
    </limb>

    <!-- body -->
    <limb id = "1" radius="33" height="51" mass = "40">
      <sprite texture="Content/Characters/Scorpion/scorpion.png" sourcerect="94,32,66,117" depth="0.03" origin="0.5,0.5"/>
    </limb>

    <limb id = "2" radius="30" height="60" mass = "40" type="Torso">
      <sprite texture="Content/Characters/Scorpion/scorpion.png" sourcerect="94,32,66,117" depth="0.03" origin="0.5,0.5"/>
    </limb>
    <limb id = "3" radius="30" height="60" mass = "40" type="Torso">
      <sprite texture="Content/Characters/Scorpion/scorpion.png" sourcerect="94,32,66,117" depth="0.03" origin="0.5,0.5"/>
    </limb>
    <limb id = "4" radius="30" height="60" mass = "40" type="Tail">
      <sprite texture="Content/Characters/Scorpion/scorpion.png" sourcerect="94,32,66,117" depth="0.03" origin="0.5,0.5"/>
    </limb>

    <limb id = "5" width="26" height="98" mass = "6" ignorecollisions="true">
      <sprite texture="Content/Characters/Scorpion/scorpion.png" sourcerect="190,30,49,98" depth="0.15" origin="0.3,0.5"/>
      <attack type="PinchCW" range="120" duration="0.5" damage="80"/>
    </limb>

    <!-- head to body -->
    <joint limb1="0" limb1anchor="0,60" limb2="1" limb2anchor="0,-45" lowerlimit="-10" upperlimit="45"/>

    <joint limb1="1" limb1anchor="0,45" limb2="2" limb2anchor="0,-45" lowerlimit="-10" upperlimit="45"/>
    <joint limb1="2" limb1anchor="0,45" limb2="3" limb2anchor="0,-45" lowerlimit="-10" upperlimit="45"/>
    <joint limb1="3" limb1anchor="0,45" limb2="4" limb2anchor="0,-45" lowerlimit="-10" upperlimit="45"/>

    <joint limb1="0" limb1anchor="-10,-65" limb2="5" limb2anchor="10,40" lowerlimit="200" upperlimit="240"/>

  </ragdoll>

  <ai attackhumans="100" attackrooms="50.0" attackweaker="50" attackstronger="-30" sight="0.5" hearing="1.0"/>
</character>

